summaryrefslogtreecommitdiff
path: root/sys-apps
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-11-19 10:11:05 -0500
committerAnthony G. Basile <blueness@gentoo.org>2016-11-19 10:12:51 -0500
commitb5cdb27c6950e32e11f47f6a19f95af001c039b5 (patch)
treeb701602487d99c1aab8eb1a5bbb1604c80df0af3 /sys-apps
parenta57fd18c349810b26b980abef2444fd8c267ee41 (diff)
downloadgentoo-b5cdb27c6950e32e11f47f6a19f95af001c039b5.tar.gz
gentoo-b5cdb27c6950e32e11f47f6a19f95af001c039b5.tar.xz
sys-apps/gradm: version bump to 3.1.201608131257
Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/gradm/Manifest1
-rw-r--r--sys-apps/gradm/gradm-3.1.201608131257.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/sys-apps/gradm/Manifest b/sys-apps/gradm/Manifest
index 6470d8f9c55..19142f81033 100644
--- a/sys-apps/gradm/Manifest
+++ b/sys-apps/gradm/Manifest
@@ -1,3 +1,4 @@
DIST gradm-3.1-201507191652.tar.gz 91460 SHA256 2f14c357bf0459e502a4e108b76c3f6240aa484762d07bb1687796b9b9297a50 SHA512 94b655164369d3ae061ae74710db1098e743a435eecdee9faef77b39aa3fe58f552b4479e55c9546b3c25dea194dc490d9442fc404318628c77d1ecd05d6243e WHIRLPOOL 22041c8424bacccdb53eef953b2419a84b24318caac91e137c59b3b88a5ef57d32dfe31dcf8ddb0c36e35b935db0526b9778ac0650d6dfdf612a469ccdc17f78
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
diff --git a/sys-apps/gradm/gradm-3.1.201608131257.ebuild b/sys-apps/gradm/gradm-3.1.201608131257.ebuild
new file mode 100644
index 00000000000..ab71f1287e1
--- /dev/null
+++ b/sys-apps/gradm/gradm-3.1.201608131257.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+}