1 |
robbat2 10/04/04 21:27:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: memcached-1.4.5.ebuild |
5 |
Log: |
6 |
Version bump for bugfix edition. |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.108 net-misc/memcached/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/memcached/ChangeLog?rev=1.108&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/memcached/ChangeLog?rev=1.108&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/memcached/ChangeLog?r1=1.107&r2=1.108 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/memcached/ChangeLog,v |
19 |
retrieving revision 1.107 |
20 |
retrieving revision 1.108 |
21 |
diff -p -w -b -B -u -u -r1.107 -r1.108 |
22 |
--- ChangeLog 7 Jan 2010 15:55:42 -0000 1.107 |
23 |
+++ ChangeLog 4 Apr 2010 21:27:49 -0000 1.108 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for net-misc/memcached |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/ChangeLog,v 1.107 2010/01/07 15:55:42 fauli Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/ChangeLog,v 1.108 2010/04/04 21:27:49 robbat2 Exp $ |
29 |
+ |
30 |
+*memcached-1.4.5 (04 Apr 2010) |
31 |
+ |
32 |
+ 04 Apr 2010; Robin H. Johnson <robbat2@g.o> |
33 |
+ +memcached-1.4.5.ebuild: |
34 |
+ Version bump for bugfix edition. |
35 |
|
36 |
07 Jan 2010; Christian Faulhammer <fauli@g.o> |
37 |
memcached-1.4.4.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-misc/memcached/memcached-1.4.5.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/memcached/memcached-1.4.5.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/memcached/memcached-1.4.5.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: memcached-1.4.5.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/memcached-1.4.5.ebuild,v 1.1 2010/04/04 21:27:49 robbat2 Exp $ |
51 |
|
52 |
EAPI=2 |
53 |
inherit eutils autotools flag-o-matic |
54 |
|
55 |
MY_PV="${PV/_rc/-rc}" |
56 |
MY_P="${PN}-${MY_PV}" |
57 |
|
58 |
DESCRIPTION="High-performance, distributed memory object caching system" |
59 |
HOMEPAGE="http://code.google.com/p/memcached/" |
60 |
SRC_URI="http://memcached.googlecode.com/files/${MY_P}.tar.gz" |
61 |
|
62 |
LICENSE="BSD" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
65 |
IUSE="test slabs-reassign debug sasl" # hugetlbfs later |
66 |
|
67 |
RDEPEND=">=dev-libs/libevent-1.4 |
68 |
dev-lang/perl |
69 |
sasl? ( dev-libs/cyrus-sasl )" |
70 |
DEPEND="${RDEPEND} |
71 |
test? ( virtual/perl-Test-Harness >=dev-perl/Cache-Memcached-1.24 )" |
72 |
|
73 |
S="${WORKDIR}/${MY_P}" |
74 |
|
75 |
src_prepare() { |
76 |
epatch "${FILESDIR}/${PN}-1.2.2-fbsd.patch" |
77 |
# Handled different upstream |
78 |
#epatch "${FILESDIR}/${PN}-1.3.3-gcc4-slab-fixup.patch" |
79 |
epatch "${FILESDIR}/${PN}-1.4.0-fix-as-needed-linking.patch" |
80 |
epatch "${FILESDIR}/${PN}-1.4.4-as-needed.patch" |
81 |
sed -i -e 's,-Werror,,g' configure.ac || die "sed failed" |
82 |
eautoreconf |
83 |
use slabs-reassign && append-flags -DALLOW_SLABS_REASSIGN |
84 |
} |
85 |
|
86 |
src_configure() { |
87 |
econf \ |
88 |
--disable-docs \ |
89 |
$(use_enable sasl) |
90 |
# The xml2rfc tool to build the additional docs requires TCL :-( |
91 |
# `use_enable doc docs` |
92 |
} |
93 |
|
94 |
src_compile() { |
95 |
# There is a heavy degree of per-object compile flags |
96 |
# Users do NOT know better than upstream. Trying to compile the testapp and |
97 |
# the -debug version with -DNDEBUG _WILL_ fail. |
98 |
append-flags -UNDEBUG |
99 |
emake testapp memcached-debug CFLAGS="${CFLAGS}" || die "emake of testapp and memcached-debug failed." |
100 |
filter-flags -UNDEBUG |
101 |
emake || die "emake failed." |
102 |
} |
103 |
|
104 |
src_install() { |
105 |
emake DESTDIR="${D}" install || die "emake install failed." |
106 |
dobin scripts/memcached-tool |
107 |
use debug && dobin memcached-debug |
108 |
|
109 |
dodoc AUTHORS ChangeLog NEWS README doc/{CONTRIBUTORS,*.txt} |
110 |
|
111 |
newconfd "${FILESDIR}"/1.3.3/conf memcached |
112 |
newinitd "${FILESDIR}"/1.3.3/init memcached |
113 |
} |
114 |
|
115 |
pkg_postinst() { |
116 |
enewuser memcached -1 -1 /dev/null daemon |
117 |
|
118 |
elog "With this version of Memcached Gentoo now supports multiple instances." |
119 |
elog "To enable this you should create a symlink in /etc/init.d/ for each instance" |
120 |
elog "to /etc/init.d/memcached and create the matching conf files in /etc/conf.d/" |
121 |
elog "Please see Gentoo bug #122246 for more info" |
122 |
} |
123 |
|
124 |
src_test() { |
125 |
emake -j1 test || die "Failed testing" |
126 |
} |