diff options
author | Christian Heim <phreak@gentoo.org> | 2008-06-11 18:05:31 +0000 |
---|---|---|
committer | Christian Heim <phreak@gentoo.org> | 2008-06-11 18:05:31 +0000 |
commit | cb21a7c90e4a7ecfb71ac54444553e84a42bf6e4 (patch) | |
tree | dc54fce1e94a2f84880455e6b5b5ac70cf13ecb8 /sys-apps/gradm | |
parent | whitespace (diff) | |
download | historical-cb21a7c90e4a7ecfb71ac54444553e84a42bf6e4.tar.gz historical-cb21a7c90e4a7ecfb71ac54444553e84a42bf6e4.tar.bz2 historical-cb21a7c90e4a7ecfb71ac54444553e84a42bf6e4.zip |
Adding the newest version of gradm to the tree, as per Gordon's request.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sys-apps/gradm')
-rw-r--r-- | sys-apps/gradm/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/gradm/Manifest | 14 | ||||
-rw-r--r-- | sys-apps/gradm/gradm-2.1.12.200805181037.ebuild | 54 |
3 files changed, 74 insertions, 2 deletions
diff --git a/sys-apps/gradm/ChangeLog b/sys-apps/gradm/ChangeLog index 1516ece0f554..92a8710ab295 100644 --- a/sys-apps/gradm/ChangeLog +++ b/sys-apps/gradm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/gradm # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.98 2008/05/24 15:47:32 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/ChangeLog,v 1.99 2008/06/11 18:05:31 phreak Exp $ + +*gradm-2.1.12.200805181037 (11 Jun 2008) + + 11 Jun 2008; Christian Heim <phreak@gentoo.org> + +gradm-2.1.12.200805181037.ebuild: + Adding the newest version of gradm to the tree, as per Gordon's request. 24 May 2008; nixnut <nixnut@gentoo.org> gradm-2.1.11.200803171746.ebuild: Stable on ppc wrt bug 214593 diff --git a/sys-apps/gradm/Manifest b/sys-apps/gradm/Manifest index a7c9547fda00..e8cbd71c433d 100644 --- a/sys-apps/gradm/Manifest +++ b/sys-apps/gradm/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX 2.1.6.200506131347-non-lazy-bindings.patch 546 RMD160 ee9f2d6b432047e4d897845b861abc3372524d92 SHA1 24afa48d431b94354b4a7f57b72248131a5da84e SHA256 b563e83c088ffef37fa1a8c05cfc7f071a61a56b398dc729844bee59f0c910da AUX 2.1.7.200511041858-non-lazy-bindings.patch 546 RMD160 ee9f2d6b432047e4d897845b861abc3372524d92 SHA1 24afa48d431b94354b4a7f57b72248131a5da84e SHA256 b563e83c088ffef37fa1a8c05cfc7f071a61a56b398dc729844bee59f0c910da AUX gradm_2.1.8.200601212342-fix_gradm_pam_symlinks.patch 961 RMD160 bf21d1e98f2b6728e44ee14352b416983805ac9f SHA1 b4fd935617e0957b29ba8aedb0449f7d7e3c7270 SHA256 fb9e2fb83b2674d0adffbdb0f1c36b8654859d9d2242b52e99709b23dcdfac47 @@ -11,11 +14,20 @@ DIST gradm-2.1.10-200702231759.tar.gz 62873 RMD160 fb8bb19b51c33f1c236846169dd2a DIST gradm-2.1.11-200803171746.tar.gz 63109 RMD160 14cbc7799a2c4f8dd5062c79669991ee824b71b3 SHA1 64aabf1b673bf94aa4db9df1c231bb9331f248a2 SHA256 d99ab0e000d3831aafecc6ce2478f18f90fea51d97feb7fbde95602db1c03b95 DIST gradm-2.1.11-200804041607.tar.gz 63129 RMD160 709ef61b36688b590b3b3d96e801bbc3e455bb66 SHA1 7a69addba7930049610ef5b317a42412bc239609 SHA256 94e2829f8e27a515905058971d0eb06bfc7e1cfd7428380152f9d2e9769acf6c DIST gradm-2.1.11-200804142058.tar.gz 63154 RMD160 25a7a73170272a97d94c3744828cb82785f75d39 SHA1 fa598bcdb77734a73e18e137ebb67513405cac29 SHA256 cc6069f33ba134bb1790afc85121534045b5ead61a76e8eff314549f16a4234e +DIST gradm-2.1.12-200805181037.tar.gz 63701 RMD160 16722ef9aecc45d3a6950d28634776902b82cad0 SHA1 72b549729897cb58edccf2ae1440cbb9f11e8f58 SHA256 1e73078d8ddbb1805cbf231c01d50a5b0c6c48db403e7f2b17683a0b01bad9fe DIST gradm-2.1.9-200602141850.tar.gz 61618 RMD160 2c2d750fcbac114d87867be553ec25b9725744a8 SHA1 565c1582aa629c4c7c248fd8103a30f90fae5091 SHA256 f67761b2aff2c9643b029de5d2cc327d3c7277f9a6d13f88eef425ff92382073 EBUILD gradm-2.1.10.200702231759.ebuild 1555 RMD160 94a894f18fdee0d3a08503ab2070069edd84a01d SHA1 818891feb62237ec1554204e00c589fe5a5cfcb2 SHA256 3f0ffa2fad2f386e868d07b28954d06b5fd691bc9a8f1b2654065e80312a0aaa EBUILD gradm-2.1.11.200803171746.ebuild 1559 RMD160 9ff9dc88607b17906b586bf5b3d956bf3c96102c SHA1 1a27f5c0c6df6853d1aee40497fd574894259a6c SHA256 20a23962ad6ad77da83a824121858f9aaf1a6c57ebdc12e6d02f446d5e936fb4 EBUILD gradm-2.1.11.200804041607.ebuild 1563 RMD160 0e6a901030f045cc2986a3dbd2c7339c0a4e4e21 SHA1 f78b2206ad28197aa2e1c8af9b05be9d636b429e SHA256 3c28aadcf309f286207043a530d1d3e6870ef60106664f3292ee85e9cba9c135 EBUILD gradm-2.1.11.200804142058.ebuild 1566 RMD160 9fba216a3d108c0a7a6579ac6a50012d13ccbff7 SHA1 0d00f209f8692ddf5fd247003418fd64bac49aa6 SHA256 00b585060393e5c9f6cc0e1b7499d02004062021287af2e5a2031eb7e2a22663 +EBUILD gradm-2.1.12.200805181037.ebuild 1656 RMD160 a98eb6c88b9db43679dec9df06b0611fe20e9f29 SHA1 52d31f5ddce811e05fd0f546af4033e41dffbdeb SHA256 7180ce52b54a5b081f8166ea4812030041cf223fc96111692461164d5fe6f451 EBUILD gradm-2.1.9.200602141850.ebuild 1566 RMD160 77713325efed3a3f1b28b6c8d907a97df4066e79 SHA1 635b4a12682a1a7be992cdec89280ea17ac3d64e SHA256 37d9e846ea4e63256a90f46865480c0ea227d3b6f8e769f2f7f24e6eae2ae545 -MISC ChangeLog 15696 RMD160 519a2546d11c9e0d6e8ac46d28ae15db617c7645 SHA1 21f529903c4aacabb239e8008feebab3318016b9 SHA256 84d63db7d1134349c3565799b088dcc3a18360e4ff769aa7c58a6d327f7fc7c5 +MISC ChangeLog 15901 RMD160 99f3698c4b625cede466c637152b97ecece3157b SHA1 ab17b17d3978d0e2352680e62233dc02d0a926de SHA256 aa101ac1a7e4f0a5d4318f0c4dc7662a3db8e44a28d69a4feaaef3988e5e77e2 MISC metadata.xml 422 RMD160 d4df5faf9df0f057ecfb1c3e92963034848bac5b SHA1 94a34b64602a7afe57c737a8447d961af5ed73a6 SHA256 db5ac435890a2f92611f33f0ddf35de255792013c655a70f82af44245738db55 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkhQFAQACgkQyuNVb5qfaObNgwCgvIeFBSVbOaZG13Zu58nhH5lk +wYoAn2w4326skuYwEne4915kP7rY4WoS +=gAjh +-----END PGP SIGNATURE----- diff --git a/sys-apps/gradm/gradm-2.1.12.200805181037.ebuild b/sys-apps/gradm/gradm-2.1.12.200805181037.ebuild new file mode 100644 index 000000000000..da98b7815bb3 --- /dev/null +++ b/sys-apps/gradm/gradm-2.1.12.200805181037.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gradm/gradm-2.1.12.200805181037.ebuild,v 1.1 2008/06/11 18:05:31 phreak Exp $ + +inherit flag-o-matic toolchain-funcs eutils versionator + +myPV="$(replace_version_separator 3 -)" + +DESCRIPTION="Administrative interface for the grsecurity Role Based Access Control system" +HOMEPAGE="http://www.grsecurity.net/" +SRC_URI="mirror://gentoo/gradm-${myPV}.tar.gz" +#RESTRICT=primaryuri +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="pam" +RDEPEND="" +DEPEND="virtual/libc + sys-devel/bison + sys-devel/flex + pam? ( virtual/pam ) + || ( sys-apps/paxctl sys-apps/chpax )" + +S="${WORKDIR}/${PN}2" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/2.1.7.200511041858-non-lazy-bindings.patch + sed -i -e s/MKNOD=/'MKNOD ?='/ -e s/STRIP=/'STRIP ?='/ "${S}/Makefile" +} + +src_compile() { + local target="" + use pam || target="nopam" + + emake ${target} CC="$(tc-getCC)" OPT_FLAGS="${CFLAGS}" || die "compile problem" +} + +src_install() { + einstall DESTDIR="${D}" MKNOD=true STRIP=true || 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 "Cant mknod for grsec learning device" + + ewarn "Be sure to set a password with 'gradm -P' before enabling learning mode" + ewarn + ewarn "This version of gradm is only useful/supported with a kernel >=2.6.25!" +} |