summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/paxctld/Manifest1
-rw-r--r--sys-apps/paxctld/paxctld-1.1.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/sys-apps/paxctld/Manifest b/sys-apps/paxctld/Manifest
index 79060656325f..46186b707122 100644
--- a/sys-apps/paxctld/Manifest
+++ b/sys-apps/paxctld/Manifest
@@ -1,2 +1,3 @@
DIST paxctld_1.0.1.orig.tar.gz 15491 SHA256 7a6b322b02f583f4c93a7090a3f774dc069a014893351f0d544de377d3cdadf0 SHA512 3d050aa315b28873dac1a26f4552f5f126f82f4b5bcdcadabb1dc5c048be95f630fbdb753c1191bc4e4b8296a0a927136faf682254426a6e60fe88044433bb9f WHIRLPOOL 8f3e3967a9dd17671fc37e3d1d4740416b9cceec7abd8f743f5d8993b0e6a3b3490794a744c0439fffe1a04532d86a87c05821f4f110a9b38a8acdee88bfa14c
DIST paxctld_1.0.orig.tar.gz 14708 SHA256 b16173d88f631cfb34eb617f7b1a015e989eeb8c100987ef58203bc28d89ddb4 SHA512 244233681704885b081b16b6c23312df4be7f9962bfcf1196e54ff4be2fbdbaa1832c3115998d27e20a7af463a888c5756148929da12f6028a4dd26327c64bd3 WHIRLPOOL cb4d54508ae5aa2aebd63b32bf32cf1d4e4807e85c7bee6e36c23a5257fac09945e7bff8dce85e9eca2c67182c26f17f7b34ce1b6a25685c4d09febf61463a76
+DIST paxctld_1.1.orig.tar.gz 15977 SHA256 95c2805dc46edd443afceef283adf09943c6a62858944b516c9f5c0e06f8e99f SHA512 82b18d1b5d47831ac865b149dbd02c35062baf3da755312bbc2d7adeb31308b995be3441adb6d4a33ba19e79413df77bb4a7bc71d202bef6e1eb25f2c4f31631 WHIRLPOOL 633fe5a591ba1ed1f1fdddce03955c8150ee9ac9a0f039a7b808a769182e88bd836c317491f8c519c5f9da138faeb44c3b658c2620fcc38357461f7f902a63d9
diff --git a/sys-apps/paxctld/paxctld-1.1.ebuild b/sys-apps/paxctld/paxctld-1.1.ebuild
new file mode 100644
index 000000000000..765b8aa60b83
--- /dev/null
+++ b/sys-apps/paxctld/paxctld-1.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit systemd
+
+DESCRIPTION="PaX flags maintenance daemon"
+HOMEPAGE="http://www.grsecurity.net/"
+SRC_URI="https://www.grsecurity.net/${PN}/${PN}_${PV}.orig.tar.gz
+ https://dev.gentoo.org/~blueness/hardened-sources/${PN}/${PN}_${PV}.orig.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="pam"
+
+RDEPEND=""
+DEPEND=""
+
+src_prepare() {
+ # Respect Gentoo flags and don't strip
+ sed -i \
+ -e '/^CC/d' \
+ -e '/^CFLAGS/d' \
+ -e '/^LDFLAGS/d' \
+ -e '/STRIP/d' \
+ Makefile
+}
+
+src_install() {
+ default
+
+ systemd_dounit "${S}"/rpm/${PN}.service
+}