1 |
blueness 10/06/30 16:22:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gradm-2.2.0.201006192157.ebuild |
5 |
Log: |
6 |
Version bump, Bug #325225. Thank you cilly. |
7 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.120 sys-apps/gradm/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/ChangeLog?rev=1.120&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/ChangeLog?rev=1.120&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/ChangeLog?r1=1.119&r2=1.120 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v |
19 |
retrieving revision 1.119 |
20 |
retrieving revision 1.120 |
21 |
diff -u -r1.119 -r1.120 |
22 |
--- ChangeLog 29 Jun 2010 19:42:10 -0000 1.119 |
23 |
+++ ChangeLog 30 Jun 2010 16:22:10 -0000 1.120 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for sys-apps/gradm |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.119 2010/06/29 19:42:10 blueness Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.120 2010/06/30 16:22:10 blueness Exp $ |
29 |
+ |
30 |
+*gradm-2.2.0.201006192157 (30 Jun 2010) |
31 |
+ |
32 |
+ 30 Jun 2010; Anthony G. Basile <blueness@g.o> |
33 |
+ +gradm-2.2.0.201006192157.ebuild: |
34 |
+ Version bump, Bug #325225. Thank you cilly. |
35 |
|
36 |
29 Jun 2010; Anthony G. Basile <blueness@g.o> metadata.xml: |
37 |
Added myself to the metadata.xml |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-apps/gradm/gradm-2.2.0.201006192157.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/gradm-2.2.0.201006192157.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/gradm-2.2.0.201006192157.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: gradm-2.2.0.201006192157.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.2.0.201006192157.ebuild,v 1.1 2010/06/30 16:22:10 blueness Exp $ |
51 |
|
52 |
EAPI=2 |
53 |
|
54 |
inherit flag-o-matic toolchain-funcs versionator |
55 |
|
56 |
MY_PV="$(replace_version_separator 3 -)" |
57 |
|
58 |
DESCRIPTION="Administrative interface for the grsecurity Role Based Access Control system" |
59 |
HOMEPAGE="http://www.grsecurity.net/" |
60 |
SRC_URI="mirror://gentoo/${PN}-${MY_PV}.tar.gz" |
61 |
LICENSE="GPL-2" |
62 |
|
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
65 |
IUSE="pam" |
66 |
|
67 |
RDEPEND="" |
68 |
DEPEND="sys-devel/bison |
69 |
sys-devel/flex |
70 |
pam? ( virtual/pam ) |
71 |
|| ( sys-apps/paxctl sys-apps/chpax )" |
72 |
|
73 |
S="${WORKDIR}/${PN}2" |
74 |
|
75 |
src_prepare() { |
76 |
sed -i -e s:^LDFLAGS=:LDFLAGS+=: \ |
77 |
-e s:^MKNOD=.*:MKNOD=true: \ |
78 |
-e s:^STRIP=.*:STRIP=true: Makefile |
79 |
|
80 |
append-ldflags -Wl,-z,now |
81 |
} |
82 |
|
83 |
src_compile() { |
84 |
local target |
85 |
use pam || target="nopam" |
86 |
|
87 |
emake ${target} CC="$(tc-getCC)" OPT_FLAGS="${CFLAGS}" || die "emake failed" |
88 |
} |
89 |
|
90 |
src_install() { |
91 |
einstall DESTDIR="${D}" || die "einstall failed" |
92 |
fperms 711 /sbin/gradm |
93 |
} |
94 |
|
95 |
pkg_postinst() { |
96 |
[ -e "${ROOT}"/dev/grsec ] && rm -f "${ROOT}"/dev/grsec |
97 |
einfo "Making character device for grsec2 learning mode" |
98 |
mkdir -p -m 755 "${ROOT}"/dev/ |
99 |
mknod -m 0622 "${ROOT}"/dev/grsec c 1 13 || die "mknod on grsec learning device failed" |
100 |
|
101 |
einfo |
102 |
ewarn "Be sure to set a password with 'gradm -P' before enabling learning mode" |
103 |
ewarn |
104 |
ewarn "This version of gradm is only supported with a kernel >=2.6.29!" |
105 |
einfo |
106 |
} |