From 0985eaaf476d6f350a0425be3a15efded656ba71 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Mon, 24 Aug 2015 03:39:36 +0200 Subject: [PATCH] schroot: add setuid bit --- srcpkgs/schroot/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/schroot/template b/srcpkgs/schroot/template index ed80e1d7c58..57a3339d60e 100644 --- a/srcpkgs/schroot/template +++ b/srcpkgs/schroot/template @@ -1,7 +1,7 @@ # Template file for 'schroot' pkgname=schroot version=1.7.2 -revision=3 +revision=4 build_pie=yes build_style=cmake configure_args=" @@ -69,8 +69,13 @@ LDFLAGS="-lboost_regex" pre_configure() { sed -i 's/warn/message/g' man/CMakeLists.txt + sed -i '/networks/d' \ + etc/profile-templates/default/all/nssdatabases \ + etc/profile-templates/desktop/all/nssdatabases \ + etc/profile-templates/buildd/all/copyfiles } post_install() { + chmod 4755 $PKGDESTDIR/usr/bin/$pkgname rm -r $PKGDESTDIR/usr/include $PKGDESTDIR/usr/lib/pkgconfig }