app-admin/sxid: EAPI 6 bump.
authorPatrice Clement <monsieurp@gentoo.org>
Thu, 11 May 2017 21:55:30 +0000 (23:55 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Thu, 11 May 2017 22:05:21 +0000 (00:05 +0200)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

app-admin/sxid/sxid-4.2-r2.ebuild [new file with mode: 0644]

diff --git a/app-admin/sxid/sxid-4.2-r2.ebuild b/app-admin/sxid/sxid-4.2-r2.ebuild
new file mode 100644 (file)
index 0000000..1dd3cef
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="suid, sgid file and directory checking"
+HOMEPAGE="http://freshmeat.net/projects/sxid"
+SRC_URI="http://linukz.org/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="virtual/mailx"
+
+DOCS=( docs/sxid.{conf,cron}.example )
+
+src_prepare() {
+       default
+       # this is an admin application and really requires root to run correctly
+       # we need to move the binary to the sbin directory
+       sed -i s/bindir/sbindir/g source/Makefile.in || die
+       eautoreconf
+}
+
+pkg_postinst() {
+       elog
+       elog "You will need to configure sxid.conf for your system using the manpage and example"
+       elog
+}