diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2012-02-25 17:43:41 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2012-02-25 17:43:41 +0000 |
commit | 5ea9a453107bc94713ec175b1a60f1a77a3fd7b5 (patch) | |
tree | aac9a5ddee8c1cfcfa90d39cd6d59a1018a921dd /sys-apps/gradm | |
parent | Stable on alpha, bug #400031 (diff) | |
download | historical-5ea9a453107bc94713ec175b1a60f1a77a3fd7b5.tar.gz historical-5ea9a453107bc94713ec175b1a60f1a77a3fd7b5.tar.bz2 historical-5ea9a453107bc94713ec175b1a60f1a77a3fd7b5.zip |
Version bump
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/gradm')
-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.9.201202232055.patch | 32 | ||||
-rw-r--r-- | sys-apps/gradm/gradm-2.9.201202232055.ebuild | 55 |
4 files changed, 101 insertions, 5 deletions
diff --git a/sys-apps/gradm/ChangeLog b/sys-apps/gradm/ChangeLog index 72ce281b7ee2..b5897d83fd28 100644 --- a/sys-apps/gradm/ChangeLog +++ b/sys-apps/gradm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/gradm # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.174 2012/02/18 18:29:19 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.175 2012/02/25 17:43:41 blueness Exp $ + +*gradm-2.9.201202232055 (25 Feb 2012) + + 25 Feb 2012; Anthony G. Basile <blueness@gentoo.org> + +gradm-2.9.201202232055.ebuild, +files/gradm-2.9.201202232055.patch: + Version bump *gradm-2.2.2.201202161905 (18 Feb 2012) diff --git a/sys-apps/gradm/Manifest b/sys-apps/gradm/Manifest index 614acd0bb199..afffa60947ed 100644 --- a/sys-apps/gradm/Manifest +++ b/sys-apps/gradm/Manifest @@ -4,22 +4,25 @@ Hash: SHA256 AUX gradm-2.2.1.201012301333.patch 1146 RMD160 95954709c1d8e7a294fe88422dab1c2c5c456e55 SHA1 23f9d8200b3b4cfcb174ec845439867bf40b9b3d SHA256 4826c5793781b2391b3b28a1f5c0d5c56467a1dd55fbb5cb83b7ad4fddfb9000 AUX gradm-2.2.2.201111011031.patch 1333 RMD160 1d6384d3c7fa8fb4b519ab09b8816ffc624cab8a SHA1 8224562e7e45c05a07ad95962d74402161485e9b SHA256 8198ec14f85d9389f454cf893530ed3bfa09b22123e052dfb41849e31f08028d AUX gradm-2.2.2.201202161905.patch 1333 RMD160 1d6384d3c7fa8fb4b519ab09b8816ffc624cab8a SHA1 8224562e7e45c05a07ad95962d74402161485e9b SHA256 8198ec14f85d9389f454cf893530ed3bfa09b22123e052dfb41849e31f08028d +AUX gradm-2.9.201202232055.patch 1333 RMD160 1d6384d3c7fa8fb4b519ab09b8816ffc624cab8a SHA1 8224562e7e45c05a07ad95962d74402161485e9b SHA256 8198ec14f85d9389f454cf893530ed3bfa09b22123e052dfb41849e31f08028d DIST gradm-2.1.14-201005041005.tar.gz 69437 RMD160 0696b1d10980afcb689f75eea5c06405387e9c40 SHA1 9825bd606f90f207392a99a00e685050a1cccb88 SHA256 0728581a7b42474e573188cafce29eaaddb0eca8bb0a6a851efcd001b5c5266f DIST gradm-2.2.1-201012301333.tar.gz 74036 RMD160 d342e6cc24e1cdef44ec1a345a3fd15c84b7a128 SHA1 6a8da5f9958effdd4c4f056c4a1f3c544bb5b5e2 SHA256 a55a6e0dda7a3575838dee136d34261f922d507fedda379f69a59b0806b4ab9e DIST gradm-2.2.2-201111011031.tar.gz 76910 RMD160 0665892f454255ddd72e49c13de662052f10ca2a SHA1 852d4d2c84a6a976e61e510f2bddc86f98de477e SHA256 d2c95d9ddb41c23b313cd193b542d008453386914be8e4516a3f024d2306b441 DIST gradm-2.2.2-201202161905.tar.gz 76690 RMD160 87f7fe322d21eb224b45a091cc4e696e13a4e8a4 SHA1 664573cfc30399d53f57b264e9045863eda748fd SHA256 fd80fc7aeef8e9df53b36ae5af560c3a173466d448ff8ac05207f35ed5cd33eb +DIST gradm-2.9-201202232055.tar.gz 77722 RMD160 74de77ff36b256c2f144ecac4a682dedba13520c SHA1 5c7db5170cbb80c4330aa123a8b25d6ba7195bc1 SHA256 2b9943ebee0c5c5eedf40db1b9df21d358e4b6068c15e05753ae1274d52023c5 EBUILD gradm-2.1.14.201005041005.ebuild 1545 RMD160 f31e0d6d2288b3ae04ff4822b5d65c0561b6ab88 SHA1 c7fd02f5d504523a2ca472e5dca26898bd0af9b6 SHA256 8f0c328531eb741cedd7a06c3c12bff762f476d42afe9afb994a5e8cc4c99ec0 EBUILD gradm-2.2.1.201012301333-r1.ebuild 1365 RMD160 a57a0961c121bf041894e69d19d1118269175207 SHA1 f620f976d30c7681d8a03752d574ea8d2b4fce30 SHA256 7c5697f0d641d9554b054d7e955c037fa5964846316779b3f4d4f5ba58aa5c10 EBUILD gradm-2.2.1.201012301333.ebuild 1347 RMD160 403ebda5cc9f0d25aafce56018ef4ca1a29bd625 SHA1 3938408baab6e7ae846be93e1419b417c6d675cf SHA256 a2a319f8737c01d3d44631243ff3d8df33be0ded7de5bab752367d988df61906 EBUILD gradm-2.2.2.201111011031-r1.ebuild 1357 RMD160 7734fe861332ab9390ef12e1db032d0b625f3b36 SHA1 5d4da9f86cf241e60fe890b6d493d836653ce243 SHA256 ffbc79f70e8ae870f75f268eae6d007ca9a46e2817c2df489efa716dd594824f EBUILD gradm-2.2.2.201111011031.ebuild 1340 RMD160 a66bb22b43fc36ee7ce10ad5e693cd09bfcadd34 SHA1 c9bdc04a62d46f481b024f04dbdd9821213faa33 SHA256 be76184d97301aa7ac12f4fcccb4f0b00277fb5f3433cbb9f374d16cd6a10594 EBUILD gradm-2.2.2.201202161905.ebuild 1356 RMD160 28d7d90c88eba7db0267ef88284405c669a37165 SHA1 349755fc6990f754e652d8e3208cb44cd1664c31 SHA256 f6159d0f7eec4b12ed00d0db650cb93785de424e82adc10e72fcfad1b9d64882 -MISC ChangeLog 28902 RMD160 c70263e46b7ee86ca46708b618740511026409fa SHA1 584e6e1ce4ac2582c2ed715f212b3c7c34770761 SHA256 2afbb0997b1f8f9b99a85501fe27340dbfedfc9d4c1318fabb519baedb620b48 +EBUILD gradm-2.9.201202232055.ebuild 1354 RMD160 c95882e1e13b9d5ac972b501543ece26f5aaff93 SHA1 40efb219519b0f0e004555ecb00c15639d6f5700 SHA256 2ef07b76371eb251719dcb7b0e0a6f9f932d51f1202a61529f0b38c1e985a12a +MISC ChangeLog 29083 RMD160 82e0be8577117c2ba9344210b4833f8666b215ea SHA1 c8fe989af10dcc20d1fb9ac962e76ec4ba27ea29 SHA256 40e1422be3757343c05eee6f02bd9dfddba9fc5aa5df0a25738c16632cf25107 MISC metadata.xml 261 RMD160 ddaae2ed4ca91bce2a722cc218b5bbf40154a454 SHA1 685870407c58b7c79298010c1048b1b05e2e175e SHA256 8f10a5b7f7571c6e73739c4bed1ecaf34aa8278355e9d163f8bbae77a11575a4 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEAREIAAYFAk8/7goACgkQl5yvQNBFVTXvuQCfWCPVM9U6kVr1dx5uu2lM29g1 -puMAnRwykG+LjdJi1k5NNDLbP5asWSoO -=abMv +iEYEAREIAAYFAk9JHdYACgkQl5yvQNBFVTVBhQCeKbj1cCYAvcAL5QneY6upge6k +88UAni/uNqvEHEpk0fvzpnDVTLSnFxds +=4Dux -----END PGP SIGNATURE----- diff --git a/sys-apps/gradm/files/gradm-2.9.201202232055.patch b/sys-apps/gradm/files/gradm-2.9.201202232055.patch new file mode 100644 index 000000000000..cd878eee55f9 --- /dev/null +++ b/sys-apps/gradm/files/gradm-2.9.201202232055.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.9.201202232055.ebuild b/sys-apps/gradm/gradm-2.9.201202232055.ebuild new file mode 100644 index 000000000000..38befa2d6008 --- /dev/null +++ b/sys-apps/gradm/gradm-2.9.201202232055.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.9.201202232055.ebuild,v 1.1 2012/02/25 17:43:41 blueness Exp $ + +EAPI="4" + +inherit flag-o-matic toolchain-funcs versionator + +MY_PV="$(replace_version_separator 2 -)" + +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" + +CDEPEND="sys-fs/udev" +RDEPEND="${CDEPEND}" +DEPEND=" + ${CDEPEND} + 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() { + udevadm control --reload-rules && udevadm trigger --action=add --sysname-match=grsec + 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 +} |