tags 539284 + pending
tags 570586 + pending
thanks

Dear maintainer,

I've prepared an NMU for lsb (versioned as 3.2-23.1) and uploaded it to DELAYED/10. Please feel free to tell me if I should delay it longer.

--
Jakub Wilk
diff -Nru lsb-3.2/debian/changelog lsb-3.2/debian/changelog
--- lsb-3.2/debian/changelog	2009-07-21 11:03:42.000000000 +0200
+++ lsb-3.2/debian/changelog	2010-03-26 21:35:10.000000000 +0100
@@ -1,3 +1,16 @@
+lsb (3.2-23.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix dependencies of lsb-core on kfreebsd-* and hurd-* to make the
+    package installable. Thanks to Aurelien Jarno for the patch and the
+    bugreport.  (Closes: #539284)
+  * Set XS-Python-Version to all to make lsb-release available for all
+    supported Python versions. Thanks to Sandro Tosi for the bug report.
+    (Closes: #570586)
+  * Don't make lsb-core conflict with python (>= 2.6).
+
+ -- Jakub Wilk <jw...@debian.org>  Sun, 21 Mar 2010 15:39:47 +0100
+
 lsb (3.2-23) unstable; urgency=low
 
   * Fix tests for $TERM in log_use_fancy_output().  (Closes: #537112, #536190)
diff -Nru lsb-3.2/debian/control lsb-3.2/debian/control
--- lsb-3.2/debian/control	2009-07-21 11:02:34.000000000 +0200
+++ lsb-3.2/debian/control	2010-03-26 20:39:46.000000000 +0100
@@ -4,14 +4,14 @@
 Maintainer: Chris Lawrence <lawre...@debian.org>
 Build-Depends: debhelper (>> 7), po-debconf (>= 0.5.0), dpkg-dev (>= 1.10), python-support, python-all-dev
 Standards-Version: 3.8.2
-XS-Python-Version: current
+XS-Python-Version: all
 Homepage: http://www.linux-foundation.org/en/LSB
 
 Package: lsb-core
 Architecture: any
 Depends: lsb-release, ${glibc}, libz1, libncurses5, libpam0g, exim4 | mail-transport-agent, at, bc, binutils, bsdmainutils, bsdutils, cpio, cron, ed, file, libc6-dev | libc-dev, locales, cups-bsd | lpr, lprng | cups-client, m4, mailx | mailutils, make, man-db, mawk | gawk, ncurses-term, passwd, patch, pax, procps, psmisc, rsync, alien (>= 8.36), ${python:Depends}, ${misc:Depends}, ${depends}, lsb-base, time
 Provides: lsb-core-noarch, ${provides}
-Conflicts: python (>= 2.6), lsb (<< 2.0-2)
+Conflicts: lsb (<< 2.0-2)
 Replaces: lsb (<< 2.0-2)
 XB-Python-Version: ${python:Versions}
 Description: Linux Standard Base 3.2 core support package
diff -Nru lsb-3.2/debian/rules lsb-3.2/debian/rules
--- lsb-3.2/debian/rules	2009-03-19 22:50:58.000000000 +0100
+++ lsb-3.2/debian/rules	2010-03-26 20:39:22.000000000 +0100
@@ -9,15 +9,7 @@
 # from having to guess our platform (since we know it already)
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-DEB_HOST_ARCH_CPU  ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU 2>/dev/null)
-
-# Take account of old dpkg-architecture output.
-ifeq ($(DEB_HOST_ARCH_CPU),)
-  DEB_HOST_ARCH_CPU := $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
-  ifeq ($(DEB_HOST_ARCH_CPU),x86_64)
-    DEB_HOST_ARCH_CPU := amd64
-  endif
-endif
+DEB_HOST_ARCH       ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -g
@@ -27,7 +19,7 @@
 endif
 
 # Map Debian architectures to LSB architectures
-lsbarch=${DEB_HOST_ARCH_CPU}
+lsbarch=${DEB_HOST_ARCH}
 ifeq (${lsbarch}, i386)
 lsbarch=ia32
 endif
@@ -39,6 +31,12 @@
 ifeq (${lsbarch}, hurd-i386)
 LIBC=libc0.3 (>> 2.3.5)
 endif
+ifeq (${lsbarch}, kfreebsd-amd64)
+LIBC=libc0.1 (>> 2.3.5)
+endif
+ifeq (${lsbarch}, kfreebsd-i386)
+LIBC=libc0.1 (>> 2.3.5)
+endif
 ifeq (${lsbarch}, ia64)
 LIBC=libc6.1 (>> 2.3.5)
 endif
@@ -145,7 +143,8 @@
 	@echo >> debian/lsb-multimedia.substvars "provides=lsb-multimedia-${lsbarch}"
 	@echo >> debian/lsb-languages.substvars "provides=lsb-languages-${lsbarch}"
 	@echo >> debian/lsb-printing.substvars "provides=lsb-printing-${lsbarch}"
-	@[ ${DEB_HOST_ARCH_CPU} = 'amd64' ] && echo >> debian/lsb-core.substvars "depends=libc6-i386, lib32z1" || true
+	@[ ${DEB_HOST_ARCH} = 'amd64' ] && echo >> debian/lsb-core.substvars "depends=libc6-i386, lib32z1" || true
+	@[ ${DEB_HOST_ARCH} = 'kfreebsd-amd64' ] && echo >> debian/lsb-core.substvars "depends=libc0.1-i386, lib32z1" || true
 	dh_link -a
 	dh_strip -a
 	dh_compress -a

Attachment: signature.asc
Description: Digital signature

Reply via email to