diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2017-08-02 07:56:26 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2017-08-02 08:01:02 -0400 |
commit | ccb0832e1db02433e37c0460a27849b2e22f6728 (patch) | |
tree | 9726caa65f15f1ab9a98f26d61b3c9bfa725b25b /sys-apps/gradm | |
parent | net-firewall/arptables: Bump to version 0.0.4 (diff) | |
download | gentoo-ccb0832e1db02433e37c0460a27849b2e22f6728.tar.gz gentoo-ccb0832e1db02433e37c0460a27849b2e22f6728.tar.bz2 gentoo-ccb0832e1db02433e37c0460a27849b2e22f6728.zip |
sys-apps/gradm: version bump to 201708012022
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'sys-apps/gradm')
-rw-r--r-- | sys-apps/gradm/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/gradm/gradm-3.1.201708012022.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/sys-apps/gradm/Manifest b/sys-apps/gradm/Manifest index a1d5c5446259..852b1fb9698b 100644 --- a/sys-apps/gradm/Manifest +++ b/sys-apps/gradm/Manifest @@ -1,3 +1,4 @@ DIST gradm-3.1-201603152148.tar.gz 91549 SHA256 07f4decbc95ddfb8a88a35ab2960705fb48d0daf108afc09c2b752e2e86fd7b5 SHA512 a423db1dfdaa0b068970b92dc970d6e10bfc20695437e92d967b064c3efe05114ab6de672eec984ab2f048b67b12ec8c6667a71bc584f03e5d2f0ebab1476158 WHIRLPOOL 69b4808f71c55a51784397870d115b851dedd845f8bd588b75d7a39cab140e29eb20ec83542979d6265b203ec78c9a45bc6b1eecb6bcaa061450a3e8fac2512d DIST gradm-3.1-201607172312.tar.gz 91667 SHA256 4281c72e3e82f0ea2c01d124975c19326b2157c10911fa065c1549195d5e6ee4 SHA512 61f14038ee555b99e4d0096dd01697d8adba45e057ffceadb44eafbdfba807b53030684c5073d169c005902acfa6baa673975ed4ab00ad035941c209f8f1d2e2 WHIRLPOOL 38fd29b829b78aa016e922ba011bcfeba0cc8de8d45ccacf2b7658153dcbed54df7035c6bcead8b4956595f812f3ca35a8553b364feb37352e5e39eee15c2661 DIST gradm-3.1-201608131257.tar.gz 91949 SHA256 2b771346458f55805713e4cdfc4fefba1da88826dd9ecff38dacd0087331a578 SHA512 0947abda8d4085fd6f4a569a29f146d6f093c7013ea3aba50df4fb740487b93696b63ab475eb862cfcd26aeb62cd69a55c3d6083b91a2eb9349ad566735f8cfe WHIRLPOOL 99d9c32ec7bba80e57cc3b543a9f9df5c0317226b7e5cf146b5d6fcab3b600577adc79f83cc031f94a3526875a99ce9af97de08139b3e933bf341a35d41c7d70 +DIST gradm-3.1-201708012022.tar.gz 92238 SHA256 d5de919a0f3bf70b0591f1bd9e2dbba9e5d0c55b5df36727e49f3cf0ef4b5482 SHA512 1c319ce5b102ad54d0c4d0c43222ed755719bb2568c9a4575b62965a73b0765265dc7068488e5e34df52ed9382b17e4bf1b32a8eef20a4d7a534f3f9a4ba2b3d WHIRLPOOL 427faaa42847b0b6f10ce90d9425e62c0722b3675ab04c2d7982514ec86f16a45bc098d9e59dd21d11b660b34a0b6ef75e1130142b5bc5edd4ab7d40ef14da89 diff --git a/sys-apps/gradm/gradm-3.1.201708012022.ebuild b/sys-apps/gradm/gradm-3.1.201708012022.ebuild new file mode 100644 index 000000000000..580760657184 --- /dev/null +++ b/sys-apps/gradm/gradm-3.1.201708012022.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +inherit flag-o-matic toolchain-funcs versionator eutils udev + +MY_PV="$(replace_version_separator 2 -)" + +DESCRIPTION="Administrative interface for the grsecurity Role Based Access Control system" +HOMEPAGE="http://www.grsecurity.net/" +SRC_URI="https://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 )" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/respect-gentoo-env-r3.patch + sed -i -e "s:/lib/udev:$(get_udevdir):" Makefile || die + eapply_user +} + +src_compile() { + local target + use pam || target="nopam" + + emake ${target} CC="$(tc-getCC)" OPT_FLAGS="${CFLAGS}" +} + +src_install() { + emake DESTDIR="${D}" install + fperms 711 /sbin/gradm +} + +pkg_postinst() { + ewarn + ewarn "Be sure to set a password with 'gradm -P' before enabling learning mode." + ewarn +} |