thrift.git
5 years agoMerge thrift (0.13.0-5+rpi1) import into refs/heads/workingbranch
Peter Michael Green [Sun, 22 Nov 2020 14:00:47 +0000 (14:00 +0000)]
Merge thrift (0.13.0-5+rpi1) import into refs/heads/workingbranch

5 years ago[PATCH] THRIFT-5270: Fix wrong int to string conversions
Yuxuan 'fishy' Wang [Sat, 29 Aug 2020 00:20:31 +0000 (17:20 -0700)]
[PATCH] THRIFT-5270: Fix wrong int to string conversions

Client: go

Starting from go 1.15, go test starts to complain about wrongly used int
to string conversions:

    ./field.go:58:83: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
    ./numeric.go:72:12: conversion from int64 to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
    ./json_protocol_test.go:612:92: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
    ./simple_json_protocol_test.go:685:96: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)

json_protocol_test and simple_json_protocol_test usages are actually
already in format arg so just remove the conversion is good enough.
field is no longer used anywhere so just removed it (there's one line of
commented out code in compact_protocol so remove that line as well). The
one in numeric.go is actually a bug. We didn't set sValue correctly in
NewNumericFromI64 and NewNumericFromI32 functions.

Gbp-Pq: Name Fix_wrong_int_to_string_conversions.patch

5 years agofix tests FTBFS with atomic link
Laszlo Boszormenyi (GCS) [Sun, 22 Nov 2020 14:00:47 +0000 (14:00 +0000)]
fix tests FTBFS with atomic link

Forwarded: no
Last-Update: 2019-12-08

On armel and at least mipsel needs atomic to link with.

Gbp-Pq: Name link_tests_atomic.patch

5 years agodon't try missing NewMockThriftTest test
Laszlo Boszormenyi (GCS) [Sun, 22 Nov 2020 14:00:47 +0000 (14:00 +0000)]
don't try missing NewMockThriftTest test

Last-Update: 2019-11-30

Upstream doesn't ship NewMockThriftTest hence don't try to use it.

Gbp-Pq: Name missing_go_test.patch

5 years agoput back files used for testing
Laszlo Boszormenyi (GCS) [Sun, 22 Nov 2020 14:00:47 +0000 (14:00 +0000)]
put back files used for testing

Last-Update: 2019-10-23

Needs for testing and while present up to 0.12.0 and in Git, missed from
the source of 0.13.0 release.

Gbp-Pq: Name add_missing_test_files.patch

5 years agodon't use gradlew in any way
Laszlo Boszormenyi (GCS) [Sun, 22 Nov 2020 14:00:47 +0000 (14:00 +0000)]
don't use gradlew in any way

Last-Update: 2019-10-23

Not enabled for compilation, but clean would like to use it anyway.

Gbp-Pq: Name no_gradlew.patch

5 years agorun simple Go test only
Laszlo Boszormenyi (GCS) [Sun, 22 Nov 2020 14:00:47 +0000 (14:00 +0000)]
run simple Go test only

Last-Update: 2019-10-05

Race testing is available on amd64, ppc64le and arm64 only.

Gbp-Pq: Name no_go_race.patch

5 years agoPHP tests are not phpunit 8 compatible
Laszlo Boszormenyi (GCS) [Sun, 22 Nov 2020 14:00:47 +0000 (14:00 +0000)]
PHP tests are not phpunit 8 compatible

Last-Update: 2019-09-22

Disable those for now.

Gbp-Pq: Name disable_php_testing.patch

5 years ago<short summary of the patch>
Laszlo Boszormenyi (GCS) [Sun, 22 Nov 2020 14:00:47 +0000 (14:00 +0000)]
<short summary of the patch>

TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

thrift (0.12.0-1) experimental; urgency=medium

  * New major upstream release.

Gbp-Pq: Name no_composer_install.patch

