summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-03-16 02:47:32 -0400
committerAnthony G. Basile <blueness@gentoo.org>2016-03-16 02:50:35 -0400
commit71dc85df46d211841ce2e522cb65cc4963c4a4e6 (patch)
tree2f3bd9000cd311adab706dd50a1f2a332dbb0c99 /sys-apps/gradm
parentdev-ruby/ffi: add ruby23 (diff)
downloadgentoo-71dc85df46d211841ce2e522cb65cc4963c4a4e6.tar.gz
gentoo-71dc85df46d211841ce2e522cb65cc4963c4a4e6.tar.bz2
gentoo-71dc85df46d211841ce2e522cb65cc4963c4a4e6.zip
sys-apps/gradm: version bump to 3.1.201603152148
Package-Manager: portage-2.2.26
Diffstat (limited to 'sys-apps/gradm')
-rw-r--r--sys-apps/gradm/Manifest1
-rw-r--r--sys-apps/gradm/gradm-3.1.201603152148.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/sys-apps/gradm/Manifest b/sys-apps/gradm/Manifest
index 6917fce6e546..c485c930da23 100644
--- a/sys-apps/gradm/Manifest
+++ b/sys-apps/gradm/Manifest
@@ -1,3 +1,4 @@
DIST gradm-3.1-201506081912.tar.gz 91410 SHA256 436e91a390579b6f96124bb69b2dd3411d8e55267e5208a0479796c6ad51abcc SHA512 99f0bc391e0a5a3f03ab8f72650e8248d66ce36cefe1662c3d960120a6dc61b900f0874f82ec742e33c32de36dfb12642f965fce530e640e7f3a171d60e4ed78 WHIRLPOOL 77966fa7be791d4dc305405e07e2b1d8aa57c51439f1e638ea945400150ff16f45bd2212a1e961b569e62826b7cf3690b4aa1833444019065e2c3a22a10b5734
DIST gradm-3.1-201507041117.tar.gz 91468 SHA256 098e1978731d456c8c1db696fa0b67d6f1310a87a996083a1b627671b4e0c1f5 SHA512 507d97477a1b28a0097467aba3085759c606a7ef1fd3b91d09cd7ffb9523408276d4fe504c4bb9b036c0ee6066e3edef9ebe0fb17b2d7e1156937fb6ca813daf WHIRLPOOL 392976e30a5e2ed765ab6ba09c8d03935cb6bc0f18519fc7764fc127bf2fe2ba2aa88d5a026e7d1a46d0406af1af60e9045a2ffa677d94fa4e8bd004fbb5ef5a
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
diff --git a/sys-apps/gradm/gradm-3.1.201603152148.ebuild b/sys-apps/gradm/gradm-3.1.201603152148.ebuild
new file mode 100644
index 000000000000..f49b508caee4
--- /dev/null
+++ b/sys-apps/gradm/gradm-3.1.201603152148.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+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
+}
+
+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
+}