Gentoo Archives: gentoo-commits

From: "Matt Thode (prometheanfire)" <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/memcached: memcached-1.4.17.ebuild ChangeLog
Date: Mon, 23 Dec 2013 00:56:20
Message-Id: 20131223005617.455B62004C@flycatcher.gentoo.org
1 prometheanfire 13/12/23 00:56:17
2
3 Modified: ChangeLog
4 Added: memcached-1.4.17.ebuild
5 Log:
6 update to 1.4.17 and eapi5 and bug 493036
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)
9
10 Revision Changes Path
11 1.134 net-misc/memcached/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/memcached/ChangeLog?rev=1.134&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/memcached/ChangeLog?rev=1.134&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/memcached/ChangeLog?r1=1.133&r2=1.134
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/memcached/ChangeLog,v
20 retrieving revision 1.133
21 retrieving revision 1.134
22 diff -u -r1.133 -r1.134
23 --- ChangeLog 22 Dec 2013 13:47:35 -0000 1.133
24 +++ ChangeLog 23 Dec 2013 00:56:17 -0000 1.134
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-misc/memcached
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/ChangeLog,v 1.133 2013/12/22 13:47:35 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/ChangeLog,v 1.134 2013/12/23 00:56:17 prometheanfire Exp $
30 +
31 +*memcached-1.4.17 (23 Dec 2013)
32 +
33 + 23 Dec 2013; Matthew Thode <prometheanfire@g.o> +files/memcached.confd,
34 + +files/memcached.init, +memcached-1.4.17.ebuild, files/1.3.3/init:
35 + update to 1.4.17 and eapi5 and bug 493036
36
37 22 Dec 2013; Agostino Sarubbo <ago@g.o> memcached-1.4.13-r1.ebuild:
38 Stable for ppc64, wrt bug #485644
39
40
41
42 1.1 net-misc/memcached/memcached-1.4.17.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/memcached/memcached-1.4.17.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/memcached/memcached-1.4.17.ebuild?rev=1.1&content-type=text/plain
46
47 Index: memcached-1.4.17.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/memcached-1.4.17.ebuild,v 1.1 2013/12/23 00:56:17 prometheanfire Exp $
52
53 EAPI=5
54 inherit eutils autotools flag-o-matic
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://code.google.com/p/memcached/"
61 SRC_URI="http://www.memcached.org/files/${MY_P}.tar.gz"
62
63 LICENSE="BSD"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
66 IUSE="test slabs-reassign debug sasl" # hugetlbfs later
67
68 RDEPEND=">=dev-libs/libevent-1.4
69 dev-lang/perl
70 sasl? ( dev-libs/cyrus-sasl )"
71 DEPEND="${RDEPEND}
72 test? ( virtual/perl-Test-Harness >=dev-perl/Cache-Memcached-1.24 )"
73
74 S="${WORKDIR}/${MY_P}"
75
76 src_prepare() {
77 epatch "${FILESDIR}/${PN}-1.2.2-fbsd.patch"
78 # Handled different upstream
79 #epatch "${FILESDIR}/${PN}-1.3.3-gcc4-slab-fixup.patch"
80 epatch "${FILESDIR}/${PN}-1.4.0-fix-as-needed-linking.patch"
81 epatch "${FILESDIR}/${PN}-1.4.4-as-needed.patch"
82 sed -i -e 's,-Werror,,g' configure.ac || die "sed failed"
83 eautoreconf
84 use slabs-reassign && append-flags -DALLOW_SLABS_REASSIGN
85 }
86
87 src_configure() {
88 econf \
89 --disable-docs \
90 $(use_enable sasl)
91 # The xml2rfc tool to build the additional docs requires TCL :-(
92 # `use_enable doc docs`
93 }
94
95 src_compile() {
96 # There is a heavy degree of per-object compile flags
97 # Users do NOT know better than upstream. Trying to compile the testapp and
98 # the -debug version with -DNDEBUG _WILL_ fail.
99 append-flags -UNDEBUG -pthread
100 emake testapp memcached-debug CFLAGS="${CFLAGS}"
101 filter-flags -UNDEBUG
102 emake
103 }
104
105 src_install() {
106 emake DESTDIR="${D}" install
107 dobin scripts/memcached-tool
108 use debug && dobin memcached-debug
109
110 dodoc AUTHORS ChangeLog NEWS README.md doc/{CONTRIBUTORS,*.txt}
111
112 newconfd "${FILESDIR}/memcached.confd" memcached
113 newinitd "${FILESDIR}/memcached.init" memcached
114 }
115
116 pkg_postinst() {
117 enewuser memcached -1 -1 /dev/null daemon
118
119 elog "With this version of Memcached Gentoo now supports multiple instances."
120 elog "To enable this you should create a symlink in /etc/init.d/ for each instance"
121 elog "to /etc/init.d/memcached and create the matching conf files in /etc/conf.d/"
122 elog "Please see Gentoo bug #122246 for more info"
123 }
124
125 src_test() {
126 emake -j1 test
127 }