commit: daef698988fb673f2172c327b7c77ab12d861775 Author: Austin English <wizardedit <AT> gentoo <DOT> org> AuthorDate: Wed May 4 00:02:03 2016 +0000 Commit: Austin English <wizardedit <AT> gentoo <DOT> org> CommitDate: Wed May 4 00:08:37 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daef6989
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 net-misc/linux-identd/files/identd.init | 4 +-- 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 d5ffc5d..1e4629c 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 0000000..2bf2394 --- /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 +}
