summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Malm <gengor@gentoo.org>2009-05-25 03:02:05 +0000
committerGordon Malm <gengor@gentoo.org>2009-05-25 03:02:05 +0000
commitbfc0a1da5c7cf2764909a4153d82ce6b8052aa88 (patch)
tree12588ad0de22c5b7a69740e2a96b147a90c3d096 /sys-apps/gradm
parentFix quoting issue. (diff)
downloadgentoo-2-bfc0a1da5c7cf2764909a4153d82ce6b8052aa88.tar.gz
gentoo-2-bfc0a1da5c7cf2764909a4153d82ce6b8052aa88.tar.bz2
gentoo-2-bfc0a1da5c7cf2764909a4153d82ce6b8052aa88.zip
Version bump for 2.6.29 and update SRC_URI.
(Portage version: 2.1.6.11/cvs/Linux i686)
Diffstat (limited to 'sys-apps/gradm')
-rw-r--r--sys-apps/gradm/ChangeLog10
-rw-r--r--sys-apps/gradm/gradm-2.1.11.200804142058.ebuild6
-rw-r--r--sys-apps/gradm/gradm-2.1.12.200805181037.ebuild6
-rw-r--r--sys-apps/gradm/gradm-2.1.12.200812271437.ebuild4
-rw-r--r--sys-apps/gradm/gradm-2.1.13.200902232204.ebuild4
-rw-r--r--sys-apps/gradm/gradm-2.1.14.200905131803.ebuild54
6 files changed, 73 insertions, 11 deletions
diff --git a/sys-apps/gradm/ChangeLog b/sys-apps/gradm/ChangeLog
index 78f319be1149..c1a864d3d612 100644
--- a/sys-apps/gradm/ChangeLog
+++ b/sys-apps/gradm/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-apps/gradm
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.110 2009/03/24 18:08:48 gengor Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.111 2009/05/25 03:02:05 gengor Exp $
+
+*gradm-2.1.14.200905131803 (25 May 2009)
+
+ 25 May 2009; Gordon Malm <gengor@gentoo.org>
+ gradm-2.1.11.200804142058.ebuild, gradm-2.1.12.200805181037.ebuild,
+ gradm-2.1.12.200812271437.ebuild, gradm-2.1.13.200902232204.ebuild,
+ +gradm-2.1.14.200905131803.ebuild:
+ Version bump for 2.6.29 and update SRC_URI.
24 Mar 2009; Gordon Malm <gengor@gentoo.org>
-files/2.1.6.200506131347-non-lazy-bindings.patch,
diff --git a/sys-apps/gradm/gradm-2.1.11.200804142058.ebuild b/sys-apps/gradm/gradm-2.1.11.200804142058.ebuild
index 88dee57972fe..5c76761fa404 100644
--- a/sys-apps/gradm/gradm-2.1.11.200804142058.ebuild
+++ b/sys-apps/gradm/gradm-2.1.11.200804142058.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.1.11.200804142058.ebuild,v 1.5 2008/10/27 05:58:23 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.1.11.200804142058.ebuild,v 1.6 2009/05/25 03:02:05 gengor Exp $
inherit flag-o-matic toolchain-funcs eutils versionator
@@ -8,7 +8,7 @@ myPV="$(replace_version_separator 3 -)"
DESCRIPTION="Administrative interface for the grsecurity Role Based Access Control system"
HOMEPAGE="http://www.grsecurity.net/"
-SRC_URI="mirror://gentoo/gradm-${myPV}.tar.gz"
+SRC_URI="http://dev.gentoo.org/~gengor/distfiles/${CATEGORY}/${PN}/${PN}-${myPV}.tar.gz"
#RESTRICT=primaryuri
LICENSE="GPL-2"
SLOT="0"
diff --git a/sys-apps/gradm/gradm-2.1.12.200805181037.ebuild b/sys-apps/gradm/gradm-2.1.12.200805181037.ebuild
index 15de3d9fe6a1..be82c3789f34 100644
--- a/sys-apps/gradm/gradm-2.1.12.200805181037.ebuild
+++ b/sys-apps/gradm/gradm-2.1.12.200805181037.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.1.12.200805181037.ebuild,v 1.4 2008/10/27 05:58:23 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.1.12.200805181037.ebuild,v 1.5 2009/05/25 03:02:05 gengor Exp $
inherit flag-o-matic toolchain-funcs eutils versionator
@@ -8,7 +8,7 @@ myPV="$(replace_version_separator 3 -)"
DESCRIPTION="Administrative interface for the grsecurity Role Based Access Control system"
HOMEPAGE="http://www.grsecurity.net/"
-SRC_URI="mirror://gentoo/gradm-${myPV}.tar.gz"
+SRC_URI="http://dev.gentoo.org/~gengor/distfiles/${CATEGORY}/${PN}/${PN}-${myPV}.tar.gz"
#RESTRICT=primaryuri
LICENSE="GPL-2"
SLOT="0"
diff --git a/sys-apps/gradm/gradm-2.1.12.200812271437.ebuild b/sys-apps/gradm/gradm-2.1.12.200812271437.ebuild
index 06df3e6c9219..0a7c272efa29 100644
--- a/sys-apps/gradm/gradm-2.1.12.200812271437.ebuild
+++ b/sys-apps/gradm/gradm-2.1.12.200812271437.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.1.12.200812271437.ebuild,v 1.2 2009/01/25 00:55:48 gengor Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.1.12.200812271437.ebuild,v 1.3 2009/05/25 03:02:05 gengor Exp $
inherit flag-o-matic toolchain-funcs eutils versionator
@@ -8,7 +8,7 @@ myPV="$(replace_version_separator 3 -)"
DESCRIPTION="Administrative interface for the grsecurity Role Based Access Control system"
HOMEPAGE="http://www.grsecurity.net/"
-SRC_URI="mirror://gentoo/gradm-${myPV}.tar.gz"
+SRC_URI="http://dev.gentoo.org/~gengor/distfiles/${CATEGORY}/${PN}/${PN}-${myPV}.tar.gz"
#RESTRICT=primaryuri
LICENSE="GPL-2"
SLOT="0"
diff --git a/sys-apps/gradm/gradm-2.1.13.200902232204.ebuild b/sys-apps/gradm/gradm-2.1.13.200902232204.ebuild
index ebda250887ce..4d3afcc5b800 100644
--- a/sys-apps/gradm/gradm-2.1.13.200902232204.ebuild
+++ b/sys-apps/gradm/gradm-2.1.13.200902232204.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.1.13.200902232204.ebuild,v 1.3 2009/03/21 21:04:56 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.1.13.200902232204.ebuild,v 1.4 2009/05/25 03:02:05 gengor Exp $
inherit flag-o-matic toolchain-funcs eutils versionator
@@ -8,7 +8,7 @@ myPV="$(replace_version_separator 3 -)"
DESCRIPTION="Administrative interface for the grsecurity Role Based Access Control system"
HOMEPAGE="http://www.grsecurity.net/"
-SRC_URI="mirror://gentoo/gradm-${myPV}.tar.gz"
+SRC_URI="http://dev.gentoo.org/~gengor/distfiles/${CATEGORY}/${PN}/${PN}-${myPV}.tar.gz"
#RESTRICT=primaryuri
LICENSE="GPL-2"
SLOT="0"
diff --git a/sys-apps/gradm/gradm-2.1.14.200905131803.ebuild b/sys-apps/gradm/gradm-2.1.14.200905131803.ebuild
new file mode 100644
index 000000000000..e651020c6b38
--- /dev/null
+++ b/sys-apps/gradm/gradm-2.1.14.200905131803.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.1.14.200905131803.ebuild,v 1.1 2009/05/25 03:02:05 gengor Exp $
+
+inherit flag-o-matic toolchain-funcs eutils versionator
+
+myPV="$(replace_version_separator 3 -)"
+
+DESCRIPTION="Administrative interface for the grsecurity Role Based Access Control system"
+HOMEPAGE="http://www.grsecurity.net/"
+SRC_URI="http://dev.gentoo.org/~gengor/distfiles/${CATEGORY}/${PN}/${PN}-${myPV}.tar.gz"
+#RESTRICT=primaryuri
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="pam"
+RDEPEND=""
+DEPEND="virtual/libc
+ sys-devel/bison
+ sys-devel/flex
+ pam? ( virtual/pam )
+ || ( sys-apps/paxctl sys-apps/chpax )"
+
+S="${WORKDIR}/${PN}2"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/2.1.7.200511041858-non-lazy-bindings.patch
+ sed -i -e s/MKNOD=/'MKNOD ?='/ -e s/STRIP=/'STRIP ?='/ "${S}/Makefile"
+}
+
+src_compile() {
+ local target=""
+ use pam || target="nopam"
+
+ emake ${target} CC="$(tc-getCC)" OPT_FLAGS="${CFLAGS}" || die "compile problem"
+}
+
+src_install() {
+ einstall DESTDIR="${D}" MKNOD=true STRIP=true || die "einstall failed"
+ fperms 711 /sbin/gradm
+}
+
+pkg_postinst() {
+ [ -e "${ROOT}"/dev/grsec ] && rm -f "${ROOT}"/dev/grsec
+ einfo "Making character device for grsec2 learning mode"
+ mkdir -p -m 755 "${ROOT}"/dev/
+ mknod -m 0622 "${ROOT}"/dev/grsec c 1 13 || die "Cant mknod for grsec learning device"
+
+ ewarn "Be sure to set a password with 'gradm -P' before enabling learning mode"
+ ewarn
+ ewarn "This version of gradm is only supported with a kernel >=2.6.29!"
+}