[Pkg-jed-commit] r688 - jed-extra/trunk/debian
rafael at alioth.debian.org
rafael at alioth.debian.org
Tue May 15 14:53:37 UTC 2007
Author: rafael
Date: 2007-05-15 14:53:37 +0000 (Tue, 15 May 2007)
New Revision: 688
Modified:
jed-extra/trunk/debian/changelog
jed-extra/trunk/debian/rules
Log:
* debian/rules:
+ Added check for the md5sum of the upstream tarball
+ Call wget with option -N
+ Removed files created by get-orig-source in clean target
Modified: jed-extra/trunk/debian/changelog
===================================================================
--- jed-extra/trunk/debian/changelog 2007-05-15 13:42:45 UTC (rev 687)
+++ jed-extra/trunk/debian/changelog 2007-05-15 14:53:37 UTC (rev 688)
@@ -1,3 +1,12 @@
+jed-extra (2.3.2-1) UNRELEASED; urgency=low
+
+ * debian/rules [RL]:
+ + Added check for the md5sum of the upstream tarball
+ + Call wget with option -N
+ + Removed files created by get-orig-source in clean target
+
+ --
+
jed-extra (2.3.2) unstable; urgency=low
* New upstream release [GM]: fixes and improvements including
Modified: jed-extra/trunk/debian/rules
===================================================================
--- jed-extra/trunk/debian/rules 2007-05-15 13:42:45 UTC (rev 687)
+++ jed-extra/trunk/debian/rules 2007-05-15 14:53:37 UTC (rev 688)
@@ -25,22 +25,23 @@
# upstream version
UPSTREAM_VERSION ?= $(shell perl -ne '/([\d.]+)-?/; print $$1; exit' < debian/changelog)
+WGET = wget -N
get-orig-source:
# pre-release (source tarball from the jedmodes home site)
# wget http://jedmodes.sourceforge.net/cvs/jedmodes-$(UPSTREAM_VERSION).tgz
# officially released CVS tarball from the sf FRS
- wget http://osdn.dl.sourceforge.net/sourceforge/jedmodes/jedmodes-$(UPSTREAM_VERSION).tgz
+ $(WGET) http://osdn.dl.sourceforge.net/sourceforge/jedmodes/jedmodes-$(UPSTREAM_VERSION).tgz
+ # Check the md5sum of the upstream tarball
+ $(WGET) http://jedmodes.sourceforge.net/cvs/jedmodes-$(UPSTREAM_VERSION).md5sum
+ cat jedmodes-$(UPSTREAM_VERSION).md5sum | md5sum -c || exit 1
+
mv jedmodes-$(UPSTREAM_VERSION).tgz jed-extra_$(UPSTREAM_VERSION).orig.tar.gz
- # Output md5sum of upstream tarball for visual inspection
- md5sum jed-extra_$(UPSTREAM_VERSION).orig.tar.gz
- # you can get the md5sum of the upstream source with
- # wget http://jedmodes.sourceforge.net/cvs/jedmodes-$(UPSTREAM_VERSION).md5sum
# additional modes from other sources
mkdir --parents jedmodes-$(UPSTREAM_VERSION)/boxquote
cd jedmodes-$(UPSTREAM_VERSION)/boxquote; \
- wget http://www.cis.fu-berlin.de/~phgrau/slang/boxquote.sl
+ $(WGET) http://www.cis.fu-berlin.de/~phgrau/slang/boxquote.sl
gunzip jed-extra_$(UPSTREAM_VERSION).orig.tar.gz
tar --append --file jed-extra_$(UPSTREAM_VERSION).orig.tar \
@@ -50,6 +51,7 @@
clean: unpatch
dh_testdir
debconf-updatepo
+ rm -rf *.tgz *.md5sum *.tar.gz boxquote
dh_clean
binary binary-indep: patch-stamp
More information about the Pkg-jed-commit
mailing list