aboutsummaryrefslogtreecommitdiff
path: root/security/pam_ldap/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'security/pam_ldap/files/patch-aa')
-rw-r--r--security/pam_ldap/files/patch-aa25
1 files changed, 25 insertions, 0 deletions
diff --git a/security/pam_ldap/files/patch-aa b/security/pam_ldap/files/patch-aa
new file mode 100644
index 000000000000..4f2c107bd3b3
--- /dev/null
+++ b/security/pam_ldap/files/patch-aa
@@ -0,0 +1,25 @@
+--- Makefile.in.orig Sat May 26 16:07:21 2001
++++ Makefile.in Sat May 26 17:09:57 2001
+@@ -380,17 +380,15 @@
+
+ install-exec-local: pam_ldap.so
+ @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(DESTDIR)$(libdir)/security
+-@EXTENSION_SO_TRUE@ $(INSTALL_PROGRAM) -o root -g root pam_ldap.so $(DESTDIR)$(libdir)/security/pam_ldap.so
+-@EXTENSION_SO_FALSE@ $(INSTALL_PROGRAM) -o root -g root pam_ldap.so $(DESTDIR)$(libdir)/security/pam_ldap.so.1
+-@EXTENSION_SO_FALSE@ -rm -f $(DESTDIR)$(libdir)/security/pam_ldap.so
+-@EXTENSION_SO_FALSE@ -ln -s $(DESTDIR)$(libdir)/security/pam_ldap.so.1 $(DESTDIR)$(libdir)/security/pam_ldap.so
++ $(mkinstalldirs) $(DESTDIR)$(libdir)
++@EXTENSION_SO_TRUE@ $(INSTALL_PROGRAM) -o root -g wheel pam_ldap.so $(DESTDIR)$(libdir)/pam_ldap.so
++@EXTENSION_SO_FALSE@ $(INSTALL_PROGRAM) -o root -g wheel pam_ldap.so $(DESTDIR)$(libdir)/pam_ldap.so
+
+ install-data-local:
+ @$(NORMAL_INSTALL)
+- @if test ! -f $(DESTDIR)$(sysconfdir)/ldap.conf; then \
++ @if test ! -f $(DESTDIR)$(sysconfdir)/ldap.conf.dist; then \
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir); \
+- $(INSTALL_DATA) -o root -g root $(srcdir)/ldap.conf $(DESTDIR)$(sysconfdir)/ldap.conf; \
++ $(INSTALL_DATA) -o root -g wheel $(srcdir)/ldap.conf $(DESTDIR)$(sysconfdir)/ldap.conf.dist; \
+ fi
+
+ uninstall-local: