From: "Austin English" <wizardedit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/termpkg/files/, net-misc/termpkg/
Date: Wed, 4 May 2016 01:02:18 +0000 (UTC) [thread overview]
Message-ID: <1462323274.c07c7081dc292ae9f040f5e38f117dddefd61b49.wizardedit@gentoo> (raw)
commit: c07c7081dc292ae9f040f5e38f117dddefd61b49
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed May 4 00:54:34 2016 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed May 4 00:54:34 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c07c7081
net-misc/termpkg: use #!/sbin/openrc-run instead of #!/sbin/runscript
Gentoo-Bug: https://bugs.gentoo.org/573846
Package-Manager: portage-2.2.26
net-misc/termpkg/files/termnetd.initd | 4 +-
net-misc/termpkg/files/ttyd.initd | 4 +-
net-misc/termpkg/termpkg-3.3.9.1-r2.ebuild | 65 ++++++++++++++++++++++++++++++
3 files changed, 69 insertions(+), 4 deletions(-)
diff --git a/net-misc/termpkg/files/termnetd.initd b/net-misc/termpkg/files/termnetd.initd
index 90e2462..010c5c3 100644
--- a/net-misc/termpkg/files/termnetd.initd
+++ b/net-misc/termpkg/files/termnetd.initd
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2012 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-misc/termpkg/files/ttyd.initd b/net-misc/termpkg/files/ttyd.initd
index abcb691..3193053 100644
--- a/net-misc/termpkg/files/ttyd.initd
+++ b/net-misc/termpkg/files/ttyd.initd
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2012 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-misc/termpkg/termpkg-3.3.9.1-r2.ebuild b/net-misc/termpkg/termpkg-3.3.9.1-r2.ebuild
new file mode 100644
index 0000000..5cdb58f
--- /dev/null
+++ b/net-misc/termpkg/termpkg-3.3.9.1-r2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit base versionator
+
+MY_PV=$(get_version_component_range 1-2)
+MY_PF=$(replace_version_separator 2 '-')
+
+DESCRIPTION="Termpkg, the Poor Man's Terminal Server"
+HOMEPAGE="http://www.linuxlots.com/~termpkg/"
+SRC_URI="mirror://debian/pool/main/t/termpkg/${PN}_${MY_PV}.orig.tar.gz
+ mirror://debian/pool/main/t/termpkg/${PN}_${MY_PF}.diff.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+uucp"
+
+DEPEND="sys-devel/flex"
+RDEPEND=""
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+DOCS=(
+ "README"
+ "CHANGES"
+ "termpkg.lsm"
+)
+
+PATCHES=(
+ # debian patches
+ "${WORKDIR}/${PN}_${MY_PF}.diff"
+
+ # gentoo patches
+ "${FILESDIR}/${P}-gcc43.diff"
+
+ # iaxmodem patches
+ "${FILESDIR}/${PN}-${MY_PV}-ttydforfax.diff"
+)
+
+src_configure() {
+ ./configure LINUX $(use uucp && echo UUCP_LOCKING)
+}
+
+src_compile() {
+ emake -C linux CC=$(tc-getCC) LIBS="${LDFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ local X
+ base_src_install_docs
+ dobin linux/bin/termnet
+ dosbin linux/bin/{termnetd,ttyd}
+ newdoc debian/changelog ChangeLog.debian
+ doman doc/*.1
+ insinto /etc
+ newins debian/termnetd.conf termnetd.conf.dist
+ for X in termnetd ttyd; do
+ newinitd "${FILESDIR}/${X}.initd" "${X}"
+ newconfd "${FILESDIR}/${X}.confd" "${X}"
+ done
+}
reply other threads:[~2016-05-04 1:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1462323274.c07c7081dc292ae9f040f5e38f117dddefd61b49.wizardedit@gentoo \
--to=wizardedit@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox