aboutsummaryrefslogtreecommitdiffstats
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
parentbf9ae7e68343bd4ca8742c5efeb155783e5f53cd (diff)
downloadaports-261908e8db0a78cc3b1cc25e73bedcf2b37cffa7.tar.bz2
aports-261908e8db0a78cc3b1cc25e73bedcf2b37cffa7.tar.xz
community/jailkit: moved from testing
-rw-r--r--community/jailkit/APKBUILD (renamed from testing/jailkit/APKBUILD)20
-rw-r--r--community/jailkit/Makefile.in.patch (renamed from testing/jailkit/Makefile.in.patch)0
-rw-r--r--community/jailkit/jailkit.post-deinstall (renamed from testing/jailkit/jailkit.post-deinstall)0
-rw-r--r--community/jailkit/jailkit.post-install (renamed from testing/jailkit/jailkit.post-install)0
4 files changed, 5 insertions, 15 deletions
diff --git a/testing/jailkit/APKBUILD b/community/jailkit/APKBUILD
index 7bf916e31c..0bff0c6978 100644
--- a/testing/jailkit/APKBUILD
+++ b/community/jailkit/APKBUILD
@@ -7,28 +7,18 @@ pkgdesc="Utilities for chroot jailing a user or process."
url="http://olivier.sessink.nl/jailkit"
arch="all"
license="custom"
-depends="python"
-depends_dev=""
+depends="python2"
options="suid"
-makedepends="$depends_dev"
+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"
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -39,7 +29,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
diff --git a/testing/jailkit/Makefile.in.patch b/community/jailkit/Makefile.in.patch
index 36494ed07f..36494ed07f 100644
--- a/testing/jailkit/Makefile.in.patch
+++ b/community/jailkit/Makefile.in.patch
diff --git a/testing/jailkit/jailkit.post-deinstall b/community/jailkit/jailkit.post-deinstall
index 57669144d8..57669144d8 100644
--- a/testing/jailkit/jailkit.post-deinstall
+++ b/community/jailkit/jailkit.post-deinstall
diff --git a/testing/jailkit/jailkit.post-install b/community/jailkit/jailkit.post-install
index 88a592511a..88a592511a 100644
--- a/testing/jailkit/jailkit.post-install
+++ b/community/jailkit/jailkit.post-install