summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2011-05-06 06:59:23 +0000
committerDirkjan Ochtman <djc@gentoo.org>2011-05-06 06:59:23 +0000
commit1c3c4d8894bb525a23a5ea3cc4565c0c339d571b (patch)
treefccb245fc0e1996cad21c2a8fda355ee1f71c7c9 /dev-db
parentFix wrong usage of python eclass, #366137 (diff)
downloadhistorical-1c3c4d8894bb525a23a5ea3cc4565c0c339d571b.tar.gz
historical-1c3c4d8894bb525a23a5ea3cc4565c0c339d571b.tar.bz2
historical-1c3c4d8894bb525a23a5ea3cc4565c0c339d571b.zip
Remove old redis versions.
Package-Manager: portage-2.1.9.46/cvs/Linux x86_64
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/redis/ChangeLog7
-rw-r--r--dev-db/redis/Manifest17
-rw-r--r--dev-db/redis/files/01-dont-print-pid-on-startup.diff17
-rw-r--r--dev-db/redis/redis-1.2.6.ebuild120
-rw-r--r--dev-db/redis/redis-2.2.0_rc4.ebuild110
5 files changed, 17 insertions, 254 deletions
diff --git a/dev-db/redis/ChangeLog b/dev-db/redis/ChangeLog
index 23bacc5766fe..70736b092993 100644
--- a/dev-db/redis/ChangeLog
+++ b/dev-db/redis/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/redis
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/redis/ChangeLog,v 1.12 2011/04/07 12:36:39 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/redis/ChangeLog,v 1.13 2011/05/06 06:59:22 djc Exp $
+
+ 06 May 2011; Dirkjan Ochtman <djc@gentoo.org>
+ -files/01-dont-print-pid-on-startup.diff, -redis-1.2.6.ebuild,
+ -redis-2.2.0_rc4.ebuild:
+ Remove old versions.
07 Apr 2011; Fabian Groffen <grobian@gentoo.org> redis-2.2.2.ebuild:
Fix for Darwin, thanks Sven Schwyn bug #353516, marked ~x86-solaris
diff --git a/dev-db/redis/Manifest b/dev-db/redis/Manifest
index 60a0f365f3b7..5345dafe30df 100644
--- a/dev-db/redis/Manifest
+++ b/dev-db/redis/Manifest
@@ -1,13 +1,18 @@
-AUX 01-dont-print-pid-on-startup.diff 647 RMD160 ad9fcf603a37ebe6fe1c6028b64cd40bb7ed748c SHA1 630e3c656a9e0dfa507272716a24e5ed86a33947 SHA256 d0a048cf4cd0d342404cfe7af23aecb7b04975eb7336052d645303b09b30b758
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX configure.ac-1.02 1496 RMD160 41e3f453f993020ce6477392fed18261c199a9a5 SHA1 bbf22e3d8aff6cb9745d6316c6ba6c64bca96865 SHA256 16d546fc036e2ef8a020e3b042ff2c49b13a0dcddc6de1046c9dac039af0e877
AUX configure.ac-2.2 1522 RMD160 76faaedfd1debd7e10d9a7a15a8ca845a7c4dad8 SHA1 baa5e21f7b90a35811e05560278ad233fa049178 SHA256 349b9f826578a886930bf395b59e6bdf1802c453ffd4cadbfcc3cca49c07313f
AUX redis.confd 450 RMD160 237a72f30b3ba5c77e7dd31d2dfebc2db2cea2ad SHA1 4c298810900f0e627cd3f7bf480feb639b6cc2d5 SHA256 8c68e29dc88c8ad99b9212a448d313d1406ef02c7638398b2e48ea1ca8aa937b
AUX redis.initd 859 RMD160 a5718f3b4eab11450223c21bc98ab75d408e932e SHA1 ba3237364dba1da920ec4f14c13ff2cd45062144 SHA256 8b25b60bca695a8393e381078b2a42330c1b6cc2953bbe3c1b7cbd41ca36fe5d
-DIST redis-1.2.6.tar.gz 213341 RMD160 a7195e4f9ba1f7b0b3466fad4ccc28a6659db8c0 SHA1 c71aef0b3f31acb66353d86ba57dd321b541043f SHA256 bed0641225f786f225a2c4897ffbec1e6573a3c31e9f899884ee3041eab96873
-DIST redis-2.2.0-rc4.tar.gz 445431 RMD160 3df1c4d866b3af1f90ce7d299f5132d83dee5627 SHA1 f4cd8e1b7dee04f1e9f07a1dcef8a09d190002a0 SHA256 5f3398c0b6d8e01132ea07f2b3143193db0a1e4dc8408cc5bd789a1e97cffc85
DIST redis-2.2.2.tar.gz 446269 RMD160 a7a21ab6aa07f79e5cdeb991a26dd1d55446e38e SHA1 75b953e4a3067570555c5f3f5e8f481c40489904 SHA256 4c5ff589ec80bf019ebebcf5fb5187939d7e50c34fa9f8a0511e40825a3ec235
-EBUILD redis-1.2.6.ebuild 3424 RMD160 73b93a1a26b70e3c1d57dc7d2706237f03bae5e8 SHA1 8ac89e4e53986b2285c3d1017f75b764f2d699da SHA256 a4bba1ac854ebb4ac6829f0883882fa57eda01b3b8ad67de6ad19413eb5547c2
-EBUILD redis-2.2.0_rc4.ebuild 3501 RMD160 50b016fe6b7682064d9b2f93a45722e6e8064d4a SHA1 bea5115398a6ece1a366a36748d9f737b7b02253 SHA256 c285acbd52122c00e1b01ab4b568fab3dcf549d4434cedc6695711cd7a83f039
EBUILD redis-2.2.2.ebuild 3513 RMD160 e1e9ff63d0b2867f3defd5ee66fcefaba8678da9 SHA1 c84630720c0c2ee44f74f4f938861f86b967cbf6 SHA256 2a8f29f0bcf2806f8c69ab6a7937923cd9c3c2343f025d975f794bb18ac605d4
-MISC ChangeLog 2160 RMD160 0479c8359ad4c154b529b51379b92fabc64eeca6 SHA1 81df2f80f098075aaf60c84e83da1636e6b6fd4d SHA256 8ac6ca1b53a06039b005ab76bf754e56587d74a2e547e8fc1ecdabfe25e2f80b
+MISC ChangeLog 2320 RMD160 bcb9c9f7d58e1ff64b1e1b892268ce3dcd315cf7 SHA1 fef2ef153bb3c85991891f4da46a5d82d245fe73 SHA256 93b62468d02cd5e6f1dd72808fd2bff397fb8a6b302c18a9274013742872ecd3
MISC metadata.xml 553 RMD160 3be3be322cb813db7b6ca636b6fdca13a9a0483c SHA1 7d5dd7d39f782f4903052bc1f78a8baeff06460e SHA256 0533101247089bd059f8740d38b49a326307d60d0c6d66818ab552f3a65f0e34
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk3DnFMACgkQxeMuLWsGW/uPSgCfU4FVCBWP4TDg+E39tKXqps9t
+6UQAmwUnHTYPlCT1iVPB0fD2RO0xVax1
+=0dow
+-----END PGP SIGNATURE-----
diff --git a/dev-db/redis/files/01-dont-print-pid-on-startup.diff b/dev-db/redis/files/01-dont-print-pid-on-startup.diff
deleted file mode 100644
index 1e42fe1688a6..000000000000
--- a/dev-db/redis/files/01-dont-print-pid-on-startup.diff
+++ /dev/null
@@ -1,17 +0,0 @@
-
-Don't print pid of forked process on startup. This change was also made
-upstream in 20f5b3886761a0ba963fee435bba90dd09bd5bd5.
-
- -- Chris Lamb <lamby@debian.org> Thu, 14 Jan 2010 15:48:04 +0000
-
-diff -urNad /tmp/bp-build/redis-1.2.0.orig/redis.c /tmp/bp-build/redis-1.2.0/redis.c
---- redis-1.2.0.orig/redis.c 2010-01-14 15:46:33.000000000 +0000
-+++ redis-1.2.0/redis.c 2010-01-14 15:46:51.000000000 +0000
-@@ -6215,7 +6215,6 @@
- FILE *fp;
-
- if (fork() != 0) exit(0); /* parent exits */
-- printf("New pid: %d\n", getpid());
- setsid(); /* create a new session */
-
- /* Every output goes to /dev/null. If Redis is daemonized but
diff --git a/dev-db/redis/redis-1.2.6.ebuild b/dev-db/redis/redis-1.2.6.ebuild
deleted file mode 100644
index bbc0b904981b..000000000000
--- a/dev-db/redis/redis-1.2.6.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/redis/redis-1.2.6.ebuild,v 1.2 2011/01/26 02:25:32 robbat2 Exp $
-
-EAPI=2
-
-inherit autotools eutils
-
-DESCRIPTION="Persistent distributed key-value data caching system."
-HOMEPAGE="http://code.google.com/p/redis/"
-SRC_URI="http://redis.googlecode.com/files/${P}.tar.gz"
-
-LICENSE="BSD"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-SLOT="0"
-
-RDEPEND=""
-DEPEND="test? ( dev-lang/tcl )"
-
-REDIS_PIDDIR=/var/run/redis/
-REDIS_PIDFILE=${REDIS_PIDDIR}/redis.pid
-REDIS_DATAPATH=/var/lib/redis
-REDIS_LOGPATH=/var/log/redis
-REDIS_LOGFILE=${REDIS_LOGPATH}/redis.log
-
-pkg_setup() {
- enewgroup redis 75 || die "problem adding 'redis' group"
- enewuser redis 75 -1 ${REDIS_DATAPATH} redis || die "problem adding 'redis' user"
-}
-
-src_prepare() {
- # Borrowed from debian
- epatch "${FILESDIR}"/01-dont-print-pid-on-startup.diff
- # Now autotoolize this
- cp "${FILESDIR}"/configure.ac-1.02 configure.ac
- mv Makefile Makefile.in
- sed -i \
- -e 's:$(CC):@CC@:g' \
- -e 's:$(CFLAGS):@AM_CFLAGS@:g' \
- -e 's: $(DEBUG)::g' \
- -e 's:ARCH:GCC_ARCH_FLAG:g' \
- -e 's:PROF:GCC_PROF_FLAG:g' \
- -e '/^CCOPT=/s:$: $(LDFLAGS):g' \
- Makefile.in \
- || die "sed failed!"
-
- eautoreconf
-}
-
-src_install() {
- # configuration file rewrites
- insinto /etc/
- sed -r \
- -e "/^pidfile\>/s,/var.*,${REDIS_PIDFILE}," \
- -e '/^daemonize\>/s,no,yes,' \
- -e '/^# bind/s,^# ,,' \
- -e '/^# maxmemory\>/s,^# ,,' \
- -e '/^maxmemory\>/s,<bytes>,67108864,' \
- -e "/^dbfilename\>/s,dump.rdb,${REDIS_DATAPATH}/dump.rdb," \
- -e "/^dir\>/s, .*, ${REDIS_DATAPATH}/," \
- -e '/^loglevel\>/s:debug:notice:' \
- -e "/^logfile\>/s:stdout:${REDIS_LOGFILE}:" \
- <redis.conf \
- >redis.conf.gentoo
- newins redis.conf.gentoo redis.conf
- fowners root:redis /etc/redis.conf
- fperms 0640 /etc/redis.conf
-
- newconfd "${FILESDIR}/redis.confd" redis
- newinitd "${FILESDIR}/redis.initd" redis
-
- dodoc 00-RELEASENOTES BETATESTING.txt BUGS Changelog README TODO
- newdoc client-libraries/README README.client-libraries
- dohtml doc/*
-
- dobin redis-benchmark redis-cli
- dosbin redis-server
-
- diropts -m0750 -o redis -g redis
- keepdir ${REDIS_DATAPATH} ${REDIS_LOGPATH} ${REDIS_PIDDIR}
-}
-
-src_test() {
- local PORT=$(((RANDOM % 32767)+32768))
- local PIDFILE=redis-test.pid
- einfo "Preparing redis test config"
- # The port number is hardcoded in lots of places
- sed -r <redis.conf >redis-test.conf \
- -e "/^pidfile/s~ .*~ ${PIDFILE}~" \
- -e '/^daemonize/s~ no~ yes~' \
- -e "/^port/s~ [0-9]+~ ${PORT}~" \
- -e '/^(# )?bind/s,^,#,g' \
- -e '/\<bind\>/abind 127.0.0.1' \
- || die "Failed to build test server config"
- # The port number is hardcoded in lots of places
- for i in test-redis.tcl redis.tcl ; do
- sed -r <$i >${i/.tcl/-${PORT}.tcl} \
- -e "/^source redis.tcl/s,redis.tcl,redis-${PORT}.tcl,g" \
- -e "/6379/s~6379~${PORT}~" \
- || die "Failed to build test client config ($i)"
- done
- einfo "Starting test server"
- ./redis-server redis-test.conf
- rc1=$?
- sleep 2
- [[ $rc1 -ne 0 ]] && die "Failed to start redis server!"
- pidof redis-server | fgrep -f ${PIDFILE}
- rc1=$?
- [[ $rc1 -ne 0 ]] && die "Could not find started redis server!"
- unset rc1
-
- einfo "Starting redis tests"
- tclsh test-redis-$PORT.tcl
- rc1=$?
- kill -9 $(<${PIDFILE})
- rc2=$?
- [[ $rc1 -ne 0 ]] && die "Failed testsuite"
- [[ $rc2 -ne 0 ]] && die "Failed to shut down redis server"
-}
diff --git a/dev-db/redis/redis-2.2.0_rc4.ebuild b/dev-db/redis/redis-2.2.0_rc4.ebuild
deleted file mode 100644
index 60d8c2566d6c..000000000000
--- a/dev-db/redis/redis-2.2.0_rc4.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/redis/redis-2.2.0_rc4.ebuild,v 1.3 2011/01/26 02:43:30 robbat2 Exp $
-
-EAPI="2"
-
-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"
-
-LICENSE="BSD"
-KEYWORDS="~amd64 ~x86 ~x86-macos"
-IUSE="tcmalloc test"
-SLOT="0"
-
-RDEPEND=""
-DEPEND=">=sys-devel/autoconf-2.63
- tcmalloc? ( dev-util/google-perftools )
- test? ( dev-lang/tcl )
- ${RDEPEND}"
-
-S="${WORKDIR}/${PN}-${PV/_/-}"
-
-REDIS_PIDDIR=/var/run/redis/
-REDIS_PIDFILE=${REDIS_PIDDIR}/redis.pid
-REDIS_DATAPATH=/var/lib/redis
-REDIS_LOGPATH=/var/log/redis
-REDIS_LOGFILE=${REDIS_LOGPATH}/redis.log
-
-pkg_setup() {
- enewgroup redis 75 || die "problem adding 'redis' group"
- enewuser redis 75 -1 ${REDIS_DATAPATH} 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() {
- # 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' \
- -e '/^CCOPT=/s:$: $(LDFLAGS):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.2 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_install() {
- # configuration file rewrites
- insinto /etc/
- sed -r \
- -e "/^pidfile\>/s,/var.*,${REDIS_PIDFILE}," \
- -e '/^daemonize\>/s,no,yes,' \
- -e '/^# bind/s,^# ,,' \
- -e '/^# maxmemory\>/s,^# ,,' \
- -e '/^maxmemory\>/s,<bytes>,67108864,' \
- -e "/^dbfilename\>/s,dump.rdb,${REDIS_DATAPATH}/dump.rdb," \
- -e "/^dir\>/s, .*, ${REDIS_DATAPATH}/," \
- -e '/^loglevel\>/s:debug:notice:' \
- -e "/^logfile\>/s:stdout:${REDIS_LOGFILE}:" \
- <redis.conf \
- >redis.conf.gentoo
- newins redis.conf.gentoo redis.conf
- use prefix || 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 README TODO
- dodoc design-documents/*
- newdoc client-libraries/README README.client-libraries
- 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
-
- if use prefix; then
- diropts -m0750
- else
- diropts -m0750 -o redis -g redis
- fi
- keepdir ${REDIS_DATAPATH} ${REDIS_LOGPATH} ${REDIS_PIDDIR}
-}
-
-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"
-}