summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2005-03-06 20:18:15 +0000
committerNed Ludd <solar@gentoo.org>2005-03-06 20:18:15 +0000
commit6a954a95cf29bc004d715c19e8c7aa51811b7800 (patch)
tree471c8f0a8458239ba68916addd152fd212a34bef /sys-apps/gradm
parent- temp p.masked till kernels are updated to this version. (diff)
downloadgentoo-2-6a954a95cf29bc004d715c19e8c7aa51811b7800.tar.gz
gentoo-2-6a954a95cf29bc004d715c19e8c7aa51811b7800.tar.bz2
gentoo-2-6a954a95cf29bc004d715c19e8c7aa51811b7800.zip
- version bump for 2.1.2 series. Temp p.masked till kernels are updated to this version.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'sys-apps/gradm')
-rw-r--r--sys-apps/gradm/ChangeLog9
-rw-r--r--sys-apps/gradm/Manifest17
-rw-r--r--sys-apps/gradm/files/digest-gradm-2.1.2.2005030418461
-rw-r--r--sys-apps/gradm/files/gradm-2.1.2-non-interactive.patch15
-rw-r--r--sys-apps/gradm/gradm-2.1.2.200503041846.ebuild58
5 files changed, 86 insertions, 14 deletions
diff --git a/sys-apps/gradm/ChangeLog b/sys-apps/gradm/ChangeLog
index 629e991c9546..4e44f9484f16 100644
--- a/sys-apps/gradm/ChangeLog
+++ b/sys-apps/gradm/ChangeLog
@@ -1,6 +1,13 @@
# 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.44 2005/02/25 19:02:35 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.45 2005/03/06 20:18:15 solar Exp $
+
+*gradm-2.1.2.200503041846 (06 Mar 2005)
+
+ 06 Mar 2005; <solar@gentoo.org> +files/gradm-2.1.2-non-interactive.patch,
+ +gradm-2.1.2.200503041846.ebuild:
+ - version bump for 2.1.2 series. Temp p.masked till kernels are updated to
+ this version.
25 Feb 2005; <solar@gentoo.org> -gradm-1.9.14.ebuild, -gradm-2.0-r1.ebuild,
-gradm-2.0.1-r1.ebuild, -gradm-2.0.1.ebuild, -gradm-2.0.2.ebuild,
diff --git a/sys-apps/gradm/Manifest b/sys-apps/gradm/Manifest
index 0ebce7352c51..82ab790a03c6 100644
--- a/sys-apps/gradm/Manifest
+++ b/sys-apps/gradm/Manifest
@@ -1,21 +1,12 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 6a863234df9194498d45e96031138d7a gradm-2.1.0.ebuild 1313
-MD5 1945930231d0dfbb07ee73a7d10bbd2a ChangeLog 6799
+MD5 ebed4cd174e4ea24b652fa9fe7f27ac1 gradm-2.1.2.200503041846.ebuild 1426
+MD5 3abd1a222da91cde9d8f4520a9bdd696 ChangeLog 7046
MD5 695a3bd3cfb34ea27e7dd493ce9ef398 metadata.xml 221
MD5 f2401396b01c577f727c2da3b694c779 files/grsecurity.rc 1810
MD5 36344ecbd7f54bdd4979c2fe6322c9c7 files/grsecurity 2325
+MD5 d1bd989b09e1e558d0bb204d99e79c5d files/digest-gradm-2.1.2.200503041846 75
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 c016f75a48190153dcb63f9cba78abef files/gradm-2.0.1-install.patch 488
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.4 (GNU/Linux)
-
-iQCVAwUBQh92Np4WFLgrx1GWAQJxrwQAyBBj4DBwmGoWus57Ro9D7zRaw/JTdKLq
-olN52URIk6QCUhdkxiUyZtwpIvL/jfymkDQFZ0Y1QD3tMMxp2XM2VAmsB3WsONma
-sptNKMlp84MvydMnS5Wb8rFUkBzLYj1jZ7gkW7NCwEnTtkhc5HMZ2nAgG3BHsl2h
-a3S1yzeZLc8=
-=6Gy+
------END PGP SIGNATURE-----
+MD5 eedac00588cccefadf2f792afdd6e913 files/gradm-2.1.2-non-interactive.patch 584
diff --git a/sys-apps/gradm/files/digest-gradm-2.1.2.200503041846 b/sys-apps/gradm/files/digest-gradm-2.1.2.200503041846
new file mode 100644
index 000000000000..56128253afd9
--- /dev/null
+++ b/sys-apps/gradm/files/digest-gradm-2.1.2.200503041846
@@ -0,0 +1 @@
+MD5 41be5f78e933b642252c3abad82b350b gradm-2.1.2-200503041846.tar.gz 57370
diff --git a/sys-apps/gradm/files/gradm-2.1.2-non-interactive.patch b/sys-apps/gradm/files/gradm-2.1.2-non-interactive.patch
new file mode 100644
index 000000000000..35d475b60a61
--- /dev/null
+++ b/sys-apps/gradm/files/gradm-2.1.2-non-interactive.patch
@@ -0,0 +1,15 @@
+--- Makefile.orig 2005-03-06 14:45:01.000000000 -0500
++++ Makefile 2005-03-06 15:05:27.000000000 -0500
+@@ -117,9 +117,11 @@
+ $(INSTALL) -m 0644 gradm.8 $(DESTDIR)$(MANDIR)/man8/$(GRADM_BIN).8
+ @if [ -x /sbin/$(GRADM_BIN) ] ; then \
+ $(FIND) $(DESTDIR)$(GRSEC_DIR) -type f -name pw -size 48c -exec rm -f $(DESTDIR)$(GRSEC_DIR)/pw \; ; \
+- if [ ! -f $(DESTDIR)$(GRSEC_DIR)/pw ] ; then \
++ if [ -z $(DESTDIR) ] && [ ! -f $(DESTDIR)$(GRSEC_DIR)/pw ] ; then \
+ /sbin/$(GRADM_BIN) -P ; \
+ fi \
+ fi
++ @true
++
+ clean:
+ rm -f core *.o $(GRADM_BIN) lex.*.c *.tab.c *.tab.h grlearn
diff --git a/sys-apps/gradm/gradm-2.1.2.200503041846.ebuild b/sys-apps/gradm/gradm-2.1.2.200503041846.ebuild
new file mode 100644
index 000000000000..5da581613b83
--- /dev/null
+++ b/sys-apps/gradm/gradm-2.1.2.200503041846.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.2.200503041846.ebuild,v 1.1 2005/03/06 20:18:15 solar Exp $
+
+inherit flag-o-matic gcc eutils
+
+myPV=${PV:0:5}-${PV:6}
+
+MAINTAINER="solar@gentoo.org"
+DESCRIPTION="Administrative interface for grsecuritys2 access control lists"
+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"
+}