[xml/sgml-pkgs] Bug#545145: debian/rules: new website for source downloads

Tanguy Ortolo tanguy+debian at ortolo.eu
Sat Sep 5 10:56:11 UTC 2009


Package: docbook-xml
Version: 4.5-6
Severity: normal
Tags: patch

Hello,

It seems that DocBook now has a dedicated website, <http://www.docbook.org/>,
in replacement to the common OASIS one. While old DocBook releases are still
available at the old website, the new 5.0 release is only available at the new
one.

So here is a patch against debian/rules (target get-orig-source) to query the
new website.

Regards,

-- 
Tanguy Ortolo

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages docbook-xml depends on:
ii  sgml-base                     1.26       SGML infrastructure and SGML catal
ii  sgml-data                     2.0.3      common SGML and XML data
ii  xml-core                      0.12       XML infrastructure and XML catalog

docbook-xml recommends no packages.

Versions of packages docbook-xml suggests:
pn  docbook                    <none>        (no description available)
pn  docbook-defguide           <none>        (no description available)
pn  docbook-dsssl              <none>        (no description available)
ii  docbook-xsl                1.75.2+dfsg-1 stylesheets for processing DocBook

-- no debconf information
-------------- next part --------------
--- rules.orig	2009-09-05 12:47:17.000000000 +0200
+++ rules.newurl	2009-09-05 12:48:24.000000000 +0200
@@ -153,7 +153,7 @@
 		dbxver=`echo $${db} | sed -e 's/\.//g'` ; \
 		dbxzip=docbook-xml-$${db}.zip ; \
 		mkdir -p "$$TMPDIR"/docbook-$${db} ; \
-		wget -P "$$TMPDIR" http://www.oasis-open.org/docbook/xml/$${db}/"$$dbxzip" ; \
+                wget -P "$$TMPDIR" http://www.docbook.org/xml/$${db}/"$$dbxzip" ; \
 		unzip -d "$$TMPDIR"/docbook-$${db} "$$TMPDIR"/"$$dbxzip" ; \
 		rm -f "$$TMPDIR"/"$$dbxzip" ; \
 		([ -f "$$TMPDIR"/docbook-$${db}/ChangeLog ] && [ "$$dbxver" -ge 44 ] ) && \
@@ -163,7 +163,7 @@
 		dbxver=`echo $${db} | sed -e 's/\.//g'` ; \
 		dbxzip=docbkx"$$dbxver".zip ; \
 		mkdir -p "$$TMPDIR"/docbook-$${db} ; \
-		wget -P "$$TMPDIR" http://www.oasis-open.org/docbook/xml/$${db}/"$$dbxzip" ; \
+                wget -P "$$TMPDIR" http://www.docbook.org/xml/xml/$${db}/"$$dbxzip" ; \
 		unzip -d "$$TMPDIR"/docbook-$${db} "$$TMPDIR"/"$$dbxzip" ; \
 		rm -f "$$TMPDIR"/"$$dbxzip" ; \
 		if [ $${db} = "4.1.2" ] ; then \


More information about the debian-xml-sgml-pkgs mailing list