diff options
author | Mike Frysinger <vapier@gentoo.org> | 2002-09-21 18:39:04 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2002-09-21 18:39:04 +0000 |
commit | a5fde856dd469a6a110bd737f4db303cf9c53356 (patch) | |
tree | 3829029c3d2c3e7c84e4ed924c530fefb38f47f9 /sys-apps/gradm | |
parent | Updated DEPEND variable since alsa-lib changed categories (diff) | |
download | gentoo-2-a5fde856dd469a6a110bd737f4db303cf9c53356.tar.gz gentoo-2-a5fde856dd469a6a110bd737f4db303cf9c53356.tar.bz2 gentoo-2-a5fde856dd469a6a110bd737f4db303cf9c53356.zip |
New version of gradm ... versions of gradm need to stay in sync with grsec version in kernel
Diffstat (limited to 'sys-apps/gradm')
-rw-r--r-- | sys-apps/gradm/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/gradm/files/digest-gradm-1.5 | 2 | ||||
-rw-r--r-- | sys-apps/gradm/gradm-1.5.ebuild | 47 |
3 files changed, 55 insertions, 1 deletions
diff --git a/sys-apps/gradm/ChangeLog b/sys-apps/gradm/ChangeLog index ac3980cb88e8..03c6761aacff 100644 --- a/sys-apps/gradm/ChangeLog +++ b/sys-apps/gradm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/scrot # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.4 2002/08/12 20:22:13 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.5 2002/09/21 18:39:04 vapier Exp $ + +*gradm-1.5 (21 Sep 2002) + + 21 Sep 2002; Mike Frysinger <vapier@gentoo.org> : + Added CFLAG replacement and the example acl file as a doc *gradm-1.4 (12 Aug 2002) diff --git a/sys-apps/gradm/files/digest-gradm-1.5 b/sys-apps/gradm/files/digest-gradm-1.5 new file mode 100644 index 000000000000..abb10ec69054 --- /dev/null +++ b/sys-apps/gradm/files/digest-gradm-1.5 @@ -0,0 +1,2 @@ +MD5 9c4a4a81a7e8974a902fdf6a2ecbdb1e gradm-1.5.tar.gz 27323 +MD5 618ddb3d563f4e3cbfb13c9c770dd99c chpax.c 4776 diff --git a/sys-apps/gradm/gradm-1.5.ebuild b/sys-apps/gradm/gradm-1.5.ebuild new file mode 100644 index 000000000000..7c6e69668a88 --- /dev/null +++ b/sys-apps/gradm/gradm-1.5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-1.5.ebuild,v 1.1 2002/09/21 18:39:04 vapier Exp $ + +DESCRIPTION="ACL administrative interface to grsecurity" +SRC_URI="http://www.grsecurity.net/${P}.tar.gz + http://pageexec.virtualave.net/chpax.c" +HOMEPAGE="http://www.grsecurity.net/" +LICENSE="GPL-2" +KEYWORDS="x86" +SLOT="0" + +DEPEND="sys-devel/bison + sys-devel/flex" +RDEPEND="" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${P}.tar.gz + + cd ${S} + cp ${DISTDIR}/chpax.c . + + mv Makefile Makefile.orig + sed <Makefile.orig >Makefile \ + -e 's|YACC=/usr/bin/yacc|YACC=/usr/bin/bison|' \ + -e 's|$(YACC) -d|$(YACC) -y -d|' \ + -e "s|-O2|${CFLAGS}|" +} + +src_compile() { + emake || die "compile problem" + emake chpax || die "compile problem" +} + +src_install() { + doman gradm.8 + dodoc acl + exeinto /etc/init.d + newexe ${FILESDIR}/grsecurity.rc grsecurity + insinto /etc/conf.d + doins ${FILESDIR}/grsecurity + into / + dosbin gradm chpax + chmod 700 ${D}/sbin/gradm ${D}/sbin/chpax +} |