summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2005-01-08 21:26:59 +0000
committerNed Ludd <solar@gentoo.org>2005-01-08 21:26:59 +0000
commit5a39f585efc0ee13d2fa9e4904f5aade9bfcfea6 (patch)
treeddd5de59c3b4a34e81bee7b78823f51762873f22 /sys-apps/gradm
parentApache herd package refresh (Manifest recommit) (diff)
downloadgentoo-2-5a39f585efc0ee13d2fa9e4904f5aade9bfcfea6.tar.gz
gentoo-2-5a39f585efc0ee13d2fa9e4904f5aade9bfcfea6.tar.bz2
gentoo-2-5a39f585efc0ee13d2fa9e4904f5aade9bfcfea6.zip
- bump gradm-2.0.2 stable on x86. Add gradm-2.1.0 to ~arch
Diffstat (limited to 'sys-apps/gradm')
-rw-r--r--sys-apps/gradm/ChangeLog9
-rw-r--r--sys-apps/gradm/Manifest16
-rw-r--r--sys-apps/gradm/files/digest-gradm-2.1.01
-rw-r--r--sys-apps/gradm/gradm-1.9.14.ebuild4
-rw-r--r--sys-apps/gradm/gradm-2.0-r1.ebuild4
-rw-r--r--sys-apps/gradm/gradm-2.0.1-r1.ebuild4
-rw-r--r--sys-apps/gradm/gradm-2.0.1.ebuild4
-rw-r--r--sys-apps/gradm/gradm-2.0.2.ebuild8
-rw-r--r--sys-apps/gradm/gradm-2.0.ebuild4
-rw-r--r--sys-apps/gradm/gradm-2.1.0.ebuild54
10 files changed, 85 insertions, 23 deletions
diff --git a/sys-apps/gradm/ChangeLog b/sys-apps/gradm/ChangeLog
index 9c6c2028d7d6..69a62d9bba07 100644
--- a/sys-apps/gradm/ChangeLog
+++ b/sys-apps/gradm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/gradm
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.40 2004/11/30 06:28:49 solar Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.41 2005/01/08 21:26:59 solar Exp $
+
+*gradm-2.1.0 (08 Jan 2005)
+
+ 08 Jan 2005; <solar@gentoo.org> gradm-2.0.2.ebuild, +gradm-2.1.0.ebuild:
+ - bump gradm-2.0.2 stable on x86. Add gradm-2.1.0 to ~arch
*gradm-2.0.2 (30 Nov 2004)
diff --git a/sys-apps/gradm/Manifest b/sys-apps/gradm/Manifest
index 1cdc17e86276..2d43c01edc4c 100644
--- a/sys-apps/gradm/Manifest
+++ b/sys-apps/gradm/Manifest
@@ -1,15 +1,17 @@
-MD5 1b3c6a4feb6d2518c5bb4d4a1fe26597 gradm-1.9.14.ebuild 1639
-MD5 249fa3408e660df6d594f12578f8c08b gradm-2.0.2.ebuild 2246
-MD5 65e1508f6a89778d87de6d04d63ce27f gradm-2.0.1-r1.ebuild 2249
-MD5 aff679c90b8d89922841da9e4dc58a67 gradm-2.0.1.ebuild 2551
-MD5 dd780c1382fa681402cc19cd6c1559f9 gradm-2.0.ebuild 2315
-MD5 ade29fb16c36da286c50d78df5553a6e ChangeLog 6006
-MD5 2413c7ee7a3e8df9cee929e1318a456b gradm-2.0-r1.ebuild 2505
+MD5 483fed3ec07c1c27ab48d76da62b2232 gradm-1.9.14.ebuild 1639
+MD5 20cebc5e33441662fb991ff773f2cdb9 gradm-2.0.2.ebuild 2255
+MD5 8f11e0fc13c59f19e71e88e46365f8ca gradm-2.1.0.ebuild 1301
+MD5 4d8273c8826ed6bb99f6dcd96c5fb6b0 gradm-2.0.1-r1.ebuild 2249
+MD5 7a4e1cad2fdfb11db98696b52834ff23 gradm-2.0.1.ebuild 2551
+MD5 8d918716261004c83c176b0e3918901c gradm-2.0.ebuild 2315
+MD5 4668788e84ab17cf5ccfd5f60d7a2714 ChangeLog 6171
+MD5 f57e25b9a8eb6fba0b80a59ed1b33991 gradm-2.0-r1.ebuild 2505
MD5 695a3bd3cfb34ea27e7dd493ce9ef398 metadata.xml 221
MD5 f2401396b01c577f727c2da3b694c779 files/grsecurity.rc 1810
MD5 36344ecbd7f54bdd4979c2fe6322c9c7 files/grsecurity 2325
MD5 838722234beedbde03008d451ec2327d files/digest-gradm-2.0.1 62
MD5 a631aadfb61d10c6a99256f1cf0fbc53 files/digest-gradm-2.0.2 62
+MD5 1535781388eb902dfef66f6240f53137 files/digest-gradm-2.1.0 75
MD5 62ba83f9a7bd71b4011ad2a2cf48f4a3 files/digest-gradm-2.0 60
MD5 264e377e7c3221570d3730444e84d792 files/gradm2-cvs-20Jun2004.diff 8251
MD5 c2618fc7963e008681dfd08db6886058 files/gradm_parse.c-1.9.x.patch 524
diff --git a/sys-apps/gradm/files/digest-gradm-2.1.0 b/sys-apps/gradm/files/digest-gradm-2.1.0
new file mode 100644
index 000000000000..f2de68c0da79
--- /dev/null
+++ b/sys-apps/gradm/files/digest-gradm-2.1.0
@@ -0,0 +1 @@
+MD5 02890cb934c49e60d54e8a332779c413 gradm-2.1.0-200501071935.tar.gz 55224
diff --git a/sys-apps/gradm/gradm-1.9.14.ebuild b/sys-apps/gradm/gradm-1.9.14.ebuild
index c775043bba83..53d7b94e0836 100644
--- a/sys-apps/gradm/gradm-1.9.14.ebuild
+++ b/sys-apps/gradm/gradm-1.9.14.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-1.9.14.ebuild,v 1.4 2004/06/30 02:36:33 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-1.9.14.ebuild,v 1.5 2005/01/08 21:26:59 solar Exp $
inherit gcc flag-o-matic eutils
diff --git a/sys-apps/gradm/gradm-2.0-r1.ebuild b/sys-apps/gradm/gradm-2.0-r1.ebuild
index d6b9a3cee1ea..13849af60518 100644
--- a/sys-apps/gradm/gradm-2.0-r1.ebuild
+++ b/sys-apps/gradm/gradm-2.0-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.0-r1.ebuild,v 1.3 2004/06/30 02:36:33 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.0-r1.ebuild,v 1.4 2005/01/08 21:26:59 solar Exp $
inherit flag-o-matic gcc
diff --git a/sys-apps/gradm/gradm-2.0.1-r1.ebuild b/sys-apps/gradm/gradm-2.0.1-r1.ebuild
index ea4d5a45ddd9..523049fc049a 100644
--- a/sys-apps/gradm/gradm-2.0.1-r1.ebuild
+++ b/sys-apps/gradm/gradm-2.0.1-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.0.1-r1.ebuild,v 1.3 2004/08/19 07:03:42 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.0.1-r1.ebuild,v 1.4 2005/01/08 21:26:59 solar Exp $
inherit flag-o-matic gcc eutils
diff --git a/sys-apps/gradm/gradm-2.0.1.ebuild b/sys-apps/gradm/gradm-2.0.1.ebuild
index 3fb2a3105151..0afdc925c9ab 100644
--- a/sys-apps/gradm/gradm-2.0.1.ebuild
+++ b/sys-apps/gradm/gradm-2.0.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.0.1.ebuild,v 1.4 2004/08/19 07:03:42 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.0.1.ebuild,v 1.5 2005/01/08 21:26:59 solar Exp $
inherit flag-o-matic gcc
diff --git a/sys-apps/gradm/gradm-2.0.2.ebuild b/sys-apps/gradm/gradm-2.0.2.ebuild
index f2922f84f80a..3c5d617090a1 100644
--- a/sys-apps/gradm/gradm-2.0.2.ebuild
+++ b/sys-apps/gradm/gradm-2.0.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.0.2.ebuild,v 1.1 2004/11/30 06:28:49 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.0.2.ebuild,v 1.2 2005/01/08 21:26:59 solar Exp $
inherit flag-o-matic gcc eutils
@@ -12,9 +12,9 @@ SRC_URI="http://www.grsecurity.net/gradm-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc ~arm ~amd64" ; # ~alpha"
+KEYWORDS="x86 ~ppc ~sparc ~arm ~amd64" ; # ~alpha"
IUSE=""
-
+RDEPEND=""
DEPEND="virtual/libc
sys-devel/bison
sys-devel/flex
diff --git a/sys-apps/gradm/gradm-2.0.ebuild b/sys-apps/gradm/gradm-2.0.ebuild
index 10f4021a4832..26fedf2fe92e 100644
--- a/sys-apps/gradm/gradm-2.0.ebuild
+++ b/sys-apps/gradm/gradm-2.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.0.ebuild,v 1.6 2004/06/30 02:36:33 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.0.ebuild,v 1.7 2005/01/08 21:26:59 solar Exp $
inherit flag-o-matic gcc
diff --git a/sys-apps/gradm/gradm-2.1.0.ebuild b/sys-apps/gradm/gradm-2.1.0.ebuild
new file mode 100644
index 000000000000..ef669228b77b
--- /dev/null
+++ b/sys-apps/gradm/gradm-2.1.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.1.0.ebuild,v 1.1 2005/01/08 21:26:59 solar Exp $
+
+inherit flag-o-matic toolchain eutils
+
+MAINTAINER="solar@gentoo.org"
+DESCRIPTION="Administrative interface for grsecuritys2 access control lists"
+HOMEPAGE="http://www.grsecurity.net/"
+SRC_URI="http://www.grsecurity.net/gradm-${PV}-200501071935.tar.gz"
+#SRC_URI="mirror://gentoo/gradm-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~arm ~amd64"
+IUSE=""
+RDEPEND=""
+DEPEND="virtual/libc
+ sys-devel/bison
+ sys-devel/flex
+ sys-apps/chpax"
+
+S="${WORKDIR}/${PN}2"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ ebegin "Patching Makefile to use gentoo CFLAGS"
+ sed -i -e "s|-O2|${CFLAGS}|" Makefile
+ eend $?
+}
+
+src_compile() {
+ cd ${S}
+ emake CC="$(tc-getCC)" || die "compile problem"
+ return 0
+}
+
+src_install() {
+ cd ${S}
+ einstall DESTDIR=${D}
+ fperms 711 /sbin/gradm
+ return 0
+}
+
+pkg_postinst() {
+ if [ ! -e /dev/grsec ] ; then
+ einfo "Making character device for grsec2 learning mode"
+ mkdir -p -m 755 /dev/
+ mknod -m 0622 /dev/grsec c 1 12 || die "Cant mknod for grsec learning device"
+ fi
+ ewarn "Be sure to set a password with 'gradm -P' before enabling learning mode"
+}