aboutsummaryrefslogtreecommitdiffstats
path: root/community/jailkit/Makefile.in.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 07:28:34 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 07:55:47 +0000
commit261908e8db0a78cc3b1cc25e73bedcf2b37cffa7 (patch)
treed0884274a4a142aa4280c772f977fc837ad3ff3d /community/jailkit/Makefile.in.patch
parentbf9ae7e68343bd4ca8742c5efeb155783e5f53cd (diff)
downloadaports-261908e8db0a78cc3b1cc25e73bedcf2b37cffa7.tar.bz2
aports-261908e8db0a78cc3b1cc25e73bedcf2b37cffa7.tar.xz
community/jailkit: moved from testing
Diffstat (limited to 'community/jailkit/Makefile.in.patch')
-rw-r--r--community/jailkit/Makefile.in.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/community/jailkit/Makefile.in.patch b/community/jailkit/Makefile.in.patch
new file mode 100644
index 0000000000..36494ed07f
--- /dev/null
+++ b/community/jailkit/Makefile.in.patch
@@ -0,0 +1,23 @@
+--- jailkit-2.15/Makefile.in
++++ jailkit-2.15/Makefile.in-patched
+@@ -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:
+@@ -83,5 +75,3 @@
+ @cd man/ && $(MAKE) uninstall
+ @cd src/ && $(MAKE) uninstall
+ -rmdir --ignore-fail-on-non-empty ${DESTDIR}${iniprefix}
+- @echo "You must manually remove jk_chrootsh from /etc/shells"
+-# remove jk_chrootsh from /etc/shells