net-proxy/nutcracker: Bump

Package-Manager: portage-2.3.0_rc1
This commit is contained in:
Patrick Lauer
2016-06-24 12:19:25 +02:00
parent 7e8fcadffb
commit a10f499894
2 changed files with 47 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST nutcracker-0.2.4.tar.gz 1723439 SHA256 132f524541c6cf4dd1d570ec5da29312ed6150e8a369df703116498b65703b4e SHA512 13d7d2a778a5d85a1d73eaa220f2e95eb7765eff0c8af390ab916f099b12d6c1a99cb61ff418b9a909ff7e2b416b271ba034eb9f50cd7df1ee53600d8b681409 WHIRLPOOL a9e09376f70ade19ef6f80f769edef26b86f3af1d529f68fd6fc42575d4521603da230ee236f8b53c275c9695602e21a586d38fc33a68960b8c11359271af902
DIST nutcracker-0.3.0.tar.gz 1825106 SHA256 e9993d6827b2e93ee2b865e827acbf9efadbbfc81ccd9103a85948ee2580942a SHA512 81ba21c54b9a15fbb1d0a42b426643b65bcd20b7bb4b35cf3427235703a01a44188b762edff412afe20c193a4e75bf618f69d8c77bae9d66cd2c4e619416f565 WHIRLPOOL 073d411619d14ff57ef9ec72975db99791d29b4b606b6a3af99a2e64b19983a0200b797e753626e7b21aeaae02a28a02402646aeb20919d0910441e5981f8da4
DIST nutcracker-0.4.1.tar.gz 1163442 SHA256 00c2940f91947bea9457a348316aac1aa1d4e757238aafbefc9d51057da8ede0 SHA512 581fae1d12feb983ed25b22cd6f597fd28b7070906ac29d3990669ae5c626a468914021cee152a6a2299a2838c838ad907e4c911b911ef04166ac7bbb2982da1 WHIRLPOOL 149a5873e85e9ad3e177b638cde7b1436bb7c5f46ebb9dcc806fd95c4c2d859a8016b0a6af383b9512024d3d90232aab73f606883a14c26eb929c0feeb961599

View File

@@ -0,0 +1,46 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit autotools eutils
DESCRIPTION="A fast, light-weight proxy for Memcached and Redis.
(Twitter's Twemproxy)"
HOMEPAGE="https://github.com/twitter/twemproxy"
SRC_URI="https://github.com/twitter/twemproxy/archive/v0.4.1.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug doc"
DEPEND=">=dev-libs/libyaml-0.1.4"
RDEPEND="${DEPEND}"
S="${WORKDIR}/twemproxy-${PV}"
src_prepare() {
# Lets use system libyaml
epatch "${FILESDIR}/${PN}-0.3.0-use-system-libyaml.patch"
eautoreconf
}
src_configure() {
econf $(use debug) || die "Econf failed"
}
src_install() {
default_src_install
insinto /etc/nutcracker
newins conf/nutcracker.yml nutcracker.yml.example
newconfd "${FILESDIR}/nutcracker.confd" nutcracker
newinitd "${FILESDIR}/nutcracker.initd" nutcracker
if use doc; then
dodoc -r notes
fi
}