ncbi-blast+.git
16 months agoDeclare fast forward from 2.16.0+ds-2
Aaron M. Ucko [Fri, 26 Jul 2024 19:37:28 +0000 (15:37 -0400)]
Declare fast forward from 2.16.0+ds-2

[dgit --quilt=gbp --overwrite]

16 months agoto3
Debian Med Packaging Team [Fri, 26 Jul 2024 19:37:28 +0000 (15:37 -0400)]
to3

Gbp-Pq: Name 2to3

16 months agotune_lmdb_defaults
Debian Med Packaging Team [Fri, 26 Jul 2024 19:37:28 +0000 (15:37 -0400)]
tune_lmdb_defaults

Gbp-Pq: Name tune_lmdb_defaults

16 months agoBypass env in Perl script shebangs.
Aaron M. Ucko [Thu, 2 Dec 2021 02:38:20 +0000 (21:38 -0500)]
Bypass env in Perl script shebangs.

Gbp-Pq: Name run_perl_directly

16 months agoSupport GCC 10+.
Aaron M. Ucko [Mon, 7 Sep 2020 02:57:35 +0000 (22:57 -0400)]
Support GCC 10+.

Debian-Bug: 957581.

* ncbifile.cpp (s_GetFileSystemInfo): Formally cast st.f_type to avoid
  narrowing errors for cases with the high bit set when that field is
  a 32-bit signed integer (as on i386).

Gbp-Pq: Name support_gcc10

16 months agoSpelling fixes
Michael R. Crusoe [Fri, 26 Jul 2024 19:37:28 +0000 (15:37 -0400)]
Spelling fixes

Gbp-Pq: Name spelling

16 months agoadd missing lib for tests
Olivier Sallou [Fri, 26 Jul 2024 19:37:28 +0000 (15:37 -0400)]
add missing lib for tests

Forwarded: Not-Needed
Last-Updated: 2018-02-11

Gbp-Pq: Name fix_unit_tests

16 months agoHang on to sequence data even if -parse_deflines recognized a non-local ID,
Aaron M. Ucko [Thu, 15 Dec 2016 03:44:19 +0000 (22:44 -0500)]
Hang on to sequence data even if -parse_deflines recognized a non-local ID,

   on the condition that the environment variable BLAST_ALWAYS_KEEP_SEQUENCE
   (or configuration parameter [BLAST] always_keep_sequence) is set to a
   "true" value (English-only, case-insensitive true, t, yes, y, or 1).

Gbp-Pq: Name optionally_keep_sequence

16 months agosuppress gnu TLS and mbed TLS version checks
Aaron M. Ucko [Thu, 2 Dec 2021 03:08:16 +0000 (22:08 -0500)]
suppress gnu TLS and mbed TLS version checks

   Prevent bailing when the exact compile-time and runtime GNU TLS versions
   differ; trust dpkg to disallow combinations that are actually incompatible.
   Likewise for mbed TLS.

Gbp-Pq: Name suppress_tls_version_checks

16 months agoSupport x32
Aaron M. Ucko [Thu, 2 Dec 2021 02:37:42 +0000 (21:37 -0500)]
Support x32

Avoid picking up wrong inline assembly.

Gbp-Pq: Name support_x32

16 months agofix path for debian build
Olivier Sallou [Fri, 26 Jul 2024 19:37:28 +0000 (15:37 -0400)]
fix path for debian build

Forwarded: no
Last-Updated: 2014-06-06

Gbp-Pq: Name fix_configure

16 months agoremove network required test
Debian Med Packaging Team [Fri, 26 Jul 2024 19:37:28 +0000 (15:37 -0400)]
remove network required test

Forwarded: no
Last-Updated: 2013-06-01

Gbp-Pq: Name skip_services_unit_test

16 months agobuild executables with -fPIE, not -fPIC
Debian Med Packaging Team [Fri, 26 Jul 2024 19:37:28 +0000 (15:37 -0400)]
build executables with -fPIE, not -fPIC

* -fPIC is only useful for shared libraries; substitute -fPIE (along
   with -pie at link time) when building executables.

Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2012-05-10

Gbp-Pq: Name use_pie_for_apps

16 months agoavoid redundant rpath entries on multiarch systems
Debian Med Packaging Team [Fri, 26 Jul 2024 19:37:28 +0000 (15:37 -0400)]
avoid redundant rpath entries on multiarch systems

 * src/build-system/configure(.ac): when ensuring that executables
   will be able to find libstdc++, don't add rpath entries that files
   under /etc/ld.so.conf.d already specify, even if they don't resemble
   traditional single-architecture or biarch locations.

Debian-Bug: 633567.
Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2011-08-28

Gbp-Pq: Name no_multiarch_rpath

