Upstream version is now GT.M V6.3-000
debian/changelog
debian/control
- Update relevant files for the new version numbering
debian/patches/series
debian/patches/upstream_fix_depency_order
- Remove outdated patches
debian/patches/series
debian/patches/correct_rundown_state_definition.patch
debian/patches/upstream_disable_autorelink
debian/patches/upstream_donot_deploy_all_encryption_libs
- Update and refresh existing patches
debian/patches/upstream_disable_autorelink
- Noticed another case that needed auto-relink disabled
debian/patches/upstream_fix_speeling_errors
- Apparently there are NEW spelling errores
debian/rules
debian/patches/upstream_donot_deploy_all_encryption_libs
- Drop locale creation as it is not used
- FIS stopped shipping the encryption plugins as binaries due to
library dependencies being different across hosts. So the install
script tars up the reference encryption plugin script and source
files. Undo that action for the Debian build system
- Add more lintian warning overrides to debian/rules
debian/watch
- Improve GT.M version matching. Some GT.M versions have a trailing
"letter"
These changes were build tested using git-buildpackage and cowbuilder on
a Debian 7.9 server targetting amd64 and i386 for wheezy and jessie.
Amul Shah
8 years ago
0 | fis-gtm (6.3-000-1) UNRELEASED; urgency=medium | |
1 | ||
2 | * Import latest sources and update package version | |
3 | ||
4 | -- Amul Shah <Amul.Shah@fisglobal.com> Tue, 29 Mar 2016 14:44:37 -0400 | |
5 | ||
0 | 6 | fis-gtm (6.2-002A-3) unstable; urgency=medium |
1 | 7 | |
2 | 8 | [ Gert Wollny ] |
30 | 30 | Package: fis-gtm |
31 | 31 | Architecture: all |
32 | 32 | Depends: ${misc:Depends}, |
33 | fis-gtm-6.2-002 | |
33 | fis-gtm-6.3-000 | |
34 | 34 | Provides: mumps |
35 | 35 | Description: metapackage for the latest version of FIS-GT.M database |
36 | 36 | GT.M is a database engine with scalability proven in large real-time |
61 | 61 | . |
62 | 62 | This metapackage always depends from the default fis-gtm version. |
63 | 63 | |
64 | Package: fis-gtm-6.2-002 | |
64 | Package: fis-gtm-6.3-000 | |
65 | 65 | Architecture: amd64 i386 |
66 | 66 | Multi-Arch: same |
67 | 67 | Depends: ${shlibs:Depends}, |
3 | 3 | |
4 | 4 | --- a/sr_unix/gtm_exit_handler.c |
5 | 5 | +++ b/sr_unix/gtm_exit_handler.c |
6 | @@ -57,6 +57,15 @@ | |
7 | GBLREF boolean_t exit_handler_active; | |
6 | @@ -58,6 +58,15 @@ | |
7 | GBLREF boolean_t skip_exit_handler; | |
8 | 8 | GBLREF boolean_t is_tracing_on; |
9 | 9 | |
10 | 10 | +enum rundown_state |
19 | 19 | static enum rundown_state attempting; |
20 | 20 | |
21 | 21 | #ifdef DEBUG |
22 | @@ -137,14 +146,6 @@ | |
22 | @@ -142,14 +151,6 @@ | |
23 | 23 | error_def(ERR_LKRUNDOWN); |
24 | 24 | error_def(ERR_MPROFRUNDOWN); |
25 | 25 |
1 | 1 | upstream_disable_autorelink |
2 | 2 | upstream_fix_speeling_errors |
3 | 3 | upstream_donot_deploy_all_encryption_libs |
4 | upstream_fix_depency_order | |
5 | 4 | correct_rundown_state_definition.patch |
9 | 9 | |
10 | 10 | --- a/sr_unix/gtmprofile.gtc |
11 | 11 | +++ b/sr_unix/gtmprofile.gtc |
12 | @@ -147,7 +147,7 @@ | |
12 | @@ -150,12 +150,12 @@ | |
13 | if [ -d $gtm_dist/plugin/o/utf8 ] ; then | |
14 | gtmroutines=`$gtm_dist/mumps -run %XCMD 'set x=$ztrnlnm("gtm_dist")_"/plugin/o/utf8/*."_$ztrnlnm("tmp_gtm_shlib") for set y=$zsearch(x) quit:""=y write y," "'`"$gtm_dist/plugin/o/utf8($gtm_dist/plugin/r) $gtmroutines" | |
15 | fi | |
16 | - gtmroutines=`$gtm_dist/mumps -run %XCMD 'set x=$ztrnlnm("gtmdir")_"/"_$ztrnlnm("gtmver")_"/o/utf8/*."_$ztrnlnm("tmp_gtm_shlib") for set y=$zsearch(x) quit:""=y write y," "'`"$gtmdir/$gtmver/o/utf8*($gtmdir/$gtmver/r $gtmdir/r) $gtmroutines" | |
17 | + gtmroutines=`$gtm_dist/mumps -run %XCMD 'set x=$ztrnlnm("gtmdir")_"/"_$ztrnlnm("gtmver")_"/o/utf8/*."_$ztrnlnm("tmp_gtm_shlib") for set y=$zsearch(x) quit:""=y write y," "'`"$gtmdir/$gtmver/o/utf8($gtmdir/$gtmver/r $gtmdir/r) $gtmroutines" | |
18 | else | |
13 | 19 | if [ -d $gtm_dist/plugin/o ] ; then |
14 | 20 | gtmroutines=`$gtm_dist/mumps -run %XCMD 'set x=$ztrnlnm("gtm_dist")_"/plugin/o/*."_$ztrnlnm("tmp_gtm_shlib") for set y=$zsearch(x) quit:""=y write y," "'`"$gtm_dist/plugin/o($gtm_dist/plugin/r) $gtmroutines" |
15 | 21 | fi |
10 | 10 | |
11 | 11 | --- a/CMakeLists.txt |
12 | 12 | +++ b/CMakeLists.txt |
13 | @@ -544,7 +544,7 @@ | |
13 | @@ -519,7 +519,7 @@ | |
14 | 14 | ) |
15 | 15 | target_link_libraries(libgtmcrypt_openssl_AES256CFB ${GPG_LIBRARIES} ${TLS_LIBRARIES}) |
16 | 16 | add_dependencies(libgtmcrypt_openssl_AES256CFB gen_gtm_threadgbl_deftypes) |
19 | 19 | |
20 | 20 | # Library=OPENSSL Algorithm=BLOWFISHCFB |
21 | 21 | add_library(libgtmcrypt_openssl_BLOWFISHCFB MODULE ${libgtmcrypt_SOURCES}) |
22 | @@ -555,7 +555,7 @@ | |
22 | @@ -530,7 +530,7 @@ | |
23 | 23 | ) |
24 | 24 | target_link_libraries(libgtmcrypt_openssl_BLOWFISHCFB ${GPG_LIBRARIES} ${TLS_LIBRARIES}) |
25 | 25 | add_dependencies(libgtmcrypt_openssl_BLOWFISHCFB gen_gtm_threadgbl_deftypes) |
28 | 28 | |
29 | 29 | add_library(libgtmtls MODULE ${libgtmtls_SOURCES}) |
30 | 30 | set_target_properties(libgtmtls PROPERTIES |
31 | @@ -565,7 +565,7 @@ | |
31 | @@ -540,7 +540,7 @@ | |
32 | 32 | ) |
33 | 33 | target_link_libraries(libgtmtls ${TLS_LIBRARIES}) |
34 | 34 | add_dependencies(libgtmtls gen_gtm_threadgbl_deftypes) |
37 | 37 | |
38 | 38 | add_executable(maskpass ${maskpass_SOURCES}) |
39 | 39 | target_link_libraries(maskpass ${GPG_LIBRARIES} ${TLS_LIBRARIES}) |
40 | @@ -768,14 +768,14 @@ | |
41 | STRING(REGEX REPLACE "\n" ";" locale_list "${locale_list}") | |
42 | foreach(lc ${locale_list}) | |
43 | string(TOLOWER "${lc}" lc_lower) | |
44 | - if("x${lc_lower}" MATCHES "^xen_us\\.?utf-?8") | |
45 | + if("x${lc_lower}" MATCHES "^x[a-zA-Z_]+\\.?utf-?8") | |
46 | set(LC_ALL ${lc}) | |
47 | message("-- Setting locale to ${LC_ALL}") | |
48 | break() | |
49 | endif() | |
50 | endforeach(lc) | |
51 | if("${LC_ALL}" STREQUAL "") | |
52 | - message("Locale undefined. Expect to see NONUTF8LOCALE during MUMPS routine compilation\n") | |
53 | + message("Locale undefined. Expect to see NONUTF8LOCALE during MUMPS routine compilation: ${locale_list}\n") | |
54 | endif() | |
55 | else() | |
56 | message(FATAL_ERROR "Unable to find 'locale'. Set LOCALECFG in CMake cache.") | |
57 | --- a/sr_unix/configure.gtc | |
58 | +++ b/sr_unix/configure.gtc | |
59 | @@ -544,6 +544,7 @@ | |
60 | chmod 0644 $gtmdist/$plugin_gtmcrypt/source.tar | |
61 | chown ${owner}:${bingroup} $gtmdist/$plugin_gtmcrypt/source.tar | |
62 | rm $plugin_gtmcrypt/README | |
63 | + (cd $gtmdist/$plugin_gtmcrypt && tar -xvf source.tar) | |
64 | fi | |
65 | ||
66 | # Install GDE, GTMHELP, and all the percent routines |
0 | From: Amul Shah <Amul.Shah@fisglobal.com> | |
1 | Forwarded: not-needed | |
2 | Summary: xfer_desc is being built out of order | |
3 | Description: Due to a change in build order, xfer_desc.i is not generated prior | |
4 | to building libmumps.a. libmumps.a depends on xfer_desc.i, so make that | |
5 | dependency explicit. | |
6 | Last-Update: 2015-06-08 | |
7 | ||
8 | --- a/CMakeLists.txt | |
9 | +++ b/CMakeLists.txt | |
10 | @@ -418,6 +418,9 @@ | |
11 | set_property(TARGET lib${lib} PROPERTY OUTPUT_NAME ${lib}) | |
12 | add_dependencies(lib${lib} gen_gtm_threadgbl_deftypes) | |
13 | endforeach() | |
14 | +if(gen_xfer_desc) | |
15 | + add_dependencies(libmumps gen_xfer_desc) | |
16 | +endif() | |
17 | ||
18 | # TODO: find_package or find_library for system libs? | |
19 | include_directories (/usr/local/include) |
0 | 0 | From: Amul Shah <Amul.Shah@fisglobal.com> |
1 | 1 | Forwarded: not-needed |
2 | Summary: Fix spelling errors in errors messages and MUMPS source routines | |
3 | Description: Upstream sources contain spelling errors in one message for the | |
4 | DSE utility program. This is now fixed to avoid the lintian warning | |
5 | spelling-error-in-binary. MUMPS sources are now compiled with -embed_source | |
6 | which embeds the source in the object file. Comments in two MUMPS routines | |
7 | contained spelling errors. These are now fixed to avoid the lintian warning | |
8 | spelling-error-in-binary. | |
9 | Applied-Upstream: V6.2-001 | |
10 | Last-Update: 2014-10-04 | |
2 | Summary: Fix spelling errors in MUMPS source routines | |
3 | Description: Comments in two MUMPS routines contained spelling errors. These | |
4 | are now fixed to avoid the lintian warning spelling-error-in-binary. | |
5 | Applied-Upstream: V6.3-001 | |
6 | Last-Update: 2016-03-30 | |
11 | 7 | |
12 | --- a/sr_port/dse_shift.c | |
13 | +++ b/sr_port/dse_shift.c | |
14 | @@ -128,7 +128,7 @@ | |
15 | { | |
16 | if (shift + size >= cs_addrs->hdr->blk_size) | |
17 | { | |
18 | - util_out_print("Error: block not large enough to accomodate shift.", TRUE); | |
19 | + util_out_print("Error: block not large enough to accommodate shift.", TRUE); | |
20 | t_abort(gv_cur_region, cs_addrs); | |
21 | if (lbp) | |
22 | free(lbp); | |
23 | --- a/sr_port/rsel.mpt | |
24 | +++ b/sr_port/rsel.mpt | |
25 | @@ -122,11 +122,11 @@ | |
26 | s end=$p(r,":",2),beg=$p(r,":"),rdf=0 | |
27 | i end=beg!'$l(end) q:'$l(beg) s stop=last ; if all stripped out, done | |
28 | s:'$l(beg) beg="*" s pct=$e(beg) ; CAUTION: ELSE on next line | |
29 | - e s strt=$$mask(beg),stop=$$mask(end) i $l($p(stop,"$")) q:stop']strt ; if end before begining, done | |
30 | + e s strt=$$mask(beg),stop=$$mask(end) i $l($p(stop,"$")) q:stop']strt ; if end before beginning, done | |
31 | i "*?"[pct s mtch="%*" d start(1) f s r=$$search(1) q:r]stop!'$l(r) d save ; if alls, get _files first | |
32 | s pct=pct="%",mtch=beg | |
33 | d start(pct) | |
34 | - f s r=$$search(pct) q:r]stop!'$l(r) d save ; do begining | |
35 | + f s r=$$search(pct) q:r]stop!'$l(r) d save ; do beginning | |
36 | i stop=last q ; no range - we're done | |
37 | s stop=$p(stop,"$") | |
38 | i $l(stop),stop]$p(strt,"$") d ; if no overlap, do middle | |
39 | --- a/sr_port/xcmd.mpt | |
40 | +++ b/sr_port/xcmd.mpt | |
41 | @@ -14,7 +14,7 @@ | |
42 | ; If no $ETRAP defined, use CLIERR^%XCMD overriding a potential $ZTRAP error handler | |
43 | if ""=$ETRAP new $ETRAP set $ETRAP="goto CLIERR^%XCMD" | |
44 | new etrap set etrap=$ETRAP | |
45 | - ; Protect %XCMD's error handler by NEWing and SETing $ETRAP at the begining of the XECUTEd command | |
46 | + ; Protect %XCMD's error handler by NEWing and SETing $ETRAP at the beginning of the XECUTEd command | |
47 | xecute "new $ETRAP set $ETRAP=etrap "_$zcmdline | |
48 | quit | |
49 | ||
8 | --- a/sr_unix/gtmthreadgblasm.m | |
9 | +++ b/sr_unix/gtmthreadgblasm.m | |
10 | @@ -132,7 +132,7 @@ | |
11 | ; Routine to take a line of input from the gtm_threadgbl_asm_access.txt file and syntax check it. We allow the following: | |
12 | ; | |
13 | ; - trailing white space | |
14 | -; - trailing comments preceeded by a '#' character potentially preceeded by white space | |
15 | +; - trailing comments preceded by a '#' character potentially preceded by white space | |
16 | ; | |
17 | ; In either of the above conditions, the input line (passed by reference) is stripped of its trailing junk so only the | |
18 | ; variable name itself is left when we return. |
16 | 16 | |
17 | 17 | %: |
18 | 18 | dh $@ --parallel |
19 | ||
20 | # Set up locale support in the pbuilder environment | |
21 | override_dh_auto_build: | |
22 | mkdir -p debian/tmp/locale/ | |
23 | localedef -f UTF-8 -i en_US ./debian/tmp/locale/en_US.UTF-8/ | |
24 | export LOCPATH=$(CURDIR)/debian/tmp/locale/ && \ | |
25 | export LC_ALL=en_US.UTF-8 && \ | |
26 | dh_auto_build | |
27 | 19 | |
28 | 20 | override_dh_auto_configure: |
29 | 21 | dh_auto_configure -- -DCMAKE_INSTALL_PREFIX:PATH=/usr -DGTM_INSTALL_DIR=$(GTM_INSTALL_DIR) -DCMAKE_BUILD_TYPE=Release |
104 | 96 | echo "$(BINPKG): non-standard-dir-perm usr/lib/*/fis-gtm/*/gtmsecshrdir/ 0500 != 0755" >> debian/$(BINPKG).lintian-overrides |
105 | 97 | echo "$(BINPKG): package-contains-hardlink usr/lib/*/fis-gtm/*/gtmsecshr -> usr/lib/*/fis-gtm/*/utf8/gtmsecshr" >> debian/$(BINPKG).lintian-overrides |
106 | 98 | echo "$(BINPKG): package-contains-hardlink usr/lib/*/fis-gtm/*/gtmsecshrdir/gtmsecshr -> usr/lib/*/fis-gtm/*/utf8/gtmsecshrdir/gtmsecshr" >> debian/$(BINPKG).lintian-overrides |
99 | echo "$(BINPKG): non-standard-dir-perm usr/lib/*/fis-gtm/*/ 0755 != 0755" >> debian/$(BINPKG).lintian-overrides | |
100 | echo "$(BINPKG): non-standard-dir-perm usr/lib/*/fis-gtm/*/plugin/gtmcrypt/ 0755 != 0755" >> debian/$(BINPKG).lintian-overrides | |
101 | echo "$(BINPKG): non-standard-dir-perm usr/lib/*/fis-gtm/utf8/gtmsecshrdir/ 0755 != 0755" >> debian/$(BINPKG).lintian-overrides | |
102 | echo "$(BINPKG): non-standard-executable-perm usr/lib/*/fis-gtm/*/plugin/gtmcrypt/maskpass 0755 != 0755" >> debian/$(BINPKG).lintian-overrides | |
103 | echo "$(BINPKG): non-standard-file-perm usr/lib/*/fis-gtm/*/* 0664 != 0644" >> debian/$(BINPKG).lintian-overrides | |
104 | echo "$(BINPKG): non-standard-file-perm usr/lib/*/fis-gtm/*/utf8/* 0664 != 0644" >> debian/$(BINPKG).lintian-overrides | |
107 | 105 | |
108 | 106 | dh_lintian |
109 | 107 |