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-10 01:44:33.000000000 +0000 @@ -1,3 +1,19 @@ +lvm2 (2.02.66-5.2) unstable; urgency=low + + * Non-maintainer upload. + * now actually *installs* the static library libdevmapper.a + + -- John Comeau Sat, 10 Feb 2018 01:43:29 +0000 + +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/libdevmapper-dev.install lvm2-2.02.66/debian/libdevmapper-dev.install --- lvm2-2.02.66/debian/libdevmapper-dev.install 2010-05-19 10:27:21.000000000 +0000 +++ lvm2-2.02.66/debian/libdevmapper-dev.install 2018-02-10 01:27:57.000000000 +0000 @@ -1,3 +1,4 @@ usr/include/libdevmapper.h usr/lib/libdevmapper.so +usr/lib/libdevmapper.a usr/lib/pkgconfig/devmapper.pc 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/debian-changes-2.02.66-5.2 lvm2-2.02.66/debian/patches/debian-changes-2.02.66-5.2 --- lvm2-2.02.66/debian/patches/debian-changes-2.02.66-5.2 1970-01-01 00:00:00.000000000 +0000 +++ lvm2-2.02.66/debian/patches/debian-changes-2.02.66-5.2 2018-02-10 01:44:55.000000000 +0000 @@ -0,0 +1,35 @@ +Description: Upstream changes introduced in version 2.02.66-5.2 + 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.2) unstable; urgency=low + . + * Non-maintainer upload. + * now actually *installs* the static library libdevmapper.a + . + The person named in the Author field signed this changelog entry. +Author: John Comeau + +--- +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/libdm/Makefile.in ++++ lvm2-2.02.66/libdm/Makefile.in +@@ -90,5 +90,4 @@ install_pkgconfig: libdevmapper.pc + install_ioctl_static: $(LIB_STATIC) + $(INSTALL_DATA) -D $< $(usrlibdir)/$(