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-dialup/sercd/files/, net-dialup/sercd/
Date: Thu, 28 Apr 2016 22:00:44
Message-Id: 1461880772.e0333aff0166b56afe30ed1110e9a8af3e2bccdb.wizardedit@gentoo
1 commit: e0333aff0166b56afe30ed1110e9a8af3e2bccdb
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 28 21:59:00 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 28 21:59:32 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0333aff
7
8 net-dialup/sercd: 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-dialup/sercd/files/sercd.initd | 4 ++--
15 net-dialup/sercd/sercd-3.0.0-r2.ebuild | 36 ++++++++++++++++++++++++++++++++++
16 2 files changed, 38 insertions(+), 2 deletions(-)
17
18 diff --git a/net-dialup/sercd/files/sercd.initd b/net-dialup/sercd/files/sercd.initd
19 index c36ac1f..550bdfa 100644
20 --- a/net-dialup/sercd/files/sercd.initd
21 +++ b/net-dialup/sercd/files/sercd.initd
22 @@ -1,5 +1,5 @@
23 -#!/sbin/runscript
24 -# Copyright 1999-2014 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-dialup/sercd/sercd-3.0.0-r2.ebuild b/net-dialup/sercd/sercd-3.0.0-r2.ebuild
32 new file mode 100644
33 index 0000000..37af701
34 --- /dev/null
35 +++ b/net-dialup/sercd/sercd-3.0.0-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 eutils
44 +
45 +DESCRIPTION="RFC2217-compliant serial port redirector"
46 +HOMEPAGE="http://sourceforge.net/projects/sercd"
47 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
48 +
49 +LICENSE="GPL-2"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +
53 +IUSE="xinetd"
54 +
55 +RDEPEND="xinetd? ( virtual/inetd )"
56 +
57 +DOCS=( AUTHORS README )
58 +
59 +src_prepare() {
60 + eapply_user
61 +}
62 +
63 +src_install () {
64 + default
65 +
66 + newinitd "${FILESDIR}/${PN}.initd" "${PN}"
67 + newconfd "${FILESDIR}/${PN}.confd" "${PN}"
68 + if use xinetd ; then
69 + insinto /etc/xinetd.d
70 + newins "${FILESDIR}/${PN}.xinetd" "${PN}"
71 + fi
72 +}