Hey Peter, I've been packaging newer versions of CouchDB (sometimes with some experimental patches) for Meebo for a while based on your source rpms. Thanks for your great work!
I haven't looked at your newest RPMs, but I wanted to share my modified init script which, last I checked, does a couple nice things that yours doesn't. Maybe you can include my changes (after vetting them for I am not an experienced RPM packager). Here's the link: http://gist.github.com/622787 In particular, it does two things. 1) Based on what I saw in thy MySQL package, stop() asks CouchDB to quit and then checks every second (up to 60 seconds) to see if it's shut down before forcibly killing the process. This avoids an issue where restart could sometimes crash the new CouchDB process with EADDRINUSE when it tries to bind the server socket by making sure that the old CouchDB process is actually stopped before starting the new one. 2) If the init script is a symlink it will be followed until a matching /etc/sysconfig file is found (leaving the default environment otherwise). This allows easy configuration of multiple CouchDB instances on the same box by symlinking the init script and placing a matching file in /etc/sysconfig to configure it. I'd love your feedback! I really appreciate your packaging effort. -Randall On Tue, Oct 12, 2010 at 03:47, Peter Lemenkov <[email protected]> wrote: > Hello All. > > Just for those who are interested in latest CouchDB on these platforms > and doesn't interested in solving compatibility issues with relatively > old (but stable) dependent software - I started providing latest RPMs > for x86 and x86_64 arches (they were built using official EPEL > buildsystem): > > http://repos.fedorapeople.org/repos/peter/couchdb/ > > All you need is to > > * download epel-couchdb.repo ( > http://repos.fedorapeople.org/repos/peter/couchdb/epel-couchdb.repo ) > * put it into /etc/yum.repos.d > * type "sudo yum install couchdb" or "sudo yum upgrade couchdb" > > Hope these packages would be useful. Feel free to contact me in case > of any issues found. > > Build logs may be found here: > > F-12: http://koji.fedoraproject.org/koji/taskinfo?taskID=2529757 > F-13: http://koji.fedoraproject.org/koji/taskinfo?taskID=2529762 > EL-5: http://koji.fedoraproject.org/koji/taskinfo?taskID=2529824 > > Please note that CouchDB currently fails to pass self-tests on RHEL-5 > for PowerPC - I'll try to fix it until this weekend. > -- > With best regards, Peter Lemenkov. >
