Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/memcached: ChangeLog memcached-1.2.4_rc1.ebuild
Date: Tue, 27 Nov 2007 01:22:27
Message-Id: E1Iwp9T-0003a9-Rq@stork.gentoo.org
1 robbat2 07/11/27 01:22:15
2
3 Modified: ChangeLog
4 Added: memcached-1.2.4_rc1.ebuild
5 Log:
6 Version bump to upstream release candidate. Also include the updated scripts with multiconf support per bug #194868. Multiconf was possible before, but the PIDFILE was not always handled correctly.
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.54 net-misc/memcached/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/memcached/ChangeLog?rev=1.54&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/memcached/ChangeLog?rev=1.54&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/memcached/ChangeLog?r1=1.53&r2=1.54
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/memcached/ChangeLog,v
19 retrieving revision 1.53
20 retrieving revision 1.54
21 diff -u -r1.53 -r1.54
22 --- ChangeLog 26 Nov 2007 23:49:05 -0000 1.53
23 +++ ChangeLog 27 Nov 2007 01:22:15 -0000 1.54
24 @@ -1,6 +1,14 @@
25 # ChangeLog for net-misc/memcached
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/ChangeLog,v 1.53 2007/11/26 23:49:05 robbat2 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/ChangeLog,v 1.54 2007/11/27 01:22:15 robbat2 Exp $
29 +
30 +*memcached-1.2.4_rc1 (27 Nov 2007)
31 +
32 + 27 Nov 2007; Robin H. Johnson <robbat2@g.o> +files/1.2.4/conf,
33 + +files/1.2.4/init, +memcached-1.2.4_rc1.ebuild:
34 + Version bump to upstream release candidate. Also include the updated scripts
35 + with multiconf support per bug #194868. Multiconf was possible before, but
36 + the PIDFILE was not always handled correctly.
37
38 26 Nov 2007; Robin H. Johnson <robbat2@g.o> metadata.xml:
39 Update metadata to reflect new ownership, as lisa is retiring.
40
41
42
43 1.1 net-misc/memcached/memcached-1.2.4_rc1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/memcached/memcached-1.2.4_rc1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/memcached/memcached-1.2.4_rc1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: memcached-1.2.4_rc1.ebuild
49 ===================================================================
50 # Copyright 1999-2007 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/memcached-1.2.4_rc1.ebuild,v 1.1 2007/11/27 01:22:15 robbat2 Exp $
53
54 inherit eutils
55
56 MY_PV="${PV/_rc/-rc}"
57 MY_P="${PN}-${MY_PV}"
58
59 DESCRIPTION="High-performance, distributed memory object caching system"
60 HOMEPAGE="http://www.danga.com/memcached/"
61 SRC_URI="http://www.danga.com/memcached/dist/${MY_P}.tar.gz"
62
63 LICENSE="BSD"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
66 IUSE="nptl test"
67
68 RDEPEND=">=dev-libs/libevent-0.6
69 >=dev-perl/Cache-Memcached-1.24"
70 DEPEND="${RDEPEND}
71 test? ( perl-core/Test-Harness )"
72
73 S="${WORKDIR}/${MY_P}"
74
75 src_unpack() {
76 unpack ${A}
77 cd "${S}"
78
79 epatch "${FILESDIR}/${PN}-1.2.2-fbsd.patch"
80 # Merged in upstream r604
81 #epatch "${FILESDIR}/${PN}-1.2.2-p-threads.patch"
82 }
83
84 src_compile() {
85 econf $(use_enable nptl threads)
86 emake || die "emake failed."
87 }
88
89 src_install() {
90 emake DESTDIR="${D}" install || die "emake install failed."
91 dobin scripts/memcached-tool
92
93 dodoc AUTHORS ChangeLog NEWS README TODO doc/{CONTRIBUTORS,*.txt}
94
95 newconfd "${FILESDIR}"/1.2.4/conf memcached
96 newinitd "${FILESDIR}"/1.2.4/init memcached
97 }
98
99 pkg_postinst() {
100 enewuser memcached -1 -1 /dev/null daemon
101
102 elog "With this version of Memcached Gentoo now supports multiple instances."
103 elog "To enable this you must create a symlink in /etc/init.d/ for each instance"
104 elog "to /etc/init.d/memcached and create the matching conf files in /etc/conf.d/"
105 elog "Please see Gentoo bug #122246 for more info"
106 }
107
108 src_test() {
109 emake -j1 test || die "Failed testing"
110 }
111
112
113
114 --
115 gentoo-commits@g.o mailing list