[55397] trunk/dports/security/jailkit
blb at macports.org
blb at macports.org
Mon Aug 10 01:01:14 PDT 2009
Revision: 55397
http://trac.macports.org/changeset/55397
Author: blb at macports.org
Date: 2009-08-10 01:01:10 -0700 (Mon, 10 Aug 2009)
Log Message:
-----------
security/jailkit - version update to 2.7, always use MacPorts python 2.6
Modified Paths:
--------------
trunk/dports/security/jailkit/Portfile
trunk/dports/security/jailkit/files/patch-Makefile.in
Modified: trunk/dports/security/jailkit/Portfile
===================================================================
--- trunk/dports/security/jailkit/Portfile 2009-08-10 07:53:38 UTC (rev 55396)
+++ trunk/dports/security/jailkit/Portfile 2009-08-10 08:01:10 UTC (rev 55397)
@@ -3,7 +3,7 @@
PortSystem 1.0
name jailkit
-version 2.4
+version 2.7
categories security sysutils
platforms darwin
maintainers nomaintainer
@@ -16,23 +16,17 @@
homepage http://olivier.sessink.nl/jailkit/
master_sites ${homepage}
-checksums md5 84b21322495d597455a4758206e87b7c \
- sha1 f86161ee8abddf335299605c46d1a891d481db0a \
- rmd160 0b4362c83ded29b6b048c241daf67b4129563ec1
+checksums md5 8a9f14e750965dbe20f3264c2cc8527b \
+ sha1 f00751a0ff64abb1975aa58638df4bab23a1d22e \
+ rmd160 b21782f73f418a10563609c964bc9254ec5fc9f4
use_bzip2 yes
patchfiles patch-Makefile.in
-depends_lib bin:python:python23
+depends_lib port:python26
+configure.env PYTHONINTERPRETER=${frameworks_dir}/Python.framework/Versions/2.6/bin/python2.6
destroot.destdir prefix=${destroot}${prefix} \
iniprefix=${destroot}${prefix}/etc/jailkit
-post-patch {
- foreach {dir} {man py src} {
- reinplace -E "s/-g 0 -o (root|0)//" ${worksrcpath}/${dir}/Makefile.in
- }
-}
-
-
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} COPYRIGHT INSTALL.txt README.txt \
Modified: trunk/dports/security/jailkit/files/patch-Makefile.in
===================================================================
--- trunk/dports/security/jailkit/files/patch-Makefile.in 2009-08-10 07:53:38 UTC (rev 55396)
+++ trunk/dports/security/jailkit/files/patch-Makefile.in 2009-08-10 08:01:10 UTC (rev 55397)
@@ -1,26 +1,17 @@
---- Makefile.in.orig 2007-08-12 18:21:18.000000000 +0200
-+++ Makefile.in 2007-08-12 18:21:53.000000000 +0200
-@@ -61,21 +61,14 @@
- ${INSTALL} -d -m 755 ${iniprefix}
- for file in ${INIFILES} ; do \
- if [ -f ${iniprefix}$${file} ]; then \
-- ${INSTALL} -o root -m 0644 ini/$${file} ${iniprefix}$${file}.dist ;\
-+ ${INSTALL} -m 0644 ini/$${file} ${iniprefix}$${file}.dist ;\
- else \
-- ${INSTALL} -o root -m 0644 ini/$${file} ${iniprefix} ;\
-+ ${INSTALL} -m 0644 ini/$${file} ${iniprefix} ;\
- fi ;\
- done
+--- Makefile.in.orig 2008-05-01 10:17:11.000000000 -0600
++++ Makefile.in 2009-08-09 23:53:03.000000000 -0600
+@@ -67,14 +67,6 @@
@cd src/ && $(MAKE) install
@cd py/ && $(MAKE) install
@cd man/ && $(MAKE) install
- # test if the jk_chrootsh is already in /etc/shells
- # this previously had @echo but that fails on FreeBSD
-- if ! grep ${prefix}/sbin/jk_chrootsh /etc/shells ; then \
-- echo "appending ${prefix}/sbin/jk_chroots to /etc/shells";\
-- echo ${prefix}/sbin/jk_chrootsh >> /etc/shells ;\
+- if test -w /etc/shells; then \
+- if ! grep ${prefix}/sbin/jk_chrootsh /etc/shells ; then \
+- echo "appending ${prefix}/sbin/jk_chroots to /etc/shells";\
+- echo ${prefix}/sbin/jk_chrootsh >> /etc/shells ;\
+- fi \
- fi
--
+
uninstall:
- rm -f ${iniprefix}/*.ini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090810/9cd44045/attachment-0001.html>
More information about the macports-changes
mailing list