summaryrefslogtreecommitdiff
path: root/distribute.sh.in
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2005-08-27 13:45:55 +0000
committerJan Kneschke <jan@kneschke.de>2005-08-27 13:45:55 +0000
commit294ecffdaf5a152ef334d973b4789f33686a6a1d (patch)
tree805c30c043fe8ff1c101802bc9de36762742ce33 /distribute.sh.in
parent54d03b905b5a7db8c9facb0c3bb617f6e01352cc (diff)
downloadlighttpd1.4-294ecffdaf5a152ef334d973b4789f33686a6a1d.tar.gz
lighttpd1.4-294ecffdaf5a152ef334d973b4789f33686a6a1d.zip
automate the build-process again
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@626 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'distribute.sh.in')
-rw-r--r--distribute.sh.in24
1 files changed, 16 insertions, 8 deletions
diff --git a/distribute.sh.in b/distribute.sh.in
index b8cfb711..e0b63a35 100644
--- a/distribute.sh.in
+++ b/distribute.sh.in
@@ -4,9 +4,9 @@ VERSION=@VERSION@
NAME=@PACKAGE_TARNAME@-@VERSION@
DISTDIR="/home/jan/wwwroot/servers/www.lighttpd.net/pages/download/"
-FILES="/usr/src/packages/RPMS/i586/${NAME}-1.i586.rpm \
- /usr/src/packages/SRPMS/${NAME}-1.src.rpm \
- ${NAME}.tar.gz \
+RPMS="/home/jan/rpmbuild/RPMS/i386/${NAME}-1.i386.rpm \
+ /home/jan/rpmbuild/SRPMS/${NAME}-1.src.rpm"
+FILES="${RPMS} ${NAME}.tar.gz \
NEWS.html \
ChangeLog \
release-news.${VERSION}.txt \
@@ -23,11 +23,11 @@ echo ${nopack}
if test x${pack} = x1; then
make distcheck && rpmbuild -ta --nodeps ${NAME}.tar.gz
gpg --detach-sign ${NAME}.tar.gz
- rpm --addsign /usr/src/packages/RPMS/i586/${NAME}-1.i586.rpm /usr/src/packages/SRPMS/${NAME}-1.src.rpm
+ rpm --addsign ${RPMS}
fi
-MD5RPM=`md5sum /usr/src/packages/RPMS/i586/${NAME}-1.i586.rpm| cut -b 1-32`
-MD5SRPM=`md5sum /usr/src/packages/SRPMS/${NAME}-1.src.rpm| cut -b 1-32`
+MD5RPM=`md5sum /home/jan/rpmbuild/RPMS/i386/${NAME}-1.i386.rpm| cut -b 1-32`
+MD5SRPM=`md5sum /home/jan/rpmbuild/SRPMS/${NAME}-1.src.rpm| cut -b 1-32`
MD5TGZ=`md5sum ${NAME}.tar.gz| cut -b 1-32`
DATE=`date +'%Y-%m-%d %H:%M'`
NEWS=`cat NEWS | sed "/^- ${VERSION}/,/^-/p;d" | sed "/^- /d;/^$/d"`
@@ -41,8 +41,8 @@ Changes
${NEWS}
Download
-- ${NAME}-1.i586.rpm [built on Fedora Core 4]
- ${DLNAME}-1.i586.rpm
+- ${NAME}-1.i386.rpm [built on Fedora Core 4]
+ ${DLNAME}-1.i386.rpm
MD5: ${MD5RPM}
- ${NAME}-1.src.rpm
${DLNAME}-1.src.rpm
@@ -61,6 +61,14 @@ Changes
-------
${NEWS}
+Checksums
+- ${NAME}-1.i386.rpm [built on Fedora Core 4]
+ MD5: ${MD5RPM}
+- ${NAME}-1.src.rpm
+ MD5: ${MD5SRPM}
+- ${NAME}.tar.gz
+ MD5: ${MD5TGZ}
+
EOF
rst2html NEWS > NEWS.html