From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in mail-filter/qmail-scanner/files: qmail-scanner-2.08-disable-suid-check.patch |
Date: | Sat, 28 Jan 2012 21:11:24 |
Message-Id: | 20120128211109.77AC52004C@flycatcher.gentoo.org |
1 | vapier 12/01/28 21:11:09 |
2 | |
3 | Added: qmail-scanner-2.08-disable-suid-check.patch |
4 | Log: |
5 | Disable useless suid mount check #364123 by Heavenly Avenger. |
6 | |
7 | (Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 mail-filter/qmail-scanner/files/qmail-scanner-2.08-disable-suid-check.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/qmail-scanner/files/qmail-scanner-2.08-disable-suid-check.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/qmail-scanner/files/qmail-scanner-2.08-disable-suid-check.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: qmail-scanner-2.08-disable-suid-check.patch |
16 | =================================================================== |
17 | this is a useless check for package builders |
18 | |
19 | https://bugs.gentoo.org/364123 |
20 | |
21 | --- a/configure |
22 | +++ b/configure |
23 | @@ -440,9 +440,7 @@ fi |
24 | #QMAILQUEUE_BIN="${QMAILQUEUE_BIN:-$BINDIR/qmail-queue}" |
25 | |
26 | #Sanity check that suid is allowed on the Qmail "/bin" partition |
27 | -QMNT=`df $BINDIR|head -2|tail -1|awk '{print $1}'` |
28 | -SUIDSTATUS=`mount|egrep "^$QMNT "|grep nosuid` |
29 | -if [ "$SUIDSTATUS" != "" ]; then |
30 | +if false; then |
31 | cat<<EOF |
32 | |
33 | *** FATAL ERROR *** |