Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2005 23:00:20 +0700 (NOVST)
From:      Dmitry A Grigorovich <odip@bionet.nsc.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   ports/82326: [patch] Unneeded file in ports/security/pam_mkhomedir
Message-ID:  <20050616160020.9EA995503@hydra.bionet.nsc.ru>
Resent-Message-ID: <200506161600.j5GG0gsm091450@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@hydra2# cd /usr/ports/security/pam_mkhomedir
root@hydra2# make install
...
root@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@hydra2# pkg_delete -x pam_mkhomedir
root@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050616160020.9EA995503>