5 years agodisable failing tests
Laszlo Boszormenyi (GCS) [Sun, 22 Nov 2020 14:00:47 +0000 (14:00 +0000)]
disable failing tests

Last-Update: 2019-10-05

Gbp-Pq: Name disable_failing_tests.patch

5 years agodon't test servers that need shmem
Laszlo Boszormenyi (GCS) [Sun, 22 Nov 2020 14:00:47 +0000 (14:00 +0000)]
don't test servers that need shmem

Last-Update: 2017-09-11

As buildd's don't have shmem enabled / mounted, tests would fail.

Gbp-Pq: Name no_shmem.patch

5 years agoDisable TLS v1.0 and TLS v1.1 connection tests
Laszlo Boszormenyi (GCS) [Sun, 22 Nov 2020 14:00:47 +0000 (14:00 +0000)]
Disable TLS v1.0 and TLS v1.1 connection tests

Bug-Debian: https://bugs.debian.org/859128
Last-Update: 2017-09-10

TLS v1.0 and TLS v1.1 protocols are disabled as of OpenSSL 1.1.0f-4, see:
https://packages.qa.debian.org/o/openssl/news/20170806T233554Z.html

Gbp-Pq: Name disable_TLSv1_0_and_TLSv1_1.patch

5 years ago<short summary of the patch>
Laszlo Boszormenyi (GCS) [Sun, 22 Nov 2020 14:00:47 +0000 (14:00 +0000)]
<short summary of the patch>

Last-Update: 2019-01-09

Gbp-Pq: Name broken_boost_1.62.patch

5 years agogolang dependencies already installed as build dependency
Laszlo Boszormenyi (GCS) [Sun, 22 Nov 2020 14:00:47 +0000 (14:00 +0000)]
golang dependencies already installed as build dependency

Forwarded: no
Last-Update: 2019-12-01

Gbp-Pq: Name golang_dependency_installed.patch

5 years agodo not use bundler as per Ruby policy
Laszlo Boszormenyi (GCS) [Sun, 22 Nov 2020 14:00:47 +0000 (14:00 +0000)]
do not use bundler as per Ruby policy

Bug-Debian: https://bugs.debian.org/804668
Last-Update: 2019-10-23

Gbp-Pq: Name no_bundler_use.patch

5 years agonode is called nodejs in Debian
Laszlo Boszormenyi (GCS) [Sun, 22 Nov 2020 14:00:47 +0000 (14:00 +0000)]
node is called nodejs in Debian

Last-Update: 2019-10-23

Use the proper binary name.

Gbp-Pq: Name node_is_nodejs.patch

5 years agothrift (0.13.0-5+rpi1) bullseye-staging; urgency=medium
Peter Michael Green [Sun, 22 Nov 2020 14:00:47 +0000 (14:00 +0000)]
thrift (0.13.0-5+rpi1) bullseye-staging; urgency=medium

  * Link with libatomic on armhf too for raspbian.

[dgit import unpatched thrift 0.13.0-5+rpi1]

5 years agoImport thrift_0.13.0-5+rpi1.debian.tar.xz
Peter Michael Green [Sun, 22 Nov 2020 14:00:47 +0000 (14:00 +0000)]
Import thrift_0.13.0-5+rpi1.debian.tar.xz

[dgit import tarball thrift 0.13.0-5+rpi1 thrift_0.13.0-5+rpi1.debian.tar.xz]

5 years agoMerge thrift (0.13.0-5) import into refs/heads/workingbranch
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
Merge thrift (0.13.0-5) import into refs/heads/workingbranch

5 years ago[PATCH] THRIFT-5270: Fix wrong int to string conversions
Yuxuan 'fishy' Wang [Sat, 29 Aug 2020 00:20:31 +0000 (17:20 -0700)]
[PATCH] THRIFT-5270: Fix wrong int to string conversions

Client: go

