[routino] 11/13: Strip RPATH from binaries.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun Sep 13 22:33:08 UTC 2015


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

sebastic pushed a commit to branch master
in repository routino.

commit db20dc901da1697ba9d8a37d7f546eb344e5384e
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Sep 13 18:35:56 2015 +0200

    Strip RPATH from binaries.
---
 debian/changelog | 1 +
 debian/control   | 1 +
 debian/rules     | 5 +++++
 3 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 964b281..617d94f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ routino (3.0-1) UNRELEASED; urgency=medium
   * Refresh patches, mark as Forwarded: not-needed.
   * Add packages for routino shared libraries.
   * Install documentation in routino package.
+  * Strip RPATH from binaries.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 13 Sep 2015 10:47:14 +0200
 
diff --git a/debian/control b/debian/control
index d47d969..602a417 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Uploaders: Uwe Steinmann <steinm at debian.org>,
 Section: misc
 Priority: extra
 Build-Depends: debhelper (>= 9),
+               chrpath,
                flex,
                libbz2-dev,
                zlib1g-dev,
diff --git a/debian/rules b/debian/rules
index 1e6747c..bf53c27 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,13 +33,18 @@ override_dh_auto_build-arch:
 
 override_dh_auto_install:
 	dh_auto_install
+
 	install -d $(CURDIR)/debian/tmp/usr/share/routino/www
 	cp -r web/www/routino/* $(CURDIR)/debian/tmp/usr/share/routino/www
+
 	install -d $(CURDIR)/debian/tmp/etc/routino-www
 	install -m 644 debian/apache.conf $(CURDIR)/debian/tmp/etc/routino-www/apache.conf
 	install -m 644 debian/avahi.conf $(CURDIR)/debian/tmp/etc/routino-www/routino-www.service
 	install -m 644 debian/routino-www.desktop $(CURDIR)/debian/tmp/etc/routino-www/
 
+	# Strip RPATH
+	chrpath --delete debian/*/usr/bin/*
+
 override_dh_install:
 	dh_install --list-missing
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/routino.git



More information about the Pkg-grass-devel mailing list