Package: dnsval Version: 2.0-1.1 Severity: wishlist Tags: patch User: [email protected] Usertags: origin-ubuntu trusty ubuntu-patch
Dear Maintainer, In Ubuntu 14.04, the attached patch was applied to achieve the following: * Resolve FTBFS from missing linking order. libsres and libval* all needed explicit linking against libcrypto (and appropriately libssl and libpthread). Thanks for considering the patch. -- System Information: Debian Release: wheezy/sid APT prefers precise-updates APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise'), (100, 'precise-backports') Architecture: amd64 (x86_64) Kernel: Linux 3.8.0-33-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru dnsval-2.0/debian/patches/Fix_FTBFS_from_link_order.patch dnsval-2.0/debian/patches/Fix_FTBFS_from_link_order.patch --- dnsval-2.0/debian/patches/Fix_FTBFS_from_link_order.patch 1969-12-31 19:00:00.000000000 -0500 +++ dnsval-2.0/debian/patches/Fix_FTBFS_from_link_order.patch 2013-11-13 15:20:43.000000000 -0500 @@ -0,0 +1,30 @@ +Index: dnsval-2.0/libsres/Makefile.in +=================================================================== +--- dnsval-2.0.orig/libsres/Makefile.in 2012-03-23 11:11:57.000000000 -0400 ++++ dnsval-2.0/libsres/Makefile.in 2013-11-13 15:20:41.766951407 -0500 +@@ -62,8 +62,9 @@ + $(RM) -f $(OBJ) $(LOBJ) $(LIBRES) $(LIBSRESSO) + $(RM) -rf $(LT_DIR) + ++LIBADD+= -lcrypto + $(LIBRES): $(LOBJ) +- $(LIBTOOLLD) -o $@ $(LOBJ) ++ $(LIBTOOLLD) -o $@ $(LOBJ) $(LIBADD) + + install: + $(MKPATH) $(DESTDIR)$(libdir) +Index: dnsval-2.0/libval/Makefile.in +=================================================================== +--- dnsval-2.0.orig/libval/Makefile.in 2012-09-24 17:57:17.000000000 -0400 ++++ dnsval-2.0/libval/Makefile.in 2013-11-13 15:20:15.142915378 -0500 +@@ -62,8 +62,9 @@ + $(RM) -f $(LOBJ) $(OBJ) $(LIBVAL) + $(RM) -rf $(LT_DIR) + ++LIBADD+= -lssl -lcrypto -lpthread + $(LIBVAL): $(LOBJ) +- $(LIBTOOLLD) -o $@ $(LOBJ) ++ $(LIBTOOLLD) -o $@ $(LOBJ) $(LIBADD) + + install: + $(MKPATH) $(DESTDIR)$(libdir) diff -Nru dnsval-2.0/debian/patches/series dnsval-2.0/debian/patches/series --- dnsval-2.0/debian/patches/series 2013-09-19 06:34:01.000000000 -0400 +++ dnsval-2.0/debian/patches/series 2013-11-13 14:52:03.000000000 -0500 @@ -1,2 +1,3 @@ Add_-lcrypto_to_LIBS_in_apps.patch val_res_query.3_is_not_a_symlink.patch +Fix_FTBFS_from_link_order.patch

