Package: cdebootstrap
Version: 0.6.3
Severity: important
Tags: patch

Hello,

I noticed that /usr/share/cdebootstrap/cdebootstrap-helper-*.deb have
data.tar.xz ar members since dpkg now builds those by default. This is
problematic since those packages can thus not be installed with very
old dpkg and in turn this means that cdeboostrap can no longer bootstrap
etch/lenny right now.

This rather unfortunate and it would be nice to see this fixed in jessie
because the patch is really trivial (see attachment).

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/
diff -Nru cdebootstrap-0.6.3/config.sub cdebootstrap-0.6.3+nmu1/config.sub
--- cdebootstrap-0.6.3/config.sub	2014-07-31 20:50:12.000000000 +0200
+++ cdebootstrap-0.6.3+nmu1/config.sub	2014-11-08 10:10:23.000000000 +0100
@@ -2,7 +2,7 @@
 # Configuration validation subroutine script.
 #   Copyright 1992-2014 Free Software Foundation, Inc.
 
-timestamp='2014-05-01'
+timestamp='2014-09-11'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -302,6 +302,7 @@
 	| pdp10 | pdp11 | pj | pjl \
 	| powerpc | powerpc64 | powerpc64le | powerpcle \
 	| pyramid \
+	| riscv32 | riscv64 \
 	| rl78 | rx \
 	| score \
 	| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
@@ -828,6 +829,10 @@
 		basic_machine=powerpc-unknown
 		os=-morphos
 		;;
+	moxiebox)
+		basic_machine=moxie-unknown
+		os=-moxiebox
+		;;
 	msdos)
 		basic_machine=i386-pc
 		os=-msdos
@@ -1373,7 +1378,7 @@
 	      | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
 	      | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
 	      | -linux-newlib* | -linux-musl* | -linux-uclibc* \
-	      | -uxpv* | -beos* | -mpeix* | -udk* \
+	      | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
 	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
 	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
 	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
diff -Nru cdebootstrap-0.6.3/debian/changelog cdebootstrap-0.6.3+nmu1/debian/changelog
--- cdebootstrap-0.6.3/debian/changelog	2014-07-31 20:49:16.000000000 +0200
+++ cdebootstrap-0.6.3+nmu1/debian/changelog	2014-11-08 09:22:17.000000000 +0100
@@ -1,3 +1,12 @@
+cdebootstrap (0.6.3+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Restore ability to debootstrap old Debian releases like lenny/etch where
+    dpkg doesn't know xz compressed data.tar by ensuring the shipped .deb
+    are built with -Zgzip.
+
+ -- Raphaël Hertzog <hert...@debian.org>  Sat, 08 Nov 2014 09:21:22 +0100
+
 cdebootstrap (0.6.3) unstable; urgency=medium
 
   * Make all mounts private, so that we don't leak mounts.
diff -Nru cdebootstrap-0.6.3/helper/Makefile.am cdebootstrap-0.6.3+nmu1/helper/Makefile.am
--- cdebootstrap-0.6.3/helper/Makefile.am	2012-05-17 23:15:04.000000000 +0200
+++ cdebootstrap-0.6.3+nmu1/helper/Makefile.am	2014-11-08 09:23:37.000000000 +0100
@@ -24,7 +24,7 @@
 	$(MAKE) -C $(PACKAGE) package DESTDIR=$(CURDIR)/temp-$(PACKAGE)
 
 root-%:
-	dpkg-deb --build temp-$(PACKAGE) $(PACKAGE).deb
+	dpkg-deb -Zgzip --build temp-$(PACKAGE) $(PACKAGE).deb
 
 clean-local:
 	rm -rf $(foreach package,$(packages),temp-$(package))

Reply via email to