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.1.201507041117.ebuild ChangeLog |
Date: | Sun, 05 Jul 2015 21:44:23 |
Message-Id: | 20150705214413.7E7BE752@oystercatcher.gentoo.org |
1 | blueness 15/07/05 21:44:13 |
2 | |
3 | Modified: ChangeLog |
4 | Added: gradm-3.1.201507041117.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
9 | |
10 | Revision Changes Path |
11 | 1.228 sys-apps/gradm/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/ChangeLog?rev=1.228&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/ChangeLog?rev=1.228&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/ChangeLog?r1=1.227&r2=1.228 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v |
20 | retrieving revision 1.227 |
21 | retrieving revision 1.228 |
22 | diff -u -r1.227 -r1.228 |
23 | --- ChangeLog 9 Jun 2015 12:25:07 -0000 1.227 |
24 | +++ ChangeLog 5 Jul 2015 21:44:13 -0000 1.228 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for sys-apps/gradm |
27 | # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.227 2015/06/09 12:25:07 blueness Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.228 2015/07/05 21:44:13 blueness Exp $ |
30 | + |
31 | +*gradm-3.1.201507041117 (05 Jul 2015) |
32 | + |
33 | + 05 Jul 2015; Anthony G. Basile <blueness@g.o> |
34 | + +gradm-3.1.201507041117.ebuild: |
35 | + Version bump. |
36 | |
37 | 09 Jun 2015; Anthony G. Basile <blueness@g.o> |
38 | -gradm-3.0.201408301734.ebuild, -gradm-3.1.201502222102.ebuild, |
39 | |
40 | |
41 | |
42 | 1.1 sys-apps/gradm/gradm-3.1.201507041117.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/gradm-3.1.201507041117.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gradm/gradm-3.1.201507041117.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: gradm-3.1.201507041117.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2015 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-3.1.201507041117.ebuild,v 1.1 2015/07/05 21:44:13 blueness Exp $ |
52 | |
53 | EAPI="5" |
54 | inherit flag-o-matic toolchain-funcs versionator eutils udev |
55 | |
56 | MY_PV="$(replace_version_separator 2 -)" |
57 | |
58 | DESCRIPTION="Administrative interface for the grsecurity Role Based Access Control system" |
59 | HOMEPAGE="http://www.grsecurity.net/" |
60 | SRC_URI="http://dev.gentoo.org/~blueness/hardened-sources/gradm/${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=" |
69 | sys-devel/bison |
70 | sys-devel/flex |
71 | pam? ( virtual/pam )" |
72 | |
73 | S=${WORKDIR}/${PN} |
74 | |
75 | src_prepare() { |
76 | epatch "${FILESDIR}"/respect-gentoo-env-r3.patch |
77 | sed -i -e "s:/lib/udev:$(get_udevdir):" Makefile || die |
78 | } |
79 | |
80 | src_compile() { |
81 | local target |
82 | use pam || target="nopam" |
83 | |
84 | emake ${target} CC="$(tc-getCC)" OPT_FLAGS="${CFLAGS}" |
85 | } |
86 | |
87 | src_install() { |
88 | emake DESTDIR="${D}" install |
89 | fperms 711 /sbin/gradm |
90 | } |
91 | |
92 | pkg_postinst() { |
93 | ewarn |
94 | ewarn "Be sure to set a password with 'gradm -P' before enabling learning mode." |
95 | ewarn |
96 | } |