Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 2 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
View
2  dev-db/redis/Manifest
@@ -10,6 +10,7 @@ DIST redis-2.2.0.tar.gz 446035 RMD160 b86aae9337df1f993a36e3a516736e84b2f79d83 S
DIST redis-2.2.1.tar.gz 446179 RMD160 23316e2e1904086a9ff0df5f41b7e8eb614be3ec SHA1 a64c32f37e67bdeabbab74f8413a960a8d42e381 SHA256 509219fd656516152f2c11d5d4959238c2c86d0392f1443eaf56dec5e6642eda
DIST redis-2.2.2.tar.gz 446269 RMD160 a7a21ab6aa07f79e5cdeb991a26dd1d55446e38e SHA1 75b953e4a3067570555c5f3f5e8f481c40489904 SHA256 4c5ff589ec80bf019ebebcf5fb5187939d7e50c34fa9f8a0511e40825a3ec235
DIST redis-2.2.4.tar.gz 447499 RMD160 cf673d4ae932825842f20fcb1236e1397771d6f8 SHA1 063e6e9f615ceda664d0691a6ea59befb22ebc40 SHA256 6d612b28137c926fb6b668fd85d25862469f9755af4e15f1b37cbe6f88882b32
+DIST redis-2.2.5.tar.gz 447725 RMD160 3ed09335afd92bbcaa47b59098f4edf6b15086ca SHA1 638569b6d500bc6e02c4aef7eb39d2b22c1fc161 SHA256 983b97b4edfed26e30c535af8fe23528a8a8b6afaebbe5c2a2c0ac003d8d6bc5
EBUILD redis-1.02.ebuild 2209 RMD160 fa0d6fda10ad4ebd65be13034d611f1c1b734753 SHA1 f834cda49ca8d0928630d90b09dff3bca95bd7d7 SHA256 c78f089d088e5e7ee538f244238160da6a733aaa51434fc0b633aef7dbb3fd0d
EBUILD redis-1.2.6.ebuild 2141 RMD160 87bfbfef5b26855eb13329be752373b2790c3ff2 SHA1 760ba41e17df3712adf1ccae885dfd921d07c6a4 SHA256 3795db2a236356f0c1b17766cec91e114bbf4c9d085db7177139cc3aa613bf98
EBUILD redis-2.0.4.ebuild 2193 RMD160 d14e667d5b94c42d658962fe5b550f346642e09f SHA1 a0ff0e062ddd7980c8413ddce4c17b4ab1d2875a SHA256 443d1d70b01b8365e03152944eeedc8351a789f17a621872a65ce35be2d02717
@@ -18,3 +19,4 @@ EBUILD redis-2.2.0.ebuild 3605 RMD160 37cf9afe4b825996b483f39626fb459d5b90d8b9 S
EBUILD redis-2.2.1.ebuild 3605 RMD160 37cf9afe4b825996b483f39626fb459d5b90d8b9 SHA1 58dab932b5d854d920e19e8d014b50c41ac0a9f2 SHA256 39b3a9aa195aaf2dae7eeb0b8ffd4511dbb9a5f21d1881b7603e13ec723ffb84
EBUILD redis-2.2.2.ebuild 3605 RMD160 37cf9afe4b825996b483f39626fb459d5b90d8b9 SHA1 58dab932b5d854d920e19e8d014b50c41ac0a9f2 SHA256 39b3a9aa195aaf2dae7eeb0b8ffd4511dbb9a5f21d1881b7603e13ec723ffb84
EBUILD redis-2.2.4.ebuild 3605 RMD160 37cf9afe4b825996b483f39626fb459d5b90d8b9 SHA1 58dab932b5d854d920e19e8d014b50c41ac0a9f2 SHA256 39b3a9aa195aaf2dae7eeb0b8ffd4511dbb9a5f21d1881b7603e13ec723ffb84
+EBUILD redis-2.2.5.ebuild 3605 RMD160 37cf9afe4b825996b483f39626fb459d5b90d8b9 SHA1 58dab932b5d854d920e19e8d014b50c41ac0a9f2 SHA256 39b3a9aa195aaf2dae7eeb0b8ffd4511dbb9a5f21d1881b7603e13ec723ffb84
View
108 dev-db/redis/redis-2.2.5.ebuild
@@ -0,0 +1,108 @@
+# Copyright 2010-2011 W-Mark Kubacki, Mao Pu
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+WANT_AUTOCONF="latest"
+
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="A persistent caching system, key-value and data structures database."
+HOMEPAGE="http://code.google.com/p/redis/"
+SRC_URI="http://redis.googlecode.com/files/${PN}-${PV/_/-}.tar.gz"
+RESTRICT="primaryuri"
+
+LICENSE="BSD"
+KEYWORDS="amd64 x86 arm ~sparc ~ppc"
+IUSE="tcmalloc"
+SLOT="0"
+
+RDEPEND="tcmalloc? ( dev-util/google-perftools )
+ "
+DEPEND=">=sys-devel/autoconf-2.63
+ ${RDEPEND}"
+
+S="${WORKDIR}/${PN}-${PV/_/-}"
+
+pkg_setup() {
+ enewgroup redis 75 || die "problem adding 'redis' group"
+ enewuser redis 75 -1 /var/lib/redis redis || die "problem adding 'redis' user"
+ # set tcmalloc-variable for the build as specified in
+ # https://github.com/antirez/redis/blob/2.2/README. If build system gets
+ # better integrated into autotools, replace with append-flags and
+ # append-ldflags in src_configure()
+ use tcmalloc && export EXTRA_EMAKE="${EXTRA_EMAKE} USE_TCMALLOC=yes"
+}
+
+src_prepare() {
+ cd "${S}"
+ # Unfortunately, redis-py does use the name "Redis" for its tarballs, too.
+ # Therefore, before wasting time on configuring, we have to rule out here
+ # that the wrong tarball is being used.
+ test -e redis.conf \
+ || die "redis.conf is missing - most probably this is the wrong tarball. Remove ${PN}-${PV/_/-}.tar.gz from your distfiles and try again!"
+ # now we will rewrite present Makefiles
+ local makefiles=""
+ for MKF in $(find -name 'Makefile' | cut -b 3-); do
+ mv "${MKF}" "${MKF}.in"
+ sed -i -e 's:$(CC):@CC@:g' \
+ -e 's:$(CFLAGS):@AM_CFLAGS@:g' \
+ -e 's: $(DEBUG)::g' \
+ -e 's:ARCH:TARCH:g' \
+ "${MKF}.in" \
+ || die "Sed failed for ${MKF}"
+ makefiles+=" ${MKF}"
+ done
+ # autodetection of compiler and settings; generates the modified Makefiles
+ cp "${FILESDIR}"/configure.ac-2.0 configure.ac
+ sed -i -e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
+ configure.ac || die "Sed failed for configure.ac"
+ eautoconf
+}
+
+src_configure() {
+ if ! ( use x86 || use amd64 ); then
+ replace-flags "-Os" "-O2"
+ filter-flags -fomit-frame-pointer "-march=*" "-mtune=*" "-mcpu=*"
+ fi
+ econf ${myconf} || die "econf"
+}
+
+src_install() {
+ # configuration file rewrites
+ insinto /etc/
+ doins redis.conf || ewarn "mysteriously the configuration file is missing"
+ dosed "s:daemonize no:daemonize yes:g" /etc/redis.conf
+ dosed "s:# bind:bind:g" /etc/redis.conf
+ dosed "s:dbfilename :dbfilename /var/lib/redis/:g" /etc/redis.conf
+ dosed "s:dir ./:dir /var/lib/redis/:g" /etc/redis.conf
+ dosed "s:loglevel debug:loglevel notice:g" /etc/redis.conf
+ dosed "s:logfile stdout:logfile /var/log/redis/redis.log:g" /etc/redis.conf
+ fowners redis:redis /etc/redis.conf
+ fperms 0644 /etc/redis.conf
+
+ newconfd "${FILESDIR}/redis.confd" redis
+ newinitd "${FILESDIR}/redis.initd" redis
+
+ dodoc 00-RELEASENOTES BUGS Changelog CONTRIBUTING COPYING README TODO
+ dodoc design-documents/*
+ docinto html
+ dodoc doc/*
+
+ dobin src/redis-cli \
+ || die "the redis command line client could not be found"
+ dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-dump \
+ || die "some redis executables could not be found"
+ fperms 0750 /usr/sbin/redis-benchmark
+
+ diropts -m0750 -o redis -g redis
+ dodir /var/lib/redis
+ dodir /var/log/redis
+}
+
+pkg_postinst() {
+ einfo "New features of Redis you want to consider enabling in redis.conf:"
+ einfo " * unix sockets (using this is highly recommended)"
+ einfo " * logging to syslog"
+ einfo " * VM aka redis' own swap mechanism"
+}
View
2  net-libs/zeromq/Manifest
@@ -5,6 +5,7 @@ DIST zeromq-2.1.1.tar.gz 1250041 RMD160 8ec03b56c376ea04bef139c54b8d73f8e3e1100d
DIST zeromq-2.1.2.tar.gz 1252181 RMD160 4b3f456741e6d4df09c47730470e282dfd6e871a SHA1 5be835d1f1708770593b627c9f4e8ab0d4a115f4 SHA256 46d37ef6618c8b0f342f17439f69cf8c4901fe715d546331bcd8cec8e96e93df
DIST zeromq-2.1.3.tar.gz 1757352 RMD160 7c6507142a602d6f42c3150d3e6609f60b043c1d SHA1 b08f55d53c5cd1f4585c5cd368763c967f4b9ab0 SHA256 40202ca1abeebc6bee9b388f62bf40d8325df645067a09df5077e37a99f789b2
DIST zeromq-2.1.4.tar.gz 1861271 RMD160 eb3b2a1c1e2e963f488d3f27485c8a86cfecfa9b SHA1 95eb3ee5f12ead66b7c9ac7d0ed7c2f80e37ef56 SHA256 782d1accb3c673dfad75d42e04b431817359965a9c63f6afd22d7e92e9cdd268
+DIST zeromq-2.1.6.tar.gz 1873337 RMD160 90752c05b752313bf093d0ef4c59a71931861339 SHA1 f1b4dc7d8dc5b25b715f512d4a21766356718dd9 SHA256 a1bbb352a9dbf34b18a3999b22a8db2d51e4a52508d098528d771811533f9fd0
EBUILD zeromq-2.0.10.ebuild 849 RMD160 4ba8643e3f7d11d30bf1e1c140521ff58019ece5 SHA1 0549dd0a408337a419e1fbf907ca3b6cd858524e SHA256 8826c48bac9f3484718fe962165b2cac945aa773b99aac470fd80cc1b925129a
EBUILD zeromq-2.0.11.ebuild 849 RMD160 4ba8643e3f7d11d30bf1e1c140521ff58019ece5 SHA1 0549dd0a408337a419e1fbf907ca3b6cd858524e SHA256 8826c48bac9f3484718fe962165b2cac945aa773b99aac470fd80cc1b925129a
EBUILD zeromq-2.1.0.ebuild 849 RMD160 4ba8643e3f7d11d30bf1e1c140521ff58019ece5 SHA1 0549dd0a408337a419e1fbf907ca3b6cd858524e SHA256 8826c48bac9f3484718fe962165b2cac945aa773b99aac470fd80cc1b925129a
@@ -12,3 +13,4 @@ EBUILD zeromq-2.1.1.ebuild 854 RMD160 29d8488ac3658b7f3d3968953312ef20d9cd0459 S
EBUILD zeromq-2.1.2.ebuild 854 RMD160 29d8488ac3658b7f3d3968953312ef20d9cd0459 SHA1 622459aa9601f68fb5e3066009737876b129cf63 SHA256 136dac721844ef6b2ed247e267b8ea7008e45970ad8c8dc25a8a9dcd8abc3f7e
EBUILD zeromq-2.1.3.ebuild 854 RMD160 29d8488ac3658b7f3d3968953312ef20d9cd0459 SHA1 622459aa9601f68fb5e3066009737876b129cf63 SHA256 136dac721844ef6b2ed247e267b8ea7008e45970ad8c8dc25a8a9dcd8abc3f7e
EBUILD zeromq-2.1.4.ebuild 854 RMD160 29d8488ac3658b7f3d3968953312ef20d9cd0459 SHA1 622459aa9601f68fb5e3066009737876b129cf63 SHA256 136dac721844ef6b2ed247e267b8ea7008e45970ad8c8dc25a8a9dcd8abc3f7e
+EBUILD zeromq-2.1.6.ebuild 811 RMD160 b3a2ee4daf414441d891f0efa991e88e62a0711e SHA1 c2220939582d0e6dc0e2a91594a2e98746b1b0a7 SHA256 1f2e7bf1f683fe38a105a2dce50e4fd4de5c1d737390591987c208982bff2e5d
View
42 net-libs/zeromq/zeromq-2.1.6.ebuild
@@ -0,0 +1,42 @@
+# Copyright 2010-2011 W-Mark Kubacki
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+DESCRIPTION="ØMQ is a lightweight messaging implementation with a socket-like API"
+HOMEPAGE="http://www.zeromq.org/"
+SRC_URI="http://download.zeromq.org/${P}.tar.gz"
+RESTRICT="primaryuri"
+
+LICENSE="LGPL"
+SLOT="2"
+KEYWORDS="amd64 arm x86"
+IUSE="+pgm +pic"
+
+RDEPEND="dev-libs/glib
+ sys-apps/util-linux
+ arm? ( pgm? ( net-libs/openpgm ) )
+ "
+DEPEND="${RDEPEND}
+ "
+
+src_configure() {
+ local myconf=
+ if use arm; then
+ use pgm && myconf+=" $(use_with system-pgm)"
+ else
+ use pgm && myconf+=" $(use_with pgm)"
+ fi
+ myconf+=" $(use_with pic)"
+
+ econf ${myconf} || die "econf"
+}
+
+src_compile() {
+ emake || die "emake"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install"
+}

No commit comments for this range

Something went wrong with that request. Please try again.