aboutsummaryrefslogtreecommitdiff
path: root/shells/jailkit
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-06-11 17:42:36 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-06-11 17:42:36 +0000
commit2bacde9c3b2c44465f7058cb9b4c6e7dc4700ac2 (patch)
tree8b56f25125b5be6dd05af340e094bb197df7f3bc /shells/jailkit
parentde32df923135bbd415900176644d4602881f1f76 (diff)
downloadports-2bacde9c3b2c44465f7058cb9b4c6e7dc4700ac2.tar.gz
ports-2bacde9c3b2c44465f7058cb9b4c6e7dc4700ac2.zip
Add an @shell keyword to handle adding and remove a shell path in /etc/shell
Bump port revision of all ports that were doing it wrong prior to the keyword CR: D208 Reviewed by: antoine With hat: portmgr
Notes
Notes: svn path=/head/; revision=357511
Diffstat (limited to 'shells/jailkit')
-rw-r--r--shells/jailkit/Makefile1
-rw-r--r--shells/jailkit/pkg-plist4
2 files changed, 2 insertions, 3 deletions
diff --git a/shells/jailkit/Makefile b/shells/jailkit/Makefile
index 2999a490d7bb..8abd664ea093 100644
--- a/shells/jailkit/Makefile
+++ b/shells/jailkit/Makefile
@@ -3,6 +3,7 @@
PORTNAME= jailkit
PORTVERSION= 2.15
+PORTREVISION= 1
CATEGORIES= shells
MASTER_SITES= http://olivier.sessink.nl/jailkit/ \
http://www.sfr-fresh.com/unix/privat/
diff --git a/shells/jailkit/pkg-plist b/shells/jailkit/pkg-plist
index 58912d4c6772..775ba21e6b64 100644
--- a/shells/jailkit/pkg-plist
+++ b/shells/jailkit/pkg-plist
@@ -20,7 +20,7 @@ man/man8/jk_socketd.8.gz
man/man8/jk_uchroot.8.gz
man/man8/jk_update.8.gz
sbin/jk_chrootlaunch
-sbin/jk_chrootsh
+@shell sbin/jk_chrootsh
sbin/jk_cp
sbin/jk_init
sbin/jk_check
@@ -30,8 +30,6 @@ sbin/jk_list
sbin/jk_update
sbin/jk_lsh
sbin/jk_socketd
-@exec echo "Updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v jk_chrootsh /etc/shells.bak; echo %D/%F) >/etc/shells; rm -f /etc/shells.bak
-@unexec echo "Updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v jk_chrootsh /etc/shells.bak) >/etc/shells; rm -f /etc/shells.bak
%%DATADIR%%/jk_lib.py
%%DATADIR%%/jk_lib.pyc
@dirrm %%DATADIR%%