[gentoo-commits] repo/gentoo:master commit in: dev-perl/Net-Daemon/files/

2021-12-05 Thread Conrad Kostecki
commit: 563a1f2041a48efd20ac25170296327eba35fec2
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Thu Nov 25 16:55:32 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Dec  5 21:45:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=563a1f20

dev-perl/Net-Daemon: remove unused patch(es)

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../files/Net-Daemon-0.480.0-perl526.patch | 35 --
 1 file changed, 35 deletions(-)

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
deleted file mode 100644
index fee09acea6cd..
--- a/dev-perl/Net-Daemon/files/Net-Daemon-0.480.0-perl526.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 08cfbdfae6e6956e1e2bbc2d0821c64daea9fd55 Mon Sep 17 00:00:00 2001
-From: Kent Fredric 
-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
-



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Net-Daemon/files/, dev-perl/Net-Daemon/

2017-10-07 Thread Kent Fredric
commit: d9ba115614ecbeecb8fd940faf051359f60a144c
Author: Kent Fredric  gentoo  org>
AuthorDate: Sat Oct  7 21:46:58 2017 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Sat Oct  7 21:47:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9ba1156

dev-perl/Net-Daemon: Fix configfile reading bug #633722

- r1bump because this changes runtime code
- will need restable because this needs testing to happen
- tests restored, please do not disable them all again
- EAPI6

Bug: https://bugs.gentoo.org/633722
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-perl/Net-Daemon/Net-Daemon-0.480.0-r2.ebuild   | 21 +
 .../files/Net-Daemon-0.480.0-perl526.patch | 35 ++
 2 files changed, 56 insertions(+)

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 000..bf39a6b8edd
--- /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 000..fee09acea6c
--- /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 
+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
+