redis is going to get version 2.0 soon here is the first tentative ebuild for the rc1.
Created attachment 232911 [details] First draft
I need some time to play with it, if you think works well enough we'll commit it in ~
Created attachment 248248 [details] Redis 2.0.1 ebuild Bump redis ebuild version to 2.0.1
2.0.3 is out, http://redis.googlecode.com/files/redis-2.0.3.tar.gz
(In reply to comment #3) > Created an attachment (id=248248) [details] > Redis 2.0.1 ebuild > > Bump redis ebuild version to 2.0.1 > Got next error: >>> Emerging (1 of 1) dev-db/redis-2.0.1 from local * redis-2.0.1.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: dev-db/redis-2.0.1 * Repository: local * USE: elibc_glibc kernel_linux userland_GNU x86 >>> Unpacking source... >>> Unpacking redis-2.0.1.tar.gz to /mnt/data/tmp/portage/dev-db/redis-2.0.1/work >>> Source unpacked in /mnt/data/tmp/portage/dev-db/redis-2.0.1/work >>> Preparing source in /mnt/data/tmp/portage/dev-db/redis-2.0.1/work/redis-2.0.1 ... cp: cannot stat `/usr/local/portage/dev-db/redis/files/configure.ac-1.02': No such file or directory * Running eautoreconf in '/mnt/data/tmp/portage/dev-db/redis-2.0.1/work/redis-2.0.1' ... * Running aclocal ... [ !! ] * Failed Running aclocal !
(In reply to comment #3) > Created an attachment (id=248248) [details] > Redis 2.0.1 ebuild > > Bump redis ebuild version to 2.0.1 > Never mind! Everything works just fine. Also used that ebuild for version 2.0.3 ,and it works.
Created attachment 256966 [details] redis-2.0.4 ebuild from different source At http://git.ossdl.de/cgit/ossdl-overlay/ I found another approach to a redis ebuild. I made some small changes concerning the structure to be more EAPI-2 compliant, besides that, it might be a good source for a redis ebuild.
Created attachment 256968 [details] configure.ac file for redis-2.x
We should optionally depend on google-perf-tools for make USE_TCMALLOC=yes
(In reply to comment #9) > We should optionally depend on google-perf-tools for make USE_TCMALLOC=yes > From what I have seen, redis-2.0.4 does not yet support tcmalloc in its build system. You would need to add something like the following to src_prepare or just wait for the redis-2.2 release. if use tcmalloc ; then sed -i 's:pthread:pthread -ltcmalloc:g' Makefile.in fi
Created attachment 258200 [details] configure.ac for 2.2_rc
Created attachment 258202 [details] redis-2.2.0_rc2.ebuild with tcmalloc USE flag.
merged a variant of your ebuild now.