summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2011-01-02 22:50:15 +0000
committerAnthony G. Basile <blueness@gentoo.org>2011-01-02 22:50:15 +0000
commit965c421fff4571620b61eb33f8d148ff22992895 (patch)
treea24c866432c4c8b542f2e9ea1c03774d6288dec6 /sys-apps/gradm
parent<app-admin/syslog-ng-3 is gone (diff)
downloadhistorical-965c421fff4571620b61eb33f8d148ff22992895.tar.gz
historical-965c421fff4571620b61eb33f8d148ff22992895.tar.bz2
historical-965c421fff4571620b61eb33f8d148ff22992895.zip
Version bump
Package-Manager: portage-2.1.9.26/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/gradm')
-rw-r--r--sys-apps/gradm/ChangeLog10
-rw-r--r--sys-apps/gradm/Manifest5
-rw-r--r--sys-apps/gradm/files/gradm-2.2.1.201012301333.patch30
-rw-r--r--sys-apps/gradm/gradm-2.2.1.201012301333.ebuild55
4 files changed, 97 insertions, 3 deletions
diff --git a/sys-apps/gradm/ChangeLog b/sys-apps/gradm/ChangeLog
index 4b874d250b4c..9f01df028202 100644
--- a/sys-apps/gradm/ChangeLog
+++ b/sys-apps/gradm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/gradm
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.142 2010/12/21 14:14:41 blueness Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.143 2011/01/02 22:50:15 blueness Exp $
+
+*gradm-2.2.1.201012301333 (02 Jan 2011)
+
+ 02 Jan 2011; Anthony G. Basile <blueness@gentoo.org>
+ +gradm-2.2.1.201012301333.ebuild, +files/gradm-2.2.1.201012301333.patch:
+ Version bump
21 Dec 2010; Anthony G. Basile <blueness@gentoo.org>
-gradm-2.1.14.201004061746.ebuild, -gradm-2.2.0.201009022049.ebuild,
diff --git a/sys-apps/gradm/Manifest b/sys-apps/gradm/Manifest
index faf8ebf83206..466b3d31c1e9 100644
--- a/sys-apps/gradm/Manifest
+++ b/sys-apps/gradm/Manifest
@@ -5,14 +5,17 @@ AUX gradm-2.2.0.201010311752.patch 1134 RMD160 64038e1057ed4fea2db651ca5454d4443
AUX gradm-2.2.1.201011271130.patch 1146 RMD160 95954709c1d8e7a294fe88422dab1c2c5c456e55 SHA1 23f9d8200b3b4cfcb174ec845439867bf40b9b3d SHA256 4826c5793781b2391b3b28a1f5c0d5c56467a1dd55fbb5cb83b7ad4fddfb9000
AUX gradm-2.2.1.201012032224.patch 1146 RMD160 95954709c1d8e7a294fe88422dab1c2c5c456e55 SHA1 23f9d8200b3b4cfcb174ec845439867bf40b9b3d SHA256 4826c5793781b2391b3b28a1f5c0d5c56467a1dd55fbb5cb83b7ad4fddfb9000
AUX gradm-2.2.1.201012121738.patch 1146 RMD160 95954709c1d8e7a294fe88422dab1c2c5c456e55 SHA1 23f9d8200b3b4cfcb174ec845439867bf40b9b3d SHA256 4826c5793781b2391b3b28a1f5c0d5c56467a1dd55fbb5cb83b7ad4fddfb9000
+AUX gradm-2.2.1.201012301333.patch 1146 RMD160 95954709c1d8e7a294fe88422dab1c2c5c456e55 SHA1 23f9d8200b3b4cfcb174ec845439867bf40b9b3d SHA256 4826c5793781b2391b3b28a1f5c0d5c56467a1dd55fbb5cb83b7ad4fddfb9000
AUX gradm-udev.patch 1134 RMD160 64038e1057ed4fea2db651ca5454d44432609548 SHA1 9f9de3abc461c706ce93db56d760c393d5e4827f SHA256 8db8b2c6824a46659e89af652f70d53bf68ea9c3b09134505993cd2008fe88cc
DIST gradm-2.1.13-200902232204.tar.gz 64283 RMD160 4658d1d78de6b56c91dfc43b2f7eeffd13816aea SHA1 f4780cec21b8461bbb00611bb04745537858afee SHA256 b0922d1ea5bfedc2cff85a8f605369d1cf352c4415b1d6db31f830cd8b89803d
DIST gradm-2.1.14-201005041005.tar.gz 69437 RMD160 0696b1d10980afcb689f75eea5c06405387e9c40 SHA1 9825bd606f90f207392a99a00e685050a1cccb88 SHA256 0728581a7b42474e573188cafce29eaaddb0eca8bb0a6a851efcd001b5c5266f
DIST gradm-2.2.0-201011061849.tar.gz 69493 RMD160 5d4fd5b1689150a92a7b5f46a9168d5383f98924 SHA1 63ad48ed785baf0ed3543300e826657877b9d9c2 SHA256 00f473105c6e09c1549de85266fbac0556acef271a5c544783bbf0ebdbb264d9
DIST gradm-2.2.1-201012121738.tar.gz 73985 RMD160 ca1b01fc345d2fc311b18a6834d21bfd76f45c59 SHA1 1c603ce776c4319727c936f0257b200de788dd98 SHA256 3e751111c31adc88e83556b155e84fd6affab869c1928653be492ee564c8dca0
+DIST gradm-2.2.1-201012301333.tar.gz 74036 RMD160 d342e6cc24e1cdef44ec1a345a3fd15c84b7a128 SHA1 6a8da5f9958effdd4c4f056c4a1f3c544bb5b5e2 SHA256 a55a6e0dda7a3575838dee136d34261f922d507fedda379f69a59b0806b4ab9e
EBUILD gradm-2.1.13.200902232204-r1.ebuild 1732 RMD160 f06bfba43d3157ad29a42e9d68e58247abfe9f48 SHA1 3d46dd4b3b72710686ee20de17270c9b45278140 SHA256 5ad9c79f031e33db435391d4cd0e3a51d17493dca4a7763f486f5171a5bcf259
EBUILD gradm-2.1.14.201005041005.ebuild 1567 RMD160 5368b93405f512e3db73d3bd38cb75d7666b9209 SHA1 b8fde5b8a0fa9523e33b65059dab198b69d3a013 SHA256 b7be49599e6425bc3dfd535268dda4c6389a2bc8d6502c9b0e6b43b4aa3d6c92
EBUILD gradm-2.2.0.201011061849.ebuild 1375 RMD160 826b6efc41278ed3bd75d5a26ca30feb698c050a SHA1 e576bf01edf3cff95b8b0005c1a164f47c17c048 SHA256 456a8813ce0328588e9413c63be9cda833c108d9489a269bf841477abbb93485
EBUILD gradm-2.2.1.201012121738.ebuild 1369 RMD160 c470475d3c1693f0e0b80ff3720ef735aba124c7 SHA1 0a1b96693259f8bf1b59d44de770ccab9d6b68c0 SHA256 96df285a16e0f2a728d6d0a95a8363cfec5f228aeeb0818ebc14528ddc621fb9
-MISC ChangeLog 23565 RMD160 3724cc39480a7f363e6682e65b890fd4e8ae3b9b SHA1 e03e0c3e3af1e30b7e614aa0f83c4c1598f4a28e SHA256 76f84bca30e67d75aac84bfb1140f90b0bf3f79e9bc284cc2d60c1fca583ab47
+EBUILD gradm-2.2.1.201012301333.ebuild 1350 RMD160 e5efcbb76c0135b331e91a57845dcb85e53f1be2 SHA1 61123bae8f1aba18a533d07820aaba72bb0cefb3 SHA256 4624925326dad94aadabc70bf24488f1b0b02a7036f13d74acacc985e5c70f60
+MISC ChangeLog 23752 RMD160 7000507b4be166479c47c9d4677b5ed2ee3d7ecb SHA1 5044d6572e2d572bb2063154be407fd382fbeb74 SHA256 2d3f9e9c746d2086c4763180fae498094dbb478f10b9907adae0bada3a6c9468
MISC metadata.xml 261 RMD160 ddaae2ed4ca91bce2a722cc218b5bbf40154a454 SHA1 685870407c58b7c79298010c1048b1b05e2e175e SHA256 8f10a5b7f7571c6e73739c4bed1ecaf34aa8278355e9d163f8bbae77a11575a4
diff --git a/sys-apps/gradm/files/gradm-2.2.1.201012301333.patch b/sys-apps/gradm/files/gradm-2.2.1.201012301333.patch
new file mode 100644
index 000000000000..b702e059b713
--- /dev/null
+++ b/sys-apps/gradm/files/gradm-2.2.1.201012301333.patch
@@ -0,0 +1,30 @@
+--- Makefile.orig 2010-08-13 21:39:07.000000000 -0400
++++ Makefile 2010-08-13 21:40:54.000000000 -0400
+@@ -18,16 +18,16 @@
+ BISON=/usr/bin/bison
+ #YACC := $(shell if [ -x $(BYACC) ]; then echo $(BYACC); else echo $(BISON); fi)
+ YACC=$(BISON)
+-MKNOD=/bin/mknod
++MKNOD=true
+ #for dietlibc
+ #CC=/usr/bin/diet /usr/bin/gcc
+ CC=/usr/bin/gcc
+ FIND=/usr/bin/find
+-STRIP=/usr/bin/strip
++STRIP=true
+ LIBS := $(shell if [ "`uname -m`" != "sparc64" ]; then echo "-lfl" ; else echo "" ; fi)
+ OPT_FLAGS := $(shell if [ "`uname -m`" != "sparc64" ] && [ "`uname -m`" != "x86_64" ]; then echo "-O2" ; else echo "-O2 -m64" ; fi)
+ CFLAGS := $(OPT_FLAGS) -Wcast-qual -DGRSEC_DIR=\"$(GRSEC_DIR)\" -D_LARGEFILE64_SOURCE
+-LDFLAGS=
++LDFLAGS+=
+ INSTALL = /usr/bin/install -c
+
+ # FHS
+@@ -134,6 +134,7 @@
+ $(MKNOD) -m 0622 $(DESTDIR)/dev/grsec c 1 13 ; \
+ fi \
+ fi
++ @mkdir -p $(DESTDIR)/etc/udev/rules.d
+ @if [ -d $(DESTDIR)/etc/udev/rules.d ] ; then \
+ echo "ACTION!=\"add|change\", GOTO=\"permissions_end\"" > $(DESTDIR)/etc/udev/rules.d/80-grsec.rules ; \
+ echo "KERNEL==\"grsec\", MODE=\"0622\"" >> $(DESTDIR)/etc/udev/rules.d/80-grsec.rules ; \
diff --git a/sys-apps/gradm/gradm-2.2.1.201012301333.ebuild b/sys-apps/gradm/gradm-2.2.1.201012301333.ebuild
new file mode 100644
index 000000000000..89c35d5a960f
--- /dev/null
+++ b/sys-apps/gradm/gradm-2.2.1.201012301333.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.2.1.201012301333.ebuild,v 1.1 2011/01/02 22:50:15 blueness Exp $
+
+EAPI=2
+
+inherit flag-o-matic toolchain-funcs versionator
+
+MY_PV="$(replace_version_separator 3 -)"
+
+DESCRIPTION="Administrative interface for the grsecurity Role Based Access Control system"
+HOMEPAGE="http://www.grsecurity.net/"
+SRC_URI="mirror://gentoo/${PN}-${MY_PV}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="pam"
+
+RDEPEND=""
+DEPEND="sys-devel/bison
+ sys-devel/flex
+ pam? ( virtual/pam )
+ sys-apps/paxctl"
+
+S="${WORKDIR}/${PN}2"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}.patch"
+}
+
+src_compile() {
+ local target
+ use pam || target="nopam"
+
+ emake ${target} CC="$(tc-getCC)" OPT_FLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ einstall DESTDIR="${D}" || die "einstall failed"
+ fperms 711 /sbin/gradm
+}
+
+pkg_postinst() {
+ local UDEVADM="/sbin/udevadm"
+ if [[ -x ${UDEVADM} ]] ; then
+ $UDEVADM trigger --action=add --sysname-match=grsec
+ fi
+ einfo
+ ewarn
+ ewarn "Be sure to set a password with 'gradm -P' before enabling learning mode"
+ ewarn "This version of gradm is only supported with hardened-sources >= 2.6.32-r10"
+ ewarn
+ einfo
+}