summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2005-03-24 15:21:31 +0000
committerNed Ludd <solar@gentoo.org>2005-03-24 15:21:31 +0000
commit3b4955d0f06b1fe58e4bebe73c8dfe345054f2ea (patch)
tree17540fceca0054ff83b6e969d2bcb9d07c99025b /sys-apps
parentMarked stable on x86. (diff)
downloadgentoo-2-3b4955d0f06b1fe58e4bebe73c8dfe345054f2ea.tar.gz
gentoo-2-3b4955d0f06b1fe58e4bebe73c8dfe345054f2ea.tar.bz2
gentoo-2-3b4955d0f06b1fe58e4bebe73c8dfe345054f2ea.zip
- minor 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.4.2005032210171
-rw-r--r--sys-apps/gradm/gradm-2.1.4.200503221017.ebuild58
4 files changed, 67 insertions, 13 deletions
diff --git a/sys-apps/gradm/ChangeLog b/sys-apps/gradm/ChangeLog
index 7795240676b5..6dc5798a52ed 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.49 2005/03/14 23:19:09 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.50 2005/03/24 15:21:31 solar Exp $
+
+*gradm-2.1.4.200503221017 (24 Mar 2005)
+
+ 24 Mar 2005; <solar@gentoo.org> +gradm-2.1.4.200503221017.ebuild:
+ - minor version bump
14 Mar 2005; <solar@gentoo.org> gradm-2.1.3.200503070918.ebuild:
- unstable ppc64
diff --git a/sys-apps/gradm/Manifest b/sys-apps/gradm/Manifest
index 180ef36c3c9b..c1d242b8bd7b 100644
--- a/sys-apps/gradm/Manifest
+++ b/sys-apps/gradm/Manifest
@@ -1,23 +1,13 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 6a863234df9194498d45e96031138d7a gradm-2.1.0.ebuild 1313
MD5 299ba043430614a1bc5e416b31a3c933 gradm-2.1.3.200503070918.ebuild 1448
MD5 bc725c8da4ee9ec4e55063a34c92734b ChangeLog 7640
+MD5 318103ceb42695584c923f10a604e240 gradm-2.1.4.200503221017.ebuild 1454
MD5 695a3bd3cfb34ea27e7dd493ce9ef398 metadata.xml 221
MD5 f2401396b01c577f727c2da3b694c779 files/grsecurity.rc 1810
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 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)
-
-iQCVAwUBQjYcK54WFLgrx1GWAQIrOQP/UfqQazJh17lY6jtPE0fbbK9a9bLxnL31
-TIFMswX8CcgrQCxwx+QxWtt4bCTgZrWePVz3nFtl/k69g/WdL7Z+XlhGk54Wfhrh
-HLkuO6GKeszIulN0eSVyFm16D74f9uJTEJX2aerWIhOq8sk0wsdQUKIcx/cUh9tO
-2nDsHP9k+rY=
-=pqzz
------END PGP SIGNATURE-----
diff --git a/sys-apps/gradm/files/digest-gradm-2.1.4.200503221017 b/sys-apps/gradm/files/digest-gradm-2.1.4.200503221017
new file mode 100644
index 000000000000..dc6a0b3df088
--- /dev/null
+++ b/sys-apps/gradm/files/digest-gradm-2.1.4.200503221017
@@ -0,0 +1 @@
+MD5 5b5ae95091207cfd9e41d7582cf35d19 gradm-2.1.4-200503221017.tar.gz 57500
diff --git a/sys-apps/gradm/gradm-2.1.4.200503221017.ebuild b/sys-apps/gradm/gradm-2.1.4.200503221017.ebuild
new file mode 100644
index 000000000000..587730940bde
--- /dev/null
+++ b/sys-apps/gradm/gradm-2.1.4.200503221017.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.4.200503221017.ebuild,v 1.1 2005/03/24 15:21:31 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"
+}