Skip to content
Permalink
Browse files

p5-http-daemon: update to version 6.04

More bug fixes.
  • Loading branch information
dbevans committed Apr 3, 2019
1 parent 2f8261b commit 0f37be6a270e2cbf8bb1abcd8cec593c2e34954c
Showing with 16 additions and 12 deletions.
  1. +4 −4 perl/p5-http-daemon/Portfile
  2. +12 −8 perl/p5-http-daemon/files/patch-fix-os-name.diff
@@ -4,17 +4,17 @@ PortSystem 1.0
PortGroup perl5 1.0

perl5.branches 5.26 5.28
perl5.setup HTTP-Daemon 6.03
perl5.setup HTTP-Daemon 6.04
platforms darwin
maintainers nomaintainer
license {Artistic-1 GPL}

description HTTP::Daemon - a simple HTTP server class
long_description ${description}

checksums rmd160 b6a5b202d694a687c1a5f21c287977aea22e5e2a \
sha256 384c2a18ec3bb447bba998c0e2688fbb765a7a877a875ad165057030ef61860c \
size 43989
checksums rmd160 ec79397bf59441d836d3c10f72823a152cdf6520 \
sha256 df053d8d5e581e58a470cec359d0f7ec0d05c23fb1be2c91804ddc6ab58aa88a \
size 43982

if {${perl5.major} != ""} {
depends_build-append \
@@ -1,6 +1,6 @@
diff -ur t.orig/local/http.t t/local/http.t
--- t.orig/local/http.t 2019-04-01 16:51:16.000000000 -0700
+++ t/local/http.t 2019-04-01 16:56:50.000000000 -0700
--- t.orig/local/http.t 2019-04-02 23:37:24.000000000 -0700
+++ t/local/http.t 2019-04-02 23:39:16.000000000 -0700
@@ -2,7 +2,7 @@

use Test::Needs 'LWP::UserAgent';
@@ -11,18 +11,22 @@ diff -ur t.orig/local/http.t t/local/http.t
exit(0);
}
diff -ur t.orig/robot/ua-get.t t/robot/ua-get.t
--- t.orig/robot/ua-get.t 2019-04-01 16:51:16.000000000 -0700
+++ t/robot/ua-get.t 2019-04-01 16:55:43.000000000 -0700
@@ -1,4 +1,4 @@
--- t.orig/robot/ua-get.t 2019-04-02 23:37:24.000000000 -0700
+++ t/robot/ua-get.t 2019-04-02 23:39:54.000000000 -0700
@@ -1,6 +1,6 @@
use Test::Needs 'LWP::RobotUA';

-if($^O eq "MacOS") {
+if($^O eq "darwin") {
print "1..0\n";
exit(0);
}
diff -ur t.orig/robot/ua.t t/robot/ua.t
--- t.orig/robot/ua.t 2019-04-01 16:51:16.000000000 -0700
+++ t/robot/ua.t 2019-04-01 16:56:23.000000000 -0700
@@ -1,4 +1,4 @@
--- t.orig/robot/ua.t 2019-04-02 23:37:24.000000000 -0700
+++ t/robot/ua.t 2019-04-02 23:40:23.000000000 -0700
@@ -1,6 +1,6 @@
use Test::Needs 'LWP::RobotUA';

-if($^O eq "MacOS") {
+if($^O eq "darwin") {
print "1..0\n";

0 comments on commit 0f37be6

Please sign in to comment.
You can’t perform that action at this time.