From: | "Anthony G. Basile (blueness)" <blueness@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/gradm: ChangeLog gradm-2.2.0.201009022049.ebuild gradm-2.2.0.201008112235.ebuild |
Date: | Tue, 07 Sep 2010 10:03:33 |
Message-Id: | 20100907100327.A68D120051@flycatcher.gentoo.org |
1 | blueness 10/09/07 10:03:27 |
2 | |
3 | Modified: ChangeLog |
4 | Added: gradm-2.2.0.201009022049.ebuild |
5 | Removed: gradm-2.2.0.201008112235.ebuild |
6 | Log: |
7 | Bump and removed deprecated version |
8 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.131 sys-apps/gradm/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/ChangeLog?rev=1.131&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/ChangeLog?rev=1.131&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/ChangeLog?r1=1.130&r2=1.131 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v |
20 | retrieving revision 1.130 |
21 | retrieving revision 1.131 |
22 | diff -u -r1.130 -r1.131 |
23 | --- ChangeLog 2 Sep 2010 22:14:11 -0000 1.130 |
24 | +++ ChangeLog 7 Sep 2010 10:03:27 -0000 1.131 |
25 | @@ -1,6 +1,13 @@ |
26 | # ChangeLog for sys-apps/gradm |
27 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.130 2010/09/02 22:14:11 blueness Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.131 2010/09/07 10:03:27 blueness Exp $ |
30 | + |
31 | +*gradm-2.2.0.201009022049 (07 Sep 2010) |
32 | + |
33 | + 07 Sep 2010; Anthony G. Basile <blueness@g.o> |
34 | + -gradm-2.2.0.201008112235.ebuild, -files/gradm-2.2.0.201008112235.patch, |
35 | + +gradm-2.2.0.201009022049.ebuild, +files/gradm-2.2.0.201009022049.patch: |
36 | + Bump and removed deprecated version |
37 | |
38 | *gradm-2.2.0.201008292125 (02 Sep 2010) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 sys-apps/gradm/gradm-2.2.0.201009022049.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/gradm-2.2.0.201009022049.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/gradm-2.2.0.201009022049.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: gradm-2.2.0.201009022049.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2010 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.2.0.201009022049.ebuild,v 1.1 2010/09/07 10:03:27 blueness Exp $ |
53 | |
54 | EAPI=2 |
55 | |
56 | inherit flag-o-matic toolchain-funcs versionator |
57 | |
58 | MY_PV="$(replace_version_separator 3 -)" |
59 | |
60 | DESCRIPTION="Administrative interface for the grsecurity Role Based Access Control system" |
61 | HOMEPAGE="http://www.grsecurity.net/" |
62 | SRC_URI="mirror://gentoo/${PN}-${MY_PV}.tar.gz" |
63 | LICENSE="GPL-2" |
64 | |
65 | SLOT="0" |
66 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
67 | IUSE="pam" |
68 | |
69 | RDEPEND="" |
70 | DEPEND="sys-devel/bison |
71 | sys-devel/flex |
72 | pam? ( virtual/pam ) |
73 | || ( sys-apps/paxctl sys-apps/chpax )" |
74 | |
75 | S="${WORKDIR}/${PN}2" |
76 | |
77 | src_prepare() { |
78 | epatch "${FILESDIR}/${P}.patch" |
79 | } |
80 | |
81 | src_compile() { |
82 | local target |
83 | use pam || target="nopam" |
84 | |
85 | emake ${target} CC="$(tc-getCC)" OPT_FLAGS="${CFLAGS}" || die "emake failed" |
86 | } |
87 | |
88 | src_install() { |
89 | einstall DESTDIR="${D}" || die "einstall failed" |
90 | fperms 711 /sbin/gradm |
91 | } |
92 | |
93 | pkg_postinst() { |
94 | local UDEVADM="/sbin/udevadm" |
95 | if [[ -x ${UDEVADM} ]] ; then |
96 | $UDEVADM trigger --action=add --sysname-match=grsec |
97 | fi |
98 | einfo |
99 | ewarn |
100 | ewarn "Be sure to set a password with 'gradm -P' before enabling learning mode" |
101 | ewarn "This version of gradm is only supported with hardened-sources >= 2.6.32-r10" |
102 | ewarn |
103 | einfo |
104 | } |