[117970] trunk/dports/security/jailkit

macsforever2000 at macports.org macsforever2000 at macports.org
Mon Mar 17 13:50:44 PDT 2014


Revision: 117970
          https://trac.macports.org/changeset/117970
Author:   macsforever2000 at macports.org
Date:     2014-03-17 13:50:44 -0700 (Mon, 17 Mar 2014)
Log Message:
-----------
jailkit: Add mode line. De-tab. Fix spacing. Rename patch to appease lint.

Modified Paths:
--------------
    trunk/dports/security/jailkit/Portfile

Added Paths:
-----------
    trunk/dports/security/jailkit/files/patch-Makefile.in.diff

Removed Paths:
-------------
    trunk/dports/security/jailkit/files/patch-Makefile.in

Modified: trunk/dports/security/jailkit/Portfile
===================================================================
--- trunk/dports/security/jailkit/Portfile	2014-03-17 20:44:57 UTC (rev 117969)
+++ trunk/dports/security/jailkit/Portfile	2014-03-17 20:50:44 UTC (rev 117970)
@@ -1,37 +1,38 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
+PortSystem          1.0
 
-name			jailkit
-version			2.11
-categories		security sysutils
-license			LGPL
-platforms		darwin
-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 \
-					logging daemon, shells that can restrict users, utilities \
-					to start daemons in a chroot jail, and utilities for easy \
-					setup of chroot jails.
+name                jailkit
+version             2.11
+categories          security sysutils
+license             LGPL
+platforms           darwin
+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 \
+                    logging daemon, shells that can restrict users, utilities \
+                    to start daemons in a chroot jail, and utilities for easy \
+                    setup of chroot jails.
 
-homepage		http://olivier.sessink.nl/jailkit/
-master_sites	${homepage}
+homepage            http://olivier.sessink.nl/jailkit/
+master_sites        ${homepage}
 
-checksums		md5     263c6b7b86cf1323d69ca26b6b9f7556 \
-				sha1    6344b79a2093699115d22668a08e052e75f655e3 \
-				rmd160  2d04fa253fc4b419c05137e4618ef18c51c88a19
+checksums           md5     263c6b7b86cf1323d69ca26b6b9f7556 \
+                    sha1    6344b79a2093699115d22668a08e052e75f655e3 \
+                    rmd160  2d04fa253fc4b419c05137e4618ef18c51c88a19
 
-use_bzip2		yes
-patchfiles		patch-Makefile.in
-depends_lib		port:python26
+use_bzip2           yes
+patchfiles          patch-Makefile.in.diff
+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
+configure.env       PYTHONINTERPRETER=${frameworks_dir}/Python.framework/Versions/2.6/bin/python2.6
+destroot.destdir    prefix=${destroot}${prefix} \
+                    iniprefix=${destroot}${prefix}/etc/jailkit
 
-post-destroot	{
-	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 644 -W ${worksrcpath} COPYRIGHT INSTALL.txt README.txt \
-		${destroot}${prefix}/share/doc/${name}
+post-destroot   {
+    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 644 -W ${worksrcpath} COPYRIGHT INSTALL.txt README.txt \
+        ${destroot}${prefix}/share/doc/${name}
 }

Deleted: trunk/dports/security/jailkit/files/patch-Makefile.in
===================================================================
--- trunk/dports/security/jailkit/files/patch-Makefile.in	2014-03-17 20:44:57 UTC (rev 117969)
+++ trunk/dports/security/jailkit/files/patch-Makefile.in	2014-03-17 20:50:44 UTC (rev 117970)
@@ -1,17 +0,0 @@
---- 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 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:

Copied: trunk/dports/security/jailkit/files/patch-Makefile.in.diff (from rev 117954, trunk/dports/security/jailkit/files/patch-Makefile.in)
===================================================================
--- trunk/dports/security/jailkit/files/patch-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/security/jailkit/files/patch-Makefile.in.diff	2014-03-17 20:50:44 UTC (rev 117970)
@@ -0,0 +1,17 @@
+--- 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 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:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140317/8ad5d2e8/attachment.html>


More information about the macports-changes mailing list