File tree Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 2828 storage for the underlying directory stream in this case.
2929 * LICENSE: Update copyright for this contribution.
3030
31+ pam_tcb: Allow setting a custom PAM_SO_SUFFIX during build.
32+ At least FreeBSD and NetBSD are using OpenPAM, which needs
33+ the ability to specify a PAM_SO_SUFFIX to externally built
34+ modules.
35+ * pam_tcb/Makefile: Honor PAM_SO_SUFFIX variable.
36+
31372021-09-25 Dmitry V. Levin <ldv at owl.openwall.com>
3238
3339 Add github CI.
Original file line number Diff line number Diff line change 11include ../Make.defs
22
3- PAM_TCB = pam_tcb.so
3+ PAM_SO_SUFFIX =
4+ PAM_TCB = pam_tcb.so$(PAM_SO_SUFFIX )
45PAM_MAP = pam_tcb.map
56
67LIBSRC = \
@@ -31,15 +32,15 @@ install:
3132 $(INSTALL ) -m 644 pam_tcb.8 $(DESTDIR )$(MANDIR ) /man8/
3233
3334install-pam_unix : install
34- ln -s $(PAM_TCB ) $(DESTDIR )$(SLIBDIR ) /security/pam_unix.so
35- ln -s $(PAM_TCB ) $(DESTDIR )$(SLIBDIR ) /security/pam_unix_acct.so
36- ln -s $(PAM_TCB ) $(DESTDIR )$(SLIBDIR ) /security/pam_unix_auth.so
37- ln -s $(PAM_TCB ) $(DESTDIR )$(SLIBDIR ) /security/pam_unix_passwd.so
38- ln -s $(PAM_TCB ) $(DESTDIR )$(SLIBDIR ) /security/pam_unix_session.so
35+ ln -s $(PAM_TCB ) $(DESTDIR )$(SLIBDIR ) /security/pam_unix.so$( PAM_SO_SUFFIX )
36+ ln -s $(PAM_TCB ) $(DESTDIR )$(SLIBDIR ) /security/pam_unix_acct.so$( PAM_SO_SUFFIX )
37+ ln -s $(PAM_TCB ) $(DESTDIR )$(SLIBDIR ) /security/pam_unix_auth.so$( PAM_SO_SUFFIX )
38+ ln -s $(PAM_TCB ) $(DESTDIR )$(SLIBDIR ) /security/pam_unix_passwd.so$( PAM_SO_SUFFIX )
39+ ln -s $(PAM_TCB ) $(DESTDIR )$(SLIBDIR ) /security/pam_unix_session.so$( PAM_SO_SUFFIX )
3940 $(INSTALL ) -m 644 pam_unix.8 $(DESTDIR )$(MANDIR ) /man8/
4041
4142install-pam_pwdb : install
42- ln -s $(PAM_TCB ) $(DESTDIR )$(SLIBDIR ) /security/pam_pwdb.so
43+ ln -s $(PAM_TCB ) $(DESTDIR )$(SLIBDIR ) /security/pam_pwdb.so$( PAM_SO_SUFFIX )
4344 $(INSTALL ) -m 644 pam_pwdb.8 $(DESTDIR )$(MANDIR ) /man8/
4445
4546clean :
You can’t perform that action at this time.
0 commit comments