Adopted, changes:
- Added a logrotate file because the log grows fast;
- Added a .install file to stop the daemon before upgrading or removing;
- Make it compile without debug flags;
- Make it build in a single job;
- Use their install rule for make, instead of installing everything manually (now it installs all binaries, like redis-check-*);
- Updated the daemon script to a more generic style, like /usr/share/pacman/rc-script.proto;
- Moved /etc/redis.conf to /etc/conf.d/redis.conf, like every other daemon does.
I forgot to add a backup array. For 20081108-2 I added it for the configuration files.
WARNING: This package had not a backup array, remember to backup your redis.conf before upgrading to this package, since it is in another folder now /etc/conf.d/redis.conf!
Cheers
Search Criteria
Package Details: redis-git 20111002-1
Package Actions
| Package Base: | redis-git |
|---|---|
| Description: | An open source, advanced key-value keystore |
| Upstream URL: | http://redis.io/ |
| Category: | network |
| Licenses: | |
| Submitter: | Naypam |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 6 |
| First Submitted: | 2010-03-27 17:11 |
| Last Updated: | 2011-10-02 23:14 |
Latest Comments
Comment by hilton
Anonymous comment
Need to prepend 'src/' to the three binaries, redis-{server,cli,benchmark} on the install -D lines (54-56).
Anonymous comment
git should be listed in makedepends
Comment by gehasia
Hello,
i posted a new PKGBUILD here :
http://pastebin.com/g9bmrg6U
for the current git version which correct the path to source dir (which changed) and include redis-check-aof and redis-check-dump binaries into the final package
Comment by Naypam
That's that updated, thanks :)
Comment by badboy
I uploaded a slightly modified version of your PKGBUILD (I took the PKGBUILD-git.proto that the abs package provides as a basis):
http://gist.github.com/382080