diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2011-12-15 19:56:07 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2011-12-15 19:56:07 +0000 |
commit | a2fb001037cfc8aeb8d5dbbcc228421eda39e37f (patch) | |
tree | 671bc7db4f0914b9451f1d24dfbf3a24679db3c0 /sys-apps/gradm | |
parent | Do much LeechCraft maintainance, including bump to 0.4.96 (diff) | |
download | historical-a2fb001037cfc8aeb8d5dbbcc228421eda39e37f.tar.gz historical-a2fb001037cfc8aeb8d5dbbcc228421eda39e37f.tar.bz2 historical-a2fb001037cfc8aeb8d5dbbcc228421eda39e37f.zip |
Added proper dependency on udev and made udevadm path relative
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/gradm')
-rw-r--r-- | sys-apps/gradm/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/gradm/Manifest | 10 | ||||
-rw-r--r-- | sys-apps/gradm/gradm-2.2.1.201012301333-r1.ebuild | 55 | ||||
-rw-r--r-- | sys-apps/gradm/gradm-2.2.2.201111011031-r1.ebuild | 55 |
4 files changed, 124 insertions, 5 deletions
diff --git a/sys-apps/gradm/ChangeLog b/sys-apps/gradm/ChangeLog index cdfee4a3a6ed..5e044e0d3c06 100644 --- a/sys-apps/gradm/ChangeLog +++ b/sys-apps/gradm/ChangeLog @@ -1,6 +1,13 @@ # 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.172 2011/12/15 19:46:40 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.173 2011/12/15 19:56:07 blueness Exp $ + +*gradm-2.2.2.201111011031-r1 (15 Dec 2011) +*gradm-2.2.1.201012301333-r1 (15 Dec 2011) + + 15 Dec 2011; Anthony G. Basile <blueness@gentoo.org> + +gradm-2.2.1.201012301333-r1.ebuild, +gradm-2.2.2.201111011031-r1.ebuild: + Added proper dependency on udev and made udevadm path relative 15 Dec 2011; Anthony G. Basile <blueness@gentoo.org> -gradm-2.2.2.201110180832.ebuild, -files/gradm-2.2.2.201110180832.patch: diff --git a/sys-apps/gradm/Manifest b/sys-apps/gradm/Manifest index a5d9ecdd5f58..a24dc37a8e7b 100644 --- a/sys-apps/gradm/Manifest +++ b/sys-apps/gradm/Manifest @@ -7,14 +7,16 @@ DIST gradm-2.1.14-201005041005.tar.gz 69437 RMD160 0696b1d10980afcb689f75eea5c06 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 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 -MISC ChangeLog 28431 RMD160 c2efd87d36b48d224dacbf3b7403f18a747a2689 SHA1 84f84935f8feb9289aa60832a7d5f21cd55fbc92 SHA256 ba4d0dedc5694573aae16a1fd2f894cbfb430f3358dc3e5438efcb4253ba0fb6 +MISC ChangeLog 28715 RMD160 8a99f060a41c176356d6e0b2f16c1592aaee0c89 SHA1 b57201fc8403d467cec11aaed3d28e734f85009e SHA256 7d8797828e7421d6e90b7813383a75cd3cc92d732a9eea94a6879e8e1f5de1b4 MISC metadata.xml 261 RMD160 ddaae2ed4ca91bce2a722cc218b5bbf40154a454 SHA1 685870407c58b7c79298010c1048b1b05e2e175e SHA256 8f10a5b7f7571c6e73739c4bed1ecaf34aa8278355e9d163f8bbae77a11575a4 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEAREIAAYFAk7qTrAACgkQl5yvQNBFVTUsNgCfTaOSKK0MiNN3e9f+uK/Fg6/l -GJgAoIctX6SFNXeELDaaXBhWIQkMfRxI -=sJg5 +iEYEAREIAAYFAk7qUOMACgkQl5yvQNBFVTX4UACdG/pEoYcrDbc3T6q5yTHPN3GY +pfAAn0kglmfppMeg6TI56vRofhawbaWY +=6bDL -----END PGP SIGNATURE----- diff --git a/sys-apps/gradm/gradm-2.2.1.201012301333-r1.ebuild b/sys-apps/gradm/gradm-2.2.1.201012301333-r1.ebuild new file mode 100644 index 000000000000..43b5ce13a761 --- /dev/null +++ b/sys-apps/gradm/gradm-2.2.1.201012301333-r1.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-r1.ebuild,v 1.1 2011/12/15 19:56:07 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" + +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}" || die "emake failed" +} + +src_install() { + einstall DESTDIR="${D}" || die "einstall failed" + 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 +} diff --git a/sys-apps/gradm/gradm-2.2.2.201111011031-r1.ebuild b/sys-apps/gradm/gradm-2.2.2.201111011031-r1.ebuild new file mode 100644 index 000000000000..fee4450102c2 --- /dev/null +++ b/sys-apps/gradm/gradm-2.2.2.201111011031-r1.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.201111011031-r1.ebuild,v 1.1 2011/12/15 19:56:07 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" + +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 +} |