From owner-freebsd-ports@FreeBSD.ORG Thu Jun 16 16:00:24 2005 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09CCA16A41C; Thu, 16 Jun 2005 16:00:24 +0000 (GMT) (envelope-from odip@bionet.nsc.ru) Received: from hydra.bionet.nsc.ru (hydra.bionet.nsc.ru [84.237.118.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id B630043D4C; Thu, 16 Jun 2005 16:00:22 +0000 (GMT) (envelope-from odip@bionet.nsc.ru) Received: by hydra.bionet.nsc.ru (Postfix, from userid 1001) id 9EA995503; Thu, 16 Jun 2005 23:00:20 +0700 (NOVST) To: FreeBSD-gnats-submit@freebsd.org From: Dmitry A Grigorovich X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20050616160020.9EA995503@hydra.bionet.nsc.ru> Date: Thu, 16 Jun 2005 23:00:20 +0700 (NOVST) Cc: ports@FreeBSD.org Subject: [patch] Unneeded file in ports/security/pam_mkhomedir X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 16:00:24 -0000 >Submitter-Id: current-users >Originator: Dmitry A Grigorovich >Organization: ICiG SB RAS, Russia >Confidential: no >Synopsis: [patch] Unneeded file in ports/security/pam_mkhomedir >Severity: non-critical >Priority: medium >Category: ports >Class: update >Release: FreeBSD 5.4-RELEASE >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 ---