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.1.201012301333.ebuild |
Date: | Sun, 02 Jan 2011 22:50:47 |
Message-Id: | 20110102225015.3489020054@flycatcher.gentoo.org |
1 | blueness 11/01/02 22:50:15 |
2 | |
3 | Modified: ChangeLog |
4 | Added: gradm-2.2.1.201012301333.ebuild |
5 | Log: |
6 | Version bump |
7 | |
8 | (Portage version: 2.1.9.26/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.143 sys-apps/gradm/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/ChangeLog?rev=1.143&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/ChangeLog?rev=1.143&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/ChangeLog?r1=1.142&r2=1.143 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v |
20 | retrieving revision 1.142 |
21 | retrieving revision 1.143 |
22 | diff -u -r1.142 -r1.143 |
23 | --- ChangeLog 21 Dec 2010 14:14:41 -0000 1.142 |
24 | +++ ChangeLog 2 Jan 2011 22:50:15 -0000 1.143 |
25 | @@ -1,6 +1,12 @@ |
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.142 2010/12/21 14:14:41 blueness Exp $ |
29 | +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.143 2011/01/02 22:50:15 blueness Exp $ |
31 | + |
32 | +*gradm-2.2.1.201012301333 (02 Jan 2011) |
33 | + |
34 | + 02 Jan 2011; Anthony G. Basile <blueness@g.o> |
35 | + +gradm-2.2.1.201012301333.ebuild, +files/gradm-2.2.1.201012301333.patch: |
36 | + Version bump |
37 | |
38 | 21 Dec 2010; Anthony G. Basile <blueness@g.o> |
39 | -gradm-2.1.14.201004061746.ebuild, -gradm-2.2.0.201009022049.ebuild, |
40 | |
41 | |
42 | |
43 | 1.1 sys-apps/gradm/gradm-2.2.1.201012301333.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/gradm-2.2.1.201012301333.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/gradm-2.2.1.201012301333.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: gradm-2.2.1.201012301333.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2011 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.1.201012301333.ebuild,v 1.1 2011/01/02 22:50:15 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" |
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 | } |