summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2005-04-12 17:56:11 +0000
committerNed Ludd <solar@gentoo.org>2005-04-12 17:56:11 +0000
commite30df2bf8c6f386eb5c08bf018628b25cec0ec5f (patch)
tree128af347d98d00d8e282339c807b929516c2c4be /sys-apps
parentMultiple revision bumps for security fix, see bug #88863 (diff)
downloadgentoo-2-e30df2bf8c6f386eb5c08bf018628b25cec0ec5f.tar.gz
gentoo-2-e30df2bf8c6f386eb5c08bf018628b25cec0ec5f.tar.bz2
gentoo-2-e30df2bf8c6f386eb5c08bf018628b25cec0ec5f.zip
- version bump
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/gradm/ChangeLog7
-rw-r--r--sys-apps/gradm/Manifest14
-rw-r--r--sys-apps/gradm/files/digest-gradm-2.1.5.2005040818121
-rw-r--r--sys-apps/gradm/gradm-2.1.5.200504081812.ebuild58
4 files changed, 67 insertions, 13 deletions
diff --git a/sys-apps/gradm/ChangeLog b/sys-apps/gradm/ChangeLog
index 6dc5798a52ed..d5eb0c8c3077 100644
--- a/sys-apps/gradm/ChangeLog
+++ b/sys-apps/gradm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/gradm
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.50 2005/03/24 15:21:31 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.51 2005/04/12 17:56:11 solar Exp $
+
+*gradm-2.1.5.200504081812 (12 Apr 2005)
+
+ 12 Apr 2005; <solar@gentoo.org> +gradm-2.1.5.200504081812.ebuild:
+ - version bump
*gradm-2.1.4.200503221017 (24 Mar 2005)
diff --git a/sys-apps/gradm/Manifest b/sys-apps/gradm/Manifest
index 8961bf563d69..e1fa01a04135 100644
--- a/sys-apps/gradm/Manifest
+++ b/sys-apps/gradm/Manifest
@@ -1,7 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 6a863234df9194498d45e96031138d7a gradm-2.1.0.ebuild 1313
+MD5 38199bb46efd226ce5356ad21dd9f8d1 gradm-2.1.5.200504081812.ebuild 1454
MD5 299ba043430614a1bc5e416b31a3c933 gradm-2.1.3.200503070918.ebuild 1448
MD5 40e57bbf77a18b0dbbd80fe8faee9758 ChangeLog 7773
MD5 38199bb46efd226ce5356ad21dd9f8d1 gradm-2.1.4.200503221017.ebuild 1454
@@ -11,15 +9,7 @@ MD5 36344ecbd7f54bdd4979c2fe6322c9c7 files/grsecurity 2325
MD5 1535781388eb902dfef66f6240f53137 files/digest-gradm-2.1.0 75
MD5 264e377e7c3221570d3730444e84d792 files/gradm2-cvs-20Jun2004.diff 8251
MD5 c2618fc7963e008681dfd08db6886058 files/gradm_parse.c-1.9.x.patch 524
+MD5 4f610b1a69bb13a22080460f47de34a1 files/digest-gradm-2.1.5.200504081812 75
MD5 34fada9bd168b331d4597c7c3fa26f0c files/digest-gradm-2.1.4.200503221017 75
MD5 c016f75a48190153dcb63f9cba78abef files/gradm-2.0.1-install.patch 488
MD5 4c8486b82be650c8f5cb6a5e08192941 files/digest-gradm-2.1.3.200503070918 75
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
-
-iQCVAwUBQkLbIJ4WFLgrx1GWAQKQfgP+PQMS0zXVDV5bvGBpHEiAa/WBNAQd3e/E
-AEHxVyePVUU5SeKkaDdsP0OGsaCre/TqTiqnVS+rJt23jpv0n5yRGuA857HjhiSU
-ON1MnzadYBoV1PoPM1wJ1wutbX2DjgVLK0+NDhk+JR3+sqdx4xuK4pgHtPCABClp
-j2U+GVsaa3c=
-=Dvpp
------END PGP SIGNATURE-----
diff --git a/sys-apps/gradm/files/digest-gradm-2.1.5.200504081812 b/sys-apps/gradm/files/digest-gradm-2.1.5.200504081812
new file mode 100644
index 000000000000..69f9e6704e5e
--- /dev/null
+++ b/sys-apps/gradm/files/digest-gradm-2.1.5.200504081812
@@ -0,0 +1 @@
+MD5 7f5b49452db785eb590a167c9da3d319 gradm-2.1.5-200504081812.tar.gz 57631
diff --git a/sys-apps/gradm/gradm-2.1.5.200504081812.ebuild b/sys-apps/gradm/gradm-2.1.5.200504081812.ebuild
new file mode 100644
index 000000000000..9bafcbae4ec4
--- /dev/null
+++ b/sys-apps/gradm/gradm-2.1.5.200504081812.ebuild
@@ -0,0 +1,58 @@
+# 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.5.200504081812.ebuild,v 1.1 2005/04/12 17:56:11 solar Exp $
+
+inherit flag-o-matic gcc eutils
+
+myPV=${PV:0:5}-${PV:6}
+
+MAINTAINER="solar@gentoo.org"
+DESCRIPTION="Administrative interface for the grsecurity Role Based Access Control system"
+HOMEPAGE="http://www.grsecurity.net/"
+SRC_URI="http://www.grsecurity.net/gradm-${myPV}.tar.gz"
+#SRC_URI="mirror://gentoo/gradm-${myPV}.tar.gz"
+#RESTRICT=primaryuri
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~arm ~amd64 ~ppc64 ~ia64 ~mips"
+IUSE=""
+RDEPEND=""
+DEPEND="virtual/libc
+ sys-devel/bison
+ sys-devel/flex
+ sys-apps/chpax"
+
+S="${WORKDIR}/${PN}2"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ #epatch ${FILESDIR}/gradm-2.1.2-non-interactive.patch
+
+ ebegin "Patching Makefile to use gentoo CFLAGS"
+ sed -i -e "s|-O2|${CFLAGS}|" Makefile
+ eend $?
+}
+
+src_compile() {
+ cd ${S}
+ emake CC="$(gcc-getCC)" || die "compile problem"
+ return 0
+}
+
+src_install() {
+ cd ${S}
+ einstall DESTDIR=${D}
+ fperms 711 /sbin/gradm
+ return 0
+}
+
+pkg_postinst() {
+ if [ ! -e ${ROOT}/dev/grsec ] ; then
+ einfo "Making character device for grsec2 learning mode"
+ mkdir -p -m 755 ${ROOT}/dev/
+ mknod -m 0622 ${ROOT}/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"
+}