From: | "Anthony G. Basile (blueness)" <blueness@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/gradm: gradm-3.0.201301231926.ebuild ChangeLog |
Date: | Fri, 24 Jan 2014 13:25:59 |
Message-Id: | 20140124132553.5B9A82004C@flycatcher.gentoo.org |
1 | blueness 14/01/24 13:25:53 |
2 | |
3 | Modified: ChangeLog |
4 | Added: gradm-3.0.201301231926.ebuild |
5 | Log: |
6 | Version bump 3.0 |
7 | |
8 | (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
9 | |
10 | Revision Changes Path |
11 | 1.209 sys-apps/gradm/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/ChangeLog?rev=1.209&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/ChangeLog?rev=1.209&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/ChangeLog?r1=1.208&r2=1.209 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v |
20 | retrieving revision 1.208 |
21 | retrieving revision 1.209 |
22 | diff -u -r1.208 -r1.209 |
23 | --- ChangeLog 25 Nov 2013 20:10:17 -0000 1.208 |
24 | +++ ChangeLog 24 Jan 2014 13:25:53 -0000 1.209 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for sys-apps/gradm |
27 | -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.208 2013/11/25 20:10:17 blueness Exp $ |
29 | +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.209 2014/01/24 13:25:53 blueness Exp $ |
31 | + |
32 | +*gradm-3.0.201301231926 (24 Jan 2014) |
33 | + |
34 | + 24 Jan 2014; Anthony G. Basile <blueness@g.o> |
35 | + +gradm-3.0.201301231926.ebuild: |
36 | + Version bump 3.0 |
37 | |
38 | 25 Nov 2013; Anthony G. Basile <blueness@g.o> |
39 | -gradm-2.9.1.201307031629.ebuild: |
40 | |
41 | |
42 | |
43 | 1.1 sys-apps/gradm/gradm-3.0.201301231926.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/gradm-3.0.201301231926.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/gradm-3.0.201301231926.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: gradm-3.0.201301231926.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2014 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-3.0.201301231926.ebuild,v 1.1 2014/01/24 13:25:53 blueness Exp $ |
53 | |
54 | EAPI="5" |
55 | inherit flag-o-matic toolchain-funcs versionator eutils udev |
56 | |
57 | MY_PV="$(replace_version_separator 2 -)" |
58 | |
59 | DESCRIPTION="Administrative interface for the grsecurity Role Based Access Control system" |
60 | HOMEPAGE="http://www.grsecurity.net/" |
61 | SRC_URI="http://dev.gentoo.org/~blueness/hardened-sources/gradm/${PN}-${MY_PV}.tar.gz" |
62 | LICENSE="GPL-2" |
63 | |
64 | SLOT="0" |
65 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
66 | IUSE="pam" |
67 | |
68 | RDEPEND="" |
69 | DEPEND=" |
70 | sys-devel/bison |
71 | sys-devel/flex |
72 | pam? ( virtual/pam )" |
73 | |
74 | S=${WORKDIR}/${PN} |
75 | |
76 | src_prepare() { |
77 | epatch "${FILESDIR}"/respect-gentoo-env-r2.patch |
78 | sed -i -e "s:/lib/udev:$(get_udevdir):" Makefile || die |
79 | } |
80 | |
81 | src_compile() { |
82 | local target |
83 | use pam || target="nopam" |
84 | |
85 | emake ${target} CC="$(tc-getCC)" OPT_FLAGS="${CFLAGS}" |
86 | } |
87 | |
88 | src_install() { |
89 | einstall DESTDIR="${D}" |
90 | fperms 711 /sbin/gradm |
91 | } |
92 | |
93 | pkg_postinst() { |
94 | ewarn |
95 | ewarn "Be sure to set a password with 'gradm -P' before enabling learning mode" |
96 | ewarn "This version of gradm is only supported with hardened-sources >= 2.6.32-r10" |
97 | ewarn |
98 | } |