diff options
author | Austin English <wizardedit@gentoo.org> | 2016-05-03 19:02:03 -0500 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2016-05-03 19:08:37 -0500 |
commit | daef698988fb673f2172c327b7c77ab12d861775 (patch) | |
tree | d653b1ac591a92fd088e2bfb2f0e0eab52a5c588 /net-misc/linux-identd | |
parent | net-misc/lambdamoo: remove old version (diff) | |
download | gentoo-daef698988fb673f2172c327b7c77ab12d861775.tar.gz gentoo-daef698988fb673f2172c327b7c77ab12d861775.tar.bz2 gentoo-daef698988fb673f2172c327b7c77ab12d861775.zip |
net-misc/linux-identd: use #!/sbin/openrc-run instead of #!/sbin/runscript
Gentoo-Bug: https://bugs.gentoo.org/573846
Package-Manager: portage-2.2.26
Diffstat (limited to 'net-misc/linux-identd')
-rw-r--r-- | net-misc/linux-identd/files/identd.init | 4 | ||||
-rw-r--r-- | net-misc/linux-identd/linux-identd-1.3-r2.ebuild | 36 |
2 files changed, 38 insertions, 2 deletions
diff --git a/net-misc/linux-identd/files/identd.init b/net-misc/linux-identd/files/identd.init index d5ffc5d1a391..1e4629c1eed8 100644 --- a/net-misc/linux-identd/files/identd.init +++ b/net-misc/linux-identd/files/identd.init @@ -1,5 +1,5 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ diff --git a/net-misc/linux-identd/linux-identd-1.3-r2.ebuild b/net-misc/linux-identd/linux-identd-1.3-r2.ebuild new file mode 100644 index 000000000000..2bf239495a88 --- /dev/null +++ b/net-misc/linux-identd/linux-identd-1.3-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="A real IDENT daemon for linux" +HOMEPAGE="http://www.fukt.bsnet.se/~per/identd/" +SRC_URI="http://www.fukt.bsnet.se/~per/identd/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc sparc x86" +IUSE="xinetd" + +DEPEND="" +RDEPEND="xinetd? ( sys-apps/xinetd )" + +src_compile() { + emake CC="$(tc-getCC)" CEXTRAS="${CFLAGS}" +} + +src_install() { + dodir /etc/init.d /usr/sbin /usr/share/man/man8 + dodoc README ChangeLog + emake install DESTDIR="${D}" MANDIR=/usr/share/man + + if use xinetd; then + insinto /etc/xinetd.d + newins "${FILESDIR}"/identd.xinetd identd + else + newinitd "${FILESDIR}"/identd.init identd + fi +} |