Starting from go 1.15, go test starts to complain about wrongly used int
to string conversions:

    ./field.go:58:83: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
    ./numeric.go:72:12: conversion from int64 to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
    ./json_protocol_test.go:612:92: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
    ./simple_json_protocol_test.go:685:96: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)

json_protocol_test and simple_json_protocol_test usages are actually
already in format arg so just remove the conversion is good enough.
field is no longer used anywhere so just removed it (there's one line of
commented out code in compact_protocol so remove that line as well). The
one in numeric.go is actually a bug. We didn't set sValue correctly in
NewNumericFromI64 and NewNumericFromI32 functions.

Gbp-Pq: Name Fix_wrong_int_to_string_conversions.patch

5 years agofix tests FTBFS with atomic link
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
fix tests FTBFS with atomic link

Forwarded: no
Last-Update: 2019-12-08

On armel and at least mipsel needs atomic to link with.

Gbp-Pq: Name link_tests_atomic.patch

5 years agodon't try missing NewMockThriftTest test
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
don't try missing NewMockThriftTest test

Last-Update: 2019-11-30

Upstream doesn't ship NewMockThriftTest hence don't try to use it.

Gbp-Pq: Name missing_go_test.patch

5 years agoput back files used for testing
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
put back files used for testing

Last-Update: 2019-10-23

Needs for testing and while present up to 0.12.0 and in Git, missed from
the source of 0.13.0 release.

Gbp-Pq: Name add_missing_test_files.patch

5 years agodon't use gradlew in any way
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
don't use gradlew in any way

Last-Update: 2019-10-23

Not enabled for compilation, but clean would like to use it anyway.

Gbp-Pq: Name no_gradlew.patch

5 years agorun simple Go test only
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
run simple Go test only

Last-Update: 2019-10-05

Race testing is available on amd64, ppc64le and arm64 only.

Gbp-Pq: Name no_go_race.patch

5 years agoPHP tests are not phpunit 8 compatible
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
PHP tests are not phpunit 8 compatible

Last-Update: 2019-09-22

Disable those for now.

Gbp-Pq: Name disable_php_testing.patch

5 years ago<short summary of the patch>
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
<short summary of the patch>

TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

thrift (0.12.0-1) experimental; urgency=medium

  * New major upstream release.

Gbp-Pq: Name no_composer_install.patch

5 years agodisable failing tests
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
disable failing tests

Last-Update: 2019-10-05

Gbp-Pq: Name disable_failing_tests.patch

5 years agodon't test servers that need shmem
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
don't test servers that need shmem

Last-Update: 2017-09-11

As buildd's don't have shmem enabled / mounted, tests would fail.

Gbp-Pq: Name no_shmem.patch

5 years agoDisable TLS v1.0 and TLS v1.1 connection tests
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
Disable TLS v1.0 and TLS v1.1 connection tests

Bug-Debian: https://bugs.debian.org/859128
Last-Update: 2017-09-10

TLS v1.0 and TLS v1.1 protocols are disabled as of OpenSSL 1.1.0f-4, see:
https://packages.qa.debian.org/o/openssl/news/20170806T233554Z.html

Gbp-Pq: Name disable_TLSv1_0_and_TLSv1_1.patch

5 years ago<short summary of the patch>
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
<short summary of the patch>

Last-Update: 2019-01-09

Gbp-Pq: Name broken_boost_1.62.patch

5 years agogolang dependencies already installed as build dependency
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
golang dependencies already installed as build dependency

Forwarded: no
Last-Update: 2019-12-01

Gbp-Pq: Name golang_dependency_installed.patch

5 years agodo not use bundler as per Ruby policy
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
do not use bundler as per Ruby policy

Bug-Debian: https://bugs.debian.org/804668
Last-Update: 2019-10-23

Gbp-Pq: Name no_bundler_use.patch

5 years agonode is called nodejs in Debian
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
node is called nodejs in Debian

Last-Update: 2019-10-23

Use the proper binary name.

