Date: Wed, 4 Apr 2007 18:47:14 +0700 (NOVST) From: Dmitry A Grigorovich <odip@bionet.nsc.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: pirzyk@FreeBSD.org Subject: ports/111224: [PATCH] security/pam_per_user conflicts with security/courier-authlib Message-ID: <20070404114714.E5E64218D4@manticore.bionet.nsc.ru> Resent-Message-ID: <200704041220.l34CK78T078342@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 111224 >Category: ports >Synopsis: [PATCH] security/pam_per_user conflicts with security/courier-authlib >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Apr 04 12:20:07 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Dmitry A Grigorovich >Release: FreeBSD 6.2-RELEASE-p3 >Organization: >Environment: System: FreeBSD monk.bionet.nsc.ru 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 >Description: File /usr/local/sbin/authtest installed by two ports: security/pam_per_user and security/courier-authlib $ grep 'authtest' /usr/ports/security/courier-authlib/pkg-plist* /usr/ports/security/courier-authlib/pkg-plist-base:sbin/authtest $ grep 'authtest' /usr/ports/security/pam_per_user/pkg-plist* sbin/authtest >How-To-Repeat: Install both ports and try to deinstall both You are warned about MD5-mismatch for file authtest >Fix: Apply following patch for security/pam_per_user Reinstall security/pam_per_user File /usr/local/sbin/authtest are renamed to per_user_authtest --- per_user.patch begins here --- diff -urN pam_per_user/files/patch-Makefile.in pam_per_user.new/files/patch-Makefile.in --- pam_per_user/files/patch-Makefile.in Thu Jan 1 07:00:00 1970 +++ pam_per_user.new/files/patch-Makefile.in Wed Apr 4 18:11:30 2007 @@ -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 -urN pam_per_user/pkg-plist pam_per_user.new/pkg-plist --- pam_per_user/pkg-plist Tue May 16 22:34:08 2006 +++ pam_per_user.new/pkg-plist Wed Apr 4 18:09:20 2007 @@ -1,3 +1,3 @@ -sbin/authtest +sbin/per_user_authtest lib/security/pam_per_user.so.1 @dirrmtry lib/security --- per_user.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070404114714.E5E64218D4>