16 months agoensure that all libraries link against all direct dependencies
Debian Med Packaging Team [Fri, 26 Jul 2024 19:37:28 +0000 (15:37 -0400)]
ensure that all libraries link against all direct dependencies

 * src/**/Makefile.*.lib: set DLL_(D)LIB correctly.  Break the dependency
   loop between libxblast and libxalgoblastdbindex by having the former
   provide only the C++ BLAST API, leaving the C core only in libblast.
 * src/build-system/library_relations.txt: Change xblast's
   relationship to blast from includes to needs, accordingly.
 * src/algo/blast/Makefile.blast_macros.mk: Add blast to BLAST_LIBS.
 * src/algo/blast/dbindex*/*/Makefile.*.app: Link against libxconnect
   rather than libconnect for consistency with libblast, which uses the
   former to keep the aforementioned cycle-breaking from causing
   inconsistency elsewhere.

Debian-Bug: 633567.
Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2016-12-05

Gbp-Pq: Name fix_lib_deps

16 months agorename binary as blast+ for package coherency.
Olivier Sallou [Fri, 26 Jul 2024 19:37:28 +0000 (15:37 -0400)]
rename binary as blast+ for package coherency.

Last-Updated: 2011-10-03

Gbp-Pq: Name legacy_rename_rpsblast

16 months agofix portability issues that led to Hurd build failures
Debian Med Packaging Team [Fri, 26 Jul 2024 19:37:28 +0000 (15:37 -0400)]
fix portability issues that led to Hurd build failures

* src/build-system/configure(.ac):
  - Reflect the Hurd's support for -Wl,rpath,... .
* src/connect/ncbi_socket_cxx.cpp, src/connect/ext/ncbi_localnet.c:
  cope with missing PATH_MAX everywhere, not just under Windows.

Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2020-09-19

Gbp-Pq: Name hurd_fixes

16 months agoclean after failure
Debian Med Packaging Team [Fri, 26 Jul 2024 19:37:28 +0000 (15:37 -0400)]
clean after failure

Last-Updated: 2013-06-01
Forwarded: no

Gbp-Pq: Name enable_clean_after_failed_compile

16 months agoblast+ use optout to send usage reports over internet
Olivier Sallou [Fri, 26 Jul 2024 19:37:28 +0000 (15:37 -0400)]
blast+ use optout to send usage reports over internet

Last-Updated: 202-02-10
Forwarded: no

Gbp-Pq: Name optin_usage_report

16 months ago[PATCH] Allow substituting PCRE2 for legacy PCRE by explicit request.
ucko [Thu, 18 Jul 2024 18:33:56 +0000 (18:33 +0000)]
[PATCH] Allow substituting PCRE2 for legacy PCRE by explicit request.

- For now, require opt-in via --with-components="...;PCRE2;..." (CMake),
  --with-pcre2 (traditional Unix build system), or uncommenting the
  relevant ThirdParty_PCRE2 setting in project_tree_builder.ini
  (traditional Windows build system).
- Likewise, hold off on switching the bundled copy to PCRE2 or checking
  for any functions or headers that will become of interest.
- Redundantly (for now) shun external PCRE2 in bin-release configurations.
- Otherwise favor (allowed!) external installations over the bundled
  copy, preferring PCRE2 over legacy PCRE when both are found and
  allowed but (in due course) external legacy PCRE over bundled PCRE2 in
  the absence of external PCRE2.
- In the traditional build system, have the widely used PCRE_LIBS macro
  correspond to whichever PCRE is default (when not falling back on a
  bundled copy), and add a PCRE_LEGACY_LIBS macro for the sake of
  anything using legacy PCRE directly (very occasionally seen).

JIRA: CXX-12761,

git-svn-id: https://anonsvn.ncbi.nlm.nih.gov/repos/v1/trunk/c++@102806 78c7ea69-d796-4a43-9a09-de51944f1b03

Irrelevant (and inapplicable) changes to c++/src/build-system/cmake/,
c++/src/build-system/configure (which will be regenerated anyway), and
c++/src/build-system/project_tree_builder.ini elided.

Gbp-Pq: Name allow_pcre2

16 months ago[PATCH] Accommodate Mbed TLS 3.x (specifically, 3.6.0 LTS).
ucko [Tue, 23 Apr 2024 19:21:48 +0000 (19:21 +0000)]
[PATCH] Accommodate Mbed TLS 3.x (specifically, 3.6.0 LTS).

- Conditionally pass mbedtls_pk_parse_key the existing pRNG and its state.
- Call psa_crypto_init during setup, as PSA may be in play even when not
  explicitly enabled.  Documentation suggests calling it as early as
  possible; in practice, though, holding off until after pRNG
  initialization avoids "insufficient entropy" errors under 2.x (at least
  2.28.8 LTS on Linux) and still works fine as of 3.6.0.
- At least for now, ensure that MBEDTLS_SSL_VERIFY_NONE remains effective
  by additionally capping the TLS version at 1.2; as of 1.3, certificate
  checking has become mandatory, and Mbed TLS respects that requirement.
- Additional tuneups to ncbi_mbedtls.c-only code:
-- Account for error-code macro repertoire changes by conditionalizing
   major-version-specific macros on their availability and specifically
   checking for or emitting MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED (new)
   as appropriate,
-- x_ErrorToStatus: Conditionally use MBEDTLS_PRIVATE for p_bio, which has
   no accessor.
-- x_MbedTlsWrite: Substitute mbedtls_ssl_get_max_out_record_payload for
   mbedtls_ssl_get_output_max_frag_len, which didn't account for other
   relevant considerations and is now fully private.

https://github.com/Mbed-TLS/mbedtls/blob/development/docs/3.0-migration-guide.md
supplied useful guidance.  JIRA: CXX-13565.

git-svn-id: https://anonsvn.ncbi.nlm.nih.gov/repos/v1/trunk/c++@102329 78c7ea69-d796-4a43-9a09-de51944f1b03

Gbp-Pq: Name support_mbedtls3

16 months agoOmit convenience mbed TLS copy
Aaron M. Ucko [Thu, 2 Dec 2021 04:33:11 +0000 (23:33 -0500)]
Omit convenience mbed TLS copy

Gbp-Pq: Name system_mbedtls_only

16 months agoncbi-blast+ 2.16.0+ds-3: d/rules typo fix (missing parenthesis).
Aaron M. Ucko [Fri, 26 Jul 2024 19:37:28 +0000 (15:37 -0400)]
ncbi-blast+ 2.16.0+ds-3: d/rules typo fix (missing parenthesis).

16 months agoFinalize ncbi-blast+ 2.16.0+ds-2 for unstable.
Aaron M. Ucko [Fri, 26 Jul 2024 18:54:56 +0000 (14:54 -0400)]
Finalize ncbi-blast+ 2.16.0+ds-2 for unstable.

16 months agoDeclare fast forward from 2.16.0+ds-1
Aaron M. Ucko [Fri, 26 Jul 2024 18:54:55 +0000 (14:54 -0400)]
Declare fast forward from 2.16.0+ds-1

[dgit --quilt=gbp --overwrite]

16 months agoto3
Debian Med Packaging Team [Fri, 26 Jul 2024 18:54:55 +0000 (14:54 -0400)]
to3

Gbp-Pq: Name 2to3

16 months agotune_lmdb_defaults
Debian Med Packaging Team [Fri, 26 Jul 2024 18:54:55 +0000 (14:54 -0400)]
tune_lmdb_defaults

Gbp-Pq: Name tune_lmdb_defaults

16 months agoBypass env in Perl script shebangs.
Aaron M. Ucko [Thu, 2 Dec 2021 02:38:20 +0000 (21:38 -0500)]
Bypass env in Perl script shebangs.

Gbp-Pq: Name run_perl_directly

16 months agoSupport GCC 10+.
Aaron M. Ucko [Mon, 7 Sep 2020 02:57:35 +0000 (22:57 -0400)]
Support GCC 10+.

Debian-Bug: 957581.

* ncbifile.cpp (s_GetFileSystemInfo): Formally cast st.f_type to avoid
  narrowing errors for cases with the high bit set when that field is
  a 32-bit signed integer (as on i386).

Gbp-Pq: Name support_gcc10

16 months agoSpelling fixes
Michael R. Crusoe [Fri, 26 Jul 2024 18:54:55 +0000 (14:54 -0400)]
Spelling fixes

Gbp-Pq: Name spelling

16 months agoadd missing lib for tests
Olivier Sallou [Fri, 26 Jul 2024 18:54:55 +0000 (14:54 -0400)]
add missing lib for tests

Forwarded: Not-Needed
Last-Updated: 2018-02-11

Gbp-Pq: Name fix_unit_tests

16 months agoHang on to sequence data even if -parse_deflines recognized a non-local ID,
Aaron M. Ucko [Thu, 15 Dec 2016 03:44:19 +0000 (22:44 -0500)]
Hang on to sequence data even if -parse_deflines recognized a non-local ID,

   on the condition that the environment variable BLAST_ALWAYS_KEEP_SEQUENCE
   (or configuration parameter [BLAST] always_keep_sequence) is set to a
   "true" value (English-only, case-insensitive true, t, yes, y, or 1).

Gbp-Pq: Name optionally_keep_sequence

16 months agosuppress gnu TLS and mbed TLS version checks
Aaron M. Ucko [Thu, 2 Dec 2021 03:08:16 +0000 (22:08 -0500)]
suppress gnu TLS and mbed TLS version checks

   Prevent bailing when the exact compile-time and runtime GNU TLS versions
   differ; trust dpkg to disallow combinations that are actually incompatible.
   Likewise for mbed TLS.

Gbp-Pq: Name suppress_tls_version_checks

16 months agoSupport x32
Aaron M. Ucko [Thu, 2 Dec 2021 02:37:42 +0000 (21:37 -0500)]
Support x32

Avoid picking up wrong inline assembly.

Gbp-Pq: Name support_x32

16 months agofix path for debian build
Olivier Sallou [Fri, 26 Jul 2024 18:54:55 +0000 (14:54 -0400)]
fix path for debian build

Forwarded: no
Last-Updated: 2014-06-06

Gbp-Pq: Name fix_configure

16 months agoremove network required test
Debian Med Packaging Team [Fri, 26 Jul 2024 18:54:55 +0000 (14:54 -0400)]
remove network required test

Forwarded: no
Last-Updated: 2013-06-01

Gbp-Pq: Name skip_services_unit_test

16 months agobuild executables with -fPIE, not -fPIC
Debian Med Packaging Team [Fri, 26 Jul 2024 18:54:55 +0000 (14:54 -0400)]
build executables with -fPIE, not -fPIC

* -fPIC is only useful for shared libraries; substitute -fPIE (along
   with -pie at link time) when building executables.

Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2012-05-10

Gbp-Pq: Name use_pie_for_apps

16 months agoavoid redundant rpath entries on multiarch systems
Debian Med Packaging Team [Fri, 26 Jul 2024 18:54:55 +0000 (14:54 -0400)]
avoid redundant rpath entries on multiarch systems

 * src/build-system/configure(.ac): when ensuring that executables
   will be able to find libstdc++, don't add rpath entries that files
   under /etc/ld.so.conf.d already specify, even if they don't resemble
   traditional single-architecture or biarch locations.

Debian-Bug: 633567.
Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2011-08-28

Gbp-Pq: Name no_multiarch_rpath

16 months agoensure that all libraries link against all direct dependencies
Debian Med Packaging Team [Fri, 26 Jul 2024 18:54:55 +0000 (14:54 -0400)]
ensure that all libraries link against all direct dependencies

 * src/**/Makefile.*.lib: set DLL_(D)LIB correctly.  Break the dependency
   loop between libxblast and libxalgoblastdbindex by having the former
   provide only the C++ BLAST API, leaving the C core only in libblast.
 * src/build-system/library_relations.txt: Change xblast's
   relationship to blast from includes to needs, accordingly.
 * src/algo/blast/Makefile.blast_macros.mk: Add blast to BLAST_LIBS.
 * src/algo/blast/dbindex*/*/Makefile.*.app: Link against libxconnect
   rather than libconnect for consistency with libblast, which uses the
   former to keep the aforementioned cycle-breaking from causing
   inconsistency elsewhere.

Debian-Bug: 633567.
Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2016-12-05

Gbp-Pq: Name fix_lib_deps

16 months agorename binary as blast+ for package coherency.
Olivier Sallou [Fri, 26 Jul 2024 18:54:55 +0000 (14:54 -0400)]
rename binary as blast+ for package coherency.

Last-Updated: 2011-10-03

Gbp-Pq: Name legacy_rename_rpsblast

16 months agofix portability issues that led to Hurd build failures
Debian Med Packaging Team [Fri, 26 Jul 2024 18:54:55 +0000 (14:54 -0400)]
fix portability issues that led to Hurd build failures

* src/build-system/configure(.ac):
  - Reflect the Hurd's support for -Wl,rpath,... .
* src/connect/ncbi_socket_cxx.cpp, src/connect/ext/ncbi_localnet.c:
  cope with missing PATH_MAX everywhere, not just under Windows.

Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2020-09-19

Gbp-Pq: Name hurd_fixes

16 months agoclean after failure
Debian Med Packaging Team [Fri, 26 Jul 2024 18:54:55 +0000 (14:54 -0400)]
clean after failure

Last-Updated: 2013-06-01
Forwarded: no

Gbp-Pq: Name enable_clean_after_failed_compile

16 months agoblast+ use optout to send usage reports over internet
Olivier Sallou [Fri, 26 Jul 2024 18:54:55 +0000 (14:54 -0400)]
blast+ use optout to send usage reports over internet

Last-Updated: 202-02-10
Forwarded: no

Gbp-Pq: Name optin_usage_report

16 months ago[PATCH] Allow substituting PCRE2 for legacy PCRE by explicit request.
ucko [Thu, 18 Jul 2024 18:33:56 +0000 (18:33 +0000)]
[PATCH] Allow substituting PCRE2 for legacy PCRE by explicit request.

- For now, require opt-in via --with-components="...;PCRE2;..." (CMake),
  --with-pcre2 (traditional Unix build system), or uncommenting the
  relevant ThirdParty_PCRE2 setting in project_tree_builder.ini
  (traditional Windows build system).
- Likewise, hold off on switching the bundled copy to PCRE2 or checking
  for any functions or headers that will become of interest.
- Redundantly (for now) shun external PCRE2 in bin-release configurations.
- Otherwise favor (allowed!) external installations over the bundled
  copy, preferring PCRE2 over legacy PCRE when both are found and
  allowed but (in due course) external legacy PCRE over bundled PCRE2 in
  the absence of external PCRE2.
- In the traditional build system, have the widely used PCRE_LIBS macro
  correspond to whichever PCRE is default (when not falling back on a
  bundled copy), and add a PCRE_LEGACY_LIBS macro for the sake of
  anything using legacy PCRE directly (very occasionally seen).

JIRA: CXX-12761,

git-svn-id: https://anonsvn.ncbi.nlm.nih.gov/repos/v1/trunk/c++@102806 78c7ea69-d796-4a43-9a09-de51944f1b03

Irrelevant (and inapplicable) changes to c++/src/build-system/cmake/,
c++/src/build-system/configure (which will be regenerated anyway), and
c++/src/build-system/project_tree_builder.ini elided.

Gbp-Pq: Name allow_pcre2

16 months ago[PATCH] Accommodate Mbed TLS 3.x (specifically, 3.6.0 LTS).
ucko [Tue, 23 Apr 2024 19:21:48 +0000 (19:21 +0000)]
[PATCH] Accommodate Mbed TLS 3.x (specifically, 3.6.0 LTS).

- Conditionally pass mbedtls_pk_parse_key the existing pRNG and its state.
- Call psa_crypto_init during setup, as PSA may be in play even when not
  explicitly enabled.  Documentation suggests calling it as early as
  possible; in practice, though, holding off until after pRNG
  initialization avoids "insufficient entropy" errors under 2.x (at least
  2.28.8 LTS on Linux) and still works fine as of 3.6.0.
- At least for now, ensure that MBEDTLS_SSL_VERIFY_NONE remains effective
  by additionally capping the TLS version at 1.2; as of 1.3, certificate
  checking has become mandatory, and Mbed TLS respects that requirement.
- Additional tuneups to ncbi_mbedtls.c-only code:
-- Account for error-code macro repertoire changes by conditionalizing
   major-version-specific macros on their availability and specifically
   checking for or emitting MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED (new)
   as appropriate,
-- x_ErrorToStatus: Conditionally use MBEDTLS_PRIVATE for p_bio, which has
   no accessor.
-- x_MbedTlsWrite: Substitute mbedtls_ssl_get_max_out_record_payload for
   mbedtls_ssl_get_output_max_frag_len, which didn't account for other
   relevant considerations and is now fully private.

https://github.com/Mbed-TLS/mbedtls/blob/development/docs/3.0-migration-guide.md
supplied useful guidance.  JIRA: CXX-13565.

git-svn-id: https://anonsvn.ncbi.nlm.nih.gov/repos/v1/trunk/c++@102329 78c7ea69-d796-4a43-9a09-de51944f1b03

Gbp-Pq: Name support_mbedtls3

16 months agoOmit convenience mbed TLS copy
Aaron M. Ucko [Thu, 2 Dec 2021 04:33:11 +0000 (23:33 -0500)]
Omit convenience mbed TLS copy

Gbp-Pq: Name system_mbedtls_only

16 months agodebian/patches/hurd_fixes: Extend to ncbi_localip.c.
Aaron M. Ucko [Fri, 26 Jul 2024 18:53:02 +0000 (14:53 -0400)]
debian/patches/hurd_fixes: Extend to ncbi_localip.c.

It otherwise accommodates PATH_MAX's absence only under Windows.

16 months agodebian/rules: Link with -latomic on most 32-bit architectures
Aaron M. Ucko [Fri, 26 Jul 2024 18:43:38 +0000 (14:43 -0400)]
debian/rules: Link with -latomic on most 32-bit architectures

... excepting only x86 and armhf, which succeed as is.

16 months agoStart work on ncbi-blast+ 2.16.0+ds-2 to fix FTBFS on some archs.
Aaron M. Ucko [Fri, 26 Jul 2024 18:28:02 +0000 (14:28 -0400)]
Start work on ncbi-blast+ 2.16.0+ds-2 to fix FTBFS on some archs.

16 months agoFinalize ncbi-blast+ 2.16.0+ds-1 for unstable.
Aaron M. Ucko [Fri, 26 Jul 2024 00:34:52 +0000 (20:34 -0400)]
Finalize ncbi-blast+ 2.16.0+ds-1 for unstable.

16 months agoUpdate patches again for 2.16.0(+ds).
Aaron M. Ucko [Fri, 26 Jul 2024 00:06:32 +0000 (20:06 -0400)]
Update patches again for 2.16.0(+ds).

16 months agoroutine-update: Standards-Version: 4.7.0
Aaron M. Ucko [Fri, 26 Jul 2024 00:41:04 +0000 (20:41 -0400)]
routine-update: Standards-Version: 4.7.0

16 months agoMerge tag 'upstream/2.16.0+ds'
Aaron M. Ucko [Fri, 26 Jul 2024 00:03:02 +0000 (20:03 -0400)]
Merge tag 'upstream/2.16.0+ds'

Upstream version 2.16.0(+ds).

16 months agoDeclare fast forward from 2.12.0+ds-4
Aaron M. Ucko [Fri, 26 Jul 2024 00:07:36 +0000 (20:07 -0400)]
Declare fast forward from 2.12.0+ds-4

[dgit --quilt=gbp --overwrite]

16 months agoto3
Debian Med Packaging Team [Fri, 26 Jul 2024 00:07:36 +0000 (20:07 -0400)]
to3

Gbp-Pq: Name 2to3

16 months agotune_lmdb_defaults
Debian Med Packaging Team [Fri, 26 Jul 2024 00:07:36 +0000 (20:07 -0400)]
tune_lmdb_defaults

Gbp-Pq: Name tune_lmdb_defaults

16 months agoBypass env in Perl script shebangs.
Aaron M. Ucko [Thu, 2 Dec 2021 02:38:20 +0000 (21:38 -0500)]
Bypass env in Perl script shebangs.

Gbp-Pq: Name run_perl_directly

16 months agoSupport GCC 10+.
Aaron M. Ucko [Mon, 7 Sep 2020 02:57:35 +0000 (22:57 -0400)]
Support GCC 10+.

Debian-Bug: 957581.

* ncbifile.cpp (s_GetFileSystemInfo): Formally cast st.f_type to avoid
  narrowing errors for cases with the high bit set when that field is
  a 32-bit signed integer (as on i386).

Gbp-Pq: Name support_gcc10

16 months agoSpelling fixes
Michael R. Crusoe [Fri, 26 Jul 2024 00:07:36 +0000 (20:07 -0400)]
Spelling fixes

Gbp-Pq: Name spelling

16 months agoadd missing lib for tests
Olivier Sallou [Fri, 26 Jul 2024 00:07:36 +0000 (20:07 -0400)]
add missing lib for tests

Forwarded: Not-Needed
Last-Updated: 2018-02-11

Gbp-Pq: Name fix_unit_tests

16 months agoHang on to sequence data even if -parse_deflines recognized a non-local ID,
Aaron M. Ucko [Thu, 15 Dec 2016 03:44:19 +0000 (22:44 -0500)]
Hang on to sequence data even if -parse_deflines recognized a non-local ID,

   on the condition that the environment variable BLAST_ALWAYS_KEEP_SEQUENCE
   (or configuration parameter [BLAST] always_keep_sequence) is set to a
   "true" value (English-only, case-insensitive true, t, yes, y, or 1).

Gbp-Pq: Name optionally_keep_sequence

16 months agosuppress gnu TLS and mbed TLS version checks
Aaron M. Ucko [Thu, 2 Dec 2021 03:08:16 +0000 (22:08 -0500)]
suppress gnu TLS and mbed TLS version checks

   Prevent bailing when the exact compile-time and runtime GNU TLS versions
   differ; trust dpkg to disallow combinations that are actually incompatible.
   Likewise for mbed TLS.

Gbp-Pq: Name suppress_tls_version_checks

16 months agoSupport x32
Aaron M. Ucko [Thu, 2 Dec 2021 02:37:42 +0000 (21:37 -0500)]
Support x32

Avoid picking up wrong inline assembly.

Gbp-Pq: Name support_x32

16 months agofix path for debian build
Olivier Sallou [Fri, 26 Jul 2024 00:07:36 +0000 (20:07 -0400)]
fix path for debian build

Forwarded: no
Last-Updated: 2014-06-06

Gbp-Pq: Name fix_configure

16 months agoremove network required test
Debian Med Packaging Team [Fri, 26 Jul 2024 00:07:36 +0000 (20:07 -0400)]
remove network required test

Forwarded: no
Last-Updated: 2013-06-01

Gbp-Pq: Name skip_services_unit_test

16 months agobuild executables with -fPIE, not -fPIC
Debian Med Packaging Team [Fri, 26 Jul 2024 00:07:36 +0000 (20:07 -0400)]
build executables with -fPIE, not -fPIC

* -fPIC is only useful for shared libraries; substitute -fPIE (along
   with -pie at link time) when building executables.

Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2012-05-10

Gbp-Pq: Name use_pie_for_apps

16 months agoavoid redundant rpath entries on multiarch systems
Debian Med Packaging Team [Fri, 26 Jul 2024 00:07:36 +0000 (20:07 -0400)]
avoid redundant rpath entries on multiarch systems

 * src/build-system/configure(.ac): when ensuring that executables
   will be able to find libstdc++, don't add rpath entries that files
   under /etc/ld.so.conf.d already specify, even if they don't resemble
   traditional single-architecture or biarch locations.

Debian-Bug: 633567.
Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2011-08-28

Gbp-Pq: Name no_multiarch_rpath

16 months agoensure that all libraries link against all direct dependencies
Debian Med Packaging Team [Fri, 26 Jul 2024 00:07:36 +0000 (20:07 -0400)]
ensure that all libraries link against all direct dependencies

 * src/**/Makefile.*.lib: set DLL_(D)LIB correctly.  Break the dependency
   loop between libxblast and libxalgoblastdbindex by having the former
   provide only the C++ BLAST API, leaving the C core only in libblast.
 * src/build-system/library_relations.txt: Change xblast's
   relationship to blast from includes to needs, accordingly.
 * src/algo/blast/Makefile.blast_macros.mk: Add blast to BLAST_LIBS.
 * src/algo/blast/dbindex*/*/Makefile.*.app: Link against libxconnect
   rather than libconnect for consistency with libblast, which uses the
   former to keep the aforementioned cycle-breaking from causing
   inconsistency elsewhere.

Debian-Bug: 633567.
Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2016-12-05

Gbp-Pq: Name fix_lib_deps

16 months agorename binary as blast+ for package coherency.
Olivier Sallou [Fri, 26 Jul 2024 00:07:36 +0000 (20:07 -0400)]
rename binary as blast+ for package coherency.

Last-Updated: 2011-10-03

Gbp-Pq: Name legacy_rename_rpsblast

16 months agofix portability issues that led to Hurd build failures
Debian Med Packaging Team [Fri, 26 Jul 2024 00:07:36 +0000 (20:07 -0400)]
fix portability issues that led to Hurd build failures

* src/build-system/configure(.ac):
  - Reflect the Hurd's support for -Wl,rpath,... .
* src/connect/ncbi_socket_cxx.cpp, src/connect/ext/ncbi_localnet.c:
  cope with missing PATH_MAX everywhere, not just under Windows.

Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2020-09-19

Gbp-Pq: Name hurd_fixes

16 months agoclean after failure
Debian Med Packaging Team [Fri, 26 Jul 2024 00:07:36 +0000 (20:07 -0400)]
clean after failure

Last-Updated: 2013-06-01
Forwarded: no

Gbp-Pq: Name enable_clean_after_failed_compile

16 months agoblast+ use optout to send usage reports over internet
Olivier Sallou [Fri, 26 Jul 2024 00:07:36 +0000 (20:07 -0400)]
blast+ use optout to send usage reports over internet

Last-Updated: 202-02-10
Forwarded: no

Gbp-Pq: Name optin_usage_report

16 months ago[PATCH] Allow substituting PCRE2 for legacy PCRE by explicit request.
ucko [Thu, 18 Jul 2024 18:33:56 +0000 (18:33 +0000)]
[PATCH] Allow substituting PCRE2 for legacy PCRE by explicit request.

- For now, require opt-in via --with-components="...;PCRE2;..." (CMake),
  --with-pcre2 (traditional Unix build system), or uncommenting the
  relevant ThirdParty_PCRE2 setting in project_tree_builder.ini
  (traditional Windows build system).
- Likewise, hold off on switching the bundled copy to PCRE2 or checking
  for any functions or headers that will become of interest.
- Redundantly (for now) shun external PCRE2 in bin-release configurations.
- Otherwise favor (allowed!) external installations over the bundled
  copy, preferring PCRE2 over legacy PCRE when both are found and
  allowed but (in due course) external legacy PCRE over bundled PCRE2 in
  the absence of external PCRE2.
- In the traditional build system, have the widely used PCRE_LIBS macro
  correspond to whichever PCRE is default (when not falling back on a
  bundled copy), and add a PCRE_LEGACY_LIBS macro for the sake of
  anything using legacy PCRE directly (very occasionally seen).

JIRA: CXX-12761,

git-svn-id: https://anonsvn.ncbi.nlm.nih.gov/repos/v1/trunk/c++@102806 78c7ea69-d796-4a43-9a09-de51944f1b03

Irrelevant (and inapplicable) changes to c++/src/build-system/cmake/,
c++/src/build-system/configure (which will be regenerated anyway), and
c++/src/build-system/project_tree_builder.ini elided.

Gbp-Pq: Name allow_pcre2

16 months ago[PATCH] Accommodate Mbed TLS 3.x (specifically, 3.6.0 LTS).
ucko [Tue, 23 Apr 2024 19:21:48 +0000 (19:21 +0000)]
[PATCH] Accommodate Mbed TLS 3.x (specifically, 3.6.0 LTS).

- Conditionally pass mbedtls_pk_parse_key the existing pRNG and its state.
- Call psa_crypto_init during setup, as PSA may be in play even when not
  explicitly enabled.  Documentation suggests calling it as early as
  possible; in practice, though, holding off until after pRNG
  initialization avoids "insufficient entropy" errors under 2.x (at least
  2.28.8 LTS on Linux) and still works fine as of 3.6.0.
- At least for now, ensure that MBEDTLS_SSL_VERIFY_NONE remains effective
  by additionally capping the TLS version at 1.2; as of 1.3, certificate
  checking has become mandatory, and Mbed TLS respects that requirement.
- Additional tuneups to ncbi_mbedtls.c-only code:
-- Account for error-code macro repertoire changes by conditionalizing
   major-version-specific macros on their availability and specifically
   checking for or emitting MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED (new)
   as appropriate,
-- x_ErrorToStatus: Conditionally use MBEDTLS_PRIVATE for p_bio, which has
   no accessor.
-- x_MbedTlsWrite: Substitute mbedtls_ssl_get_max_out_record_payload for
   mbedtls_ssl_get_output_max_frag_len, which didn't account for other
   relevant considerations and is now fully private.

https://github.com/Mbed-TLS/mbedtls/blob/development/docs/3.0-migration-guide.md
supplied useful guidance.  JIRA: CXX-13565.

git-svn-id: https://anonsvn.ncbi.nlm.nih.gov/repos/v1/trunk/c++@102329 78c7ea69-d796-4a43-9a09-de51944f1b03

Gbp-Pq: Name support_mbedtls3

16 months agoOmit convenience mbed TLS copy
Aaron M. Ucko [Thu, 2 Dec 2021 04:33:11 +0000 (23:33 -0500)]
Omit convenience mbed TLS copy

Gbp-Pq: Name system_mbedtls_only

16 months agoNew upstream version 2.16.0+ds
Aaron M. Ucko [Fri, 26 Jul 2024 00:02:52 +0000 (20:02 -0400)]
New upstream version 2.16.0+ds

16 months agoStop relying on 2to3 at build time.
Aaron M. Ucko [Fri, 26 Jul 2024 00:00:49 +0000 (20:00 -0400)]
Stop relying on 2to3 at build time.

* debian/control: Stop building against 2to3, which may not be around
  much longer.
* debian/patches/allow_pcre2 (new): Allow use of PCRE2.
* debian/rules: Drop build-time 2to3 invocation in favor of
  debian/patches/2to3.

16 months agodebian/source/lintian-overrides: No more rapidjson10 (just ...11).
Aaron M. Ucko [Tue, 23 Jul 2024 03:26:18 +0000 (23:26 -0400)]
debian/source/lintian-overrides: No more rapidjson10 (just ...11).

16 months agodebian/rules: Extend generated-sources cleanup to objtools/eutils.
Aaron M. Ucko [Tue, 23 Jul 2024 03:25:52 +0000 (23:25 -0400)]
debian/rules: Extend generated-sources cleanup to objtools/eutils.

Not entirely straightforward due to input format variation.

16 months agodebian/patches/series: Comment out reprobuild (overkill).
Aaron M. Ucko [Tue, 23 Jul 2024 03:25:16 +0000 (23:25 -0400)]
debian/patches/series: Comment out reprobuild (overkill).

I'm all for reproducibility, but the package already automatically
builds with flags that make __FILE__ relative, and many of its uses
are in header-defined macros that intend to pick up their callers'
paths.

16 months agodebian/rules: Add --without-strip, disable reproducible=timeless.
Aaron M. Ucko [Tue, 23 Jul 2024 03:24:09 +0000 (23:24 -0400)]
debian/rules: Add --without-strip, disable reproducible=timeless.

Tune flags: Add --without-strip to make --with-symbols effective;
switch off warnings from __DATE__/__TIME__ usage, since
dpkg-buildpackage's SOURCE_DATE_EPOCH injection should suffice.

16 months agoRefresh patches after prepending allow_pcre2 and support_mbedtls3.
Aaron M. Ucko [Tue, 23 Jul 2024 03:13:27 +0000 (23:13 -0400)]
Refresh patches after prepending allow_pcre2 and support_mbedtls3.

16 months agoMake it possible to build against PCRE2, and do so (#891197).
Aaron M. Ucko [Tue, 23 Jul 2024 03:31:22 +0000 (23:31 -0400)]
Make it possible to build against PCRE2, and do so (#891197).

* debian/control: Build against libpcre2-dev.
* debian/patches/allow_pcre2 (new): Allow use of PCRE2.
* debian/rules: Build against PCRE2.

16 months agoRegenerate configure and config.h.in with Autoconf 2.69.
Aaron M. Ucko [Tue, 23 Jul 2024 03:23:04 +0000 (23:23 -0400)]
Regenerate configure and config.h.in with Autoconf 2.69.

To that end, add a B-D on autoconf2.69.

16 months agod/p/support_mbedtls3 (new): Support Mbed TLS 3.x (#1075867).
Aaron M. Ucko [Tue, 23 Jul 2024 03:30:47 +0000 (23:30 -0400)]
d/p/support_mbedtls3 (new): Support Mbed TLS 3.x (#1075867).

Don't specifically require it, though.

16 months agoMove debian/patches/system_mbedtls_only up and extend it.
Aaron M. Ucko [Tue, 23 Jul 2024 03:22:25 +0000 (23:22 -0400)]
Move debian/patches/system_mbedtls_only up and extend it.

* debian/patches/series: Move system_mbedtls_only up in conjunction
  with incorporating part of an upstream patch needed by
  support_mbedtls3.
* debian/patches/system_mbedtls: Extend to cover ncbi_mbedtls.c (as in
  https://github.com/ncbi/ncbi-cxx-toolkit-public/commit/f9c7297dd1)
  and Makefile.xxconnect2.lib.

16 months agoBDA on libnghttp2-dev, libsqlite3-dev, and libuv1-dev, newly needed.
Aaron M. Ucko [Tue, 23 Jul 2024 03:20:45 +0000 (23:20 -0400)]
BDA on libnghttp2-dev, libsqlite3-dev, and libuv1-dev, newly needed.

17 months agod/patches: Update for new release (2.15.0[+ds]), mostly formally.
Aaron M. Ucko [Thu, 18 Jul 2024 01:39:29 +0000 (21:39 -0400)]
d/patches: Update for new release (2.15.0[+ds]), mostly formally.

17 months agoMerge tag 'upstream/2.15.0+ds' (#1074316).
Aaron M. Ucko [Thu, 18 Jul 2024 01:23:09 +0000 (21:23 -0400)]
Merge tag 'upstream/2.15.0+ds' (#1074316).

Upstream version 2.15.0(+ds) should be (more than) new enough for
recent q2-feature-classifier, which merely needs at least 2.13.

17 months agoNew upstream version 2.15.0+ds
Aaron M. Ucko [Thu, 18 Jul 2024 01:22:59 +0000 (21:22 -0400)]
New upstream version 2.15.0+ds

2 years agoFinalize ncbi-blast+ 2.12.0+ds-4 for unstable.
Aaron M. Ucko [Tue, 5 Sep 2023 02:40:43 +0000 (22:40 -0400)]
Finalize ncbi-blast+ 2.12.0+ds-4 for unstable.

2 years agotune_lmdb_defaults
Debian Med Packaging Team [Tue, 5 Sep 2023 02:40:42 +0000 (22:40 -0400)]
tune_lmdb_defaults

Gbp-Pq: Name tune_lmdb_defaults

2 years agoBypass env in Perl script shebangs.
Aaron M. Ucko [Thu, 2 Dec 2021 02:38:20 +0000 (21:38 -0500)]
Bypass env in Perl script shebangs.

Gbp-Pq: Name run_perl_directly

2 years agoSupport GCC 10+.
Aaron M. Ucko [Mon, 7 Sep 2020 02:57:35 +0000 (22:57 -0400)]
Support GCC 10+.

Debian-Bug: 957581.

* ncbifile.cpp (s_GetFileSystemInfo): Formally cast st.f_type to avoid
  narrowing errors for cases with the high bit set when that field is
  a 32-bit signed integer (as on i386).

Gbp-Pq: Name support_gcc10

2 years agoSpelling fixes
Michael R. Crusoe [Tue, 5 Sep 2023 02:40:42 +0000 (22:40 -0400)]
Spelling fixes

Gbp-Pq: Name spelling

2 years agomake the build more reproducible
Michael R. Crusoe [Tue, 5 Sep 2023 02:40:42 +0000 (22:40 -0400)]
make the build more reproducible

Gbp-Pq: Name reprobuild

2 years agoOmit convenience mbed TLS copy
Aaron M. Ucko [Thu, 2 Dec 2021 04:33:11 +0000 (23:33 -0500)]
Omit convenience mbed TLS copy

Gbp-Pq: Name system_mbedtls_only

2 years agoadd missing lib for tests
Olivier Sallou [Tue, 5 Sep 2023 02:40:42 +0000 (22:40 -0400)]
add missing lib for tests

Forwarded: Not-Needed
Last-Updated: 2018-02-11

Gbp-Pq: Name fix_unit_tests

2 years agoHang on to sequence data even if -parse_deflines recognized a non-local ID,
Aaron M. Ucko [Thu, 15 Dec 2016 03:44:19 +0000 (22:44 -0500)]
Hang on to sequence data even if -parse_deflines recognized a non-local ID,

   on the condition that the environment variable BLAST_ALWAYS_KEEP_SEQUENCE
   (or configuration parameter [BLAST] always_keep_sequence) is set to a
   "true" value (English-only, case-insensitive true, t, yes, y, or 1).

Gbp-Pq: Name optionally_keep_sequence

2 years agosuppress gnu TLS and mbed TLS version checks
Aaron M. Ucko [Thu, 2 Dec 2021 03:08:16 +0000 (22:08 -0500)]
suppress gnu TLS and mbed TLS version checks

   Prevent bailing when the exact compile-time and runtime GNU TLS versions
   differ; trust dpkg to disallow combinations that are actually incompatible.
   Likewise for mbed TLS.

Gbp-Pq: Name suppress_tls_version_checks