diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/chrootuid |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/chrootuid')
-rw-r--r-- | community/chrootuid/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/chrootuid/PKGBUILD b/community/chrootuid/PKGBUILD new file mode 100644 index 000000000..fc1075436 --- /dev/null +++ b/community/chrootuid/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 17501 2010-05-24 14:12:22Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Frop Doe <mrmr@rizla.org> +# Contributor: Guillermo A. Amaral <me@guillermoamaral.com> (thewonka) +# Mainteiner: Guillermo A. Amaral <me@guillermoamaral.com> (thewonka) + +pkgname=chrootuid +pkgver=1.3 +pkgrel=4 +arch=(i686 x86_64) +pkgdesc="Runs a command in a restricted environment." +url="ftp://ftp.porcupine.org/pub/security/index.html" +license=("BSD") +depends=(glibc) +source=(ftp://ftp.porcupine.org/pub/security/$pkgname$pkgver.tar.gz + ftp://ftp.porcupine.org/pub/security/chrootuid_license) +md5sums=('15510abadf5de189e1c22a1544dc926a' + '11383ad1d66445640f1dec3478a2b53f') + +build() { + cd $startdir/src/$pkgname$pkgver + + make || return 1 + + install -D -m755 $srcdir/$pkgname$pkgver/chrootuid $startdir/pkg/usr/sbin/chrootuid && \ + install -D -m644 $srcdir/$pkgname$pkgver/chrootuid.1 $startdir/pkg/usr/share/man/man1/chrootuid.1 && \ + install -D -m644 $srcdir/chrootuid_license $startdir/pkg/usr/share/licenses/$pkgname/license +} |