summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2016-05-03 19:02:03 -0500
committerAustin English <wizardedit@gentoo.org>2016-05-03 19:08:37 -0500
commitdaef698988fb673f2172c327b7c77ab12d861775 (patch)
treed653b1ac591a92fd088e2bfb2f0e0eab52a5c588 /net-misc/linux-identd/linux-identd-1.3-r2.ebuild
parentnet-misc/lambdamoo: remove old version (diff)
downloadgentoo-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/linux-identd-1.3-r2.ebuild')
-rw-r--r--net-misc/linux-identd/linux-identd-1.3-r2.ebuild36
1 files changed, 36 insertions, 0 deletions
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
+}