package dpkg
tags 347744 patch
thanks

I've added -lsepol in configure and I've added a build-depends
libsepol1-dev, and now it seems to work fine.  Patch attached.

diff -ru dpkg-1.13.11.1_orig/configure dpkg-1.13.11.1/configure
--- dpkg-1.13.11.1_orig/configure       2006-01-12 09:16:28.000000000 +0100
+++ dpkg-1.13.11.1/configure    2006-01-15 23:47:23.000000000 +0100
@@ -12353,9 +12353,9 @@
 _ACEOF
 
                 if test "x$with_selinux" = "xstatic"; then
-                       dpkg_selinux_libs="-Wl,-Bstatic -lselinux -Wl,-Bdynamic"
+                       dpkg_selinux_libs="-Wl,-Bstatic -lselinux -lsepol 
-Wl,-Bdynamic"
                 else
-                       dpkg_selinux_libs="-lselinux"
+                       dpkg_selinux_libs="-lselinux -lsepol"
                 fi
                 SELINUX_LIBS="${SELINUX_LIBS:+$SELINUX_LIBS 
}$dpkg_selinux_libs"
                 with_selinux="yes"
diff -ru dpkg-1.13.11.1_orig/debian/changelog dpkg-1.13.11.1/debian/changelog
--- dpkg-1.13.11.1_orig/debian/changelog        2006-01-15 23:49:46.000000000 
+0100
+++ dpkg-1.13.11.1/debian/changelog     2006-01-15 23:44:19.000000000 +0100
@@ -1,3 +1,11 @@
+dpkg (1.13.11.1-0.1) unstable; urgency=low
+
+  * Non-maintainer upload
+  * configure: Add -lsepol.  (Closes: #347744.)
+  * debian/control: Add build-depends libsepol1-dev.
+
+ -- Bart Martens <[EMAIL PROTECTED]>  Sun, 15 Jan 2006 23:40:16 +0100
+
 dpkg (1.13.11.1) unstable; urgency=low
 
   * Change maintainers to new team.
diff -ru dpkg-1.13.11.1_orig/debian/control dpkg-1.13.11.1/debian/control
--- dpkg-1.13.11.1_orig/debian/control  2006-01-12 08:55:55.000000000 +0100
+++ dpkg-1.13.11.1/debian/control       2006-01-15 23:48:00.000000000 +0100
@@ -6,7 +6,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 [!hurd-i386]
+Build-Depends: debhelper (>= 4.1.81), libncurses5-dev | libncurses-dev, 
zlib1g-dev (>= 1:1.1.3-19.1), libbz2-dev, libselinux1-dev [!hurd-i386], 
libsepol1-dev [!hurd-i386]
 
 Package: dpkg
 Architecture: any

Reply via email to