[med-svn] [fis-gtm] 01/01: Reduce number of lintian warnings

Andreas Tille tille at debian.org
Sat Oct 19 22:14:27 UTC 2013


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

tille pushed a commit to branch master
in repository fis-gtm.

commit 3e4f5dbd0a1d267601f7d7668b9122414d0f2aad
Author: Andreas Tille <tille at debian.org>
Date:   Sun Oct 20 00:08:58 2013 +0200

    Reduce number of lintian warnings
---
 debian/changelog |    5 ++++-
 debian/rules     |   11 ++++++++---
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5953b62..0293c6e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,7 +12,10 @@ fis-gtm (6.0-001-1) UNRELEASED; urgency=low
   * debian/control:
     - anonscm in Vcs tools
     - cme fix dpkg-control
-  * debian/rules: make sure also maskpass will be stripped
+  * debian/rules:
+     - make sure also maskpass will be stripped
+     - add more lintian overrides to suppress false positives
+     - fix permissions
 
  -- Andreas Tille <tille at debian.org>  Sat, 19 Oct 2013 21:21:19 +0200
 
diff --git a/debian/rules b/debian/rules
index 1ec6987..c355c05 100755
--- a/debian/rules
+++ b/debian/rules
@@ -69,15 +69,18 @@ override_dh_fixperms:
 	chmod 0755 $(LOCAL_GTM_INSTALL_DIR)/gtcm_run
 	chmod 0755 $(LOCAL_GTM_INSTALL_DIR)/gtcm_server
 	chmod 0755 $(LOCAL_GTM_INSTALL_DIR)/gtcm_shmclean
+	chmod 0755 $(LOCAL_GTM_INSTALL_DIR)/gtm
+	chmod 0755 $(LOCAL_GTM_INSTALL_DIR)/gtmbase
 	chmod 0755 $(LOCAL_GTM_INSTALL_DIR)/gtmstart
 	chmod 0755 $(LOCAL_GTM_INSTALL_DIR)/gtmstop
 	chmod 0755 $(LOCAL_GTM_INSTALL_DIR)/lke
 	chmod 0755 $(LOCAL_GTM_INSTALL_DIR)/mumps
 	chmod 0755 $(LOCAL_GTM_INSTALL_DIR)/mupip
 	chmod 0755 $(LOCAL_GTM_INSTALL_DIR)/semstat2
+	chmod 0755 $(LOCAL_GTM_INSTALL_DIR)/plugin/gtmcrypt/*.sh
 
-	echo "I: Final permissions after dh_fixperms"
-	ls -l $(LOCAL_GTM_INSTALL_DIR)
+	#echo "I: Final permissions after dh_fixperms"
+	#ls -l $(LOCAL_GTM_INSTALL_DIR)
 
 # yoh: although it might sound to remove write permissions for the
 # deployed materials, as far as I see it, it is useless, since the
@@ -94,6 +97,8 @@ override_dh_lintian:
 	echo "$(BINPKG) binary: shlib-with-executable-stack usr/lib/fis-gtm/*/libgtmshr.so" >  debian/$(BINPKG).lintian-overrides
 	echo "$(BINPKG) binary: setuid-binary usr/lib/fis-gtm/*/gtmsecshr"    >> debian/$(BINPKG).lintian-overrides
 	echo "$(BINPKG) binary: shared-lib-without-dependency-information usr/lib/fis-gtm/*/libgtmutil.so" >> debian/$(BINPKG).lintian-overrides
+	echo "# Override non-spelling error" >> debian/$(BINPKG).lintian-overrides
+	echo "$(BINPKG): spelling-error-in-binary usr/lib/fis-gtm/*/* tEH the" >> debian/$(BINPKG).lintian-overrides
 
 	dh_lintian
 
@@ -117,4 +122,4 @@ override_dh_strip:
 	    cd $(LOCAL_GTM_INSTALL_DIR) ; \
 	    strip dse gtcm_gnp_server gtcm_play gtcm_server gtcm_shmclean lke mupip ; \
 	fi
-	find $(LOCAL_GTM_INSTALL_DIR) -name maskpass -exec strip \{\} \;
+	find $(LOCAL_GTM_INSTALL_DIR) -name maskpass -exec strip --remove-section=.comment \{\} \;

-- 
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/fis-gtm.git



More information about the debian-med-commit mailing list