summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Brindle <method@gentoo.org>2003-05-11 14:56:38 +0000
committerJoshua Brindle <method@gentoo.org>2003-05-11 14:56:38 +0000
commita8aa3b83cafbad0167d1c2de9b5402f1f382b22e (patch)
treea06e50b7c9262232ae65fa185e57de67878bfbec /sys-apps/gradm
parentSecurity version bump, fixes leak in ASLR (diff)
downloadgentoo-2-a8aa3b83cafbad0167d1c2de9b5402f1f382b22e.tar.gz
gentoo-2-a8aa3b83cafbad0167d1c2de9b5402f1f382b22e.tar.bz2
gentoo-2-a8aa3b83cafbad0167d1c2de9b5402f1f382b22e.zip
Security version bump, fixes leak in ASLR
Diffstat (limited to 'sys-apps/gradm')
-rw-r--r--sys-apps/gradm/ChangeLog8
-rw-r--r--sys-apps/gradm/Manifest4
-rw-r--r--sys-apps/gradm/files/digest-gradm-1.9.9h1
-rw-r--r--sys-apps/gradm/gradm-1.9.9h.ebuild48
4 files changed, 58 insertions, 3 deletions
diff --git a/sys-apps/gradm/ChangeLog b/sys-apps/gradm/ChangeLog
index b62f3bc4d1f1..30562fe3e644 100644
--- a/sys-apps/gradm/ChangeLog
+++ b/sys-apps/gradm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/gradm
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.16 2003/04/28 19:58:40 method Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.17 2003/05/11 14:56:34 method Exp $
+
+*gradm-1.9.9h (11 May 2003)
+
+ 11 May 2003; Joshua Brindle <method@gentoo.org> Manifest,
+ gradm-1.9.9h.ebuild:
+ Security version bump, fixes leak in ASLR
*gradm-1.9.9g (20 Apr 2003)
diff --git a/sys-apps/gradm/Manifest b/sys-apps/gradm/Manifest
index 3bd6afb34a78..efb3b891b9ed 100644
--- a/sys-apps/gradm/Manifest
+++ b/sys-apps/gradm/Manifest
@@ -1,7 +1,7 @@
MD5 532b41e0dd644dc74f01604807ab6791 gradm-1.5a.ebuild 1059
MD5 a06e3696bec1c4f6a6d0096dcc05f3cd gradm-1.9.9g.ebuild 1155
-MD5 959ff148b01fb85aee6c43822fc9c987 ChangeLog 1568
-MD5 a06e3696bec1c4f6a6d0096dcc05f3cd gradm-1.9.9h.ebuild 1155
+MD5 2df76907e4fa9562d444bbb97e9f861f ChangeLog 1725
+MD5 0b3845dfb6f51ba3dfdca7a36e793e3d gradm-1.9.9h.ebuild 1155
MD5 a83bd475e9c57d2ee01a6ea8503f3a5a gradm-1.6.ebuild 984
MD5 2e720d74ab505928c734da3a006579c9 gradm-1.7b.ebuild 983
MD5 4a018241746366477b1511f3eef5e78e files/grsecurity.rc 1646
diff --git a/sys-apps/gradm/files/digest-gradm-1.9.9h b/sys-apps/gradm/files/digest-gradm-1.9.9h
new file mode 100644
index 000000000000..d6b226712487
--- /dev/null
+++ b/sys-apps/gradm/files/digest-gradm-1.9.9h
@@ -0,0 +1 @@
+MD5 7c5dce62271942dc932b2c08848d9163 gradm-1.9.9h.tar.gz 36878
diff --git a/sys-apps/gradm/gradm-1.9.9h.ebuild b/sys-apps/gradm/gradm-1.9.9h.ebuild
new file mode 100644
index 000000000000..784f07b13427
--- /dev/null
+++ b/sys-apps/gradm/gradm-1.9.9h.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-1.9.9h.ebuild,v 1.1 2003/05/11 14:56:34 method Exp $
+
+DESCRIPTION="ACL administrative interface to grsecurity including gentoo policies"
+SRC_URI="http://www.grsecurity.net/${P}.tar.gz"
+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 ${A}
+
+ cd ${S}
+ cp ${FILESDIR}/${PN}-chpax.c chpax.c
+
+ mv Makefile{,.orig}
+ sed -e "s|-O2|${CFLAGS}|" Makefile.orig > Makefile
+}
+
+src_compile() {
+ emake CC="${CC}" || die "compile problem"
+ emake CC="${CC}" chpax || die "compile problem"
+}
+
+src_install() {
+ doman gradm.8
+ dodoc acl
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/grsecurity.rc grsecurity
+ insinto /etc/conf.d
+ doins ${FILESDIR}/grsecurity
+ insinto /etc/grsec/gentoo_secure_acls
+ doins ${S}/gentoo_secure_acls/*
+ echo "include </etc/grsec/gentoo_secure_acls>" > ${D}/etc/grsec/acl
+ into /
+ dosbin gradm chpax
+ fperms 700 /sbin/gradm
+ fperms 700 /sbin/chpax
+}