diff -Nru lvm2-2.02.66/debian/changelog lvm2-2.02.66/debian/changelog --- lvm2-2.02.66/debian/changelog 2011-01-23 17:30:34.000000000 +0000 +++ lvm2-2.02.66/debian/changelog 2018-02-09 07:29:24.000000000 +0000 @@ -1,3 +1,12 @@ +lvm2 (2.02.66-5.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix for static linking, now default + * Ideally should separate options for building static libs from statically + linking binaries. + + -- John Comeau Fri, 09 Feb 2018 07:27:15 +0000 + lvm2 (2.02.66-5) unstable; urgency=low * Remove old libdevmapper1.02 init script on upgrade. (closes: #549316) diff -Nru lvm2-2.02.66/debian/patches/debian-changes-2.02.66-5 lvm2-2.02.66/debian/patches/debian-changes-2.02.66-5 --- lvm2-2.02.66/debian/patches/debian-changes-2.02.66-5 1970-01-01 00:00:00.000000000 +0000 +++ lvm2-2.02.66/debian/patches/debian-changes-2.02.66-5 2018-02-09 07:10:49.000000000 +0000 @@ -0,0 +1,59 @@ +Description: Upstream changes introduced in version 2.02.66-5 + This patch has been created by dpkg-source during the package build. + Here's the last changelog entry, hopefully it gives details on why + those changes were made: + . + lvm2 (2.02.66-5) unstable; urgency=low + . + * Remove old libdevmapper1.02 init script on upgrade. (closes: #549316) + * Conflict against libdevmapper1.02. + . + The person named in the Author field signed this changelog entry. +Author: Bastian Blank +Bug-Debian: http://bugs.debian.org/549316 + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: http://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: + +--- lvm2-2.02.66.orig/configure.in ++++ lvm2-2.02.66/configure.in +@@ -128,12 +128,12 @@ AC_FUNC_STRTOD + AC_FUNC_VPRINTF + + ################################################################################ +-dnl -- Enables statically-linked tools ++dnl -- Disable statically-linked tools + AC_MSG_CHECKING(whether to use static linking) + AC_ARG_ENABLE(static_link, +- [ --enable-static_link Use this to link the tools to their libraries +- statically. Default is dynamic linking], +- STATIC_LINK=$enableval, STATIC_LINK=no) ++ [ --disable-static_link Use this to link the tools to their libraries ++ dynamically. Default is static linking], ++ STATIC_LINK=$enableval, STATIC_LINK=yes) + AC_MSG_RESULT($STATIC_LINK) + + ################################################################################ +--- lvm2-2.02.66.orig/tools/Makefile.in ++++ lvm2-2.02.66/tools/Makefile.in +@@ -114,6 +114,10 @@ include $(top_builddir)/make.tmpl + + LIBS += -ldevmapper $(UDEV_LIBS) + ++ifeq ("@STATIC_LINK@", "yes") ++ LIBS += -lselinux -lsepol ++endif ++ + device-mapper: $(TARGETS_DM) + + dmsetup: dmsetup.o $(top_builddir)/libdm/libdevmapper.$(LIB_SUFFIX) diff -Nru lvm2-2.02.66/debian/patches/series lvm2-2.02.66/debian/patches/series --- lvm2-2.02.66/debian/patches/series 2010-08-19 12:38:20.000000000 +0000 +++ lvm2-2.02.66/debian/patches/series 2018-02-09 07:10:49.000000000 +0000 @@ -7,3 +7,4 @@ libdm-atomic.patch rules-subdir.patch implicit-pointer.patch +debian-changes-2.02.66-5