From e0333aff0166b56afe30ed1110e9a8af3e2bccdb Mon Sep 17 00:00:00 2001 From: Austin English Date: Thu, 28 Apr 2016 16:59:00 -0500 Subject: net-dialup/sercd: use #!/sbin/openrc-run instead of #!/sbin/runscript Gentoo-Bug: https://bugs.gentoo.org/573846 Package-Manager: portage-2.2.26 --- net-dialup/sercd/files/sercd.initd | 4 ++-- net-dialup/sercd/sercd-3.0.0-r2.ebuild | 36 ++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 net-dialup/sercd/sercd-3.0.0-r2.ebuild (limited to 'net-dialup/sercd') 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 +} -- cgit v1.2.3-65-gdbad