summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2016-04-28 16:59:00 -0500
committerAustin English <wizardedit@gentoo.org>2016-04-28 16:59:32 -0500
commite0333aff0166b56afe30ed1110e9a8af3e2bccdb (patch)
treebfed48a1cf981732d9690f9c5f33d57fefff9971 /net-dialup/sercd
parentnet-dialup/sendpage: remove sendpage-1.1.0-r2 (diff)
downloadgentoo-e0333aff0166b56afe30ed1110e9a8af3e2bccdb.tar.gz
gentoo-e0333aff0166b56afe30ed1110e9a8af3e2bccdb.tar.bz2
gentoo-e0333aff0166b56afe30ed1110e9a8af3e2bccdb.zip
net-dialup/sercd: 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-dialup/sercd')
-rw-r--r--net-dialup/sercd/files/sercd.initd4
-rw-r--r--net-dialup/sercd/sercd-3.0.0-r2.ebuild36
2 files changed, 38 insertions, 2 deletions
diff --git a/net-dialup/sercd/files/sercd.initd b/net-dialup/sercd/files/sercd.initd
index c36ac1f81cf9..550bdfa0a716 100644
--- a/net-dialup/sercd/files/sercd.initd
+++ b/net-dialup/sercd/files/sercd.initd
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2014 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
diff --git a/net-dialup/sercd/sercd-3.0.0-r2.ebuild b/net-dialup/sercd/sercd-3.0.0-r2.ebuild
new file mode 100644
index 000000000000..37af70122fe7
--- /dev/null
+++ b/net-dialup/sercd/sercd-3.0.0-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 eutils
+
+DESCRIPTION="RFC2217-compliant serial port redirector"
+HOMEPAGE="http://sourceforge.net/projects/sercd"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="xinetd"
+
+RDEPEND="xinetd? ( virtual/inetd )"
+
+DOCS=( AUTHORS README )
+
+src_prepare() {
+ eapply_user
+}
+
+src_install () {
+ default
+
+ newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+ newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+ if use xinetd ; then
+ insinto /etc/xinetd.d
+ newins "${FILESDIR}/${PN}.xinetd" "${PN}"
+ fi
+}