diff --git a/cgroupfs-mount/.footprint b/cgroupfs-mount/.footprint new file mode 100644 index 000000000..ddcdd2097 --- /dev/null +++ b/cgroupfs-mount/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/cgroupfs-mount +-rwxr-xr-x root/root usr/bin/cgroupfs-umount diff --git a/cgroupfs-mount/.md5sum b/cgroupfs-mount/.md5sum new file mode 100644 index 000000000..e69de29bb diff --git a/cgroupfs-mount/.nostrip b/cgroupfs-mount/.nostrip new file mode 100644 index 000000000..8d98f9deb --- /dev/null +++ b/cgroupfs-mount/.nostrip @@ -0,0 +1 @@ +.* diff --git a/cgroupfs-mount/Pkgfile b/cgroupfs-mount/Pkgfile new file mode 100644 index 000000000..f52df063e --- /dev/null +++ b/cgroupfs-mount/Pkgfile @@ -0,0 +1,30 @@ +# Description: Scripts to mount the cgroupfs hierarchy +# URL: https://github.com/tianon/cgroupfs-mount +# Maintainer: James Mills, prologic at shortcircuit dot net dot au +# +# Depends on: git + +name=cgroupfs-mount +version=06bcb5e9d5 +release=1 +source=() + +build() { + cd $PKGMK_SOURCE_DIR + if [ ! -d $name ]; then + git clone git://github.com/tianon/cgroupfs-mount.git $name + else + cd $name + git pull --rebase + fi + cp -r $PKGMK_SOURCE_DIR/$name $SRC + + cd $SRC/$name + git checkout $version + + # Package + install -D -m 755 cgroupfs-mount $PKG/usr/bin/cgroupfs-mount + install -D -m 755 cgroupfs-umount $PKG/usr/bin/cgroupfs-umount + + chown -R root:root $PKG +}