[SCM] Debian packaging for the 2.0 Apache Shibboleth SP branch, debian, updated. debian/2.0-1-13-g2b46c4b

Russ Allbery rra at debian.org
Tue Jun 24 18:22:43 UTC 2008


The following commit has been merged in the debian branch:
commit 2b46c4bd9d0c914c50ed55c66ef1ba145d9c4d94
Author: Russ Allbery <rra at debian.org>
Date:   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.

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.

-- 
Debian packaging for the 2.0 Apache Shibboleth SP



More information about the Pkg-shibboleth-devel mailing list