ports/82326: [patch] Unneeded file in ports/security/pam_mkhomedir
Dmitry A Grigorovich
odip at bionet.nsc.ru
Thu Jun 16 16:00:42 UTC 2005
>Number: 82326
>Category: ports
>Synopsis: [patch] Unneeded file in ports/security/pam_mkhomedir
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 16 16:00:41 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Dmitry A Grigorovich
>Release: FreeBSD 5.4-RELEASE
>Organization:
ICiG SB RAS, Russia
>Environment:
System: FreeBSD hydra2.bionet.nsc.ru 5.4-RELEASE
>Description:
ports/security/pam_mkhomedir installing
file /usr/local/lib/libpam_mkhomedir_p.a
even if WITH_PROFILE undefined
( by default it undefined )
>How-To-Repeat:
root at hydra2# cd /usr/ports/security/pam_mkhomedir
root at hydra2# make install
...
root at hydra2# ls -l /usr/local/lib/libpam*_p.a
-r--r--r-- 1 root wheel 5092 Jun 16 22:58 /usr/local/lib/libpam_mkhomedir_p.a
root at hydra2# pkg_delete -x pam_mkhomedir
root at hydra2# ls -l /usr/local/lib/libpam*_p.a
-r--r--r-- 1 root wheel 5092 Jun 16 22:58 /usr/local/lib/libpam_mkhomedir_p.a
root at hydra2#
>Fix:
Apply following patch
Remove /usr/local/lib/libpam_mkhomedir_p.a
Reinstall pam_mkhomedir
--- patch-pam_mkdir begins here ---
diff -ur pam_mkhomedir/Makefile pam_mkhomedir.new/Makefile
--- pam_mkhomedir/Makefile Wed Jun 15 03:01:55 2005
+++ pam_mkhomedir.new/Makefile Thu Jun 16 22:42:36 2005
@@ -28,6 +28,7 @@
MAKE_ARGS+= PROFILE=yes
WITH_STATIC= yes
.else
+MAKE_ARGS+= NOPROFILE=yes
PLIST_SUB+= PROFILE="@comment "
.endif
--- patch-pam_mkdir ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list