Gbp-Pq: Name node_is_nodejs.patch

5 years agothrift (0.13.0-5) unstable; urgency=medium
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
thrift (0.13.0-5) unstable; urgency=medium

  * Update Standards-Version to 4.5.0 .

  [ Adrian Bunk <bunk@debian.org> ]
  * Link with libatomic on ARMel and MIPSel (closes: #972948).

[dgit import unpatched thrift 0.13.0-5]

5 years agoImport thrift_0.13.0-5.debian.tar.xz
Laszlo Boszormenyi (GCS) [Mon, 26 Oct 2020 17:01:44 +0000 (17:01 +0000)]
Import thrift_0.13.0-5.debian.tar.xz

[dgit import tarball thrift 0.13.0-5 thrift_0.13.0-5.debian.tar.xz]

6 years agoImport thrift_0.13.0.orig.tar.gz
Laszlo Boszormenyi (GCS) [Sun, 1 Dec 2019 10:46:55 +0000 (10:46 +0000)]
Import thrift_0.13.0.orig.tar.gz

[dgit import orig thrift_0.13.0.orig.tar.gz]

6 years ago[PATCH] Thrift-4647: Node.js Filesever webroot fixed path
jfarrell [Fri, 5 Oct 2018 03:00:28 +0000 (23:00 -0400)]
[PATCH] Thrift-4647: Node.js Filesever webroot fixed path

Updates the node.js fileserver to have a fixed based webroot which can
not be escaped by end users.

Gbp-Pq: Name CVE-2018-11798_Node.js_Filesever_webroot_fixed_path.patch

6 years agowait a second after go serve socket
Laszlo Boszormenyi (GCS) [Tue, 8 Jan 2019 21:31:07 +0000 (21:31 +0000)]
wait a second after go serve socket

Last-Update: 2018-09-23

Multiple upstream wait time by hundred.

Gbp-Pq: Name go_test_fail_on_busy_machine.patch

6 years agoadd Boost::Atomic to link with
Laszlo Boszormenyi (GCS) [Tue, 8 Jan 2019 21:31:07 +0000 (21:31 +0000)]
add Boost::Atomic to link with

Last-Update: 2018-09-23

Some architectures need this explicitly.

Gbp-Pq: Name fix_boost_atomic_link.patch

6 years agodisable noexist namespace
Laszlo Boszormenyi (GCS) [Tue, 8 Jan 2019 21:31:07 +0000 (21:31 +0000)]
disable noexist namespace

Last-Update: 2018-09-22

It doesn't give a warning, but fails to test.

Gbp-Pq: Name disable_noexist_namespace.patch

6 years agodisable failing tests
Laszlo Boszormenyi (GCS) [Tue, 8 Jan 2019 21:31:07 +0000 (21:31 +0000)]
disable failing tests

Last-Update: 2018-09-23

These fail in chroots or uses deprecated (and removed) Python interfaces.
Some may not, but amd64 or other 64 bit arch only.

Gbp-Pq: Name disable_failing_tests.patch

6 years ago[PATCH] THRIFT-4516: Fix "go vet" warnings for Go 1.10
D. Can Celasun [Thu, 15 Mar 2018 11:52:37 +0000 (12:52 +0100)]
[PATCH] THRIFT-4516: Fix "go vet" warnings for Go 1.10

Client: go

Gbp-Pq: Name golang_1.10_fix.patch

6 years agofix PHPUnit 6+ extend format
Laszlo Boszormenyi (GCS) [Tue, 8 Jan 2019 21:31:07 +0000 (21:31 +0000)]
fix PHPUnit 6+ extend format

Last-Update: 2018-09-20

Subclassed TestCase.

Gbp-Pq: Name PHPUnit6_fix.patch

6 years agodon't test servers that need shmem
Laszlo Boszormenyi (GCS) [Tue, 8 Jan 2019 21:31:07 +0000 (21:31 +0000)]
don't test servers that need shmem

Last-Update: 2017-09-11

As buildd's don't have shmem enabled / mounted, tests would fail.

Gbp-Pq: Name no_shmem.patch

6 years agoDisable TLS v1.0 and TLS v1.1 connection tests
Laszlo Boszormenyi (GCS) [Tue, 8 Jan 2019 21:31:07 +0000 (21:31 +0000)]
Disable TLS v1.0 and TLS v1.1 connection tests

Bug-Debian: https://bugs.debian.org/859128
Last-Update: 2017-09-10

TLS v1.0 and TLS v1.1 protocols are disabled as of OpenSSL 1.1.0f-4, see:
https://packages.qa.debian.org/o/openssl/news/20170806T233554Z.html

Gbp-Pq: Name disable_TLSv1_0_and_TLSv1_1.patch

6 years ago<short summary of the patch>
Laszlo Boszormenyi (GCS) [Tue, 8 Jan 2019 21:31:07 +0000 (21:31 +0000)]
<short summary of the patch>

TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

thrift (0.10.0-1) experimental; urgency=low

  * New upstream release.

Gbp-Pq: Name broken_boost_1.62.patch

6 years agogolang dependencies already installed as build dependency
Laszlo Boszormenyi (GCS) [Tue, 8 Jan 2019 21:31:07 +0000 (21:31 +0000)]
golang dependencies already installed as build dependency

Forwarded: no
Last-Update: 2018-09-20

Gbp-Pq: Name golang_dependency_installed.patch

6 years agodo not use bundler as per Ruby policy
Laszlo Boszormenyi (GCS) [Tue, 8 Jan 2019 21:31:07 +0000 (21:31 +0000)]
do not use bundler as per Ruby policy

Bug-Debian: https://bugs.debian.org/804668

Gbp-Pq: Name no_bundler_use.patch

6 years agonode is called nodejs in Debian
Laszlo Boszormenyi (GCS) [Tue, 8 Jan 2019 21:31:07 +0000 (21:31 +0000)]
node is called nodejs in Debian

Last-Update: 2018-09-20

Use the proper binary name.

Gbp-Pq: Name node_is_nodejs.patch

6 years agono need for ANT Maven task
Laszlo Boszormenyi (GCS) [Tue, 8 Jan 2019 21:31:07 +0000 (21:31 +0000)]
no need for ANT Maven task

Just disable its download.

Gbp-Pq: Name no_pom.patch

6 years agoadd zlib library to link with
Laszlo Boszormenyi (GCS) [Tue, 8 Jan 2019 21:31:07 +0000 (21:31 +0000)]
add zlib library to link with

Need to specify which library contain the zlib functions during linking.

Gbp-Pq: Name link_with_zlib.patch

6 years agothrift (0.11.0-4) unstable; urgency=medium
Laszlo Boszormenyi (GCS) [Tue, 8 Jan 2019 21:31:07 +0000 (21:31 +0000)]
thrift (0.11.0-4) unstable; urgency=medium

  * Backport upstream security fix for CVE-2018-11798: Node.js Filesever
    webroot fixed path (closes: #918734).
  * Update Standards-Version to 4.3.0 .

[dgit import unpatched thrift 0.11.0-4]

6 years agoImport thrift_0.11.0-4.debian.tar.xz
Laszlo Boszormenyi (GCS) [Tue, 8 Jan 2019 21:31:07 +0000 (21:31 +0000)]
Import thrift_0.11.0-4.debian.tar.xz

[dgit import tarball thrift 0.11.0-4 thrift_0.11.0-4.debian.tar.xz]

7 years agoImport thrift_0.11.0.orig.tar.gz
Laszlo Boszormenyi (GCS) [Thu, 20 Sep 2018 18:16:39 +0000 (19:16 +0100)]
Import thrift_0.11.0.orig.tar.gz

[dgit import orig thrift_0.11.0.orig.tar.gz]