[med-svn] r11358 - in trunk/packages/fis-gtm/fis-gtm/trunk/debian: . patches

Luis Ibanez luisibanez-guest at alioth.debian.org
Fri Jun 15 19:52:28 UTC 2012


Author: luisibanez-guest
Date: 2012-06-15 19:52:27 +0000 (Fri, 15 Jun 2012)
New Revision: 11358

Removed:
   trunk/packages/fis-gtm/fis-gtm/trunk/debian/patches/01-comlist.patch
Modified:
   trunk/packages/fis-gtm/fis-gtm/trunk/debian/changelog
   trunk/packages/fis-gtm/fis-gtm/trunk/debian/compat
   trunk/packages/fis-gtm/fis-gtm/trunk/debian/control
   trunk/packages/fis-gtm/fis-gtm/trunk/debian/copyright
   trunk/packages/fis-gtm/fis-gtm/trunk/debian/patches/series
   trunk/packages/fis-gtm/fis-gtm/trunk/debian/rules
Log:
ENH: June 13 hackathon changes by Yaroslav Halchenko.



Modified: trunk/packages/fis-gtm/fis-gtm/trunk/debian/changelog
===================================================================
--- trunk/packages/fis-gtm/fis-gtm/trunk/debian/changelog	2012-06-15 18:05:04 UTC (rev 11357)
+++ trunk/packages/fis-gtm/fis-gtm/trunk/debian/changelog	2012-06-15 19:52:27 UTC (rev 11358)
@@ -1,7 +1,7 @@
-fis-gtm (5.5-000) UNRELEASED; urgency=low
+fis-gtm (5.5-000-1) UNRELEASED; urgency=low
 
   [ Luis Ibanez ]
