From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Oct 31 20:50:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC703106568D for ; Sat, 31 Oct 2009 20:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8CBA28FC13 for ; Sat, 31 Oct 2009 20:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9VKo1Ns075221 for ; Sat, 31 Oct 2009 20:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9VKo1UD075220; Sat, 31 Oct 2009 20:50:01 GMT (envelope-from gnats) Resent-Date: Sat, 31 Oct 2009 20:50:01 GMT Resent-Message-Id: <200910312050.n9VKo1UD075220@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Petr Rehor Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AA51106568D for ; Sat, 31 Oct 2009 20:43:44 +0000 (UTC) (envelope-from reho@rx.cz) Received: from smtp-out3.iol.cz (smtp-out3.iol.cz [194.228.2.91]) by mx1.freebsd.org (Postfix) with ESMTP id DE1898FC0A for ; Sat, 31 Oct 2009 20:43:43 +0000 (UTC) Received: from antivir5.iol.cz (unknown [192.168.30.212]) by smtp-out3.iol.cz (Postfix) with ESMTP id 449E8BC84B9; Sat, 31 Oct 2009 20:43:42 +0000 (UTC) Received: from localhost (antivir5.iol.cz [127.0.0.1]) by antivir5.iol.cz (Postfix) with ESMTP id 3545A2812A; Sat, 31 Oct 2009 21:43:42 +0100 (CET) Received: from antivir5.iol.cz ([127.0.0.1]) by localhost (antivir5.iol.cz [127.0.0.1]) (amavisd-new, port 10224) with LMTP id g1N04bTI862w; Sat, 31 Oct 2009 21:43:42 +0100 (CET) Received: from port5.iol.cz (unknown [192.168.30.95]) by antivir5.iol.cz (Postfix) with ESMTP id 14CEA28129; Sat, 31 Oct 2009 21:43:42 +0100 (CET) Received: from 199.106.broadband4.iol.cz ([85.71.106.199]) by port5.iol.cz with ESMTP; 31 Oct 2009 21:43:42 +0100 Received: from 199.106.broadband4.iol.cz (localhost [127.0.0.1]) by 199.106.broadband4.iol.cz (8.14.3/8.14.3) with ESMTP id n9VKhfAi003146; Sat, 31 Oct 2009 21:43:41 +0100 (CET) (envelope-from reho@199.106.broadband4.iol.cz) Received: (from root@localhost) by 199.106.broadband4.iol.cz (8.14.3/8.14.3/Submit) id n9VKhf8l003145; Sat, 31 Oct 2009 21:43:41 +0100 (CET) (envelope-from reho) Message-Id: <200910312043.n9VKhf8l003145@199.106.broadband4.iol.cz> Date: Sat, 31 Oct 2009 21:43:41 +0100 (CET) From: Petr Rehor To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Petr Rehor Subject: ports/140152: [patch] security/amavisd-milter: respect ${PREFIX} and ${LOCALBASE} X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Petr Rehor List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Oct 2009 20:50:01 -0000 >Number: 140152 >Category: ports >Synopsis: [patch] security/amavisd-milter: respect ${PREFIX} and ${LOCALBASE} >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Oct 31 20:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Petr Rehor >Release: FreeBSD 7.1-RELEASE-p6 i386 >Organization: >Environment: System: FreeBSD charon.rx.cz 7.1-RELEASE-p6 FreeBSD 7.1-RELEASE-p6 #0: Tue Jun 9 16:26:47 UTC 2009 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: The port assumes that LOCALBASE is /usr/local. This patch rather use PREFIX and LOCALBASE variables. >How-To-Repeat: >Fix: --- pam_abl.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/security/pam_abl/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- Makefile 22 Aug 2009 00:35:00 -0000 1.4 +++ Makefile 31 Oct 2009 20:31:06 -0000 @@ -44,6 +44,7 @@ SED_SCRIPT= -e 's||<${BDB_INCLUDE_DIR}/db.h>|' \ -e 's|-ldb|-l${BDB_LIB_NAME}|' \ -e 's|%%PREFIX%%|${PREFIX}|' \ + -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ -e 's|%%ETCPREFIX%%|${ETCPREFIX}|' \ -e 's|%%PAMABLDB%%|${PAMABLDB}|' Index: files/patch-Makefile =================================================================== RCS file: /home/ncvs/ports/security/pam_abl/files/patch-Makefile,v retrieving revision 1.1 diff -u -r1.1 patch-Makefile --- files/patch-Makefile 1 Sep 2006 18:34:03 -0000 1.1 +++ files/patch-Makefile 31 Oct 2009 20:31:06 -0000 @@ -9,11 +9,11 @@ -CONFDIR=/etc/security -DBDIR=/var/lib/abl -LIBS=-ldb -lpthread -+CFLAGS=-Wall -fPIC -I/usr/local/include ++CFLAGS=-Wall -fPIC -I%%PREFIX%%/include -I%%LOCALBASE%%/include +PAMDIR=%%PREFIX%%/lib +CONFDIR=%%ETCPREFIX%%/etc +DBDIR=%%PAMABLDB%% -+LIBS=-L/usr/local/lib -ldb -lpthread ++LIBS=-L%%PREFIX%%/lib -L%%LOCALBASE%% -ldb -lpthread MODULE=pam_abl.so OBJ=pam_abl.o log.o config.o rule.o SUBDIRS=tools --- pam_abl.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: