net-proxy/nutcracker - 0.4.1 (gentoo)

Search

Install

Install this version:

emerge -a =net-proxy/nutcracker-0.4.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-proxy/nutcracker-0.4.1

Or alternatively:

emerge --autounmask-write -a =net-proxy/nutcracker-0.4.1

Package Information

Description:
A fast, light-weight proxy for Memcached and Redis. (Twitter's Twemproxy)
Homepage:
https://github.com/twitter/twemproxy
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
0.4.1 7 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit autotools

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/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/twemproxy-${PV}"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug doc"

DEPEND=">=dev-libs/libyaml-0.1.4"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"

PATCHES=(
	# Let's use system libyaml
	"${FILESDIR}"/${PN}-0.3.0-use-system-libyaml.patch
)

src_prepare() {
	default

	eautoreconf
}

src_configure() {
	econf $(use debug)
}

src_install() {
	default

	insinto /etc/nutcracker
	newins conf/nutcracker.yml nutcracker.yml.example

	newconfd "${FILESDIR}/nutcracker.confd.2" nutcracker
	newinitd "${FILESDIR}/nutcracker.initd.2" nutcracker

	if use doc; then
		dodoc -r notes
	fi
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-proxy/nutcracker | euse -E <flag> -p net-proxy/nutcracker | euse -D <flag> -p net-proxy/nutcracker

Global/Standard Flags

doc

Inherited Eclasses

Dependencies

DEPEND

>=dev-libs/libyaml-0.1.4

RDEPEND

>=dev-libs/libyaml-0.1.4

BDEPEND

virtual/pkgconfig

Manifest for 0.4.1

Type File Size Source URLs
DIST nutcracker-0.4.1.tar.gz 1163442 bytes https://github.com/twitter/twemproxy/archive/v0.4.1.tar.gz