[med-svn] [fis-gtm] 02/02: Final cleanup in debian/rules; drop unneeded get-orig-source script

Andreas Tille tille at debian.org
Wed Oct 23 06:02:06 UTC 2013


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

tille pushed a commit to tag debian/6.0-001
in repository fis-gtm.

commit 1b27e5f5b1ba39085d628f9ffd3aeecf40ac0296
Author: Andreas Tille <tille at debian.org>
Date:   Tue Oct 22 21:33:57 2013 +0200

    Final cleanup in debian/rules; drop unneeded get-orig-source script
---
 debian/get-orig-source |   19 -------------------
 debian/rules           |   23 ++++++++++++-----------
 2 files changed, 12 insertions(+), 30 deletions(-)

diff --git a/debian/get-orig-source b/debian/get-orig-source
deleted file mode 100755
index 085f36a..0000000
--- a/debian/get-orig-source
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-# get source for fis-gtm from SourceForge.net
-
-#set -x
-set -e
-
-wget -q -N http://sourceforge.net/projects/fis-gtm/files/GT.M-x86-Linux-src/V6.0-001/gtm_V60001_linux_i686_src.tar.gz
-NAME="fis-gtm"
-PKGVERSION="6.0-001"
-
-OUTPUTDIR=${NAME}-${PKGVERSION}
-mkdir ${OUTPUTDIR}
-cd ${OUTPUTDIR}
-tar -xzf ../gtm_V60001_linux_i686_src.tar.gz
-cd ..
-GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -czf ../${NAME}_${PKGVERSION}.orig.tar.gz ${OUTPUTDIR}
-rm -rf ${OUTPUTDIR}
-rm gtm_V60001_linux_i686_src.tar.gz
-
diff --git a/debian/rules b/debian/rules
index 1bcee8a..57a5875 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,15 +29,15 @@ override_dh_auto_configure:
 	dh_auto_configure -- -DCMAKE_INSTALL_PREFIX:PATH=/usr -DGTM_INSTALL_DIR=$(GTM_INSTALL_DIR)
 
 override_dh_auto_install:
-	echo "umask is: "
-	umask
+	#echo "umask is: "
+	#umask
 	dh_auto_install --destdir=debian/$(BINPKG)-stage1 $@
 	cd debian/$(BINPKG)-stage1/usr/$(GTM_INSTALL_DIR) && \
 		gtm_destdir=$(CURDIR)/debian/$(BINPKG) \
 		./gtminstall --utf8 default --user root --group root --verbose \
 			--distrib . \
 			--installdir $(LOCAL_GTM_INSTALL_DIR)
-	@echo "I: Removing redundant license file. One is already available."
+	#@echo "I: Removing redundant license file. One is already available."
 	find $(LOCAL_GTM_INSTALL_DIR) -name COPYING -delete
 	# remove empty directories
 	find $(LOCAL_GTM_INSTALL_DIR) -type d -empty -delete
@@ -45,25 +45,25 @@ override_dh_auto_install:
 	find $(LOCAL_GTM_INSTALL_DIR) -type d -exec chmod u+x \{\} \;
 
 override_dh_fixperms:
-	echo "umask is: "
-	umask
+	#echo "umask is: "
+	#umask
 	dh_fixperms
-	echo "overriding dh_fixperms"
-	echo "I: Fixing up permissions for removed write rights -- we aren't done yet!"
+	#echo "overriding dh_fixperms"
+	#echo "I: Fixing up permissions for removed write rights -- we aren't done yet!"
 	chmod +w -R $(LOCAL_GTM_INSTALL_DIR)
 	chmod +w -R $(LOCAL_GTM_INSTALL_DIR)/utf8
 	chmod 0755 $(LOCAL_GTM_INSTALL_DIR)/utf8
 	chmod 0755 $(LOCAL_GTM_INSTALL_DIR)/plugin
-	echo "I: Fixing up permissions for setuid rights -- we aren't done yet!"
+	#echo "I: Fixing up permissions for setuid rights -- we aren't done yet!"
 	chmod 4755 $(LOCAL_GTM_INSTALL_DIR)/gtmsecshr
 	chmod 0500 $(LOCAL_GTM_INSTALL_DIR)/gtmsecshrdir
 	chmod 4500 $(LOCAL_GTM_INSTALL_DIR)/gtmsecshrdir/gtmsecshr
-	echo "I: changing permissions to 644 for files that will be sourced"
+	#echo "I: changing permissions to 644 for files that will be sourced"
 	chmod 0644 $(LOCAL_GTM_INSTALL_DIR)/gtmprofile
 	chmod 0644 $(LOCAL_GTM_INSTALL_DIR)/gtmprofile_preV54000
 	chmod 0644 $(LOCAL_GTM_INSTALL_DIR)/gtcm_slist
 	chmod 0644 $(LOCAL_GTM_INSTALL_DIR)/gtmcshrc
-	echo "I: Fixing executable permissions"
+	#echo "I: Fixing executable permissions"
 	chmod 0755 $(LOCAL_GTM_INSTALL_DIR)/dse
 	chmod 0755 $(LOCAL_GTM_INSTALL_DIR)/ftok
 	chmod 0755 $(LOCAL_GTM_INSTALL_DIR)/geteuid
@@ -129,5 +129,6 @@ override_dh_strip:
 	find $(LOCAL_GTM_INSTALL_DIR) -name maskpass -exec strip --remove-section=.comment \{\} \;
 
 get-orig-source:
-	./debian/get-orig-source
+	mkdir -p ../tarballs
+	uscan --verbose --force-download --destdir=../tarballs
 

-- 
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