summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2010-06-30 16:22:10 +0000
committerAnthony G. Basile <blueness@gentoo.org>2010-06-30 16:22:10 +0000
commit29aa24ea84177cea9f8f55dd37e7d222a03c6524 (patch)
tree118b9b1ece1ea4678bfae4bca70765ac10f3a5d7 /sys-apps/gradm
parentx86 stable, bug 323729 (diff)
downloadhistorical-29aa24ea84177cea9f8f55dd37e7d222a03c6524.tar.gz
historical-29aa24ea84177cea9f8f55dd37e7d222a03c6524.tar.bz2
historical-29aa24ea84177cea9f8f55dd37e7d222a03c6524.zip
Version bump, Bug #325225. Thank you cilly.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
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/gradm-2.2.0.201006192157.ebuild59
3 files changed, 69 insertions, 2 deletions
diff --git a/sys-apps/gradm/ChangeLog b/sys-apps/gradm/ChangeLog
index 348126447917..963c92bd9bf1 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.119 2010/06/29 19:42:10 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.120 2010/06/30 16:22:10 blueness Exp $
+
+*gradm-2.2.0.201006192157 (30 Jun 2010)
+
+ 30 Jun 2010; Anthony G. Basile <blueness@gentoo.org>
+ +gradm-2.2.0.201006192157.ebuild:
+ Version bump, Bug #325225. Thank you cilly.
29 Jun 2010; Anthony G. Basile <blueness@gentoo.org> metadata.xml:
Added myself to the metadata.xml
diff --git a/sys-apps/gradm/Manifest b/sys-apps/gradm/Manifest
index e494cae28e33..2d15951cab3e 100644
--- a/sys-apps/gradm/Manifest
+++ b/sys-apps/gradm/Manifest
@@ -8,6 +8,7 @@ DIST gradm-2.1.14-200907110111.tar.gz 64910 RMD160 0e4eec566719d8324df52a39b963e
DIST gradm-2.1.14-200910072130.tar.gz 67248 RMD160 0328f24c875ea4aeac74fd3d8c53e139df590bab SHA1 f8e2787ebfe55c8499e13a1735b71344565ae14d SHA256 5cdc5dfb5a7fba545d12706f493514a730ca50f9e4ec45188f5f89093da4f060
DIST gradm-2.1.14-201004061746.tar.gz 67314 RMD160 b218f257ff338183516ac434c7c5fa4096ab6df4 SHA1 77e15e4c8fe26cc760358b4c03ee82b768474e5f SHA256 32f7b8480eb9b28de2f55a25c9394b0ebd028939b9c1fee158cd995980692136
DIST gradm-2.1.14-201005041005.tar.gz 69437 RMD160 0696b1d10980afcb689f75eea5c06405387e9c40 SHA1 9825bd606f90f207392a99a00e685050a1cccb88 SHA256 0728581a7b42474e573188cafce29eaaddb0eca8bb0a6a851efcd001b5c5266f
+DIST gradm-2.2.0-201006192157.tar.gz 68383 RMD160 5df19836c29679c7ac3df15cc7acc49afb36fd6c SHA1 fe98f5e33d18546daa5c28715fe73fa64b0898d8 SHA256 ec9d30b59978ed9b339a50d5002f1a4e752382f1224af94a8c45bb0d0c5700f3
EBUILD gradm-2.1.11.200804142058.ebuild 1592 RMD160 e31d78c80773d15e145a55b911a2b97d22b9957e SHA1 68e872f95a84ba6fef5c6d8db73a4b910c9d25bb SHA256 500b18bbe4bfec3b939b2c8c8661c5278c801c46af77187b6b7540b1255fbb0f
EBUILD gradm-2.1.12.200805181037.ebuild 1679 RMD160 9c2d9ee26553826e0988e1ef7f71f13013da5d94 SHA1 e762486e1cb8394a70c40a15a13a65c7a48a08c5 SHA256 9f0914a28a013b4f2df92a953ef75e69d3e37a0242544276aea972585e5da64d
EBUILD gradm-2.1.12.200812271437.ebuild 1682 RMD160 70605a77f310193c913c9f8abb2b15a264d67ec4 SHA1 34532f8c5211d7df4b43cf21da579d1be0fbca9d SHA256 c88ddfc49e1cf7eebc1cea5d7486259e35f4130c9caf6d3cdfef30f12666ce32
@@ -16,5 +17,6 @@ EBUILD gradm-2.1.14.200907110111.ebuild 1678 RMD160 3a9fb27e7a9430d68f099536fdc7
EBUILD gradm-2.1.14.200910072130.ebuild 1612 RMD160 74978eda38c8cb288eae58bfeacd9bbe452a7899 SHA1 e70f1b5a3410631411e3741247d30e9fd71b416a SHA256 2b64e6c3aa18c3c77f3b8ac2536221ad4b7bd9a98fd32a8397cd4699cfd9ba79
EBUILD gradm-2.1.14.201004061746.ebuild 1610 RMD160 886d54bb0d44ce1512a9a2720a3edf2ddb59be15 SHA1 35566835f7c9f98ca60aee73d1487cdc8b25b2fb SHA256 a9e42afbb0f03333b6eb3dca22862663b274d2efc33b6592d34aa84abe030200
EBUILD gradm-2.1.14.201005041005.ebuild 1632 RMD160 e72e2c3bc67abacedce210e85b2b9fe37380fdfd SHA1 6cd20974ba46719d3c8752ac9642ca670ed54164 SHA256 b9d13473f73fe38b90e8c64a84123ce9265583caecc82dc06cc6f53bc83701f1
-MISC ChangeLog 19486 RMD160 2f897d34c4134c8a10b98eeb4fbbe8c335ce2e3f SHA1 a026adbe321ec91343c23f168c896b2f773d3fdc SHA256 190a835f5aa9a6ddab9daedcf40fc37130a1ef1485ad7fd9d730d1f9495a2a27
+EBUILD gradm-2.2.0.201006192157.ebuild 1571 RMD160 e76a4eb7faf4c9b188892a4b97b7349f1314b80e SHA1 9ddcd3892f0eb71cdd31baf06478e6073396d1fd SHA256 2c96c17f80a03f3c0c4343cef119f2dc1f6c9d2d8c1116122cd3b4c86d954d3e
+MISC ChangeLog 19665 RMD160 d4b890615aa355973dda360d2274518f9109f136 SHA1 f935c07580afd3fb4ff9e8b92937e7a14ac35e96 SHA256 00591cb301a15c268857e060b100a6f3784290a798b34ab7799c714b908d5edf
MISC metadata.xml 446 RMD160 8c321633f2b67d85749f0bc35fbb6654a9dc4d83 SHA1 1c4025cf3b4f3852350cd9b3bde9420c2edde21a SHA256 48cf7a286290ab3b0f14aa48927e6bdfa55d1ab65956298cd0c30dc1826b574e
diff --git a/sys-apps/gradm/gradm-2.2.0.201006192157.ebuild b/sys-apps/gradm/gradm-2.2.0.201006192157.ebuild
new file mode 100644
index 000000000000..0bc1459c8b88
--- /dev/null
+++ b/sys-apps/gradm/gradm-2.2.0.201006192157.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.2.0.201006192157.ebuild,v 1.1 2010/06/30 16:22:10 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 sys-apps/chpax )"
+
+S="${WORKDIR}/${PN}2"
+
+src_prepare() {
+ sed -i -e s:^LDFLAGS=:LDFLAGS+=: \
+ -e s:^MKNOD=.*:MKNOD=true: \
+ -e s:^STRIP=.*:STRIP=true: Makefile
+
+ append-ldflags -Wl,-z,now
+}
+
+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() {
+ [ -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 "mknod on grsec learning device failed"
+
+ einfo
+ 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!"
+ einfo
+}