Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321487 - Version bump: dev-db/redis-2.0.4
Summary: Version bump: dev-db/redis-2.0.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 2 votes (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-25 20:09 UTC by Luca Barbato
Modified: 2011-01-26 02:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
First draft (redis-2.0.0_rc1.ebuild,3.25 KB, text/plain)
2010-05-25 20:09 UTC, Luca Barbato
Details
Redis 2.0.1 ebuild (redis-2.0.1.ebuild,3.18 KB, text/plain)
2010-09-21 05:41 UTC, Vladimir Tsisaruk
Details
redis-2.0.4 ebuild from different source (redis-2.0.4.ebuild,2.17 KB, text/plain)
2010-12-12 17:24 UTC, Mao PU
Details
configure.ac file for redis-2.x (configure.ac-2.0,1.49 KB, text/plain)
2010-12-12 17:25 UTC, Mao PU
Details
configure.ac for 2.2_rc (configure.ac-2.2,1.49 KB, text/plain)
2010-12-27 19:27 UTC, Mao PU
Details
redis-2.2.0_rc2.ebuild (redis-2.2.0_rc2.ebuild,3.17 KB, text/plain)
2010-12-27 19:28 UTC, Mao PU
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Barbato gentoo-dev 2010-05-25 20:09:07 UTC
redis is going to get version 2.0 soon here is the first tentative ebuild for the rc1.
Comment 1 Luca Barbato gentoo-dev 2010-05-25 20:09:46 UTC
Created attachment 232911 [details]
First draft
Comment 2 Luca Barbato gentoo-dev 2010-05-26 08:38:53 UTC
I need some time to play with it, if you think works well enough we'll commit it in ~
Comment 3 Vladimir Tsisaruk 2010-09-21 05:41:53 UTC
Created attachment 248248 [details]
Redis 2.0.1 ebuild

Bump redis ebuild version to 2.0.1
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-10-19 14:15:07 UTC
2.0.3 is out,

http://redis.googlecode.com/files/redis-2.0.3.tar.gz
Comment 5 Sergey Zasenko 2010-11-03 07:29:21 UTC
(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 !
Comment 6 Sergey Zasenko 2010-11-04 17:09:53 UTC
(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.
Comment 7 Mao PU 2010-12-12 17:24:47 UTC
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.
Comment 8 Mao PU 2010-12-12 17:25:20 UTC
Created attachment 256968 [details]
configure.ac file for redis-2.x
Comment 9 Johan Bergström 2010-12-16 15:11:10 UTC
We should optionally depend on google-perf-tools for make USE_TCMALLOC=yes
Comment 10 Mao PU 2010-12-18 21:57:20 UTC
(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
Comment 11 Mao PU 2010-12-27 19:27:42 UTC
Created attachment 258200 [details]
configure.ac for 2.2_rc
Comment 12 Mao PU 2010-12-27 19:28:50 UTC
Created attachment 258202 [details]
redis-2.2.0_rc2.ebuild

with tcmalloc USE flag.
Comment 13 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-01-26 02:44:04 UTC
merged a variant of your ebuild now.