-  * Initial release, helps to close #541239
+  * Initial release (Closes: #541239)
   * New upstream version 5.5
   * Adding cmake configuration to facilitate builds in multiple platforms.
   * debian/rules:
@@ -11,8 +11,25 @@
   * debian/control:
     Added cmake as a build dependency.
 
- -- Luis Ibanez <luis.ibanez at kitware.com>  Sat, 24 Mar 2012 18:34:02 -0500
+  [ Yaroslav Halchenko ]
+  * debian/control:
+    - boosted policy and added few -dev packages we know to be needed
+    - removed unused ATM adduser, ucf, debconf from *Depends
+    - provide both meta and versioned fis-gtm packages
+    - boosted policy to 3.9.3
+    - boosted dh compat 9 to get hardening flags automagically
+  * debian/copyright:
+    - adjusted for DEP5
+  * debian/rules:
+    - disable call to gtminstall at package build time:
+      upstream relies on the installdir path internally so "$test" command
+      used in various tools would not work rendering system broken according
+      to upstream
+    - generate lintian-overrides for shlib-with-executable-stack
+    - provide dumped from web changelog for the most recent release
 
+ -- Yaroslav Halchenko <debian at onerussian.com>  Wed, 13 Jun 2012 19:27:19 -0400
+
 fis-gtm (5.4-002B-1) UNRELEASED; urgency=low
 
   [ Luis Ibanez ]
@@ -70,6 +87,6 @@
 
 fis-gtm (5.4-002A-1) UNRELEASED; urgency=low
 
-  * Initial release (Closes: #541239)
+  * Initial attempt to package
 
  -- Thorsten Alteholz <debian at alteholz.de>  Mon, 13 Jun 2011 19:34:17 +0200

Modified: trunk/packages/fis-gtm/fis-gtm/trunk/debian/compat
===================================================================
--- trunk/packages/fis-gtm/fis-gtm/trunk/debian/compat	2012-06-15 18:05:04 UTC (rev 11357)
+++ trunk/packages/fis-gtm/fis-gtm/trunk/debian/compat	2012-06-15 19:52:27 UTC (rev 11358)
@@ -1 +1 @@
-8
+9

Modified: trunk/packages/fis-gtm/fis-gtm/trunk/debian/control
===================================================================
--- trunk/packages/fis-gtm/fis-gtm/trunk/debian/control	2012-06-15 18:05:04 UTC (rev 11357)
+++ trunk/packages/fis-gtm/fis-gtm/trunk/debian/control	2012-06-15 19:52:27 UTC (rev 11358)
@@ -1,22 +1,53 @@
 Source: fis-gtm
-Section: science
+Section: database
 Priority: extra
-Build-Depends: debhelper (>= 8), adduser, ucf, po-debconf,
+Build-Depends: debhelper (>= 9),
  libicu-dev, tcsh, gnupg, zlib1g-dev, libncurses-dev, libgcrypt11-dev, libgpgme11-dev,
- linux-libc-dev, gcc-multilib, cmake
-Standards-Version: 3.9.2
+ linux-libc-dev, gcc-multilib, cmake, libelf-dev
+Standards-Version: 3.9.3
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 DM-Upload-Allowed: yes
 Uploaders: Andreas Tille <tille at debian.org>,
-         Thorsten Alteholz <debian at alteholz.de>,
-         Luis Ibanez <luis.ibanez at kitware.com>
+           Thorsten Alteholz <debian at alteholz.de>,
+           Luis Ibanez <luis.ibanez at kitware.com>
 Homepage: http://sourceforge.net/projects/fis-gtm
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/fis-gtm/fis-gtm/trunk
 Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/fis-gtm/fis-gtm/trunk
 
 Package: fis-gtm
+Architecture: all
+Depends: ${misc:Depends}, fis-gtm-5.5.000
+Description: metapackage for the latest version of FIS-GT.M database
+ GT.M is a database engine with scalability proven in large real-time
+ transaction processing systems that have thousands of concurrent
+ users, individual database file sizes to the Terabyte range (with
+ virtually unlimited aggregate database sizes).  Yet the light
+ footprint of GT.M allows it to also scale down for use in small
+ applications and software appliances (virtual machines).
+ .
+ The GT.M data model is hierarchical associative memory (i.e.,
+ multi-dimensional array) that imposes no restrictions on the data
+ types of the indexes or content - the application logic can impose
+ any schema, dictionary or data organization suited to its problem
+ domain.  (Database engines that do not impose schemas, but which
+ allow layered application software to impose and use whatever schema
+ that is appropriate to the application are popularly referred to as
+ "document oriented", "schemaless" or "schema-free" databases.)
+ .
+ GT.M's compiler for the standard M (also known as MUMPS) scripting
+ language implements full support for ACID (Atomic, Consistent,
+ Isolated, Durable) transactions, using optimistic concurrency control
+ and software transactional memory (STM) that resolves the common
+ mismatch between databases and programming languages. Its unique
+ ability to create and deploy logical multi-site configurations of
+ applications provides unrivaled continuity of business in the face of
+ not just unplanned events, but also planned events, including planned
+ events that include changes to application logic and schema.
+
+Package: fis-gtm-5.5.000
 Architecture: amd64 i386
-Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, ucf
+Depends: ${shlibs:Depends}, ${misc:Depends}, libicu-dev
+Provides: gtm, mumps
 Description: package for FIS-GT.M database
  GT.M is a database engine with scalability proven in large real-time
  transaction processing systems that have thousands of concurrent
@@ -43,8 +74,3 @@
  applications provides unrivaled continuity of business in the face of
  not just unplanned events, but also planned events, including planned
  events that include changes to application logic and schema.
- .
- Community support forums for GT.M can be found at
- http://sourceforge.net/projects/fis-gtm and support with assured
- service levels on commercial terms can be purchased from
- gtmsupport at fnis.com.

Modified: trunk/packages/fis-gtm/fis-gtm/trunk/debian/copyright
===================================================================
--- trunk/packages/fis-gtm/fis-gtm/trunk/debian/copyright	2012-06-15 18:05:04 UTC (rev 11357)
+++ trunk/packages/fis-gtm/fis-gtm/trunk/debian/copyright	2012-06-15 19:52:27 UTC (rev 11358)
@@ -1,15 +1,44 @@
-Format: http://dep.debian.net/deps/dep5
-Upstream-Name: fis-gtm-initial
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Upstream-Name: fis-gtm
+Upstream-Contact: http://sourceforge.net/mailarchive/forum.php?forum_name=fis-gtm-core
 Source: http://sf.net/fis-gtm/gtm_V(.*)_linux_i686_pro\.tar\.gz
+Comment: .
+ Support with assured service levels on commercial terms can be
+ purchased from gtmsupport at fnis.com.
 
+
 Files: *
 Copyright: 1987 - 2003 Sanchez Computer Associates
-           1987 - 2011 Fidelity Information Services, Inc
+           1987 - 2012 Fidelity Information Services, Inc
 Comment:   Sanchez Computer Associates was acquired by FIS in 2004
 License: AGPL-3.0
+
+Files: debian/*
+Copyright: 2011 Thorsten Alteholz <debian at alteholz.de>
+License: GPL-2+
+
+
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+License: AGPL-3.0
                     GNU AFFERO GENERAL PUBLIC LICENSE
                        Version 3, 19 November 2007
- . 
+ .
  Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
  Everyone is permitted to copy and distribute verbatim copies
  of this license document, but changing it is not allowed.
@@ -667,22 +696,3 @@
   You should also get your employer (if you work as a programmer) or school,
  if any, to sign a "copyright disclaimer" for the program, if necessary.
  For more information on this, and how to apply and follow the GNU AGPL, see
-
-Files: debian/*
-Copyright: 2011 Thorsten Alteholz <debian at alteholz.de>
-License: GPL-2+
- This package is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
- .
- This package is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- GNU General Public License for more details.
- .
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>
- .
- On Debian systems, the complete text of the GNU General
- Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

Deleted: trunk/packages/fis-gtm/fis-gtm/trunk/debian/patches/01-comlist.patch
===================================================================
--- trunk/packages/fis-gtm/fis-gtm/trunk/debian/patches/01-comlist.patch	2012-06-15 18:05:04 UTC (rev 11357)
+++ trunk/packages/fis-gtm/fis-gtm/trunk/debian/patches/01-comlist.patch	2012-06-15 19:52:27 UTC (rev 11358)
@@ -1,15 +0,0 @@
-Author: Luis Ibanez <luis.ibanez at kitware.com>
-Date: Sat, 11 Feb 2012 21:04:05 -0500
-Description: Make sure the build will not stop to early
-
---- fis-gtm-5.4-002B.orig/sr_unix/comlist.mk
-+++ fis-gtm-5.4-002B/sr_unix/comlist.mk
-@@ -45,7 +45,7 @@
- 
- CURDIR=$(shell pwd)
- 
--ifeq ($(MAKELEVEL),0)
-+ifeq ($(MAKELEVEL),2)
- # the first-level make invocation - rules to create & clean directories
- # and build utilities selectively.
- 

Modified: trunk/packages/fis-gtm/fis-gtm/trunk/debian/patches/series
===================================================================
--- trunk/packages/fis-gtm/fis-gtm/trunk/debian/patches/series	2012-06-15 18:05:04 UTC (rev 11357)
+++ trunk/packages/fis-gtm/fis-gtm/trunk/debian/patches/series	2012-06-15 19:52:27 UTC (rev 11358)
@@ -1 +0,0 @@
-01-comlist.patch

Modified: trunk/packages/fis-gtm/fis-gtm/trunk/debian/rules
===================================================================
--- trunk/packages/fis-gtm/fis-gtm/trunk/debian/rules	2012-06-15 18:05:04 UTC (rev 11357)
+++ trunk/packages/fis-gtm/fis-gtm/trunk/debian/rules	2012-06-15 19:52:27 UTC (rev 11358)
@@ -7,18 +7,47 @@
 
 SRC_EXTRAS_DIR=fis-gtm-src-extras
 
-PKG := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
+ARCH := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
+UVER := $(shell LC_ALL=C dpkg-parsechangelog | awk '/^Version:/{print $$2;}' | sed -e 's,-[^-]*$$,,g')
+UVERDIR := V$(UVER)_$(ARCH)
+SRCPKG := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
+BINPKG := $(shell awk '/Package:.*[0-9]/{print $$2;}' debian/control)
 
 %:
-	dh $@ 
+	dh $@
 
 override_dh_auto_configure:
+	@echo "I: copyring pre-generated bootstrap files to build GT.M"
 	cp -a ./$(SRC_EXTRAS_DIR)/* .
-	cmake .
-	dh_auto_configure
+	dh_auto_configure -- -DCMAKE_INSTALL_PREFIX:PATH=/usr/lib/fis-gtm/$(UVERDIR)
 
+# At some point in the future, GT.M developers will support DESTDIR
+# and then it will look like:
+#override_dh_auto_install:
+#	./pro/gtminstall --utf8 default --installdir /usr/lib/fis-gtm/VERSION DESTDIR=$(CURDIR)/debian/$(BINPKG)
+
 override_dh_auto_install:
-	./pro/gtminstall --utf8 default --installdir $(CURDIR)/debian/tmp
+	dh_auto_install --destdir=debian/$(BINPKG) $@
 
+override_dh_link:
+	echo '/usr/lib/fis-gtm/$(UVERDIR) /usr/lib/fis-gtm/current' > debian/fis-gtm.links
+	dh_link
+
+# Because 'the' binary package name will change, let's just generate
+# override files
+# The override is needed according to upstream for GTM to generate executable 'call-in's
+override_dh_lintian:
+	echo "$(BINPKG) binary: shlib-with-executable-stack usr/lib/fis-gtm/*/libgtmshr.so" > debian/$(BINPKG).lintian-overrides
+	dh_lintian
+
 get-orig-source:
 	uscan --verbose --force-download
+
+override_dh_auto_clean:
+	dh_auto_clean
+	#for f in ./$(SRC_EXTRAS_DIR)/*; do \
+	#		rm -rf $$(basename $$f); done
+	rm -f debian/fis-gtm.links
+
+override_dh_installchangelogs:
+	dh_installchangelogs debian/upstream-files/GTM_V5.5-000_Release_Notes.html




More information about the debian-med-commit mailing list