2019-08-12 14:58:10 +03:00
|
|
|
# Copyright 1999-2019 Gentoo Authors
|
2017-05-12 10:17:05 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=6
|
|
|
|
|
|
|
|
inherit autotools
|
|
|
|
|
|
|
|
DESCRIPTION="suid, sgid file and directory checking"
|
2019-08-12 14:58:10 +03:00
|
|
|
HOMEPAGE="http://linukz.org/sxid.shtml https://github.com/taem/sxid"
|
2017-05-12 10:17:05 +03:00
|
|
|
SRC_URI="http://linukz.org/download/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
2018-05-10 00:05:40 +03:00
|
|
|
KEYWORDS="amd64 ppc x86"
|
2017-05-12 10:17:05 +03:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|