From 3dfe171a4197f00c52017205738231a2c645edf2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 2 Feb 2013 03:04:40 +0100 Subject: [PATCH] xbps-src: set proper perms to xbps-src-chroot-helper. --- srcpkgs/xbps-src/INSTALL | 7 +++++++ srcpkgs/xbps-src/template | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/xbps-src/INSTALL diff --git a/srcpkgs/xbps-src/INSTALL b/srcpkgs/xbps-src/INSTALL new file mode 100644 index 00000000000..016d0637cde --- /dev/null +++ b/srcpkgs/xbps-src/INSTALL @@ -0,0 +1,7 @@ +case ${ACTION} in +post) + # Restrict access to users in wheel group. + chown root:wheel usr/libexec/xbps-src-chroot-helper + chmod 4750 usr/libexec/xbps-src-chroot-helper + ;; +esac diff --git a/srcpkgs/xbps-src/template b/srcpkgs/xbps-src/template index cbcc94d4418..b82e93bc3f4 100644 --- a/srcpkgs/xbps-src/template +++ b/srcpkgs/xbps-src/template @@ -1,7 +1,7 @@ # Template file for 'xbps-src' pkgname=xbps-src version=20130202 -revision=1 +revision=2 build_style=gnu-makefile make_build_args="PREFIX=/usr ETCDIR=/etc/xbps" make_install_args="PREFIX=/usr ETCDIR=/etc/xbps"