diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-28 04:06:07 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-28 04:06:07 +0000 |
commit | ccf84bcd604130256d1377cd58f0a634ae6ee20f (patch) | |
tree | f42a709e0c7805183f5680883bc76dc935b7a0cc /dev-perl/Perlbal | |
parent | c85a90f90521c7e11d618b527d6630cc64cecbd4 (diff) |
gentoo resync : 28.12.2017
Diffstat (limited to 'dev-perl/Perlbal')
-rw-r--r-- | dev-perl/Perlbal/Manifest | 2 | ||||
-rw-r--r-- | dev-perl/Perlbal/Perlbal-1.800.0-r2.ebuild | 59 | ||||
-rw-r--r-- | dev-perl/Perlbal/files/Perlbal-1.80-init-scripts.patch | 55 |
3 files changed, 116 insertions, 0 deletions
diff --git a/dev-perl/Perlbal/Manifest b/dev-perl/Perlbal/Manifest index 28ea252d99b3..64f4b7fb1a32 100644 --- a/dev-perl/Perlbal/Manifest +++ b/dev-perl/Perlbal/Manifest @@ -1,6 +1,8 @@ AUX Perlbal-1.58-Use-saner-name-in-process-listing.patch 926 BLAKE2B 5774792f165e388831675cc7231f6c8c57ea811b320b8bc52f1c4c3fab4c9a445162b62a3910cbea15c0c33cd21e1bfaaef9ce976e6634d668adb107730409d8 SHA512 58f291d8cff24199ca70908d828518daa5102cbd66171b70a7babdc100b126f3752551e42fcc963c0d155c9d722c1f04c02fbda1e2053d310e2517eb82acf032 +AUX Perlbal-1.80-init-scripts.patch 1302 BLAKE2B 7f57134d74ebb709085076d66150bbc76fe97df3b11531137c3b7a14ffd48e71a05154a0acee7ad6f0e25e484f51864e6455b11c5a4c0ae85396d3d0354c61fd SHA512 567ddf016def6ff31756a7df6410d6b7f525102c4a963bfee2349999d82a39c8df36fad0f45fba8ae93ea98c0c87749507aed257bddc5ac985516a9818f8af61 AUX perlbal_conf.d_1.58 166 BLAKE2B e6abeaa18f77fce49f87ae264ef95757f3edea2d5e15e015eea1c3ac941e2be326b21184f66653dcd1ce89fd6ad458a6bd976e3df9520d12c4b89ce31973571c SHA512 ef3da161ca88e9853661c5ecdf987256f496b6e3dc7477b635fb466417a97d46b5d108590ca3f04f34a681a49870ac25f5af2bf0a8ffb5237e1902ffe2c008c2 AUX perlbal_init.d_1.58 364 BLAKE2B e42ca8313a3d31815a24efa40dfbd16f428719ca677e50808e935207084c6da6d0de001ad06653852def8ccb2a6c9dc5aba12ab90e57653bbfc98a3febe1a4f4 SHA512 7c3245d3065fc25b75bf9b4b6d2fc5bf6c88067146f73978c28424e81dbfe3775dc1f1c0f42cf1fe399bac30cc6260ef7e9fc458d3ab21b357fb0af664f77de5 DIST Perlbal-1.80.tar.gz 212701 BLAKE2B 63503e3a8df7ea2cfd463ed41b810627c456e406bae239b16e9d50685be21cf706248dbba054b45685e9b7ee4d2e3d0224cc9c73b5fe41c219e4bfcb6929aa95 SHA512 22d9fc9c92a85dce662a3d042fa6a3aa0fc942d935d95b87094a38961a2e72396cbc45eada80112eabb019a89b845b73a8e1d7720f3799bdbbe185e1404442e7 EBUILD Perlbal-1.800.0-r1.ebuild 1095 BLAKE2B 13e6c2679aef908cb6aa0212371fa8a80130b180b2959b74d9224e4b378452bce95ca349038510738f9e855fec507d0c8ce9f7a2ccc82813e1ae8c20c257b273 SHA512 67535b88bb9fb82253e7850f3297a17deef67c52a3387428c8dc83c319baf869ca727d9acdec7e433362ebdc925d28bed4c662f2a0a07e177573f7f80e6961d5 +EBUILD Perlbal-1.800.0-r2.ebuild 1260 BLAKE2B 2d36353ecf52583ce86ba0e9ee423eb38f4f527a4d09ba0f79bef879a53b5de850a6a90505a2a002c5a5a0f6809b7fce14e54486b92e9f7b6568f1fc73dd936b SHA512 022def7b77d20a4badbb6d009fd9ddee856ab646dbc3973127d0643796f1b494efb1c53dce95094ebdec431bfd6adc2a8c7408a4175d4701365a37f3f99af33d MISC metadata.xml 4030 BLAKE2B d72d195da526de349f897218a7e11b7b1740a0eec2cdf06b62b091a4e379f5f79c0d3cb49d2c991b27f9d88dd06d8c1ee4fcf097a4ffe1625fbf8b7e5516af9f SHA512 fdcfb77a2bb088b6e0f42b3a7e8270f00959ec59ac4ac4051c3a85ae3f3406982533a0d84bf7294b750ff404ce1aeb487b86709181fda9e8fa3112404e46190e diff --git a/dev-perl/Perlbal/Perlbal-1.800.0-r2.ebuild b/dev-perl/Perlbal/Perlbal-1.800.0-r2.ebuild new file mode 100644 index 000000000000..07ce73ed9d0a --- /dev/null +++ b/dev-perl/Perlbal/Perlbal-1.800.0-r2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=DORMANDO +DIST_VERSION=1.80 +inherit perl-module + +DESCRIPTION="Reverse-proxy load balancer and webserver" +HOMEPAGE="http://www.danga.com/perlbal/" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=" + dev-perl/libwww-perl + dev-perl/HTTP-Date + dev-perl/Sys-Syscall + >=dev-perl/Danga-Socket-1.440.0 + dev-perl/HTTP-Message + dev-perl/BSD-Resource + dev-perl/IO-AIO +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-1.58-Use-saner-name-in-process-listing.patch" + "${FILESDIR}/${PN}-1.80-init-scripts.patch" +) + +PERL_RM_FILES=( + # These currently fail for unclear reasons + "t/20-put.t" + "t/31-realworld.t" + "t/32-selector.t" + "t/35-reproxy.t" + "t/40-ranges.t" +) +DIST_TEST="do" # parallel testing broken + +src_install() { + perl-module_src_install || die "perl-module_src_install failed" + cd "${S}" + dodoc doc/*.txt + docinto hacking + dodoc doc/hacking/*.txt + docinto conf + dodoc conf/*.{dat,conf} + keepdir /etc/perlbal + newinitd "${S}"/gentoo/init.d/perlbal perlbal + newconfd "${S}"/gentoo/conf.d/perlbal perlbal +} + +pkg_postinst() { + einfo "Please see the example configuration files located" + einfo "within /usr/share/doc/${PF}/conf/" +} 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 + |