From d1c01bce97fdca1f923d15e4165edb6b0a4345af Mon Sep 17 00:00:00 2001 From: blue-devil Date: Tue, 14 Jan 2020 20:24:36 +0000 Subject: [PATCH] use perl-HTTP-Daemon:version bump --- .../language/perl/perl-HTTP-Daemon/actions.py | 2 +- ...-Daemon-6.04-EU-MM-is-not-deprecated.patch | 92 +++++++++++++++++++ .../language/perl/perl-HTTP-Daemon/pspec.xml | 25 ++++- .../perl/perl-HTTP-Daemon/translations.xml | 6 +- 4 files changed, 116 insertions(+), 9 deletions(-) create mode 100644 programming/language/perl/perl-HTTP-Daemon/files/HTTP-Daemon-6.04-EU-MM-is-not-deprecated.patch diff --git a/programming/language/perl/perl-HTTP-Daemon/actions.py b/programming/language/perl/perl-HTTP-Daemon/actions.py index a582e84f85..cbf1726e50 100644 --- a/programming/language/perl/perl-HTTP-Daemon/actions.py +++ b/programming/language/perl/perl-HTTP-Daemon/actions.py @@ -21,4 +21,4 @@ def install(): perlmodules.install() pisitools.remove("/usr/share/man/man3/HTTP::Daemon.3pm") - pisitools.dodoc("Changes", "MANIFEST", "README") + pisitools.dodoc("LICENCE", "README") \ No newline at end of file diff --git a/programming/language/perl/perl-HTTP-Daemon/files/HTTP-Daemon-6.04-EU-MM-is-not-deprecated.patch b/programming/language/perl/perl-HTTP-Daemon/files/HTTP-Daemon-6.04-EU-MM-is-not-deprecated.patch new file mode 100644 index 0000000000..450f193f7a --- /dev/null +++ b/programming/language/perl/perl-HTTP-Daemon/files/HTTP-Daemon-6.04-EU-MM-is-not-deprecated.patch @@ -0,0 +1,92 @@ +From 30b91a0898e50874886343b66d27f78eaf960faf Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Tue, 2 Apr 2019 16:54:42 +0200 +Subject: [PATCH] EU::MM is not deprecated +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Contrary to the warning in the Makefile.PL, only ExtUtils::MakeMaker +is a full-fledged system. Module::Build is not maintained anymore and +Module::Build::Tiny contains design flaws regarding XS compilation. + +Signed-off-by: Petr Písař +--- + Makefile.PL | 61 ----------------------------------------------------- + 1 file changed, 61 deletions(-) + +diff --git a/Makefile.PL b/Makefile.PL +index 5915c46..e98af42 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -9,67 +9,6 @@ use warnings; + use 5.006; + use ExtUtils::MakeMaker; + +-BEGIN { +-my %configure_requires = ( +- 'ExtUtils::MakeMaker' => '0', +- 'Module::Build::Tiny' => '0.034', +-); +- +-my %errors = map { +- eval "require $_; $_->VERSION($configure_requires{$_}); 1"; +- $_ => $@, +-} keys %configure_requires; +- +-if (grep { $_ } values %errors) +-{ +- warn "Errors from configure prereqs:\n" +- . do { +- require Data::Dumper; Data::Dumper->new([ \%errors ])->Indent(2)->Terse(1)->Sortkeys(1)->Dump; +- }; +-} +- +-if (not $ENV{PERL_MM_FALLBACK_SILENCE_WARNING}) +-{ +- warn <<'EOW'; +-*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING *** +- +-If you're seeing this warning, your toolchain is really, really old* and +-you'll almost certainly have problems installing CPAN modules from this +-century. But never fear, dear user, for we have the technology to fix this! +- +-If you're using CPAN.pm to install things, then you can upgrade it using: +- +- cpan CPAN +- +-If you're using CPANPLUS to install things, then you can upgrade it using: +- +- cpanp CPANPLUS +- +-If you're using cpanminus, you shouldn't be seeing this message in the first +-place, so please file an issue on github. +- +-If you're using a packaging tool through a unix distribution, this issue +-should be reported to the package manager. +- +-If you're installing manually, please retrain your fingers to run Build.PL +-when present instead of Makefile.PL. +- +-This public service announcement was brought to you by the Perl Toolchain +-Gang, the irc.perl.org #toolchain IRC channel, and the number 42. +- +----- +- +-* Alternatively, you are doing something overly clever, in which case you +-should consider setting the 'prefer_installer' config option in CPAN.pm, or +-'prefer_makefile' in CPANPLUS, to 'mb" and '0' respectively. +- +-You can also silence this warning for future installations by setting the +-PERL_MM_FALLBACK_SILENCE_WARNING environment variable. +-EOW +- sleep 10 if -t STDIN && (-t STDOUT || !(-f STDOUT || -c STDOUT)); +-} +-} # end BEGIN +- + my %WriteMakefileArgs = ( + "ABSTRACT" => "A simple http server class", + "AUTHOR" => "Gisle Aas ", +-- +2.20.1 + diff --git a/programming/language/perl/perl-HTTP-Daemon/pspec.xml b/programming/language/perl/perl-HTTP-Daemon/pspec.xml index 3d97a91297..02eedcae76 100644 --- a/programming/language/perl/perl-HTTP-Daemon/pspec.xml +++ b/programming/language/perl/perl-HTTP-Daemon/pspec.xml @@ -1,9 +1,9 @@ - + perl-HTTP-Daemon - http://search.cpan.org/~gaas/HTTP-Daemon-6.01/ + https://metacpan.org/pod/HTTP::Daemon Osman Erkan osman.erkan@pisilinux.org @@ -12,18 +12,26 @@ GPLv2 programming.language.perl app:console - a simple http server class + A simple http server class Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen on a socket for incoming requests. - http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Daemon-6.01.tar.gz + https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTTP-Daemon-6.06.tar.gz perl + perl-Module-Build + + HTTP-Daemon-6.04-EU-MM-is-not-deprecated.patch + perl-HTTP-Daemon + A simple http server class perl + perl-HTTP-Date + perl-HTTP-Message + perl-LWP-Mediatypes /usr/lib @@ -34,6 +42,13 @@ + + 2020-01-13 + 6.06 + Version bump. + Blue Devil + bluedevil@sctzine.com + 2018-07-26 6.01 @@ -63,4 +78,4 @@ marcin@pisilinux.org - + \ No newline at end of file diff --git a/programming/language/perl/perl-HTTP-Daemon/translations.xml b/programming/language/perl/perl-HTTP-Daemon/translations.xml index 02bf3049ff..a3dd1691b1 100644 --- a/programming/language/perl/perl-HTTP-Daemon/translations.xml +++ b/programming/language/perl/perl-HTTP-Daemon/translations.xml @@ -2,7 +2,7 @@ perl-HTTP-Daemon - a simple http server class - Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen on a socket for incoming requests. + Basit bir HTTP sunucu sınıfı + HTTP::Daemon sınıfı örnekleri HTTP/1.1 sunucusu üzerinden gelen istekleri dinler. - + \ No newline at end of file