diff options
author | Magnus Granberg <zorry@gentoo.org> | 2010-04-13 14:58:31 +0000 |
---|---|---|
committer | Magnus Granberg <zorry@gentoo.org> | 2010-04-13 14:58:31 +0000 |
commit | 8b21f0a9b784f7d2305be6a041fc067164913124 (patch) | |
tree | eff710dc9b2fe14e4c547acbd5b632aaf52f4a4c | |
parent | Reverting last commit and adding stable keywords back, thanks fauli for telli... (diff) | |
download | gentoo-2-8b21f0a9b784f7d2305be6a041fc067164913124.tar.gz gentoo-2-8b21f0a9b784f7d2305be6a041fc067164913124.tar.bz2 gentoo-2-8b21f0a9b784f7d2305be6a041fc067164913124.zip |
bump #313725 Thank you cilly
(Portage version: 2.2_rc67/cvs/Linux x86_64)
-rw-r--r-- | sys-apps/gradm/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/gradm/gradm-2.1.14.201004061746.ebuild | 59 |
2 files changed, 65 insertions, 1 deletions
diff --git a/sys-apps/gradm/ChangeLog b/sys-apps/gradm/ChangeLog index 199f1f6e86d7..8eb8805d1e10 100644 --- a/sys-apps/gradm/ChangeLog +++ b/sys-apps/gradm/ChangeLog @@ -1,6 +1,11 @@ # 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.116 2010/02/01 04:56:05 gengor Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.117 2010/04/13 14:58:30 zorry Exp $ + +*gradm-2.1.14.201004061746 (13 Apr 2010) + + 13 Apr 2010; <zorry@gentoo.org> +gradm-2.1.14.201004061746.ebuild: + bump #313725 thank you cilly *gradm-2.1.14.200910072130 (01 Feb 2010) diff --git a/sys-apps/gradm/gradm-2.1.14.201004061746.ebuild b/sys-apps/gradm/gradm-2.1.14.201004061746.ebuild new file mode 100644 index 000000000000..ce6d105f0352 --- /dev/null +++ b/sys-apps/gradm/gradm-2.1.14.201004061746.ebuild @@ -0,0 +1,59 @@ +# 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.1.14.201004061746.ebuild,v 1.1 2010/04/13 14:58:31 zorry 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="http://dev.gentoo.org/~zorry/distfiles/${CATEGORY}/${PN}/${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 "Be sure to set a password with 'gradm -P' before enabling learning mode" + ewarn + ewarn "This version of gradm is only supported with a kernel >=2.6.29!" + einfo +} |