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/midentd/, net-misc/midentd/files/
Date: Wed, 04 May 2016 00:11:05
Message-Id: 1462320598.fdf3d9adf167bf95a221c6d3eb4f3789970a9c71.wizardedit@gentoo
1 commit: fdf3d9adf167bf95a221c6d3eb4f3789970a9c71
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 4 00:09:58 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Wed May 4 00:09:58 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdf3d9ad
7
8 net-misc/midentd: 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/midentd/files/midentd.rc | 4 +--
15 net-misc/midentd/midentd-2.3.1-r2.ebuild | 43 ++++++++++++++++++++++++++++++++
16 2 files changed, 45 insertions(+), 2 deletions(-)
17
18 diff --git a/net-misc/midentd/files/midentd.rc b/net-misc/midentd/files/midentd.rc
19 index ed89ba4..12ed1a6 100644
20 --- a/net-misc/midentd/files/midentd.rc
21 +++ b/net-misc/midentd/files/midentd.rc
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/midentd/midentd-2.3.1-r2.ebuild b/net-misc/midentd/midentd-2.3.1-r2.ebuild
32 new file mode 100644
33 index 0000000..07d4e6d
34 --- /dev/null
35 +++ b/net-misc/midentd/midentd-2.3.1-r2.ebuild
36 @@ -0,0 +1,43 @@
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 +DESCRIPTION="ident daemon with masquerading and fake replies support"
44 +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
45 +SRC_URI="mirror://gentoo/${P}.tar.gz"
46 +
47 +LICENSE="GPL-2"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~sparc x86"
50 +IUSE=""
51 +
52 +DEPEND=""
53 +RDEPEND="dev-lang/perl"
54 +
55 +src_prepare() {
56 + default
57 +
58 + eapply "${FILESDIR}"/${PV}-pidfile.patch
59 + sed -i \
60 + -e 's:/usr/local:/usr:' \
61 + -e 's:service ident:service auth:' \
62 + -e 's:disable = no:disable = yes:' \
63 + midentd.xinetd || die
64 +}
65 +
66 +src_install() {
67 + dosbin midentd midentd.logcycle
68 +
69 + insinto /etc/xinetd.d
70 + newins midentd.xinetd midentd
71 + newinitd "${FILESDIR}"/midentd.rc midentd
72 + newconfd "${FILESDIR}"/midentd.conf.d midentd
73 +
74 + dodoc CHANGELOG README
75 +
76 + dodir /var/log
77 + touch "${D}"/var/log/midentd.log
78 + fowners nobody:nobody /var/log/midentd.log
79 +}