summaryrefslogtreecommitdiff
path: root/community/chrootuid
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/chrootuid
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/chrootuid')
-rw-r--r--community/chrootuid/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/chrootuid/PKGBUILD b/community/chrootuid/PKGBUILD
new file mode 100644
index 000000000..9b6f9a7ee
--- /dev/null
+++ b/community/chrootuid/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 91848 2013-05-28 17:25:14Z 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=6
+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 $srcdir/$pkgname$pkgver
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname$pkgver
+ install -D -m755 $srcdir/$pkgname$pkgver/chrootuid $pkgdir/usr/bin/chrootuid
+ install -D -m644 $srcdir/$pkgname$pkgver/chrootuid.1 $pkgdir/usr/share/man/man1/chrootuid.1
+ install -D -m644 $srcdir/chrootuid_license $pkgdir/usr/share/licenses/$pkgname/license
+}