summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-11-11 22:23:22 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-11-11 22:23:22 +0000
commit9d78a256ab1e03adc8a28386ddda5652181ec123 (patch)
tree3af9705eabaf6a002306463f5ff36435c08bf6e5 /net-misc/memcached
parent2.2_rc14 bump. This fixes bugs #243030 (@preserve-rebuild unnecessary (diff)
downloadgentoo-2-9d78a256ab1e03adc8a28386ddda5652181ec123.tar.gz
gentoo-2-9d78a256ab1e03adc8a28386ddda5652181ec123.tar.bz2
gentoo-2-9d78a256ab1e03adc8a28386ddda5652181ec123.zip
Version bump.
(Portage version: 2.2_rc13/cvs/Linux 2.6.28-rc3-00249-ga622cf6 x86_64)
Diffstat (limited to 'net-misc/memcached')
-rw-r--r--net-misc/memcached/ChangeLog8
-rw-r--r--net-misc/memcached/memcached-1.3.0.ebuild59
2 files changed, 66 insertions, 1 deletions
diff --git a/net-misc/memcached/ChangeLog b/net-misc/memcached/ChangeLog
index 2a026661f648..17c6e6c6df36 100644
--- a/net-misc/memcached/ChangeLog
+++ b/net-misc/memcached/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/memcached
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/ChangeLog,v 1.73 2008/09/27 16:35:44 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/ChangeLog,v 1.74 2008/11/11 22:23:22 robbat2 Exp $
+
+*memcached-1.3.0 (11 Nov 2008)
+
+ 11 Nov 2008; Robin H. Johnson <robbat2@gentoo.org>
+ +memcached-1.3.0.ebuild:
+ Version bump.
27 Sep 2008; Raúl Porcel <armin76@gentoo.org> memcached-1.2.5.ebuild:
arm stable wrt #223371
diff --git a/net-misc/memcached/memcached-1.3.0.ebuild b/net-misc/memcached/memcached-1.3.0.ebuild
new file mode 100644
index 000000000000..c27b54338c75
--- /dev/null
+++ b/net-misc/memcached/memcached-1.3.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/memcached-1.3.0.ebuild,v 1.1 2008/11/11 22:23:22 robbat2 Exp $
+
+inherit eutils
+
+MY_PV="${PV/_rc/-rc}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="High-performance, distributed memory object caching system"
+HOMEPAGE="http://www.danga.com/memcached/"
+SRC_URI="http://www.danga.com/memcached/dist/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE="nptl test"
+
+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_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${PN}-1.2.2-fbsd.patch"
+}
+
+src_compile() {
+ econf $(use_enable nptl threads)
+ emake || die "emake failed."
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dobin scripts/memcached-tool
+
+ dodoc AUTHORS ChangeLog NEWS README TODO doc/{CONTRIBUTORS,*.txt}
+
+ newconfd "${FILESDIR}"/1.2.6/conf memcached
+ newinitd "${FILESDIR}"/1.2.6/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 must 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"
+}