summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-10-12 19:26:49 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-10-12 19:26:49 +0000
commit5801be6854aaac734c093b32e6e9861a5b3d4843 (patch)
treed87f1fe4c87bc55555b724a5d071a3568ac4d906 /net-misc/memcached
parentStable for HPPA (bug #287194). (diff)
downloadhistorical-5801be6854aaac734c093b32e6e9861a5b3d4843.tar.gz
historical-5801be6854aaac734c093b32e6e9861a5b3d4843.tar.bz2
historical-5801be6854aaac734c093b32e6e9861a5b3d4843.zip
Version bump.
Package-Manager: portage-2.2_rc42/cvs/Linux x86_64
Diffstat (limited to 'net-misc/memcached')
-rw-r--r--net-misc/memcached/ChangeLog8
-rw-r--r--net-misc/memcached/Manifest4
-rw-r--r--net-misc/memcached/memcached-1.4.2.ebuild73
3 files changed, 83 insertions, 2 deletions
diff --git a/net-misc/memcached/ChangeLog b/net-misc/memcached/ChangeLog
index 25c6ea3af1d8..6ad452a3b84c 100644
--- a/net-misc/memcached/ChangeLog
+++ b/net-misc/memcached/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/memcached
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/ChangeLog,v 1.102 2009/10/07 16:29:22 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/ChangeLog,v 1.103 2009/10/12 19:26:49 robbat2 Exp $
+
+*memcached-1.4.2 (12 Oct 2009)
+
+ 12 Oct 2009; Robin H. Johnson <robbat2@gentoo.org>
+ +memcached-1.4.2.ebuild:
+ Version bump.
07 Oct 2009; nixnut <nixnut@gentoo.org> memcached-1.4.1.ebuild:
ppc stable #279386
diff --git a/net-misc/memcached/Manifest b/net-misc/memcached/Manifest
index 9d834ce4d853..085ac5decdd7 100644
--- a/net-misc/memcached/Manifest
+++ b/net-misc/memcached/Manifest
@@ -27,6 +27,7 @@ DIST memcached-1.3.0.tar.gz 234701 RMD160 226255b960ed67cf3d87d31d54431ea5597f0b
DIST memcached-1.3.3.tar.gz 260203 RMD160 c9ac975da30b3c005336b15c90216ce4e7e4bc47 SHA1 5f29c4b9af4e77643b0dceafbbd5db9811d349dd SHA256 3728c714c3c0194a429f754d739067bea193d66359a03a63437428bf4a2cce84
DIST memcached-1.4.0.tar.gz 267420 RMD160 0bf281c694ba24672c4285c5f65137b2fbb3f484 SHA1 84881977cc34a1039ce619227ff2910d8e1e3e5b SHA256 b2648fb514fb36fa22cdeb468b8e8a8d49fef86a2cfbc7738f630e09b4977d35
DIST memcached-1.4.1.tar.gz 277221 RMD160 18f2ef91a1f282e37316e107a90647cf246d98d9 SHA1 6acf8941c494edb4f19efc402b844a494608b679 SHA256 6bb6e52290bbe987990e83d57856f762402c9a625e9c4f8da785dc7f53acbd83
+DIST memcached-1.4.2.tar.gz 283071 RMD160 bc1b8d8317e375565ea829a77cdf38d1359bf344 SHA1 28bceaa24c4bc6d7dc9c700e143ee4b2ff09f760 SHA256 d44b611341b7dcf2e87c0f60ecc78e95fc61acb801fdd9853940b039027066aa
EBUILD memcached-1.1.12-r2.ebuild 1239 RMD160 33f5f859b1f29674e8670524a5ae08be025c3f52 SHA1 ffd0b62a858f89b82a9e955e5ed87c8ceca665d9 SHA256 70793be39fb3fd35516868e00d8406d2e721ff0a4f6af2f92b237eb328e64d99
EBUILD memcached-1.1.13-r1.ebuild 1638 RMD160 dec94934ef333ce82957982a87efe822bf93f7b4 SHA1 0de155e965ab1d73acf1ecec2ec4d6a68b348093 SHA256 80e929b814fe3bdd8c1696726cbb73cc7f15fd454388bab2ddf06c8b227de332
EBUILD memcached-1.1.13.ebuild 1629 RMD160 17d29a1b9339f5d7bef3495058e59b941cda057e SHA1 3b5ef6cb7f43ddbbcdf7c370548ce52b97920097 SHA256 45c959a62b927445416fd2abd4b37d0351cbd98f2f27a529eb4e95cf2b8f0513
@@ -42,5 +43,6 @@ EBUILD memcached-1.3.3.ebuild 1714 RMD160 70359cf49548ad62315ed217c56f0987eb71c4
EBUILD memcached-1.4.0-r1.ebuild 2241 RMD160 13e61e663cd021d434c8942a655a5d8f785ea61f SHA1 765640ecf3f77a7f498fd119b7af3f2f1092c1f8 SHA256 b26e28ddfeacb8163a85de77e5b3a1cda087e5b3ec57648da1ea4de7a30dc5a6
EBUILD memcached-1.4.0.ebuild 1827 RMD160 2fee4f19753cb8760ce69a59a1534551f573b440 SHA1 4ae001c1b7616326255bbf8eb7af14771474f7cc SHA256 6f999dc74e4c98995da76bea11a305654dc34e77a1697c4e43e195736b7e2f44
EBUILD memcached-1.4.1.ebuild 2229 RMD160 bd393227e9a4b9ca69a4c7e1b03e17ba4947af8e SHA1 d54fc1c785f8ae20add48a2a8a1c4ade2744049c SHA256 d6ca45939f07c17f5ab6a156cd4d0ac9fe952c4e146f224f95254c15c921f75b
-MISC ChangeLog 17303 RMD160 7fbc1d23949e077d3b07b73e2771ca5d0c64b08f SHA1 c3f683d7045f3b464f079ae94bc8daa3c9318d2b SHA256 345b9362374a06b9caca1c0885b919e3fc9a4915441cdef343ea138e3e8fa761
+EBUILD memcached-1.4.2.ebuild 2329 RMD160 01638d4a098bf33eb37d3ff9ba795481b4dd0d4c SHA1 7564e5727b65db21b48d1801318ee31e85014aae SHA256 1347732f686a13a6425542d977cad0c6f4f7c765c9a2985f999f1cb81a1b0b6b
+MISC ChangeLog 17433 RMD160 a7e292c216b7e243aeea2b8212ea4e06927e941c SHA1 afd273ae1884c29455f09579bb05f731b497b4d6 SHA256 a8363bf4d02d60b1891991baf2c0c26a45b9d80b88b25980ba456a13a7303cbc
MISC metadata.xml 966 RMD160 9da6a32f068f21da2b93ad45b4bba6147644e20a SHA1 a7080fc08dde81c21554beeb89b201d16efe08c1 SHA256 ce8186d4b0926cdc2ac0dcc49a737359b3f08a13396b5dc2cf05bf4a366b242b
diff --git a/net-misc/memcached/memcached-1.4.2.ebuild b/net-misc/memcached/memcached-1.4.2.ebuild
new file mode 100644
index 000000000000..453f7d499be9
--- /dev/null
+++ b/net-misc/memcached/memcached-1.4.2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/memcached-1.4.2.ebuild,v 1.1 2009/10/12 19:26:49 robbat2 Exp $
+
+EAPI=2
+inherit eutils autotools flag-o-matic
+
+MY_PV="${PV/_rc/-rc}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="High-performance, distributed memory object caching system"
+HOMEPAGE="http://code.google.com/p/memcached/"
+SRC_URI="http://memcached.googlecode.com/files/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="test slabs-reassign debug" # hugetlbfs later
+
+RDEPEND=">=dev-libs/libevent-1.4
+ dev-lang/perl"
+DEPEND="${RDEPEND}
+ test? ( virtual/perl-Test-Harness >=dev-perl/Cache-Memcached-1.24 )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-1.2.2-fbsd.patch"
+ # Handled different upstream
+ #epatch "${FILESDIR}/${PN}-1.3.3-gcc4-slab-fixup.patch"
+ epatch "${FILESDIR}/${PN}-1.4.0-fix-as-needed-linking.patch"
+ sed -i -e 's,-Werror,,g' configure.ac || die "sed failed"
+ eautoreconf
+ use slabs-reassign && append-flags -DALLOW_SLABS_REASSIGN
+}
+
+src_configure() {
+ econf `use_enable docs`
+}
+
+src_compile() {
+ # There is a heavy degree of per-object compile flags
+ # Users do NOT know better than upstream. Trying to compile the testapp and
+ # the -debug version with -DNDEBUG _WILL_ fail.
+ append-flags -UNDEBUG
+ emake testapp memcached-debug CFLAGS="${CFLAGS}" || die "emake of testapp and memcached-debug failed."
+ filter-flags -UNDEBUG
+ emake || die "emake failed."
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dobin scripts/memcached-tool
+ use debug && dobin memcached-debug
+
+ dodoc AUTHORS ChangeLog NEWS README doc/{CONTRIBUTORS,*.txt}
+
+ newconfd "${FILESDIR}"/1.3.3/conf memcached
+ newinitd "${FILESDIR}"/1.3.3/init memcached
+}
+
+pkg_postinst() {
+ enewuser memcached -1 -1 /dev/null daemon
+
+ elog "With this version of Memcached Gentoo now supports multiple instances."
+ elog "To enable this you should create a symlink in /etc/init.d/ for each instance"
+ elog "to /etc/init.d/memcached and create the matching conf files in /etc/conf.d/"
+ elog "Please see Gentoo bug #122246 for more info"
+}
+
+src_test() {
+ emake -j1 test || die "Failed testing"
+}