summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaik Schreiber <blizzy@gentoo.org>2002-08-12 20:22:13 +0000
committerMaik Schreiber <blizzy@gentoo.org>2002-08-12 20:22:13 +0000
commit6bee3a90a47a52e216c47e354193a9fdbb3d9f22 (patch)
treee671808f61a1264e77b9f9a8f8fb3da841ac914c /sys-apps/gradm
parentThis package installs some env.d files required by kde. Reintroduced for (diff)
downloadgentoo-2-6bee3a90a47a52e216c47e354193a9fdbb3d9f22.tar.gz
gentoo-2-6bee3a90a47a52e216c47e354193a9fdbb3d9f22.tar.bz2
gentoo-2-6bee3a90a47a52e216c47e354193a9fdbb3d9f22.zip
new version of sys-apps/gradm
Diffstat (limited to 'sys-apps/gradm')
-rw-r--r--sys-apps/gradm/ChangeLog17
-rw-r--r--sys-apps/gradm/files/digest-gradm-1.42
-rw-r--r--sys-apps/gradm/gradm-1.4.ebuild43
3 files changed, 54 insertions, 8 deletions
diff --git a/sys-apps/gradm/ChangeLog b/sys-apps/gradm/ChangeLog
index 8c63ed0f9cc7..ac3980cb88e8 100644
--- a/sys-apps/gradm/ChangeLog
+++ b/sys-apps/gradm/ChangeLog
@@ -1,15 +1,16 @@
# 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.3 2002/07/21 19:54:28 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.4 2002/08/12 20:22:13 blizzy Exp $
-*gradm-1.2.1 (1 May 2002)
+*gradm-1.4 (12 Aug 2002)
- 21 Jul 2002; Mark Guertin <gerk@gentoo.org>:
- updated keywords (ppc)
+ 12 Aug 2002; Maik Schreiber <blizzy@gentoo.org> : new version
- 14 Jul 2002; phoen][x <phoenix@gentoo.org> gradm-1.2.1.ebuild :
+ 21 Jul 2002; Mark Guertin <gerk@gentoo.org> : updated keywords (ppc)
+
+ 14 Jul 2002; phoen][x <phoenix@gentoo.org> gradm-1.2.1.ebuild:
Added KEYWORDS, SLOT.
- 1 May 2002; Preston A. Elder <prez@gentoo.org> ChangeLog :
-
- Initial ebuild... Enjoy..
+*gradm-1.2.1 (01 May 2002)
+
+ 1 May 2002; Preston A. Elder <prez@gentoo.org> : Initial ebuild.
diff --git a/sys-apps/gradm/files/digest-gradm-1.4 b/sys-apps/gradm/files/digest-gradm-1.4
new file mode 100644
index 000000000000..9677c4a04b8f
--- /dev/null
+++ b/sys-apps/gradm/files/digest-gradm-1.4
@@ -0,0 +1,2 @@
+MD5 56e892fc50ca1fe0348712e849bb2e82 gradm-1.4.tar.gz 19382
+MD5 618ddb3d563f4e3cbfb13c9c770dd99c chpax.c 4776
diff --git a/sys-apps/gradm/gradm-1.4.ebuild b/sys-apps/gradm/gradm-1.4.ebuild
new file mode 100644
index 000000000000..f8ef154265ec
--- /dev/null
+++ b/sys-apps/gradm/gradm-1.4.ebuild
@@ -0,0 +1,43 @@
+# 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.4.ebuild,v 1.1 2002/08/12 20:22:13 blizzy Exp $
+
+DESCRIPTION="Administrative interface to grsecurity"
+SRC_URI="http://www.grsecurity.net/gradm-1.4.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|'
+}
+
+src_compile() {
+ emake || die "compile problem"
+ emake chpax || die "compile problem"
+}
+
+src_install() {
+ doman gradm.8
+ 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
+}