diff options
author | Kent Fredric <kentnl@gentoo.org> | 2017-12-27 21:09:18 +1300 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2017-12-27 21:09:58 +1300 |
commit | 85ef5b12ea32518d680b44cbd5274a1b5bc300da (patch) | |
tree | f76fefdbf9cbaf181b9fb1e816ebe5519892cbff /dev-perl/Perlbal/files | |
parent | dev-perl/PerlIO-via-Timeout: Add missing CPAN remote-id's (diff) | |
download | gentoo-85ef5b12ea32518d680b44cbd5274a1b5bc300da.tar.gz gentoo-85ef5b12ea32518d680b44cbd5274a1b5bc300da.tar.bz2 gentoo-85ef5b12ea32518d680b44cbd5274a1b5bc300da.zip |
dev-perl/Perlbal: EAPI6 + tests
- EAPI6ify
- Enable tests
- Convert init scripts into patches to make it easier to tweak
from eapply_user ( due to a fixed path in ${S} )
- Disable currently failing tests pending more investigation, as
disabling some known buggy tests is better than disabling *all* tests
as without *some* tests, we cant' even tell it compiles.
Package-Manager: Portage-2.3.18, Repoman-2.3.6
Diffstat (limited to 'dev-perl/Perlbal/files')
-rw-r--r-- | dev-perl/Perlbal/files/Perlbal-1.80-init-scripts.patch | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/dev-perl/Perlbal/files/Perlbal-1.80-init-scripts.patch b/dev-perl/Perlbal/files/Perlbal-1.80-init-scripts.patch new file mode 100644 index 000000000000..4e0b33c76146 --- /dev/null +++ b/dev-perl/Perlbal/files/Perlbal-1.80-init-scripts.patch @@ -0,0 +1,55 @@ +From d942cda4543a68d0b93150fe80428f0b6d72d536 Mon Sep 17 00:00:00 2001 +From: "Robin H. Johnson" <robbat2@gentoo.org> +Date: Sun, 13 May 2007 20:18:36 +1200 +Subject: Add init script and configuration + +--- + gentoo/conf.d/perlbal | 4 ++++ + gentoo/init.d/perlbal | 24 ++++++++++++++++++++++++ + 2 files changed, 28 insertions(+) + create mode 100644 gentoo/conf.d/perlbal + create mode 100755 gentoo/init.d/perlbal + +diff --git a/gentoo/conf.d/perlbal b/gentoo/conf.d/perlbal +new file mode 100644 +index 0000000..1ddb6e1 +--- /dev/null ++++ b/gentoo/conf.d/perlbal +@@ -0,0 +1,4 @@ ++# PIDFILE is not yet used, pending upstream still ++#PIDFILE="/var/run/perlbal.pid" ++PERLBAL_OPTS="--daemon --config=/etc/perlbal/perlbal.conf" ++# vim: ft=gentoo-conf-d: +diff --git a/gentoo/init.d/perlbal b/gentoo/init.d/perlbal +new file mode 100755 +index 0000000..a3db214 +--- /dev/null ++++ b/gentoo/init.d/perlbal +@@ -0,0 +1,24 @@ ++#!/sbin/openrc-run ++ ++NAME="perlbal" ++BINARY="/usr/bin/perlbal" ++ ++depend() { ++ use net ++} ++ ++start() { ++ ebegin "Starting $NAME" ++ # Add --pidfile when upstream supports PIDFILES ++ start-stop-daemon --start \ ++ --exec ${BINARY} -- ${PERLBAL_OPTS} ++ eend $? ++} ++ ++stop() { ++ ebegin "Stopping $NAME" ++ start-stop-daemon --stop --exec "${BINARY}" ++ eend $? ++} ++ ++# vim: ft=gentoo-init-d: +-- +2.15.1 + |