net-misc/blinkperl: use #!/sbin/openrc-run instead of #!/sbin/runscript
authorAustin English <wizardedit@gentoo.org>
Tue, 3 May 2016 21:27:44 +0000 (16:27 -0500)
committerAustin English <wizardedit@gentoo.org>
Wed, 4 May 2016 00:08:37 +0000 (19:08 -0500)
Gentoo-Bug: https://bugs.gentoo.org/573846

Also:
* Update to EAPI=6
* Add patch fixing build

Package-Manager: portage-2.2.26

net-misc/blinkperl/blinkperl-20030301-r2.ebuild [new file with mode: 0644]
net-misc/blinkperl/files/blinkperl-20030301-fix-pod2man.patch [new file with mode: 0644]
net-misc/blinkperl/files/blinkperl.rc

diff --git a/net-misc/blinkperl/blinkperl-20030301-r2.ebuild b/net-misc/blinkperl/blinkperl-20030301-r2.ebuild
new file mode 100644 (file)
index 0000000..dc5df47
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MY_P="${PN}-2003-02-08"
+S=${WORKDIR}/${PN}
+
+DESCRIPTION="blinkperl is a telnet server, which plays BlinkenLight movies"
+SRC_URI="mirror://sourceforge/blinkserv/${MY_P}.tar.gz"
+HOMEPAGE="http://blinkserv.sourceforge.net/"
+
+SLOT="0"
+KEYWORDS="~hppa x86"
+LICENSE="GPL-2"
+IUSE=""
+DEPEND=""
+RDEPEND="dev-lang/perl dev-perl/Term-ANSIScreen"
+
+PATCHES=(      "${FILESDIR}"/${P}-fix-pod2man.patch
+                       "${FILESDIR}"/${P}-non-local.patch
+                       "${FILESDIR}"/${P}-Makefile.patch )
+
+src_install() {
+       default
+
+       newinitd "${FILESDIR}"/blinkperl.rc blinkperl
+       newconfd "${FILESDIR}"/blinkperl.confd blinkperl
+}
diff --git a/net-misc/blinkperl/files/blinkperl-20030301-fix-pod2man.patch b/net-misc/blinkperl/files/blinkperl-20030301-fix-pod2man.patch
new file mode 100644 (file)
index 0000000..01f8703
--- /dev/null
@@ -0,0 +1,11 @@
+--- blinkperl/blinkserver.pl.orig      2016-05-03 16:22:49.510379864 -0500
++++ blinkperl/blinkserver.pl   2016-05-03 16:22:27.172380760 -0500
+@@ -148,6 +148,8 @@
+ =item B<--port>=I<number>: On which Port should the server listen?
++=back
++
+ =head1 DESCRIPTION
+ B<This program> will listen on the defined port (current default value: 10001)
index b5b07bda1c1e6e57cef742e517f255101aceb324..4d9aca88eafcc906a92002ffa2eb85d3fb6345e6 100644 (file)
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 depend() {