1 |
commit: 652ed0ed5c33ff61ef15b0a23a4f175c91f05b5b |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 23 06:39:35 2017 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 23 06:41:41 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=652ed0ed |
7 |
|
8 |
dev-perl/Gearman-Server: Bump to version 1.130.1 |
9 |
|
10 |
- EAPI6 |
11 |
- Fix patch |
12 |
|
13 |
Upstream: |
14 |
- Fix using wrong default port ( was using old port ) |
15 |
- pod/typo fixes |
16 |
- Add support for binding specific IP's. |
17 |
|
18 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
19 |
|
20 |
.../Gearman-Server/Gearman-Server-1.130.1.ebuild | 33 ++++++++++++++++++++++ |
21 |
dev-perl/Gearman-Server/Manifest | 1 + |
22 |
...1.130.1-Use-saner-name-in-process-listing.patch | 33 ++++++++++++++++++++++ |
23 |
3 files changed, 67 insertions(+) |
24 |
|
25 |
diff --git a/dev-perl/Gearman-Server/Gearman-Server-1.130.1.ebuild b/dev-perl/Gearman-Server/Gearman-Server-1.130.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..53af3062288 |
28 |
--- /dev/null |
29 |
+++ b/dev-perl/Gearman-Server/Gearman-Server-1.130.1.ebuild |
30 |
@@ -0,0 +1,33 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+DIST_AUTHOR=PALIK |
37 |
+DIST_VERSION=v1.130.1 |
38 |
+inherit perl-module |
39 |
+ |
40 |
+DESCRIPTION="Gearman distributed job system - worker/client connector" |
41 |
+ |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~ppc ~x86" |
44 |
+IUSE="test" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ >=dev-perl/Danga-Socket-1.520.0 |
48 |
+ >=dev-perl/Gearman-1.07 |
49 |
+" |
50 |
+DEPEND="${RDEPEND} |
51 |
+ virtual/perl-ExtUtils-MakeMaker |
52 |
+ test? ( |
53 |
+ dev-perl/Test-Script |
54 |
+ ) |
55 |
+" |
56 |
+ |
57 |
+PATCHES=( "${FILESDIR}/${P}-Use-saner-name-in-process-listing.patch" ) |
58 |
+ |
59 |
+src_install() { |
60 |
+ perl-module_src_install |
61 |
+ newinitd "${FILESDIR}"/gearmand-init.d-1.09 gearmand |
62 |
+ newconfd "${FILESDIR}"/gearmand-conf.d-1.09 gearmand |
63 |
+} |
64 |
|
65 |
diff --git a/dev-perl/Gearman-Server/Manifest b/dev-perl/Gearman-Server/Manifest |
66 |
index 6a5bc5061c5..6a9614d9162 100644 |
67 |
--- a/dev-perl/Gearman-Server/Manifest |
68 |
+++ b/dev-perl/Gearman-Server/Manifest |
69 |
@@ -1 +1,2 @@ |
70 |
DIST Gearman-Server-1.12.tar.gz 16399 SHA256 d2270b76d250ce49c25a88fcb696bda4fce4a1025ec34292f40f194ca243ee29 SHA512 4a845db0bd981f20fe59cce26840f235379f33603d9f7e445e678fef97c20943ce237a6a8c5f3c8219a6548e24c6347f9aa1e3bfda9033d0afe8ffdaefe9f826 WHIRLPOOL c1fbfee799efb66f837882d6400e6f8a7d7171a6ef5c027d167e7e34af1686949f9064403f253aef4bfb7b5b9fc9396af7360f4d53f9a1273ed2d715fd562ecf |
71 |
+DIST Gearman-Server-v1.130.1.tar.gz 17585 SHA256 be1b6f5a3eef125a44e5daf2bfdf05d4f1b4161badc7dc82bcc84b8c8231535e SHA512 e8ed734ab7b2afb7e173397f91c58d990bdd223518234ebed77ba46dfd475afdf5aa90f805e26f7642aa7ec1429cf8766145344777e2af8912c2e02add57d033 WHIRLPOOL fae314160459b95674932845b4c582eca14d7fc14ba9d2e525dbd93e19c883161c391cb2c6c3b9c62a494a60e1bc7d3d842c6df9ef5d7f535f0c2474d6a26050 |
72 |
|
73 |
diff --git a/dev-perl/Gearman-Server/files/Gearman-Server-1.130.1-Use-saner-name-in-process-listing.patch b/dev-perl/Gearman-Server/files/Gearman-Server-1.130.1-Use-saner-name-in-process-listing.patch |
74 |
new file mode 100644 |
75 |
index 00000000000..c46ac0ecef5 |
76 |
--- /dev/null |
77 |
+++ b/dev-perl/Gearman-Server/files/Gearman-Server-1.130.1-Use-saner-name-in-process-listing.patch |
78 |
@@ -0,0 +1,33 @@ |
79 |
+From acd6722c16e17ddbdf6c73c99c693b7674f0fea7 Mon Sep 17 00:00:00 2001 |
80 |
+From: "Robin H. Johnson" <robbat2@g.o> |
81 |
+Date: Sat, 12 May 2007 22:16:37 -0700 |
82 |
+Subject: Use saner name in process listing. |
83 |
+ |
84 |
+Normally the binary will turn up in the process list as: |
85 |
+/usr/bin/perl $SCRIPTNAME |
86 |
+ |
87 |
+By adding a single line, we can make it be simply '$SCRIPTNAME'. |
88 |
+This makes writing init.d scripts signficently easier. |
89 |
+ |
90 |
+Signed-off-by: Robin H. Johnson <robbat2@g.o> |
91 |
+--- |
92 |
+ bin/gearmand | 3 +++ |
93 |
+ 1 file changed, 3 insertions(+) |
94 |
+ |
95 |
+diff --git a/bin/gearmand b/bin/gearmand |
96 |
+index 6046a99..68d1bcf 100755 |
97 |
+--- a/bin/gearmand |
98 |
++++ b/bin/gearmand |
99 |
+@@ -130,6 +130,9 @@ my ($daemonize, $nokeepalive, $notify_pid, $opt_pidfile, $accept, $wakeup, |
100 |
+ $wakeup_delay, $conf_host,); |
101 |
+ my $conf_port = 4730; |
102 |
+ |
103 |
++# Rename binary in process list to make init scripts saner |
104 |
++$0 = $_ = $0; |
105 |
++ |
106 |
+ Getopt::Long::GetOptions( |
107 |
+ 'd|daemonize' => \$daemonize, |
108 |
+ 'p|port=i' => \$conf_port, |
109 |
+-- |
110 |
+2.14.2 |
111 |
+ |