New package: linux-user-chroot-v2012.2.
This commit is contained in:
parent
2e46d28bf8
commit
ff3fb92e87
3 changed files with 37 additions and 0 deletions
7
srcpkgs/linux-user-chroot/INSTALL
Normal file
7
srcpkgs/linux-user-chroot/INSTALL
Normal 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
|
1
srcpkgs/linux-user-chroot/linux-user-chroot.rshlibs
Normal file
1
srcpkgs/linux-user-chroot/linux-user-chroot.rshlibs
Normal file
|
@ -0,0 +1 @@
|
|||
libc.so.6
|
29
srcpkgs/linux-user-chroot/template
Normal file
29
srcpkgs/linux-user-chroot/template
Normal 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
|
||||
}
|
Loading…
Reference in a new issue