summaryrefslogtreecommitdiff
path: root/dev-perl/Net-Daemon
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-perl/Net-Daemon
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-perl/Net-Daemon')
-rw-r--r--dev-perl/Net-Daemon/Manifest7
-rw-r--r--dev-perl/Net-Daemon/Net-Daemon-0.480.0-r1.ebuild15
-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
5 files changed, 94 insertions, 0 deletions
diff --git a/dev-perl/Net-Daemon/Manifest b/dev-perl/Net-Daemon/Manifest
new file mode 100644
index 000000000000..025cc0c3fa84
--- /dev/null
+++ b/dev-perl/Net-Daemon/Manifest
@@ -0,0 +1,7 @@
+AUX Net-Daemon-0.480.0-perl526.patch 941 SHA256 28f9b0b8f0bf021b88de6e110e85b4212175218d7210d52a6fff721eb31d7ee8 SHA512 5ddd7f00a608481ac63a53c7856ad8cb58b5dd61529ccbf2739e921c491a73098e32ef6408bfaed69891dadeb820a57dce406a773c23f4b78e6396ff801a32a3 WHIRLPOOL 306bd579cf5e2649a3904614dd379b8c8b746d6984f11649b6d846742582bc0e6b7e151f9e595e8438364a4c727782d1576a6447756c396fc5b93ed76e787383
+DIST Net-Daemon-0.48.tar.gz 29513 SHA256 3c12f1e44f9bbce427204a83dd73aa6dd2909e91190d32d6ec3563beca7bbc74 SHA512 85bc280adc0de6be8ebd64771732f83299018edd06441cf96c438914a16c3805918805cde07bae4fe92caa86475ad35cabfc1edfccff117dcce7f5dc8b137bba WHIRLPOOL 3fb6ec798124077180412f417986eb40ed47b3e6b04002710578436907f5a381fe4e92accfbdf0448bc00b83c28306b63c81a0314edcf255439c2541df25d125
+EBUILD Net-Daemon-0.480.0-r1.ebuild 499 SHA256 332caae5b379cf8af668a84170cfbb09849e7b59b310945913aca2a3e645f993 SHA512 9bf797c0bc838d548b3ee55625ee30ad295e669988ded651c65271c7edc9c70740dc403e4537305467e856b7c2fb099a51161933430bdcdc3641f2a82f249458 WHIRLPOOL a31d1ce6a094d439594821a354d96a4fc66059acf5e880e257a998493b7e57b13fb786a5dc1bfe0c04691076751cd1e6ace51b3197934afe6000d21d70f50e0c
+EBUILD Net-Daemon-0.480.0-r2.ebuild 651 SHA256 1f90adfefa4ba96f45c41f0421738cd649689fd3d6dc4d21c346f00bd5f8ec70 SHA512 68774725b055b3dc3de07afd44c0f7948193098739ccf520c1b2b0480eda2ed5d12fe7682ef1bd1354b2740b5e63bc0693e056def934b5bd4400d7e2958ab248 WHIRLPOOL 4ddf3bb1af795f45345d31b581cd86080ebd3afed0c18a6a3a04f9d4cb845e2ac9c891937d73c8377a0225b759144b085ccd3e4e45b471fecb2263ee01e14b32
+MISC ChangeLog 2446 SHA256 79a4835c064e320e46b809f04c194b8313cd825c43700a7f25a0d373e75929c5 SHA512 068b8ef4be677157174431e39f35417176a56512a98c468745e83f9c54630eae11e0f66ef5e7c05595b3decf8110d96ad4a9b0983b8b38b36c42f2b5daa1ac09 WHIRLPOOL b713b5afc23e148484ebeeb24f63feb6d398e21cad786ea131ab2c8ce5b1b1c922ff8619e7e2ffa82a9c87d9b46bc94079e92254aaf2762cb10cd5fa548b0ba0
+MISC ChangeLog-2015 9212 SHA256 bac85bbe19a78ae564a57e8f6db186fa695e09357472a96bf0ec7179e9309504 SHA512 7adcd3e1ae03732ffce9623fe530ad569709828453fcc1d9e8b92a469cd82e1c9025ab6944aa1d8e240370e8c1778b4fea3477c3388519528deffddf39b8f535 WHIRLPOOL 8625baa3cc73d4f611fe8fe5845e280a15c65f4a9d18909b9a8c9b79322d79d8fa065aa234de7c776e155b6d3b899b91e27fc99d0b8b36b1eabf399d062c3e8a
+MISC metadata.xml 660 SHA256 80c89f854082b279d55ccdd787df7730d22012ffaf06c0c24f73216cff41515b SHA512 abb2535a1bed81484e691e65d2282bcd2243ba65d5b7d09592397a88e32a98bb255e1b822ba91e0fe4109be6aa7d7036af2db731d8119ebeabbeae5e4e9d78e2 WHIRLPOOL c462b38b83d70d4f910f192b9ced272347079fca3b29b532e70c5b74bd9c23a33e5313c0acfafc972f8b5b434d8a83f7ba31c771bdcbf4b94d20b61abfb8e5c3
diff --git a/dev-perl/Net-Daemon/Net-Daemon-0.480.0-r1.ebuild b/dev-perl/Net-Daemon/Net-Daemon-0.480.0-r1.ebuild
new file mode 100644
index 000000000000..0973575e06d2
--- /dev/null
+++ b/dev-perl/Net-Daemon/Net-Daemon-0.480.0-r1.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MODULE_AUTHOR=MNOONING
+MODULE_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=""
+SRC_TEST="broken"
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..bf39a6b8edd4
--- /dev/null
+++ b/dev-perl/Net-Daemon/Net-Daemon-0.480.0-r2.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 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>