summaryrefslogtreecommitdiff
path: root/dev-perl/Cache-Memcached-Fast
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/Cache-Memcached-Fast
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-perl/Cache-Memcached-Fast')
-rw-r--r--dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.230.0.ebuild25
-rw-r--r--dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.250.0.ebuild43
-rw-r--r--dev-perl/Cache-Memcached-Fast/Manifest9
-rw-r--r--dev-perl/Cache-Memcached-Fast/files/0.230.0-parallel-make.patch15
-rw-r--r--dev-perl/Cache-Memcached-Fast/files/Cache-Memcached-Fast-0.250.0-no-flto.patch32
-rw-r--r--dev-perl/Cache-Memcached-Fast/metadata.xml16
6 files changed, 140 insertions, 0 deletions
diff --git a/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.230.0.ebuild b/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.230.0.ebuild
new file mode 100644
index 000000000000..212aefdd77b7
--- /dev/null
+++ b/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.230.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MODULE_AUTHOR=KROKI
+MODULE_VERSION=0.23
+inherit perl-module
+
+DESCRIPTION="Perl client for memcached, in C language"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+PATCHES=(
+ "${FILESDIR}/${PV}-parallel-make.patch"
+)
+
+SRC_TEST="do"
+
+DEPEND="
+ virtual/perl-ExtUtils-MakeMaker
+ test? ( virtual/perl-Test-Simple )
+"
diff --git a/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.250.0.ebuild b/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.250.0.ebuild
new file mode 100644
index 000000000000..00091ed9e06f
--- /dev/null
+++ b/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.250.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=RAZ
+DIST_VERSION=0.25
+DIST_EXAMPLES=("script/*")
+inherit perl-module
+
+DESCRIPTION="Perl client for memcached, in C language"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+PATCHES=(
+ "${FILESDIR}/0.230.0-parallel-make.patch"
+ "${FILESDIR}/${P}-no-flto.patch"
+)
+RDEPEND="virtual/perl-Storable"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ test? (
+ net-misc/memcached
+ virtual/perl-Test-Simple
+ )
+"
+
+src_test() {
+ perl_rm_files t/pod-coverage.t t/pod.t
+
+ local memcached_opts=( -d -P "${T}/memcached.pid" -p 11211 -l 127.0.0.1 )
+ [[ ${EUID} == 0 ]] && memcached_opts+=( -u portage )
+ memcached "${memcached_opts[@]}" || die "Can't start memcached test server"
+
+ local exit_status
+ perl-module_src_test
+ exit_status=$?
+
+ kill "$(<"${T}/memcached.pid")"
+ return ${exit_status}
+}
diff --git a/dev-perl/Cache-Memcached-Fast/Manifest b/dev-perl/Cache-Memcached-Fast/Manifest
new file mode 100644
index 000000000000..d3ecdafd0377
--- /dev/null
+++ b/dev-perl/Cache-Memcached-Fast/Manifest
@@ -0,0 +1,9 @@
+AUX 0.230.0-parallel-make.patch 436 SHA256 2f8f06e5f735e66cf99c8d688a860d19fa1efc2bcb8ef3c860b21ff3ed34d725 SHA512 05ea5189c664b7e98e54f9db186cd4cf3089a3d99acb915770a04ee0f3d2d4e870823b5c701cf4c2d0a4be7624e79cd8b590a274a570219bc59a02ddda4c093c WHIRLPOOL f3816e81f5519941380171bc1bac237161a774885ae44eff0584da36980c4c8218f541fffe788ca71257409517805290c9175b198e1452c7322b8eca472ab4c4
+AUX Cache-Memcached-Fast-0.250.0-no-flto.patch 720 SHA256 83a4d3220e66def995dd3ecdde86a4b451f6c664b3a491da10cd2a6a362295d7 SHA512 1319a3235533a74aca7484006336cf2991bf5f8825f908e7837a81a837214ebe295f79881c19a542d0812cb8c3ac1cea61af2079de7014b170d647c67639dc1a WHIRLPOOL 00e8aed2b09feea20fddf1109450250a03955c122a182baf25fb335eef2b5249de13a74e2914d87889a5723915815fee77d766fbe74685bdbf919eea698186d0
+DIST Cache-Memcached-Fast-0.23.tar.gz 102205 SHA256 df20beaebf85180154be5a99886686793cf1beee9081ed7de0ae66c4573d200f SHA512 2023eaec65da3ad8ac48907f86dd2f6a679939659a0047c46654aafaf3aceefcd0e03aee340214aa4300a0f4469da74b646a7a1f2c99ea9dcc6e3438f5d7899e WHIRLPOOL 34a54ed1c27524631849fca7720dad5b866c777e7c6776e7e2463add63a4af535eb4519b72db325f1c9a85af14165350c0d7c2739c2dd75b290a0a2f312da411
+DIST Cache-Memcached-Fast-0.25.tar.gz 104313 SHA256 782a259094c4667871b23cdccd500bd50802d9529f1b3d6ebe2a68f5292c5c46 SHA512 385b58f9dd66f86c7f99859782f098101d0f6bce9e2b22552895ab22d775ed73a1886544a51904797812b77e6849d8f2d79e61fb999a11e30497c6ae6de8c5c0 WHIRLPOOL edd6ecc74f6fee288f577f960463366e2ab1fd645f853119998c4b93b6a7ca4045e27deb2c0b2aec134a7928df2ee52509ac6d1465b7bd86983e8e23e2a788f5
+EBUILD Cache-Memcached-Fast-0.230.0.ebuild 427 SHA256 5e279dd343190de7d57caf84002a77352d18f8f19016762abd8dee9012628d58 SHA512 7c2b351514d1d164865c4ca7532c460844874c8f9c4ce3afd1d9a5cb35edbf50c2b8eb7f6cc83aa98c8a9614ac339b68476a56d3a866082a1b584e5defdc5ea3 WHIRLPOOL b7c2b16147f27cc1d177be12cfc48aaf6018cdb9ce100bd96567d1bda08fd8e2b9484849f6a45a7b5c1e5ffe9558f0b0422144fb0963977b0899c04ec5d214a2
+EBUILD Cache-Memcached-Fast-0.250.0.ebuild 912 SHA256 94ba68052c04822d66c8e49e27b7e9452ee281ffe274b27ac9dddb30953862d1 SHA512 500902e5f8851a80430f202121ff581aa094afce885beab9581f174f7e11dcf2c8e1de9132386efaa69de25a1ab0fef7f4f42b906ca9b94f1fbd5430b6af7687 WHIRLPOOL a49930a5e36542be53779e81f92f2abde83ce52096af214fe4d40d384c4948c5723079dc466091e9ee1893c747bd4c4f4f709aa34195a5d21f2efe9ddfab29b7
+MISC ChangeLog 3267 SHA256 56f2cef511ab8745e722a50cec7e79122ff24aa0a3d4b77c165632083547f887 SHA512 77a0e8d1733774dfcd43c68a647a75366d2627ac2832a051e37b0e89dfadb90a7b9121fac576ea5fa2f0ecac5698e521d51e04044596530a132f674013207b8d WHIRLPOOL 55b60456ab414dd3ac110e3524935ac0b8be47aa2d45e28d8e2d90698d7a0360d232985bdaa4ef15e7f33e1c426dd6672f43ef46262576148cc23f72be69b032
+MISC ChangeLog-2015 2454 SHA256 71591308e308c2b728c691481dbb069171b54cd8859ad56356943fc1758a7baf SHA512 e3465f1fe060c03c3f0b8b79feaa09450ccd3b31c55596fdd6536860c4cace2e56591258c8d0980c4bebd7a9741b0eb774276e09338e39d1de0fa6efc5f0548e WHIRLPOOL bb3beb3eb216c1aaf2534c1475ff7114450c937b4ca4a21b7401135d5a7c081c73382e2182a86f62a69a30b2c8be53c73ff919c8acfc1702cc3b39f85e1b67c7
+MISC metadata.xml 546 SHA256 9578c58a26a8066249c241d6f8db40acd2f0a9dfcb78cf474d85671108ad31b4 SHA512 b8a76a859924746523532974445347326c81d6f65c60d3df5933bdd6a5b9b0c4de40de2caef1e66b17e98fbbe51dd7830d4b120b6145a425483e774a74c0bf40 WHIRLPOOL d49363b73c4fcd4053cfc2487fdbe93c49f56279de4f5b4c619b7b63a11b2c0ca9d241d0de2dccaa1eb7698283e38d4a3037fa7c6234764ab6b8e21b0ca1040f
diff --git a/dev-perl/Cache-Memcached-Fast/files/0.230.0-parallel-make.patch b/dev-perl/Cache-Memcached-Fast/files/0.230.0-parallel-make.patch
new file mode 100644
index 000000000000..65f856c7f2dc
--- /dev/null
+++ b/dev-perl/Cache-Memcached-Fast/files/0.230.0-parallel-make.patch
@@ -0,0 +1,15 @@
+diff --git a/src/Makefile.PL b/src/Makefile.PL
+index 3a945d4..2c1e03a 100644
+--- a/src/Makefile.PL
++++ b/src/Makefile.PL
+@@ -55,6 +55,10 @@ libclient$(LIB_EXT): $(OBJECT)
+ $(AR) cr libclient$(LIB_EXT) $(OBJECT)
+ $(RANLIB) libclient$(LIB_EXT)
+
++dispatch_key.o : compute_crc32.h
++
++client.o : parse_keyword.h
++
+ parse_keyword.c parse_keyword.h :: genparser.pl reply.kw
+ $(PERL) genparser.pl reply.kw parse_keyword.c parse_keyword.h
+
diff --git a/dev-perl/Cache-Memcached-Fast/files/Cache-Memcached-Fast-0.250.0-no-flto.patch b/dev-perl/Cache-Memcached-Fast/files/Cache-Memcached-Fast-0.250.0-no-flto.patch
new file mode 100644
index 000000000000..d78c3fad0d7f
--- /dev/null
+++ b/dev-perl/Cache-Memcached-Fast/files/Cache-Memcached-Fast-0.250.0-no-flto.patch
@@ -0,0 +1,32 @@
+From d1c5f70b144abfd4783f866aef27f60a35b61f8b Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Tue, 3 Oct 2017 20:20:14 +1300
+Subject: Strip -flto from CFLAGS
+
+-flto breaks compilation of static archives and needs significant magic
+to not break, including sentience about which CC you're using.
+---
+ Makefile.PL | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 0054164..ad249b9 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -22,6 +22,13 @@ WriteMakefile(
+ },
+ );
+
++sub MY::cflags {
++ my $self = shift;
++ my $orig = $self->MM::cflags(@_);
++ $orig =~ s/-flto\b//g;
++ return $orig;
++}
++
+ sub MY::postamble {
+ '
+ $(MYEXTLIB): src/Makefile
+--
+2.14.1
+
diff --git a/dev-perl/Cache-Memcached-Fast/metadata.xml b/dev-perl/Cache-Memcached-Fast/metadata.xml
new file mode 100644
index 000000000000..22fdc125a4fc
--- /dev/null
+++ b/dev-perl/Cache-Memcached-Fast/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="person">
+ <email>robbat2@gentoo.org</email>
+ <description>Primary Maintainer</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>perl@gentoo.org</email>
+ <name>Gentoo Perl Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="cpan">Cache-Memcached-Fast</remote-id>
+ <remote-id type="cpan-module">Cache::Memcached::Fast</remote-id>
+ </upstream>
+</pkgmetadata>