[pkg-java] r11019 - trunk/bouncycastle/debian
Michael Koch
mkoch at alioth.debian.org
Thu Nov 5 07:31:40 UTC 2009
Author: mkoch
Date: 2009-11-05 07:31:40 +0000 (Thu, 05 Nov 2009)
New Revision: 11019
Added:
trunk/bouncycastle/debian/orig-tar.exclude
trunk/bouncycastle/debian/orig-tar.sh
Modified:
trunk/bouncycastle/debian/changelog
trunk/bouncycastle/debian/watch
Log:
bouncycastle (1.44+dfsg-1) unstable; urgency=low
* Upload as new upstream release.
* Add debian/orig-tar.sh script and use it in watch file.
This now removes the RFCs comming with the upstream tarball.
(Closes: #554456)
-- Michael Koch <konqueror at gmx.de> Thu, 05 Nov 2009 08:16:03 +0100
Modified: trunk/bouncycastle/debian/changelog
===================================================================
--- trunk/bouncycastle/debian/changelog 2009-11-04 22:54:45 UTC (rev 11018)
+++ trunk/bouncycastle/debian/changelog 2009-11-05 07:31:40 UTC (rev 11019)
@@ -1,3 +1,12 @@
+bouncycastle (1.44+dfsg-1) unstable; urgency=low
+
+ * Upload as new upstream release.
+ * Add debian/orig-tar.sh script and use it in watch file.
+ This now removes the RFCs comming with the upstream tarball.
+ (Closes: #554456)
+
+ -- Michael Koch <konqueror at gmx.de> Thu, 05 Nov 2009 08:16:03 +0100
+
bouncycastle (1.44-1) unstable; urgency=low
* New upstream release.
Added: trunk/bouncycastle/debian/orig-tar.exclude
===================================================================
--- trunk/bouncycastle/debian/orig-tar.exclude (rev 0)
+++ trunk/bouncycastle/debian/orig-tar.exclude 2009-11-05 07:31:40 UTC (rev 11019)
@@ -0,0 +1,3 @@
+jars/*.jar
+lib/*.jar
+test/data/rfc4134
Added: trunk/bouncycastle/debian/orig-tar.sh
===================================================================
--- trunk/bouncycastle/debian/orig-tar.sh (rev 0)
+++ trunk/bouncycastle/debian/orig-tar.sh 2009-11-05 07:31:40 UTC (rev 11019)
@@ -0,0 +1,22 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+DEBIAN_VERSION=$(echo $2 | sed -e 's/^\(.\)/\1./')
+DIR=bouncycastle-$DEBIAN_VERSION.orig
+TAR=../bouncycastle_$DEBIAN_VERSION+dfsg.orig.tar.gz
+
+# clean up the upstream tarball
+tar zxf $3
+rm -f $3
+mv crypto-$2 $DIR
+GZIP=--best tar czf $TAR -X debian/orig-tar.exclude $DIR
+rm -rf $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $3 $origDir
+ echo "moved $3 to $origDir"
+fi
+
+exit 0
Property changes on: trunk/bouncycastle/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: trunk/bouncycastle/debian/watch
===================================================================
--- trunk/bouncycastle/debian/watch 2009-11-04 22:54:45 UTC (rev 11018)
+++ trunk/bouncycastle/debian/watch 2009-11-05 07:31:40 UTC (rev 11019)
@@ -1,4 +1,4 @@
version=3
-opts=dversionmangle=s/\.//g \
+opts=dversionmangle=s/\.//g;s/\+dfsg// \
http://www.bouncycastle.org/latest_releases.html \
- download/crypto-([\d\.]+)\.tar\.gz debian svn-upgrade
+ download/crypto-([\d\.]+)\.tar\.gz debian debian/orig-tar.sh
More information about the pkg-java-commits
mailing list