Gentoo Archives: gentoo-dev

From: Ned Ludd <solar@g.o>
To: gentoo-dev@g.o
Subject: [gentoo-dev] experimental portage patch
Date: Fri, 11 Jul 2003 14:50:54
Message-Id: 1057935011.27023.661.camel@simple
1 This patch updates the copyright, adds support for LDFLAGS,ASFLAGS and
2 two new FEATURES.
3
4 1) antivirus
5 * this feature adds hooks to do virus scanning
6 ** before unpacking
7 ** after compiling
8 - To take advantage of this feature you need to set 3 things in your
9 make.conf
10
11 FEATURES="${FEATURES} antivirus"
12
13 # only really tested with f-prot
14 AVS_SCANNER=/opt/f-prot/f-prot
15 AVS_OPTS="-archive -dumb -ai -old"
16
17 # little to no testing done with clam
18 #AVS_SCANNER=/usr/bin/clamscan
19 #AVS_OPTS="--stdout --tgz=/bin/tar --tar=/bin/tar --unzip=/usr/bin/unzip
20 --disable-summary"
21
22 2) hardened
23 * this feature removes group and other readable bits when installing
24 setuid files
25 * this feature removes other readable bits when installing setgid files
26 * this feature could do alot more depending on the type of feedback I
27 get.
28
29 - To take advantage of this feature you need to set 1 thing in your
30 make.conf
31
32 FEATURES="${FEATURES} hardened"
33
34 --
35 Ned Ludd <solar@g.o>
36 Gentoo Linux Developer (Hardened)

Attachments

File name MIME type
ebuild.sh-hardened-1.133.diff text/x-patch