Package: dpkg Version: 1.13.9 Severity: normal Tags: patch Hi,
Thanks for this new version of dpkg. It improves the useability of dpkg-dev for non-linux kernels. Unfortunately it doesn't build on GNU/Hurd and GNU/kFreeBSD, because they are missing libselinux1-dev. Please find attached a patch to fix that. Thanks, Aurelien -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: kfreebsd-i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: GNU/kFreeBSD 5.3-10 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Versions of packages dpkg depends on: ii coreutils [textutils] 5.2.1-2 The GNU core utilities ii libc0.1 2.3-1+kbsd.10 GNU C Library: Shared libraries an -- no debconf information
diff -Nru /tmp/NjtWyD5DJ3/dpkg-1.13.9/debian/changelog /tmp/RrJHYTvHSX/dpkg-1.13.9+kbsd/debian/changelog --- /tmp/NjtWyD5DJ3/dpkg-1.13.9/debian/changelog 2005-06-12 17:16:59.000000000 +0200 +++ /tmp/RrJHYTvHSX/dpkg-1.13.9+kbsd/debian/changelog 2005-06-12 23:30:03.000000000 +0200 @@ -1,3 +1,9 @@ +dpkg (1.13.9+kbsd) unstable; urgency=low + + * Added support for GNU/kFreeBSD. + + -- Aurelien Jarno <[EMAIL PROTECTED]> Sun, 12 Jun 2005 23:29:56 +0200 + dpkg (1.13.9) unstable; urgency=low The "On like Donkey Kong" Release. diff -Nru /tmp/NjtWyD5DJ3/dpkg-1.13.9/debian/control /tmp/RrJHYTvHSX/dpkg-1.13.9+kbsd/debian/control --- /tmp/NjtWyD5DJ3/dpkg-1.13.9/debian/control 2005-06-11 19:31:41.000000000 +0200 +++ /tmp/RrJHYTvHSX/dpkg-1.13.9+kbsd/debian/control 2005-06-12 23:34:37.000000000 +0200 @@ -5,7 +5,7 @@ Origin: debian Bugs: debbugs://bugs.debian.org Standards-Version: 3.6.1.0 -Build-Depends: debhelper (>= 4.1.81), libncurses5-dev | libncurses-dev, zlib1g-dev (>= 1:1.1.3-19.1), libbz2-dev, libselinux1-dev +Build-Depends: debhelper (>= 4.1.81), libncurses5-dev | libncurses-dev, zlib1g-dev (>= 1:1.1.3-19.1), libbz2-dev, libselinux1-dev [!kfreebsd-i386 !hurd-i386] Package: dpkg Architecture: any diff -Nru /tmp/NjtWyD5DJ3/dpkg-1.13.9/debian/rules /tmp/RrJHYTvHSX/dpkg-1.13.9+kbsd/debian/rules --- /tmp/NjtWyD5DJ3/dpkg-1.13.9/debian/rules 2005-06-11 16:37:04.000000000 +0200 +++ /tmp/RrJHYTvHSX/dpkg-1.13.9+kbsd/debian/rules 2005-06-12 23:37:37.000000000 +0200 @@ -18,6 +18,12 @@ # 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) +ifeq ($(DEB_HOST_ARCH_OS),) + DEB_HOST_ARCH_OS := $(subst -gnu,,$(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)) + ifeq ($(DEB_HOST_ARCH_OS),gnu) + DEB_HOST_ARCH_OS := hurd + endif +endif ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) confflags += --build=$(DEB_HOST_GNU_TYPE) @@ -25,6 +31,10 @@ confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) endif +ifeq ($(DEB_HOST_ARCH_OS),linux) + confflags += --with-selinux=static +endif + # Create configure script if necessary, automake handles rebuilding it. configure: @@ -45,8 +55,7 @@ --sysconfdir=/etc \ --localstatedir=/var/lib \ --with-zlib=static \ - --with-bz2=static \ - --with-selinux=static + --with-bz2=static # Build the package in build-tree build: build-tree/build-stamp