Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/linux-identd/files/, net-misc/linux-identd/
Date: Wed, 04 May 2016 00:11:03
Message-Id: 1462320517.daef698988fb673f2172c327b7c77ab12d861775.wizardedit@gentoo
1 commit: daef698988fb673f2172c327b7c77ab12d861775
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 4 00:02:03 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Wed May 4 00:08:37 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daef6989
7
8 net-misc/linux-identd: use #!/sbin/openrc-run instead of #!/sbin/runscript
9
10 Gentoo-Bug: https://bugs.gentoo.org/573846
11
12 Package-Manager: portage-2.2.26
13
14 net-misc/linux-identd/files/identd.init | 4 +--
15 net-misc/linux-identd/linux-identd-1.3-r2.ebuild | 36 ++++++++++++++++++++++++
16 2 files changed, 38 insertions(+), 2 deletions(-)
17
18 diff --git a/net-misc/linux-identd/files/identd.init b/net-misc/linux-identd/files/identd.init
19 index d5ffc5d..1e4629c 100644
20 --- a/net-misc/linux-identd/files/identd.init
21 +++ b/net-misc/linux-identd/files/identd.init
22 @@ -1,5 +1,5 @@
23 -#!/sbin/runscript
24 -# Copyright 1999-2004 Gentoo Foundation
25 +#!/sbin/openrc-run
26 +# Copyright 1999-2016 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 # $Id$
29
30
31 diff --git a/net-misc/linux-identd/linux-identd-1.3-r2.ebuild b/net-misc/linux-identd/linux-identd-1.3-r2.ebuild
32 new file mode 100644
33 index 0000000..2bf2394
34 --- /dev/null
35 +++ b/net-misc/linux-identd/linux-identd-1.3-r2.ebuild
36 @@ -0,0 +1,36 @@
37 +# Copyright 1999-2016 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +# $Id$
40 +
41 +EAPI=6
42 +
43 +inherit toolchain-funcs
44 +
45 +DESCRIPTION="A real IDENT daemon for linux"
46 +HOMEPAGE="http://www.fukt.bsnet.se/~per/identd/"
47 +SRC_URI="http://www.fukt.bsnet.se/~per/identd/${P}.tar.gz"
48 +
49 +LICENSE="GPL-2"
50 +SLOT="0"
51 +KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc sparc x86"
52 +IUSE="xinetd"
53 +
54 +DEPEND=""
55 +RDEPEND="xinetd? ( sys-apps/xinetd )"
56 +
57 +src_compile() {
58 + emake CC="$(tc-getCC)" CEXTRAS="${CFLAGS}"
59 +}
60 +
61 +src_install() {
62 + dodir /etc/init.d /usr/sbin /usr/share/man/man8
63 + dodoc README ChangeLog
64 + emake install DESTDIR="${D}" MANDIR=/usr/share/man
65 +
66 + if use xinetd; then
67 + insinto /etc/xinetd.d
68 + newins "${FILESDIR}"/identd.xinetd identd
69 + else
70 + newinitd "${FILESDIR}"/identd.init identd
71 + fi
72 +}