[pkg-wpa-devel] r1724 - in /wpa/trunk/debian: changelog rules watch

slh-guest at users.alioth.debian.org slh-guest at users.alioth.debian.org
Mon Apr 16 20:00:02 UTC 2012


Author: slh-guest
Date: Mon Apr 16 20:00:02 2012
New Revision: 1724

URL: http://svn.debian.org/wsvn/pkg-wpa/?sc=1&rev=1724
Log:
* remove watch file, there is no corresponding upstream tarballs at the
  moment.
* add (temporary?) get-orig-source target to debian/rules, which fetches the
  last tagged upstream version corresponding to debian/changelog.

Removed:
    wpa/trunk/debian/watch
Modified:
    wpa/trunk/debian/changelog
    wpa/trunk/debian/rules

Modified: wpa/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-wpa/wpa/trunk/debian/changelog?rev=1724&op=diff
==============================================================================
--- wpa/trunk/debian/changelog (original)
+++ wpa/trunk/debian/changelog Mon Apr 16 20:00:02 2012
@@ -27,6 +27,10 @@
   * fix clean target and make sure to succeed building twice in a row.
   * drop build-dependency on libreadline-dev, it's no longer needed with
     WPA_CLI_EDIT.
+  * remove watch file, there is no corresponding upstream tarballs at the
+    moment.
+  * add (temporary?) get-orig-source target to debian/rules, which fetches the
+    last tagged upstream version corresponding to debian/changelog.
 
   [ Kel Modderman ]
   * export BINDIR=/sbin, the build system now requires it when patching
@@ -54,7 +58,7 @@
   * Remove Faidon Liambotis <paravoid at debian.org> from Uploaders as per
     his request, many thanks for all past efforts Faidon.
 
- -- Stefan Lippers-Hollmann <s.l-h at gmx.de>  Sat, 14 Apr 2012 23:52:41 +0200
+ -- Stefan Lippers-Hollmann <s.l-h at gmx.de>  Mon, 16 Apr 2012 21:57:45 +0200
 
 wpasupplicant (0.7.3-6) unstable; urgency=low
 

Modified: wpa/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-wpa/wpa/trunk/debian/rules?rev=1724&op=diff
==============================================================================
--- wpa/trunk/debian/rules (original)
+++ wpa/trunk/debian/rules Mon Apr 16 20:00:02 2012
@@ -114,3 +114,30 @@
 
 %:
 	dh $@
+
+get-orig-source:
+	VERSION=$$(dpkg-parsechangelog | sed -ne 's,^Version: *\([0-9]*:\)\?\(.*\)$$,\2,p'); \
+	DEB_VER=$$(echo $$VERSION | sed 's,\-[0-9a-z\~\.]*,,'); \
+	UP_VER=$$(echo $$DEB_VER | sed 's,\~,\-,g'); \
+	UP_VER_TAG=hostap_$$(echo $$UP_VER | sed -e 's,\.,_,g' -e 's,\-,_,g'); \
+	if [ -d $(CURDIR)/../tarballs ]; then \
+		ORIG_LOCATION="$(CURDIR)/../tarballs"; \
+	else \
+		ORIG_LOCATION="$(CURDIR)/.."; \
+	fi; \
+	if [ -e $$ORIG_LOCATION/wpa_$$DEB_VER.orig.tar.gz ]; then \
+		echo "ERROR: $$ORIG_LOCATION/wpa_$$DEB_VER.orig.tar.gz exists"; \
+		exit 1; \
+	fi; \
+	rm -rf orig-source; \
+	git clone git://w1.fi/srv/git/hostap-1.git orig-source; \
+	test -d orig-source || exit 1; \
+	cd orig-source && \
+		git archive \
+			--format=tar \
+			--prefix=wpa-$$UP_VER/ \
+			$$UP_VER_TAG \
+				README COPYING patches src wpa_supplicant hostapd | \
+					gzip -c9 > $$ORIG_LOCATION/wpa_$$DEB_VER.orig.tar.gz
+	rm -rf orig-source
+




More information about the Pkg-wpa-devel mailing list