Package: prelink
Version: 0.0.20130503-1
Severity: normal
Tags: patch pending

Dear maintainer,

I've prepared an NMU for prelink (versioned as 0.0.20130503-1.1) and
uploaded it to DELAYED/10. Please feel free to tell me if I
should delay it longer.

Regards.
diff -Nru prelink-0.0.20130503/debian/changelog 
prelink-0.0.20130503/debian/changelog
--- prelink-0.0.20130503/debian/changelog       2014-02-18 08:34:01.000000000 
+0100
+++ prelink-0.0.20130503/debian/changelog       2015-09-25 21:26:08.000000000 
+0200
@@ -1,3 +1,13 @@
+prelink (0.0.20130503-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add the Built-Using field (Closes: #769350)
+  * Build-depends against libelf-dev instead of libelfg0-dev (Closes: #769414)
+  * Drop debian/patches/ftbfs-no-copy-dt-needed.patch, this is not needed
+    anymore and it was an issue in libselinux in the first place anyway
+
+ -- Laurent Bigonville <bi...@debian.org>  Fri, 25 Sep 2015 21:26:07 +0200
+
 prelink (0.0.20130503-1) unstable; urgency=medium
 
   * Against my better judgement, adopt the package (Closes: #657967).
diff -Nru prelink-0.0.20130503/debian/control 
prelink-0.0.20130503/debian/control
--- prelink-0.0.20130503/debian/control 2014-02-18 08:10:08.000000000 +0100
+++ prelink-0.0.20130503/debian/control 2015-09-25 20:56:29.000000000 +0200
@@ -2,12 +2,13 @@
 Section: admin
 Priority: optional
 Maintainer: Geoffrey Thomas <gtho...@mokafive.com>
-Build-Depends: debhelper (>= 6.0.7~), libelfg0-dev, libpopt-dev, 
libselinux1-dev [linux-any], dh-autoreconf
+Build-Depends: debhelper (>= 6.0.7~), libelf-dev, libpopt-dev, libselinux1-dev 
[linux-any], dh-autoreconf, dctrl-tools
 Standards-Version: 3.9.5.0
 
 Package: prelink
 Architecture: any 
 Depends: ${shlibs:Depends}, ${misc:Depends}, execstack
+Built-Using: ${built-using}
 Description: ELF prelinking utility to speed up dynamic linking
  The prelink package contains a utility which modifies ELF shared libraries
  and executables, so that far fewer relocations need to be resolved at
diff -Nru prelink-0.0.20130503/debian/patches/ftbfs-no-copy-dt-needed.patch 
prelink-0.0.20130503/debian/patches/ftbfs-no-copy-dt-needed.patch
--- prelink-0.0.20130503/debian/patches/ftbfs-no-copy-dt-needed.patch   
2013-10-28 18:19:59.000000000 +0100
+++ prelink-0.0.20130503/debian/patches/ftbfs-no-copy-dt-needed.patch   
1970-01-01 01:00:00.000000000 +0100
@@ -1,21 +0,0 @@
-Description:Fixes a FTBFS with The --no-copy-dt-needed linker flag which
- requires that all needed libraries are explicitly added to the linker
- command line.
-Author: Andreas Moog <am...@ubuntu.com>
-Bug-Debian: http://bugs.debian.org/713628
-Forwarded: Per mail to Jakub Jelinek, jakub AT redhat DOT com
-Last-Update: 2013-08-10
-
-Index: prelink/src/Makefile.am
-===================================================================
---- prelink.orig/src/Makefile.am       2013-08-10 23:28:39.000000000 +0200
-+++ prelink/src/Makefile.am    2013-08-10 23:38:53.094809543 +0200
-@@ -21,7 +21,7 @@
-                 verify.c canonicalize.c md5.c md5.h sha.c sha.h            \
-                 $(common_SOURCES) $(arch_SOURCES)
- prelink_LDADD = @LIBGELF@
--prelink_LDFLAGS = -all-static
-+prelink_LDFLAGS = -all-static -pthread
- 
- execstack_SOURCES = execstack.c $(common_SOURCES) $(arch_SOURCES)
- 
diff -Nru prelink-0.0.20130503/debian/patches/series 
prelink-0.0.20130503/debian/patches/series
--- prelink-0.0.20130503/debian/patches/series  2014-02-18 08:18:43.000000000 
+0100
+++ prelink-0.0.20130503/debian/patches/series  2015-09-25 21:20:24.000000000 
+0200
@@ -2,4 +2,3 @@
 init.patch
 fsync.patch
 timestamp.patch
-ftbfs-no-copy-dt-needed.patch
diff -Nru prelink-0.0.20130503/debian/rules prelink-0.0.20130503/debian/rules
--- prelink-0.0.20130503/debian/rules   2013-05-08 10:47:34.000000000 +0200
+++ prelink-0.0.20130503/debian/rules   2015-09-25 21:09:20.000000000 +0200
@@ -10,6 +10,12 @@
 D := $(CURDIR)/debian/prelink
 E := $(CURDIR)/debian/execstack
 
+LIBC_DEV := $(shell grep-status -F Provides libc-dev -n -sPackage)
+ifeq (linux,$(DEB_HOST_ARCH_OS))
+LIBSELINUX_DEV := libselinux1-dev
+endif
+BUILT_USING := $(shell dpkg-query -f '$${source:Package} (= 
$${source:Version}), ' -W libelf-dev $(LIBSELINUX_DEV) $(LIBC_DEV))
+
 configure: configure-stamp
 configure-stamp:
        dh_testdir
@@ -82,7 +88,7 @@
        dh_fixperms
        dh_installdeb
        dh_shlibdeps
-       dh_gencontrol
+       dh_gencontrol -- -V"built-using=$(BUILT_USING)"
        dh_builddeb
 
 binary: binary-arch

Reply via email to