summaryrefslogtreecommitdiff
path: root/dev-perl/Net-Daemon
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-perl/Net-Daemon
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/Net-Daemon')
-rw-r--r--dev-perl/Net-Daemon/Manifest4
-rw-r--r--dev-perl/Net-Daemon/Net-Daemon-0.480.0-r2.ebuild21
-rw-r--r--dev-perl/Net-Daemon/files/Net-Daemon-0.480.0-perl526.patch35
-rw-r--r--dev-perl/Net-Daemon/metadata.xml16
4 files changed, 76 insertions, 0 deletions
diff --git a/dev-perl/Net-Daemon/Manifest b/dev-perl/Net-Daemon/Manifest
new file mode 100644
index 000000000000..a153b4e513ad
--- /dev/null
+++ b/dev-perl/Net-Daemon/Manifest
@@ -0,0 +1,4 @@
+AUX Net-Daemon-0.480.0-perl526.patch 941 BLAKE2B 04ef7335f9ddf52c4ddb3f0e3d9b0ec37306af001541299cf12888097d1985e9f5ab61f268ac5522a1ed826cfd7c7570cd1c7798810fd1403761ac95935f32ea SHA512 5ddd7f00a608481ac63a53c7856ad8cb58b5dd61529ccbf2739e921c491a73098e32ef6408bfaed69891dadeb820a57dce406a773c23f4b78e6396ff801a32a3
+DIST Net-Daemon-0.48.tar.gz 29513 BLAKE2B a5fe8eeb01a463ebfd7b274dea2d0b9a8e633588e35576ad24b5e40a4b06ff5f1321bc01bbfb63ceac8d8e5c9e85d15807dde3c5cb18b21e53da6d84ca24a999 SHA512 85bc280adc0de6be8ebd64771732f83299018edd06441cf96c438914a16c3805918805cde07bae4fe92caa86475ad35cabfc1edfccff117dcce7f5dc8b137bba
+EBUILD Net-Daemon-0.480.0-r2.ebuild 640 BLAKE2B c29fa551d49e0364a1a7223ba48ba0d02969c377753f0ee26b32eff617bf9a96fe945a85d62b66af06f648949fde0ba1af98673db1c02d11ad9a816847f92a90 SHA512 02e55275fef0213dacdea80ac1a80987928a4edb4ef1a560bf82f1c36f4ae62419abbfc858a4b4ee61909f97f8fc82de0a95f8932448cfe2b7aae0a1ac1494b7
+MISC metadata.xml 660 BLAKE2B 89b846cf8d8e9eefa29886106ee0708ed034e7135f43c621e76d25f860c36c34dffc5348a9af7badf3114e93e331596f93113b8d1a8f09586f29630440d5f735 SHA512 abb2535a1bed81484e691e65d2282bcd2243ba65d5b7d09592397a88e32a98bb255e1b822ba91e0fe4109be6aa7d7036af2db731d8119ebeabbeae5e4e9d78e2
diff --git a/dev-perl/Net-Daemon/Net-Daemon-0.480.0-r2.ebuild b/dev-perl/Net-Daemon/Net-Daemon-0.480.0-r2.ebuild
new file mode 100644
index 000000000000..b20fc451fd9a
--- /dev/null
+++ b/dev-perl/Net-Daemon/Net-Daemon-0.480.0-r2.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=MNOONING
+DIST_VERSION=0.48
+inherit perl-module
+
+DESCRIPTION="Abstract base class for portable servers"
+
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+PATCHES=(
+ "${FILESDIR}/${P}-perl526.patch"
+)
+# loop-t and loop-child-t race-condition
+# due to Net::Daemon::Test writing
+# specific files to CWD
+DIST_TEST="do"
diff --git a/dev-perl/Net-Daemon/files/Net-Daemon-0.480.0-perl526.patch b/dev-perl/Net-Daemon/files/Net-Daemon-0.480.0-perl526.patch
new file mode 100644
index 000000000000..fee09acea6cd
--- /dev/null
+++ b/dev-perl/Net-Daemon/files/Net-Daemon-0.480.0-perl526.patch
@@ -0,0 +1,35 @@
+From 08cfbdfae6e6956e1e2bbc2d0821c64daea9fd55 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentfredric@gmail.com>
+Date: Sun, 8 Oct 2017 10:17:23 +1300
+Subject: Fix ReadConfigFile implementation traversing @INC
+
+Bug: https://rt.cpan.org/Ticket/Display.html?id=123213
+Bug: https://bugs.gentoo.org/633722
+---
+ lib/Net/Daemon.pm | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/lib/Net/Daemon.pm b/lib/Net/Daemon.pm
+index fbcc9dd..6aaa151 100644
+--- a/lib/Net/Daemon.pm
++++ b/lib/Net/Daemon.pm
+@@ -29,6 +29,7 @@ use IO::Socket ();
+ use Config ();
+ use Net::Daemon::Log ();
+ use POSIX ();
++use File::Spec ();
+
+
+ package Net::Daemon;
+@@ -201,7 +202,7 @@ sub ReadConfigFile {
+ if (! -f $file) {
+ $self->Fatal("No such config file: $file");
+ }
+- my $copts = do $file;
++ my $copts = do File::Spec->rel2abs($file);
+ if ($@) {
+ $self->Fatal("Error while processing config file $file: $@");
+ }
+--
+2.14.1
+
diff --git a/dev-perl/Net-Daemon/metadata.xml b/dev-perl/Net-Daemon/metadata.xml
new file mode 100644
index 000000000000..597f1de41e70
--- /dev/null
+++ b/dev-perl/Net-Daemon/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>perl@gentoo.org</email>
+ <name>Gentoo Perl Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="cpan">Net-Daemon</remote-id>
+ <remote-id type="cpan-module">Net::Daemon</remote-id>
+ <remote-id type="cpan-module">Net::Daemon::Log</remote-id>
+ <remote-id type="cpan-module">Net::Daemon::Test</remote-id>
+ <remote-id type="cpan-module">Net::Daemon::Test::Fork</remote-id>
+ <remote-id type="cpan-module">Net::Daemon::Test::Win32</remote-id>
+ </upstream>
+</pkgmetadata>