Skip site navigation (1)Skip section navigation (2)

ports/140152: [patch] security/pam_abl: respect ${PREFIX} and ${LOCALBASE}

From:Petr Rehor <prehor@gmail.com>
Date:Sat, 31 Oct 2009 21:43:41 +0100 (CET)
Subject:[patch] security/amavisd-milter: respect ${PREFIX} and ${LOCALBASE}
Send-pr version:3.113

Number:140152
Category:ports
Synopsis:[patch] security/pam_abl: respect ${PREFIX} and ${LOCALBASE}
Severity:non-critical
Priority:low
Responsible:itetcu@FreeBSD.org
State:closed
Class:maintainer-update
Arrival-Date:Sat Oct 31 20:50:01 UTC 2009
Closed-Date:Fri Nov 20 18:49:09 UTC 2009
Last-Modified:Fri Nov 20 18:50:08 UTC 2009
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:
Download pam_abl.diff
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|<db.h>|<${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


Release-Note:
 
Audit-Trail:
Responsible Changed
From-To:freebsd-ports-bugs->itetcu
By:edwin
When:Sat Oct 31 20:50:15 UTC 2009
Why:itetcu@ wants his PRs (via the GNATS Auto Assign Tool)

Reply via E-mail
From:Petr Rehor <prehor@gmail.com>
Date:Sat, 31 Oct 2009 21:52:03 +0100
Subject is wrong. The port is security/pam_abl. Sorry for the inconvenience. P.

State Changed
From-To:open->closed
By:miwi
When:Fri Nov 20 18:49:08 UTC 2009
Why:Committed. Thanks!

Reply via E-mail
From:dfilter@FreeBSD.ORG (dfilter service)
Date:Fri, 20 Nov 2009 18:49:15 +0000 (UTC)
miwi 2009-11-20 18:49:02 UTC

FreeBSD ports repository

Modified files:
security/pam_abl Makefile
security/pam_abl/files patch-Makefile
Log:
- Respect PREFIX

PR: 140152
Submitted by: Petr Rehor <prehor@gmail.com> (maintainer)

Revision Changes Path
1.5 +1 -0 ports/security/pam_abl/Makefile
1.2 +2 -2 ports/security/pam_abl/files/patch-Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"


Unformatted:
 
Submit Followup | Raw PR | Find another PR