mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-31 09:08:08 -07:00
dev-perl/Gearman-Server: Cleanup old version 1.120.0-r1
Package-Manager: Portage-2.3.29, Repoman-2.3.9
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=1.12
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Gearman distributed job system - worker/client connector"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/Danga-Socket-1.520.0
|
||||
>=dev-perl/Gearman-1.07
|
||||
!!sys-cluster/gearmand
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/$PN-1.09-Use-saner-name-in-process-listing.patch" )
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
newinitd "${FILESDIR}"/gearmand-init.d-1.09 gearmand
|
||||
newconfd "${FILESDIR}"/gearmand-conf.d-1.09 gearmand
|
||||
}
|
||||
@@ -1,2 +1 @@
|
||||
DIST Gearman-Server-1.12.tar.gz 16399 BLAKE2B 42016375c8e1b8676fceb93503eab824584eba9a6df34fbdc218269997c85c16a5c63f1aafbe9f03e687e20720e8edc5fb8eb36a045b026bf579d1678c0036b5 SHA512 4a845db0bd981f20fe59cce26840f235379f33603d9f7e445e678fef97c20943ce237a6a8c5f3c8219a6548e24c6347f9aa1e3bfda9033d0afe8ffdaefe9f826
|
||||
DIST Gearman-Server-v1.130.1.tar.gz 17585 BLAKE2B 9160639b9ffa12f88c37b07894b77b99085bfdb29902533f2f9dd175458a63c5e01ab7cdcb26af87494461fc853860b5dcf6bb33d7b6adbea0cc3a962f4400d8 SHA512 e8ed734ab7b2afb7e173397f91c58d990bdd223518234ebed77ba46dfd475afdf5aa90f805e26f7642aa7ec1429cf8766145344777e2af8912c2e02add57d033
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
From 6d8055b1d44d745f194665458674c6e03f48f322 Mon Sep 17 00:00:00 2001
|
||||
From: Robin H. Johnson <robbat2@gentoo.org>
|
||||
Date: Sat, 12 May 2007 22:16:37 -0700
|
||||
Subject: [PATCH gearman] Use saner name in process listing.
|
||||
|
||||
Normally the binary will turn up in the process list as:
|
||||
/usr/bin/perl $SCRIPTNAME
|
||||
|
||||
By adding a single line, we can make it be simply '$SCRIPTNAME'.
|
||||
This makes writing init.d scripts signficently easier.
|
||||
|
||||
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
||||
---
|
||||
server/gearmand | 3 +++
|
||||
1 files changed, 3 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/server/gearmand b/server/gearmand
|
||||
index 2d8bd6b..148b1f9 100755
|
||||
--- a/server/gearmand
|
||||
+++ b/server/gearmand
|
||||
@@ -94,6 +94,9 @@ my (
|
||||
);
|
||||
my $conf_port = 7003;
|
||||
|
||||
+# Rename binary in process list to make init scripts saner
|
||||
+$0 = $_ = $0;
|
||||
+
|
||||
Getopt::Long::GetOptions(
|
||||
'd|daemonize' => \$daemonize,
|
||||
'p|port=i' => \$conf_port,
|
||||
--
|
||||
1.5.1.4
|
||||
|
||||
Reference in New Issue
Block a user