[med-svn] r11549 - trunk/packages/fis-gtm/trunk/debian

Luis Ibanez luisibanez-guest at alioth.debian.org
Wed Jul 4 19:03:28 UTC 2012


Author: luisibanez-guest
Date: 2012-07-04 19:03:28 +0000 (Wed, 04 Jul 2012)
New Revision: 11549

Modified:
   trunk/packages/fis-gtm/trunk/debian/changelog
   trunk/packages/fis-gtm/trunk/debian/rules
Log:
Adding specific chmods in the override_dh_fixperms section.



Modified: trunk/packages/fis-gtm/trunk/debian/changelog
===================================================================
--- trunk/packages/fis-gtm/trunk/debian/changelog	2012-07-04 17:30:16 UTC (rev 11548)
+++ trunk/packages/fis-gtm/trunk/debian/changelog	2012-07-04 19:03:28 UTC (rev 11549)
@@ -18,6 +18,8 @@
     Removed shebang line insertions, now that they are provided by
     upstream.
     Removed the setuid bit for gtmsecshr, now overriding dh_fixperms.
+    Introducing chmods in the override_dh_fixperms section to address
+    lintian warnings and errors.
   * debian/control:
     Added cmake as a build dependency.
   * debian/source:

Modified: trunk/packages/fis-gtm/trunk/debian/rules
===================================================================
--- trunk/packages/fis-gtm/trunk/debian/rules	2012-07-04 17:30:16 UTC (rev 11548)
+++ trunk/packages/fis-gtm/trunk/debian/rules	2012-07-04 19:03:28 UTC (rev 11549)
@@ -44,7 +44,17 @@
 	rm    $(CURDIR)/debian/$(BINPKG)/usr/$(GTM_INSTALL_DIR)/COPYING
 
 override_dh_fixperms:
-	echo 'overriding dh_fixperms'
+	echo "overriding dh_fixperms"
+	echo "removing execution premissions from shared libraries"
+	chmod 0644 $(CURDIR)/debian/$(BINPKG)/usr/$(GTM_INSTALL_DIR)/*.so
+	echo "setting standard executable permissions"
+	chmod 0755 $(CURDIR)/debian/$(BINPKG)/usr/$(GTM_INSTALL_DIR)/gtmstart
+	chmod 0755 $(CURDIR)/debian/$(BINPKG)/usr/$(GTM_INSTALL_DIR)/gtmstop
+	echo "changing permissions to 644 for files that will be sourced"
+	chmod 0644 $(CURDIR)/debian/$(BINPKG)/usr/$(GTM_INSTALL_DIR)/gtmprofile
+	chmod 0644 $(CURDIR)/debian/$(BINPKG)/usr/$(GTM_INSTALL_DIR)/gtmprofile_preV54000
+	chmod 0644 $(CURDIR)/debian/$(BINPKG)/usr/$(GTM_INSTALL_DIR)/gtcm_slist
+	chmod 0644 $(CURDIR)/debian/$(BINPKG)/usr/$(GTM_INSTALL_DIR)/gtmcshrc
 
 # yoh: although it might sound to remove write permissions for the
 # deployed materials, as far as I see it, it is useless, since the




More information about the debian-med-commit mailing list