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/mdidentd/files/, net-misc/mdidentd/
Date: Wed, 04 May 2016 00:11:05
Message-Id: 1462320517.44c9289ba797653d62f7e08233e6dbdf187be263.wizardedit@gentoo
1 commit: 44c9289ba797653d62f7e08233e6dbdf187be263
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 4 00:07:50 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=44c9289b
7
8 net-misc/mdidentd: 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/mdidentd/files/mdidentd.init.d | 4 +--
15 net-misc/mdidentd/mdidentd-1.04c-r1.ebuild | 50 ++++++++++++++++++++++++++++++
16 2 files changed, 52 insertions(+), 2 deletions(-)
17
18 diff --git a/net-misc/mdidentd/files/mdidentd.init.d b/net-misc/mdidentd/files/mdidentd.init.d
19 index a21e287..8144c09 100644
20 --- a/net-misc/mdidentd/files/mdidentd.init.d
21 +++ b/net-misc/mdidentd/files/mdidentd.init.d
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/mdidentd/mdidentd-1.04c-r1.ebuild b/net-misc/mdidentd/mdidentd-1.04c-r1.ebuild
32 new file mode 100644
33 index 0000000..8dd559e
34 --- /dev/null
35 +++ b/net-misc/mdidentd/mdidentd-1.04c-r1.ebuild
36 @@ -0,0 +1,50 @@
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 user
44 +
45 +DESCRIPTION="This is an identd with provides registering of idents"
46 +HOMEPAGE="http://druglord.freelsd.org/ezbounce/"
47 +SRC_URI="http://druglord.freelsd.org/ezbounce/files/ezbounce-${PV}.tar.gz"
48 +
49 +LICENSE="GPL-2"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~ppc ~x86"
52 +IUSE="ssl"
53 +
54 +DEPEND="ssl? ( dev-libs/openssl )"
55 +RDEPEND="${DEPEND}"
56 +
57 +S=${WORKDIR}/ezbounce-${PV}
58 +
59 +pkg_setup() {
60 + enewgroup mdidentd
61 + enewuser mdidentd -1 -1 /dev/null mdidentd
62 +}
63 +
64 +src_prepare() {
65 + eapply "${FILESDIR}"/1.04a-security.patch
66 + eapply -p0 "${FILESDIR}"/1.04a-pidfile.patch
67 + eapply -p1 "${FILESDIR}"/1.04a-glibc210.patch
68 +
69 + default
70 +}
71 +
72 +src_configure() {
73 + econf $(use_with ssl)
74 +}
75 +
76 +src_compile() {
77 + emake CXX="$(tc-getCXX)" -C mdidentd CXX_OPTIMIZATIONS="${CXXFLAGS}"
78 +}
79 +
80 +src_install() {
81 + dosbin mdidentd/mdidentd
82 + dodoc mdidentd/README
83 +
84 + newinitd "${FILESDIR}"/mdidentd.init.d mdidentd
85 + newconfd "${FILESDIR}"/mdidentd.conf.d mdidentd
86 +}