Update CouchDB; add Apache-related snippets to update-upstream-data.

svn path=/nixpkgs/trunk/; revision=18851
This commit is contained in:
Michael Raskin
2009-12-09 12:59:23 +00:00
parent 7ef915ebc8
commit 13b91e2ca8
5 changed files with 28 additions and 6 deletions
@@ -4,6 +4,8 @@
#http://downloads.sourceforge.net/webdruid/files/webdruid/0.6.0-alpha5/webdruid-0.6.0-alpha5.tar.gz
skipRedirectSF='s@^http://sourceforge.net/projects/@http://downloads.sourceforge.net/@; s@/download$@@'
extractReleaseSF='s@.*/([^/]+)/[^/]+@\1@'
apacheMirror='s@http://www.apache.org/dist/@mirror://apache/@'
skipRedirectApache='s@/dyn/closer.cgi[?]path=@/dist@'
replaceAllVersionOccurences() {
echo s/"$version"/\${version}/g