community/jailkit: remove

- Requires python2
This commit is contained in:
Leo 2019-09-09 20:33:45 -03:00
parent b1593dd5b9
commit b93d42c95e
4 changed files with 0 additions and 66 deletions

View File

@ -1,37 +0,0 @@
# Contributor: Dean Takemori <deant@hawaii.rr.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=jailkit
pkgver=2.20
pkgrel=0
pkgdesc="Utilities for chroot jailing a user or process."
url="http://olivier.sessink.nl/jailkit"
arch="all"
license="custom"
depends="python2"
options="suid"
makedepends=""
install="$pkgname.post-install $pkgname.post-deinstall"
subpackages="$pkgname-doc"
source="http://olivier.sessink.nl/jailkit/jailkit-$pkgver.tar.bz2
Makefile.in.patch"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
sha512sums="1d025665a5f139fbb4065a91a032a9b75a3318da06bc9077f4ab4b1f7b4bbda2b3d03bbc3024f086c2df45b1572183ff591725ac7c50c2498618869fa81bdf08 jailkit-2.20.tar.bz2
332c5260772d39a676d9d62da614706c1be7771d2ad5620e3de228380b1c62cba40eb8aec0feb817135d68c9438aa9685dc532bf15a2433ed2886d6551e14558 Makefile.in.patch"

View File

@ -1,23 +0,0 @@
--- 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

View File

@ -1,3 +0,0 @@
#!/bin/sh
remove-shell '/usr/sbin/jk_chroots'
exit 0

View File

@ -1,3 +0,0 @@
#!/bin/sh
add-shell '/usr/sbin/jk_chroots'
exit 0