[cpp-sp] 13/78: Add a get-orig-source target

Scott Cantor cantor.2 at osu.edu
Thu Dec 20 19:39:48 EST 2018


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to annotated tag debian/2.0.dfsg1-1
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=2b46c4bd9d0c914c50ed55c66ef1ba145d9c4d94

commit 2b46c4bd9d0c914c50ed55c66ef1ba145d9c4d94
Author: Russ Allbery <rra at debian.org>
AuthorDate: Tue Jun 24 11:22:33 2008 -0700

    Add a get-orig-source target
    
    Add get-orig-source to download the tarball and repackage, removing
    the WSD-Trust.xsd file.
---
 debian/rules | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/debian/rules b/debian/rules
index 8737691..b0e48a9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,6 +30,25 @@ else
 	CFLAGS += -O2
 endif
 
+# These variable is used only by get-orig-source, which will normally only be
+# run by maintainers.
+VERSION = 2.0
+DEBVERS = dfsg1
+URL     = http://shibboleth.internet2.edu/downloads/shibboleth/cppsp
+
+# Download the upstrema source and do the repackaging that we have to do for
+# DFSG reasons.  Depends on wget and svn-buildpackage.
+get-orig-source:
+	wget $(URL)/$(VERSION)/shibboleth-sp-$(VERSION).tar.gz
+	tar xfz shibboleth-sp-$(VERSION).tar.gz
+	rm shibboleth-sp-$(VERSION).tar.gz
+	rm shibboleth-$(VERSION)/schemas/WS-Trust.xsd
+	mv shibboleth-$(VERSION) shibboleth-sp_$(VERSION).$(DEBVERS).orig
+	tar cf shibboleth-sp_$(VERSION).$(DEBVERS).orig.tar \
+	    shibboleth-sp_$(VERSION).$(DEBVERS).orig
+	rm -r shibboleth-sp_$(VERSION).$(DEBVERS).orig
+	gzip -9 shibboleth-sp_$(VERSION).$(DEBVERS).orig.tar
+
 config.status: configure
 	dh_testdir
 	# Add here commands to configure the package.

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list