[27715] trunk/dports/security/jailkit
source_changes at macosforge.org
source_changes at macosforge.org
Sun Aug 12 09:30:36 PDT 2007
Revision: 27715
http://trac.macosforge.org/projects/macports/changeset/27715
Author: nox at macports.org
Date: 2007-08-12 09:30:35 -0700 (Sun, 12 Aug 2007)
Log Message:
-----------
jailkit:
* Updated to 2.4.
* Added sha1 and rmd160 checksums.
* Replaced man, py and src Makefile.in patches with a reinplace call.
Modified Paths:
--------------
trunk/dports/security/jailkit/Portfile
trunk/dports/security/jailkit/files/patch-Makefile.in
Removed Paths:
-------------
trunk/dports/security/jailkit/files/patch-man_Makefile.in
trunk/dports/security/jailkit/files/patch-py_Makefile.in
trunk/dports/security/jailkit/files/patch-src_Makefile.in
Modified: trunk/dports/security/jailkit/Portfile
===================================================================
--- trunk/dports/security/jailkit/Portfile 2007-08-12 16:00:48 UTC (rev 27714)
+++ trunk/dports/security/jailkit/Portfile 2007-08-12 16:30:35 UTC (rev 27715)
@@ -3,10 +3,10 @@
PortSystem 1.0
name jailkit
-version 1.2
+version 2.4
categories security sysutils
platforms darwin
-maintainers nomaintainer at macports.org
+maintainers nomaintainer
description utilities to create limited user accounts in a chroot jail
long_description Jailkit is a set of utilities to allow quick creation of \
limited user accounts in a chroot jail. It contains a safe \
@@ -16,17 +16,23 @@
homepage http://olivier.sessink.nl/jailkit/
master_sites ${homepage}
-checksums md5 e5028be3cbb03ce565d6db61d4312a58
+checksums md5 84b21322495d597455a4758206e87b7c \
+ sha1 f86161ee8abddf335299605c46d1a891d481db0a \
+ rmd160 0b4362c83ded29b6b048c241daf67b4129563ec1
use_bzip2 yes
-patchfiles patch-Makefile.in \
- patch-man_Makefile.in \
- patch-py_Makefile.in \
- patch-src_Makefile.in
-
+patchfiles patch-Makefile.in
depends_lib bin:python:python23
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 2007-08-12 16:00:48 UTC (rev 27714)
+++ trunk/dports/security/jailkit/files/patch-Makefile.in 2007-08-12 16:30:35 UTC (rev 27715)
@@ -1,6 +1,6 @@
---- Makefile.in Fri Aug 27 13:50:16 2004
-+++ Makefile.in.new Fri Aug 27 13:50:34 2004
-@@ -31,20 +31,14 @@
+--- 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 \
@@ -15,11 +15,12 @@
@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 "appending ${prefix}/sbin/jk_chroots to /etc/shells";\
- echo ${prefix}/sbin/jk_chrootsh >> /etc/shells ;\
- fi
-
uninstall:
- rm -f /etc/jailkit/*.ini
+ rm -f ${iniprefix}/*.ini
Deleted: trunk/dports/security/jailkit/files/patch-man_Makefile.in
===================================================================
--- trunk/dports/security/jailkit/files/patch-man_Makefile.in 2007-08-12 16:00:48 UTC (rev 27714)
+++ trunk/dports/security/jailkit/files/patch-man_Makefile.in 2007-08-12 16:30:35 UTC (rev 27715)
@@ -1,11 +0,0 @@
---- man/Makefile.in Mon Jul 19 09:48:04 2004
-+++ man/Makefile.in.new Fri Aug 27 13:45:18 2004
-@@ -53,7 +53,7 @@
- install: jailkit
- ${INSTALL} -d -m 755 ${prefix}/share/man/man8/
- for file in ${OBJS} ; do \
-- ${INSTALL} -g 0 -o root -m 0644 $${file} ${prefix}/share/man/man8/ ;\
-+ ${INSTALL} -m 0644 $${file} ${prefix}/share/man/man8/ ;\
- done
-
- uninstall:
Deleted: trunk/dports/security/jailkit/files/patch-py_Makefile.in
===================================================================
--- trunk/dports/security/jailkit/files/patch-py_Makefile.in 2007-08-12 16:00:48 UTC (rev 27714)
+++ trunk/dports/security/jailkit/files/patch-py_Makefile.in 2007-08-12 16:30:35 UTC (rev 27715)
@@ -1,21 +0,0 @@
---- py/Makefile.in Tue Aug 3 23:09:17 2004
-+++ py/Makefile.in.new Fri Aug 27 13:46:31 2004
-@@ -27,12 +27,12 @@
- install: jailkit
- ${INSTALL} -d -m 755 ${prefix}/sbin
- ${INSTALL} -d -m 755 ${PYLIBDIR}
-- ${INSTALL} -g 0 -o root -m 0644 jk_lib.py ${PYLIBDIR}/
-- ${INSTALL} -g 0 -o root -m 0644 jk_lib.pyc ${PYLIBDIR}/
-- ${INSTALL} -g 0 -o root -m 0755 jk_init ${prefix}/sbin
-- ${INSTALL} -g 0 -o root -m 0755 jk_check ${prefix}/sbin
-- ${INSTALL} -g 0 -o root -m 0755 jk_cp ${prefix}/sbin
-- ${INSTALL} -g 0 -o root -m 0755 jk_addjailuser ${prefix}/sbin
-+ ${INSTALL} -m 0644 jk_lib.py ${PYLIBDIR}/
-+ ${INSTALL} -m 0644 jk_lib.pyc ${PYLIBDIR}/
-+ ${INSTALL} -m 0755 jk_init ${prefix}/sbin
-+ ${INSTALL} -m 0755 jk_check ${prefix}/sbin
-+ ${INSTALL} -m 0755 jk_cp ${prefix}/sbin
-+ ${INSTALL} -m 0755 jk_addjailuser ${prefix}/sbin
-
- uninstall:
- rm -f ${prefix}/sbin/jk_cp
Deleted: trunk/dports/security/jailkit/files/patch-src_Makefile.in
===================================================================
--- trunk/dports/security/jailkit/files/patch-src_Makefile.in 2007-08-12 16:00:48 UTC (rev 27714)
+++ trunk/dports/security/jailkit/files/patch-src_Makefile.in 2007-08-12 16:30:35 UTC (rev 27715)
@@ -1,20 +0,0 @@
---- src/Makefile.in Wed Aug 11 20:28:57 2004
-+++ src/Makefile.in.new Fri Aug 27 13:48:03 2004
-@@ -44,12 +44,12 @@
- install: ${BINARIES}
- ${INSTALL} -d -m 755 ${prefix}
- ${INSTALL} -d -m 755 ${prefix}/sbin
-- ${INSTALL} -g 0 -o 0 -s -m 0755 jk_socketd ${prefix}/sbin/
-- ${INSTALL} -g 0 -o 0 -s -m 0755 jk_chrootlaunch ${prefix}/sbin/
-- ${INSTALL} -g 0 -o 0 -s -m 0755 jk_lsh ${prefix}/sbin/
-- ${INSTALL} -g 0 -o 0 -s -m 4755 jk_chrootsh ${prefix}/sbin/
-+ ${INSTALL} -s -m 0755 jk_socketd ${prefix}/sbin/
-+ ${INSTALL} -s -m 0755 jk_chrootlaunch ${prefix}/sbin/
-+ ${INSTALL} -s -m 0755 jk_lsh ${prefix}/sbin/
-+ ${INSTALL} -s -m 4755 jk_chrootsh ${prefix}/sbin/
- if [ ${HAVEPROCMAIL} -eq "1" ]; then \
-- ${INSTALL} -g 0 -o root -s -m 4755 jk_procmailwrapper ${prefix}/sbin/ ;\
-+ ${INSTALL} -s -m 4755 jk_procmailwrapper ${prefix}/sbin/ ;\
- fi
-
- uninstall:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070812/ee21253c/attachment.html
More information about the macports-changes
mailing list