diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2011-09-29 17:38:24 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2011-09-29 17:38:24 +0000 |
commit | 9e824f13e1f9214218f943ebff44eda6dd4fcc73 (patch) | |
tree | 435f2c2da4b06da0b5f702581435910494843a52 /sys-apps | |
parent | Fix and keyword also latest unmasked version for Prefix (diff) | |
download | historical-9e824f13e1f9214218f943ebff44eda6dd4fcc73.tar.gz historical-9e824f13e1f9214218f943ebff44eda6dd4fcc73.tar.bz2 historical-9e824f13e1f9214218f943ebff44eda6dd4fcc73.zip |
Version bump
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/gradm/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/gradm/Manifest | 11 | ||||
-rw-r--r-- | sys-apps/gradm/files/gradm-2.2.2.201109281554.patch | 32 | ||||
-rw-r--r-- | sys-apps/gradm/gradm-2.2.2.201109281554.ebuild | 55 |
4 files changed, 101 insertions, 5 deletions
diff --git a/sys-apps/gradm/ChangeLog b/sys-apps/gradm/ChangeLog index 64f3a0416e3d..966a902f2ce5 100644 --- a/sys-apps/gradm/ChangeLog +++ b/sys-apps/gradm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/gradm # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.160 2011/09/25 13:02:00 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.161 2011/09/29 17:38:24 blueness Exp $ + +*gradm-2.2.2.201109281554 (29 Sep 2011) + + 29 Sep 2011; Anthony G. Basile <blueness@gentoo.org> + +gradm-2.2.2.201109281554.ebuild, +files/gradm-2.2.2.201109281554.patch: + Version bump *gradm-2.2.2.201109241035 (25 Sep 2011) diff --git a/sys-apps/gradm/Manifest b/sys-apps/gradm/Manifest index 8b43b5302f31..9e6ddb5f4028 100644 --- a/sys-apps/gradm/Manifest +++ b/sys-apps/gradm/Manifest @@ -5,6 +5,7 @@ AUX gradm-2.2.1.201012301333.patch 1146 RMD160 95954709c1d8e7a294fe88422dab1c2c5 AUX gradm-2.2.2.201108142019.patch 1333 RMD160 1d6384d3c7fa8fb4b519ab09b8816ffc624cab8a SHA1 8224562e7e45c05a07ad95962d74402161485e9b SHA256 8198ec14f85d9389f454cf893530ed3bfa09b22123e052dfb41849e31f08028d AUX gradm-2.2.2.201109151158.patch 1333 RMD160 1d6384d3c7fa8fb4b519ab09b8816ffc624cab8a SHA1 8224562e7e45c05a07ad95962d74402161485e9b SHA256 8198ec14f85d9389f454cf893530ed3bfa09b22123e052dfb41849e31f08028d AUX gradm-2.2.2.201109241035.patch 1333 RMD160 1d6384d3c7fa8fb4b519ab09b8816ffc624cab8a SHA1 8224562e7e45c05a07ad95962d74402161485e9b SHA256 8198ec14f85d9389f454cf893530ed3bfa09b22123e052dfb41849e31f08028d +AUX gradm-2.2.2.201109281554.patch 1333 RMD160 1d6384d3c7fa8fb4b519ab09b8816ffc624cab8a SHA1 8224562e7e45c05a07ad95962d74402161485e9b SHA256 8198ec14f85d9389f454cf893530ed3bfa09b22123e052dfb41849e31f08028d AUX gradm-udev.patch 1134 RMD160 64038e1057ed4fea2db651ca5454d44432609548 SHA1 9f9de3abc461c706ce93db56d760c393d5e4827f SHA256 8db8b2c6824a46659e89af652f70d53bf68ea9c3b09134505993cd2008fe88cc 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 @@ -12,18 +13,20 @@ DIST gradm-2.2.1-201012301333.tar.gz 74036 RMD160 d342e6cc24e1cdef44ec1a345a3fd1 DIST gradm-2.2.2-201108142019.tar.gz 75937 RMD160 58b85b6afec5c818840ad953e0dbb8f7ead97453 SHA1 45c1a0d88c61ff7cdb1ba5d7958a576aec74923e SHA256 6dba4849ed574bbf4baab4301c1be053e0daf17a0feef4e1d7b3053e420ff0d4 DIST gradm-2.2.2-201109151158.tar.gz 75993 RMD160 3c962f4223638ff7167292c9fc02c240c882de28 SHA1 abb8b6bf787dddbc7c9ce3a4efb4a8a11f6db1ba SHA256 e7957248eabe5b75cba3533552f10d7492110107283b5b65ceb4ad9bf6c7595f DIST gradm-2.2.2-201109241035.tar.gz 75957 RMD160 7dc64d3f80d2da2f10b6437ce21caed60219f40e SHA1 23aaba71d082ece32edb3849590f2b1eac5f62df SHA256 7bb6abc5a1b238f7fc65b3acdb646e9907f817fd76811680d343fcb832399d9c +DIST gradm-2.2.2-201109281554.tar.gz 76076 RMD160 e359a33d3bfbb37afbe2f37f3b2c7afe80dfb67a SHA1 7c351c73bc6f6322b3c1458b2b012f60840d2d87 SHA256 b5bbd3c8a51ff1dbe4bf24fcfc1ab12684b9e68cb7be476701710d9cf0afe374 EBUILD gradm-2.1.14.201005041005.ebuild 1545 RMD160 f31e0d6d2288b3ae04ff4822b5d65c0561b6ab88 SHA1 c7fd02f5d504523a2ca472e5dca26898bd0af9b6 SHA256 8f0c328531eb741cedd7a06c3c12bff762f476d42afe9afb994a5e8cc4c99ec0 EBUILD gradm-2.2.0.201011061849.ebuild 1353 RMD160 6cb5f25f54c61c803fd762fd5b4fd2e7f3c03c1e SHA1 04ca2177e8488d3e2e012e4440a6bd408624cb58 SHA256 df04a7ded3b38a1337c8f7339543d24d1b40f67981f60f21ada5e8a4e845fd07 EBUILD gradm-2.2.1.201012301333.ebuild 1347 RMD160 403ebda5cc9f0d25aafce56018ef4ca1a29bd625 SHA1 3938408baab6e7ae846be93e1419b417c6d675cf SHA256 a2a319f8737c01d3d44631243ff3d8df33be0ded7de5bab752367d988df61906 EBUILD gradm-2.2.2.201108142019.ebuild 1340 RMD160 49aeef0c3da3f7dfd3e798a99cd63e86c192be3c SHA1 ca216cfb22d3dcd36d245593a80137a9f743a21e SHA256 87e97a1b943952d69aeb9d71f75235b44fd4a113fdd40515feb67c4fd8a2422b EBUILD gradm-2.2.2.201109151158.ebuild 1342 RMD160 b75822457cf7e802660c09b2343a933facabec44 SHA1 bde3d100c926e745753e8f455b17001be993213b SHA256 8adbc954cccf572c02dd61c3d246b21a81d39d03bcff11e7c39c3eaf03279e55 EBUILD gradm-2.2.2.201109241035.ebuild 1342 RMD160 767732d1ed6595463a18fc984ae47f5539d4e426 SHA1 46d729cade88789c85d4b58bd4f4728883a303da SHA256 a8c5e7f232050217b6ba8a081b0ed364711d643b5178a63901104ee7ac8a8e74 -MISC ChangeLog 26569 RMD160 806be739eee714b11ec527a660d447fd3af443b9 SHA1 e9b696f85bd8323b3a104167999013c134b40908 SHA256 f7350c26639f76fa928bfb011c33ec1c3380f926ea7e8e216a9a6816fd803298 +EBUILD gradm-2.2.2.201109281554.ebuild 1342 RMD160 1e4a8ec74e96b00b32334e73a216b7c219d6cf46 SHA1 4b2fe3898785efc78198ea31037bc85d83cc2602 SHA256 afeadef446d25a0a0f28f793182714a0c698c81eb5e34533eb1e47661d820cad +MISC ChangeLog 26756 RMD160 655da5e0407c95066b74fbd50d3c0cb3c05774fa SHA1 f9e82a9e70cdf6211759457e12890c47b78c3b00 SHA256 6e15e4da409a83a9217b6c1bf006f41d1b07f7e25e8944769a244e9d03faefa6 MISC metadata.xml 261 RMD160 ddaae2ed4ca91bce2a722cc218b5bbf40154a454 SHA1 685870407c58b7c79298010c1048b1b05e2e175e SHA256 8f10a5b7f7571c6e73739c4bed1ecaf34aa8278355e9d163f8bbae77a11575a4 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEAREIAAYFAk5/JlMACgkQl5yvQNBFVTXErACfauWLDbZo5yc6RZL4KvAxzh8I -YDcAn08+HD+6FSHHOexFp4brstDyS+sZ -=XXXy +iEYEAREIAAYFAk6ErRoACgkQl5yvQNBFVTW7KgCgnScslEqwXYElDXBZLpQMviCC +fkEAn2K8euwK1mOSxqlcFuQaM7lmrlm8 +=fvn+ -----END PGP SIGNATURE----- diff --git a/sys-apps/gradm/files/gradm-2.2.2.201109281554.patch b/sys-apps/gradm/files/gradm-2.2.2.201109281554.patch new file mode 100644 index 000000000000..cd878eee55f9 --- /dev/null +++ b/sys-apps/gradm/files/gradm-2.2.2.201109281554.patch @@ -0,0 +1,32 @@ +diff -Naur gradm2.orig/Makefile gradm2/Makefile +--- gradm2.orig/Makefile 2011-03-26 14:46:14.000000000 -0400 ++++ gradm2/Makefile 2011-03-27 11:11:36.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" -a "`uname -m`" != "x86_64" ]; 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= ++CFLAGS := $(OPT_FLAGS) -Wcast-qual -DGRSEC_DIR=\"$(GRSEC_DIR)\" -D_LARGEFILE64_SOURCE $(CFLAGS) ++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.2.201109281554.ebuild b/sys-apps/gradm/gradm-2.2.2.201109281554.ebuild new file mode 100644 index 000000000000..d35d90635d91 --- /dev/null +++ b/sys-apps/gradm/gradm-2.2.2.201109281554.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.2.201109281554.ebuild,v 1.1 2011/09/29 17:38:24 blueness Exp $ + +EAPI=4 + +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="http://dev.gentoo.org/~blueness/hardened-sources/gradm/${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}" +} + +src_install() { + einstall DESTDIR="${D}" + 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 +} |