[Reproducible-commits] [debhelper] 03/61: dh_shlibdeps: Recognise .node files as SO files

Mattia Rizzolo mattia at mapreri.org
Sat Apr 4 18:37:24 UTC 2015


This is an automated email from the git hooks/post-receive script.

mapreri-guest pushed a commit to branch pu/reproducible_builds
in repository debhelper.

commit 4a219aba7144a5128145e2916ad09bbb7f9f07c2
Author: Niels Thykier <niels at thykier.net>
Date:   Thu Jan 1 17:39:03 2015 +0100

    dh_shlibdeps: Recognise .node files as SO files
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 debian/changelog | 3 +++
 dh_shlibdeps     | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index cc9fc1a..2cb0eca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,9 @@ debhelper (9.20150101.1) UNRELEASED; urgency=medium
   * dh_strip: Recognise .node as potential ELF binaries that
     should be stripped like a regular shared library.  Thanks
     to Paul Tagliamonte for the report.  (Closes: #668852)
+  * dh_shlibdeps: Recognise .node as potential ELF binaries that
+    should be processed like a regular shared library.  Thanks
+    to Paul Tagliamonte for the report.  (Closes: #668851)
 
  -- Niels Thykier <niels at thykier.net>  Thu, 01 Jan 2015 17:24:38 +0100
 
diff --git a/dh_shlibdeps b/dh_shlibdeps
index b42c84a..05d1412 100755
--- a/dh_shlibdeps
+++ b/dh_shlibdeps
@@ -117,7 +117,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 	if (defined($dh{EXCLUDE_FIND}) && $dh{EXCLUDE_FIND} ne '') {
 		$find_options="! \\( $dh{EXCLUDE_FIND} \\)";
 	}
-	foreach my $file (split(/\n/,`find $tmp -type f \\( -perm /111 -or -name "*.so*" -or -name "*.cmxs" \\) $find_options -print`)) {
+	foreach my $file (split(/\n/,`find $tmp -type f \\( -perm /111 -or -name "*.so*" -or -name "*.cmxs" -or -name "*.node" \\) $find_options -print`)) {
 		# Prune directories that contain separated debug symbols.
 		next if $file=~m!^\Q$tmp\E/usr/lib/debug/(lib|lib64|usr|bin|sbin|opt|dev|emul)/!;
 		# TODO this is slow, optimize. Ie, file can run once on

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debhelper.git



More information about the Reproducible-commits mailing list