New package: linux-user-chroot-v2012.2.

This commit is contained in:
Juan RP 2012-10-05 11:33:05 +02:00
parent 2e46d28bf8
commit ff3fb92e87
3 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,7 @@
case ${ACTION} in
post)
# Restrict access to users in wheel group.
chown root:wheel usr/bin/linux-user-chroot
chmod 4750 usr/bin/linux-user-chroot
;;
esac

View file

@ -0,0 +1 @@
libc.so.6

View file

@ -0,0 +1,29 @@
# Template file for 'linux-user-chroot'
pkgname=linux-user-chroot
version=v2012.2
revision=1
build_style=gnu-configure
makedepends="git automake"
short_desc="Setuid helper for making bind mounts and chrooting"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://git.gnome.org/browse/linux-user-chroot/"
license="GPL-2"
long_desc="
This tool allows regular (non-root) users to call chroot(2), create
Linux bind mounts, and use some Linux container features. It's
primarily intended for use by build systems.
NOTE: Only users in the wheel group can use this tool."
nofetch=yes
noextract=yes
do_fetch() {
local url="git://git.gnome.org/linux-user-chroot"
msg_normal "Fetching source from $url ...\n"
git clone -b${version} ${url} ${pkgname}-${version}
}
pre_configure() {
./autogen.sh
}