diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2010-07-31 01:50:12 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2010-07-31 01:50:12 +0000 |
commit | cc2c2c4cd8509f077d493092820041f0284bf7a3 (patch) | |
tree | b8cdea47b53789d32a84906467d723fa89295e35 /sys-apps/gradm | |
parent | Mask www-client/chromium dev channel release. (diff) | |
download | gentoo-2-cc2c2c4cd8509f077d493092820041f0284bf7a3.tar.gz gentoo-2-cc2c2c4cd8509f077d493092820041f0284bf7a3.tar.bz2 gentoo-2-cc2c2c4cd8509f077d493092820041f0284bf7a3.zip |
Version bump, Bug #327267. Thanks cilly.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/gradm')
-rw-r--r-- | sys-apps/gradm/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/gradm/gradm-2.2.0.201007222349.ebuild | 60 | ||||
-rw-r--r-- | sys-apps/gradm/metadata.xml | 8 |
3 files changed, 67 insertions, 9 deletions
diff --git a/sys-apps/gradm/ChangeLog b/sys-apps/gradm/ChangeLog index 869490d0de0d..23c8abd62e32 100644 --- a/sys-apps/gradm/ChangeLog +++ b/sys-apps/gradm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/gradm # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.122 2010/07/18 12:25:22 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.123 2010/07/31 01:50:12 blueness Exp $ + +*gradm-2.2.0.201007222349 (31 Jul 2010) + + 31 Jul 2010; Anthony G. Basile <blueness@gentoo.org> + +gradm-2.2.0.201007222349.ebuild, metadata.xml: + Version bump, Bug #327267. Thanks cilly. 18 Jul 2010; Anthony G. Basile <blueness@gentoo.org> -gradm-2.1.11.200804142058.ebuild, -gradm-2.1.12.200805181037.ebuild, diff --git a/sys-apps/gradm/gradm-2.2.0.201007222349.ebuild b/sys-apps/gradm/gradm-2.2.0.201007222349.ebuild new file mode 100644 index 000000000000..6ff1a9f53de3 --- /dev/null +++ b/sys-apps/gradm/gradm-2.2.0.201007222349.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.2.0.201007222349.ebuild,v 1.1 2010/07/31 01:50:12 blueness Exp $ + +EAPI=2 + +inherit flag-o-matic toolchain-funcs versionator + +MY_PV="$(replace_version_separator 3 -)" + +DESCRIPTION="Administrative interface for the grsecurity Role Based Access Control system" +HOMEPAGE="http://www.grsecurity.net/" +SRC_URI="mirror://gentoo/${PN}-${MY_PV}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="pam" + +RDEPEND="" +DEPEND="sys-devel/bison + sys-devel/flex + pam? ( virtual/pam ) + || ( sys-apps/paxctl sys-apps/chpax )" + +S="${WORKDIR}/${PN}2" + +src_prepare() { + sed -i -e s:^LDFLAGS=:LDFLAGS+=: \ + -e s:^MKNOD=.*:MKNOD=true: \ + -e s:^STRIP=.*:STRIP=true: Makefile + + append-ldflags -Wl,-z,now +} + +src_compile() { + local target + use pam || target="nopam" + + emake ${target} CC="$(tc-getCC)" OPT_FLAGS="${CFLAGS}" || die "emake failed" +} + +src_install() { + einstall DESTDIR="${D}" || die "einstall failed" + fperms 711 /sbin/gradm +} + +pkg_postinst() { + [ -e "${ROOT}"/dev/grsec ] && rm -f "${ROOT}"/dev/grsec + einfo "Making character device for grsec2 learning mode" + mkdir -p -m 755 "${ROOT}"/dev/ + mknod -m 0622 "${ROOT}"/dev/grsec c 1 13 || die "mknod on grsec learning device failed" + + einfo + ewarn + ewarn "Be sure to set a password with 'gradm -P' before enabling learning mode" + ewarn "This version of gradm is only supported with hardened-sources >= 2.6.32-r10" + ewarn + einfo +} diff --git a/sys-apps/gradm/metadata.xml b/sys-apps/gradm/metadata.xml index 9b223d27c8ae..e217c3733475 100644 --- a/sys-apps/gradm/metadata.xml +++ b/sys-apps/gradm/metadata.xml @@ -3,14 +3,6 @@ <pkgmetadata> <herd>hardened</herd> <maintainer> - <email>gengor@gentoo.org</email> - <name>Gordon Malm</name> - </maintainer> - <maintainer> - <email>kerframil@gmail.com</email> - <name>Kerin Millar</name> - </maintainer> - <maintainer> <email>blueness@gentoo.org</email> <name>Anthony G. Basile</name> </maintainer> |