This is an automated email from the git hooks/post-receive script. seamlik-guest pushed a commit to branch master in repository lucene2.
commit c1237b797dab3aa63205b57689d378a889168438 Author: Jan-Pascal van Best <[email protected]> Date: Wed Aug 1 20:30:33 2007 +0000 Added script for downloading released source and checking GPG sigs --- debian/download-upstream | 33 +++++++++++++++++++++++++++++++++ debian/rules | 3 +++ debian/uscan-upstream-version.xslt | 10 ++++++++++ debian/uscan-url.xslt | 10 ++++++++++ 4 files changed, 56 insertions(+) diff --git a/debian/download-upstream b/debian/download-upstream new file mode 100755 index 0000000..62c7841 --- /dev/null +++ b/debian/download-upstream @@ -0,0 +1,33 @@ +#!/bin/bash + +DEHS=`( uscan --dehs )` + +URL=`echo $DEHS | xsltproc debian/uscan-url.xslt -` +VERSION=`echo $DEHS | xsltproc debian/uscan-upstream-version.xslt -` + +SOURCEFILE=../lucene2_$VERSION.orig.tar.gz +SIGFILE=../lucene2_$VERSION.orig.tar.gz.asc + +KEYURL="http://www.apache.org/dist/lucene/java/KEYS" +KEYFILE="debian/KEYS" +KEYRING="debian/lucene-keyring.gpg" + +# Download source tarball and signature file +wget "$URL" -O $SOURCEFILE +wget "$URL.asc" -O $SIGFILE + +# If necessary, recreate keyring used for signing +# Only do this if the keyring is not yet downloaded +if [ ! -r $KEYFILE ]; then + wget "$KEYURL" -O "$KEYFILE" +fi + +if [ ! -r $KEYRING ]; then + touch $KEYRING + gpg --no-default-keyring --primary-keyring $KEYRING --import $KEYFILE +fi + +# Check signature +gpgv --quiet --keyring $KEYRING $SIGFILE $SOURCEFILE + +echo "Check whether the archive has been signed by Yorick Seeley, key ID 0AFCEE7C" diff --git a/debian/rules b/debian/rules index 1bb3788..26805ee 100755 --- a/debian/rules +++ b/debian/rules @@ -212,6 +212,9 @@ restore-from-source: remove-source mv $(UPSTREAM_BASENAME)/* . rmdir $(UPSTREAM_BASENAME) +download-upstream: + debian/download-upstream + upload: cd .. ; dupload -t vanbest $(PACKAGE)_$(DEBIAN_VERSION)_$(DEBIAN_ARCH).changes #cd .. ; dupload -t mentors $(PACKAGE)_$(DEBIAN_VERSION)_$(DEBIAN_ARCH).changes diff --git a/debian/uscan-upstream-version.xslt b/debian/uscan-upstream-version.xslt new file mode 100644 index 0000000..c257df4 --- /dev/null +++ b/debian/uscan-upstream-version.xslt @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> +<xsl:output method="text"/> + +<xsl:template match="dehs"> + <xsl:value-of select="upstream-version"/> +</xsl:template> + +</xsl:stylesheet> + diff --git a/debian/uscan-url.xslt b/debian/uscan-url.xslt new file mode 100644 index 0000000..a5eedf2 --- /dev/null +++ b/debian/uscan-url.xslt @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> +<xsl:output method="text"/> + +<xsl:template match="dehs"> + <xsl:value-of select="upstream-url"/> +</xsl:template> + +</xsl:stylesheet> + -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/lucene2.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

