diff options
Diffstat (limited to 'dev-perl/Apache-CGI-Builder')
4 files changed, 116 insertions, 2 deletions
diff --git a/dev-perl/Apache-CGI-Builder/Apache-CGI-Builder-1.300.0-r2.ebuild b/dev-perl/Apache-CGI-Builder/Apache-CGI-Builder-1.300.0-r2.ebuild new file mode 100644 index 000000000000..47d5d71ee1c5 --- /dev/null +++ b/dev-perl/Apache-CGI-Builder/Apache-CGI-Builder-1.300.0-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=DOMIZIO +DIST_VERSION=1.3 +inherit perl-module + +DESCRIPTION="CGI::Builder and Apache2/mod_perl2 integration" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=dev-perl/OOTools-2.21 + >=dev-perl/CGI-Builder-1.2 + www-apache/mod_perl +" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}-no-apache-1.patch" ) + +src_prepare() { + rm "${S}/lib/Apache/CGI/Builder.pm" || die "Can't remove Apache-1 support" + perl-module_src_prepare +} +src_test() { + local MODULES=( + "Apache2::CGI::Builder ${DIST_VERSION}" + ) + local failed=() + for dep in "${MODULES[@]}"; do + ebegin "Compile testing ${dep}" + perl -Mblib="${S}" -M"${dep} ()" -e1 + eend $? || failed+=( "$dep" ) + done + if [[ ${failed[@]} ]]; then + echo + eerror "One or more modules failed compile:"; + for dep in "${failed[@]}"; do + eerror " ${dep}" + done + die "Failing due to module compilation errors"; + fi + perl_rm_files t/test_pod_coverage.t t/test_pod.t + perl-module_src_test +} diff --git a/dev-perl/Apache-CGI-Builder/Manifest b/dev-perl/Apache-CGI-Builder/Manifest index 4fa7a7943f03..36d7ad041166 100644 --- a/dev-perl/Apache-CGI-Builder/Manifest +++ b/dev-perl/Apache-CGI-Builder/Manifest @@ -1,5 +1,7 @@ +AUX Apache-CGI-Builder-1.300.0-no-apache-1.patch 1728 SHA256 0228a2ad9a0c94c145475793e95095a9b9bfd8f58b22e932b1624a31191f21e5 SHA512 18f37d5bd1d186e51f06659bdf00cb151d71da03624a1c7a361143c4fbc94f8f100bdda17116a015efd21ff9f1d60d5cac17d1cac4bdb94efa772bb85f7bf35a WHIRLPOOL 6477685d82c987628ab58e6804d3ba669ea5237ad058d2c6af044aa4a8308041be44a3387e5bb93df1e9d5d4c85948b5a6bd16dd42afc88b238e1c46d0fd5266 DIST Apache-CGI-Builder-1.3.tar.gz 7241 SHA256 e60999d6f7ea8f31ee0caf7de15c20ac6fe442a3489496a60dda514775ac15cb SHA512 95a6483f6d210f7376167210be0782a507c6b25f65e6c1f733f4aa45302c14a9060ee4ee0d062ba97644e0a7340e6883357095fe5c5552d5a87f64c2bd19568f WHIRLPOOL 008147bda5c11a2f0ad0826b77dee686c67bf445819501765f1fac351e7e9e68162a21187cb660b6d504c33cbd1263e712d0ba91fbfd0356222d7c6eda029bed EBUILD Apache-CGI-Builder-1.300.0-r1.ebuild 370 SHA256 2aabc1a9cdfeb5811f78bcd557ea50a7ec02baf7194112e14b339f2c8f69cd60 SHA512 bc5c2a016d1394aaf4a0e2adf53b639a17cb2c38570cc22749832a3789aacbfdae5a3ab25f336670010e01d4e496c652d37a6e9c63854bd02cc476c649831fd6 WHIRLPOOL 66d2b7f44159475ac459fb3e843190de58facd5a3f048f984b92a3a8ed378fea86a8c9cd8455f4e5f02a496289c6d0022d25c37e2f190c94362f421799fd1f84 +EBUILD Apache-CGI-Builder-1.300.0-r2.ebuild 1058 SHA256 3150eb8bffd6e78b82efdfefb3e9ba7389cbf06fb3df6da8e9eccd0fd5c1765e SHA512 93f48ce17ce63b16b68b2f0e2c724aaa73d3e86329fd20edb61cd8dd53fdf87a19d832965b017840a9323d52e61218deeea7491f61bfd0c3f7c20518def6241f WHIRLPOOL 26a2ac7fbf0805f7d0e51c8b817e591d419772fef157c3f4a394f6675942de605abfe1428d4e859802c8ea5511f4464d442138d2b25b94ab86a9c88a8d464dc5 MISC ChangeLog 2470 SHA256 51a1be60b6490c3b6b1b3fcc1155b09aa189f91f1d3ea21a38feefe3ceab92b1 SHA512 bacbc054ed9a6567e286f42c01597c824adfee989d92479e194436ac2dcbfaf4f804cd1cef5a51f36b476b64560dc916c946d9fa29b9b499968ec805bd6d6979 WHIRLPOOL c2651f9f40b41c73a0dce8425f887100c0d4cf0c8acab05cb035b70bb261ebc869c73004ae0767487ee3b466d055bc8ef8ed1a4aff6ad256e39e794548bfd82d MISC ChangeLog-2015 1062 SHA256 9ce035cf385e08d1bb1463cc4f010a0cc4e35f46d013bdd480b9b4ac3e4ae096 SHA512 6a96acbbf167595b170d85d6929ff707d92522a4156c87ceedc521f588ecfd23de56e340620e0e88d593f4553d8e4afa6cd3b8025b62c83adc3f4e2ab9508614 WHIRLPOOL b51ca126c87b978317a59e226fbd50ee871b20e12520d82ddd2403c00724b6b8598c3aecf052dae6f178e69c702fd91e703a0ab833e920a378b6250ddb97797e -MISC metadata.xml 477 SHA256 615bcffe980d3f4636a10d7df6b1acd254947335e663248372e2e8d96765ed38 SHA512 f15bdc8cb685b6639c35102c03ee9c30796eeb146c498a4663972a488c3b2793b2b706f82fda0b189710510d827892a9f8eb234f9772fe76f4547d848ed86a59 WHIRLPOOL 2995bbad69ebd357e8d9798142c4ebe4b9fd4374690ca20046bbde510417f0d759755b392fd1ee0b0813a1f7b76d809f7c96df8111eb7516d2d292b8ebcbda07 +MISC metadata.xml 410 SHA256 b5658b7813e6b92c26fead3a095ec7347d5bb774174ae69709bed0e0aff13f8c SHA512 d9d845b2477a318de01f9b2c8d33f53beeeee77d69010b89a1b5da116850062555e91820b58dda2b366771744535fa9f28df9f8fe27973692a3f4d2a9007a996 WHIRLPOOL e431080f9abb4bdf3a51fae426e37930f930ab5bde098c4fa7b170804643b299fbb2cb9afe11d14ebf99419089d78ddff182a69b9d6da3abc22a119c8efd12bf diff --git a/dev-perl/Apache-CGI-Builder/files/Apache-CGI-Builder-1.300.0-no-apache-1.patch b/dev-perl/Apache-CGI-Builder/files/Apache-CGI-Builder-1.300.0-no-apache-1.patch new file mode 100644 index 000000000000..97e488bd4aac --- /dev/null +++ b/dev-perl/Apache-CGI-Builder/files/Apache-CGI-Builder-1.300.0-no-apache-1.patch @@ -0,0 +1,65 @@ +From ef931c54efda99718b71f9e772fb7474e6ae8953 Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Fri, 13 Oct 2017 18:19:42 +1300 +Subject: Kill Apache1/mod_perl-1 + +--- + MANIFEST | 1 - + Makefile.PL | 6 +- + lib/Apache/CGI/Builder.pm | 383 ---------------------------------------------- + t/01_class.t | 2 +- + 4 files changed, 4 insertions(+), 388 deletions(-) + delete mode 100644 lib/Apache/CGI/Builder.pm + +diff --git a/MANIFEST b/MANIFEST +index 3dcf4d5..e5e1a8d 100644 +--- a/MANIFEST ++++ b/MANIFEST +@@ -1,5 +1,4 @@ + Changes +-lib/Apache/CGI/Builder.pm + lib/Apache2/CGI/Builder.pm + Makefile.PL + MANIFEST This list of files +diff --git a/Makefile.PL b/Makefile.PL +index 47272f9..babf555 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -3,10 +3,10 @@ + + ; use ExtUtils::MakeMaker + +-; my $pm = 'lib/Apache/CGI/Builder.pm' ++; my $pm = 'lib/Apache2/CGI/Builder.pm' + + ; WriteMakefile +- ( NAME => 'Apache::CGI::Builder' ++ ( NAME => 'Apache2::CGI::Builder' + , VERSION_FROM => $pm + , ( $] ge '5.005' ) + ? ( AUTHOR => 'Domizio Demichelis - perl.4pro.net' +@@ -16,7 +16,7 @@ + , PREREQ_PM => { 'CGI::Builder' => 1.2 + , 'Class::props' => 1.62 + , 'Object::props' => 1.62 +- , 'mod_perl' => 0 ++ , 'mod_perl2' => 0 + } + ) + +diff --git a/t/01_class.t b/t/01_class.t +index fce93e9..056453d 100644 +--- a/t/01_class.t ++++ b/t/01_class.t +@@ -3,7 +3,7 @@ + ; use strict + ; use Test::More tests => 1 + +-; use Apache::CGI::Builder ++; use Apache2::CGI::Builder + + ; ok(1) + +-- +2.14.2 + diff --git a/dev-perl/Apache-CGI-Builder/metadata.xml b/dev-perl/Apache-CGI-Builder/metadata.xml index 1a61f03e7dab..8585b0f82019 100644 --- a/dev-perl/Apache-CGI-Builder/metadata.xml +++ b/dev-perl/Apache-CGI-Builder/metadata.xml @@ -8,6 +8,5 @@ <upstream> <remote-id type="cpan">Apache-CGI-Builder</remote-id> <remote-id type="cpan-module">Apache2::CGI::Builder</remote-id> - <remote-id type="cpan-module">Apache::CGI::Builder</remote-id> </upstream> </pkgmetadata> |