diff options
author | Sam James <sam@gentoo.org> | 2022-12-24 12:10:22 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-12-24 12:36:23 +0000 |
commit | 74406e531bc8cbc8ecb2675029ec238a6d4b83a4 (patch) | |
tree | cb9c9b3247f8669d4f0e8f74c2b11dde45b85849 /app-admin/sud/sud-1.3-r2.ebuild | |
parent | dev-util/fq: install README (diff) | |
download | gentoo-74406e531bc8cbc8ecb2675029ec238a6d4b83a4.tar.gz gentoo-74406e531bc8cbc8ecb2675029ec238a6d4b83a4.tar.bz2 gentoo-74406e531bc8cbc8ecb2675029ec238a6d4b83a4.zip |
app-admin/sud: EAPI 8
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin/sud/sud-1.3-r2.ebuild')
-rw-r--r-- | app-admin/sud/sud-1.3-r2.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app-admin/sud/sud-1.3-r2.ebuild b/app-admin/sud/sud-1.3-r2.ebuild new file mode 100644 index 000000000000..f70d17d498c8 --- /dev/null +++ b/app-admin/sud/sud-1.3-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="A daemon to execute processes with special privileges in a nosuid environment" +HOMEPAGE="http://www.s0ftpj.org/projects/sud/index.htm" +SRC_URI="http://www.s0ftpj.org/projects/sud/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +DEPEND="elibc_musl? ( sys-libs/queue-standalone )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.3-fix-build-system.patch + "${FILESDIR}"/${PN}-1.3-use-system-queue.patch +) + +src_prepare() { + default + + # bug #713470 + rm sud/queue.h || die + + eautoreconf +} + +src_configure() { + append-cppflags -D_GNU_SOURCE + default +} + +src_install() { + default + + doman ilogin.1 sud.1 suz.1 + insinto /etc + doins miscs/sud.conf* + newinitd "${FILESDIR}"/sud.rc6 sud +} |