summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Coie <rac@gentoo.org>2003-05-09 00:31:39 +0000
committerRobert Coie <rac@gentoo.org>2003-05-09 00:31:39 +0000
commit42287ecc11062713440a61069d86bbab47a4a960 (patch)
tree1fe821ef3d96e66ccfa1ce20570831c734fffa45 /net-misc
parentinitial import based on bug 15331 (diff)
downloadhistorical-42287ecc11062713440a61069d86bbab47a4a960.tar.gz
historical-42287ecc11062713440a61069d86bbab47a4a960.tar.bz2
historical-42287ecc11062713440a61069d86bbab47a4a960.zip
initial import from bug 15330
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/blinkperl/ChangeLog11
-rw-r--r--net-misc/blinkperl/Manifest5
-rw-r--r--net-misc/blinkperl/blinkperl-20030301.ebuild33
-rw-r--r--net-misc/blinkperl/files/blinkperl.confd3
-rw-r--r--net-misc/blinkperl/files/blinkperl.rc19
-rw-r--r--net-misc/blinkperl/files/digest-blinkperl-200303011
6 files changed, 72 insertions, 0 deletions
diff --git a/net-misc/blinkperl/ChangeLog b/net-misc/blinkperl/ChangeLog
new file mode 100644
index 000000000000..69c7a2b35c97
--- /dev/null
+++ b/net-misc/blinkperl/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-misc/blinkperl
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/blinkperl/ChangeLog,v 1.1 2003/05/09 00:31:37 rac Exp $
+
+*blinkperl-20030301 (08 May 2003)
+
+ 08 May 2003; <rac@gentoo.org> blinkperl-20030301.ebuild,
+ files/blinkperl.confd, files/blinkperl.rc:
+ initial import, based on ebuild submitted by Thomas Arnhold <mail@slysoft.de>
+ in bug 15330
+
diff --git a/net-misc/blinkperl/Manifest b/net-misc/blinkperl/Manifest
new file mode 100644
index 000000000000..ca6e7faeb250
--- /dev/null
+++ b/net-misc/blinkperl/Manifest
@@ -0,0 +1,5 @@
+MD5 35a4d654c6df8d02e0b683dee62bd42a blinkperl-20030301.ebuild 935
+MD5 4876610d43e03715f1b009333c63d2f6 ChangeLog 450
+MD5 5029a230184a42ab2ecc8f133c9691e8 files/digest-blinkperl-20030301 71
+MD5 4ae997254668399e69e0300344f5d723 files/blinkperl.confd 74
+MD5 fc4fb44e92825d85c4618de507289364 files/blinkperl.rc 461
diff --git a/net-misc/blinkperl/blinkperl-20030301.ebuild b/net-misc/blinkperl/blinkperl-20030301.ebuild
new file mode 100644
index 000000000000..dc695cd7d7ab
--- /dev/null
+++ b/net-misc/blinkperl/blinkperl-20030301.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/blinkperl/blinkperl-20030301.ebuild,v 1.1 2003/05/09 00:31:37 rac Exp $
+
+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="~x86"
+LICENSE="GPL-2"
+
+DEPEND=""
+RDEPEND="dev-lang/perl dev-perl/Term-ANSIScreen"
+
+src_unpack() {
+ unpack ${A}
+
+ # please don't hardcode paths like this into programs, folks.
+ # that's why makefiles exist.
+
+ sed -i -e 's/local\/share/share/' ${S}/blinkserver.pl
+}
+
+src_install() {
+ make PREFIX=/usr DESTDIR=${D} install || die
+
+ exeinto /etc/init.d; newexe ${FILESDIR}/blinkperl.rc blinkperl
+ insinto /etc/conf.d; newins ${FILESDIR}/blinkperl.confd blinkperl
+}
diff --git a/net-misc/blinkperl/files/blinkperl.confd b/net-misc/blinkperl/files/blinkperl.confd
new file mode 100644
index 000000000000..3eab7db5a977
--- /dev/null
+++ b/net-misc/blinkperl/files/blinkperl.confd
@@ -0,0 +1,3 @@
+# config what port to listen for telnet connections on
+BLINKPORT="10001"
+
diff --git a/net-misc/blinkperl/files/blinkperl.rc b/net-misc/blinkperl/files/blinkperl.rc
new file mode 100644
index 000000000000..f3683dfc3f46
--- /dev/null
+++ b/net-misc/blinkperl/files/blinkperl.rc
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting blinkserver"
+ start-stop-daemon -o --background --quiet --start --exec /usr/bin/blinkserver.pl --pidfile /var/run/blinkserver.pid -- --port=${BLINKPORT}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping blinkserver"
+ start-stop-daemon -o --quiet --stop --name blinkserver.pl
+ eend $?
+}
diff --git a/net-misc/blinkperl/files/digest-blinkperl-20030301 b/net-misc/blinkperl/files/digest-blinkperl-20030301
new file mode 100644
index 000000000000..f60497682b9a
--- /dev/null
+++ b/net-misc/blinkperl/files/digest-blinkperl-20030301
@@ -0,0 +1 @@
+MD5 8e83ed308f4708e2718784f7aac959c0 blinkperl-2003-02-08.tar.gz 64918