aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-06-15 22:11:43 +0800
committerpav <pav@FreeBSD.org>2007-06-15 22:11:43 +0800
commite57952612b9dcce66478d037f230154efe4f70d9 (patch)
treea03e0e6023efb69f65255d63ee3f109f8f277ca8
parent4e49853d896b65279f47f0dd96e73b74869f6b39 (diff)
downloadfreebsd-ports-gnome-e57952612b9dcce66478d037f230154efe4f70d9.tar.gz
freebsd-ports-gnome-e57952612b9dcce66478d037f230154efe4f70d9.tar.zst
freebsd-ports-gnome-e57952612b9dcce66478d037f230154efe4f70d9.zip
- Install authtest executable as per_user_authtest, to prevent conflict with
courier-authlib PR: ports/111224 Submitted by: Dmitry A Grigorovich <odip@bionet.nsc.ru> Approved by: pirzyk (maintainer)
-rw-r--r--security/pam_per_user/Makefile1
-rw-r--r--security/pam_per_user/files/patch-Makefile.in28
-rw-r--r--security/pam_per_user/pkg-plist2
3 files changed, 30 insertions, 1 deletions
diff --git a/security/pam_per_user/Makefile b/security/pam_per_user/Makefile
index 139725c20bf0..3f324f83eca9 100644
--- a/security/pam_per_user/Makefile
+++ b/security/pam_per_user/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pam_per_user
PORTVERSION= 0.4
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ftp://ftp.feep.net/pub/software/PAM/pam_per_user/
diff --git a/security/pam_per_user/files/patch-Makefile.in b/security/pam_per_user/files/patch-Makefile.in
new file mode 100644
index 000000000000..b77c9fd7101f
--- /dev/null
+++ b/security/pam_per_user/files/patch-Makefile.in
@@ -0,0 +1,28 @@
+--- Makefile.in.orig Tue Feb 18 22:41:47 2003
++++ Makefile.in Wed Apr 4 18:11:23 2007
+@@ -41,7 +41,7 @@
+ ### Makefile rules - no user-servicable parts below
+
+ HDRS = config.h ${srcdir}/compat/compat.h
+-ALL = pam_per_user.so.1 authtest
++ALL = pam_per_user.so.1 per_user_authtest
+
+
+ all: ${ALL}
+@@ -51,7 +51,7 @@
+ pam_per_user.so.1: pam_per_user.o ${LIBOBJS}
+ ${CC} ${SHLIB_CFLAGS} ${SHLIB_LDFLAGS} ${LDFLAGS} -o $@ pam_per_user.o ${LIBOBJS} ${LIBS}
+
+-authtest: authtest.o ${LIBOBJS}
++per_user_authtest: authtest.o ${LIBOBJS}
+ ${CC} ${LDFLAGS} -o $@ authtest.o ${LIBOBJS} ${LIBS}
+
+ .c.o:
+@@ -69,6 +69,6 @@
+ ${MKDIR} ${DESTDIR}${mandir}/man5
+ ${INSTALL_DATA} ${srcdir}/pam_per_user.5 ${DESTDIR}${mandir}/man5
+ ${MKDIR} ${DESTDIR}${sbindir}
+- ${INSTALL_PROGRAM} authtest ${DESTDIR}${sbindir}
++ ${INSTALL_PROGRAM} per_user_authtest ${DESTDIR}${sbindir}
+ @ENCAP_INSTALL_RULES@
+
diff --git a/security/pam_per_user/pkg-plist b/security/pam_per_user/pkg-plist
index 7644ecdb8404..fe2fa9a37d80 100644
--- a/security/pam_per_user/pkg-plist
+++ b/security/pam_per_user/pkg-plist
@@ -1,3 +1,3 @@
-sbin/authtest
+sbin/per_user_authtest
lib/security/pam_per_user.so.1
@dirrmtry lib/security