diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000000000000000000000000000000000000..c2cf3d4d2670add40e4e64ad5a0a04268b1ea5b5 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,12 @@ +golang-github-pquerna-ffjson (0.0~git20181028.e517b90-1.1) unstable; urgency=medium + + * Non maintainer upload by the Reproducible Builds team. + * No source change upload to rebuild on buildd with .buildinfo files. + + -- Holger Levsen <holger@debian.org> Fri, 08 Jan 2021 14:12:15 +0100 + +golang-github-pquerna-ffjson (0.0~git20181028.e517b90-1) unstable; urgency=medium + + * Initial release (Closes: #919278) + + -- Reinhard Tartler <siretart@tauware.de> Mon, 14 Jan 2019 17:31:56 -0500 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000000000000000000000000000000000000..bec9e41d18c76ae76fee29293acd0075b9ffce60 --- /dev/null +++ b/debian/control @@ -0,0 +1,45 @@ +Source: golang-github-pquerna-ffjson +Section: devel +Priority: optional +Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org> +Uploaders: Reinhard Tartler <siretart@tauware.de> +Build-Depends: debhelper (>= 11), + dh-golang, + golang-any, + golang-github-google-gofuzz-dev, + golang-github-stretchr-testify-dev +Standards-Version: 4.2.1 +Homepage: https://github.com/pquerna/ffjson +Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-pquerna-ffjson +Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-pquerna-ffjson.git +XS-Go-Import-Path: github.com/pquerna/ffjson +Testsuite: autopkgtest-pkg-go + +Package: ffjson +Architecture: any +Depends: ${misc:Depends}, + golang-github-pquerna-ffjson-dev +Description: faster JSON serialization for Go + ffjson generates static MarshalJSON and UnmarshalJSON functions for + structures in Go. The generated functions reduce the reliance upon runtime + reflection to do serialization and are generally 2 to 3 times faster. + In cases where ffjson doesn't understand a Type involved, it falls back to + encoding/json, meaning it is a safe drop in replacement. By using ffjson + your JSON serialization just gets faster with no additional code changes. + . + This package contains the ffjson executable. + +Package: golang-github-pquerna-ffjson-dev +Architecture: all +Depends: ${misc:Depends}, + golang-github-google-gofuzz-dev, + golang-github-stretchr-testify-dev +Description: faster JSON serialization for Go + ffjson generates static MarshalJSON and UnmarshalJSON functions for + structures in Go. The generated functions reduce the reliance upon runtime + reflection to do serialization and are generally 2 to 3 times faster. + In cases where ffjson doesn't understand a Type involved, it falls back to + encoding/json, meaning it is a safe drop in replacement. By using ffjson + your JSON serialization just gets faster with no additional code changes. + . + This package contains the source code for other go programs to link against. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000000000000000000000000000000000000..be3c35fb2fd23bae331a8bfffa3cd913d98cf369 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: ffjson +Source: https://github.com/pquerna/ffjson +Files-Excluded: + tests/vendor + Godeps/_workspace + +Files: * +Copyright: 2014-2019, Paul Querna <pquerna@apache.org>, Klaus Post <klauspost@gmail.com>, Erik Dubbelboer <erik@dubbelboer.com> +License: Apache-2.0 + +Files: debian/* +Copyright: 2019 Reinhard Tartler <siretart@tauware.de> +License: Apache-2.0 +Comment: Debian packaging is licensed under the same terms as upstream + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". diff --git a/debian/ffjson.docs b/debian/ffjson.docs new file mode 100644 index 0000000000000000000000000000000000000000..b43bf86b50fd8d3529a0dc062c30006ed38f309e --- /dev/null +++ b/debian/ffjson.docs @@ -0,0 +1 @@ +README.md diff --git a/debian/ffjson.install b/debian/ffjson.install new file mode 100644 index 0000000000000000000000000000000000000000..453e8ece253092e8e261e9c1bc9721c59b510d9f --- /dev/null +++ b/debian/ffjson.install @@ -0,0 +1 @@ +usr/bin/ffjson diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000000000000000000000000000000000000..cec628c7444886870d72dc8bcd536479e7f8a284 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True diff --git a/debian/golang-github-pquerna-ffjson-dev.install b/debian/golang-github-pquerna-ffjson-dev.install new file mode 100644 index 0000000000000000000000000000000000000000..a3da66ddd25a67abab13f56f1b08da214d0f04c9 --- /dev/null +++ b/debian/golang-github-pquerna-ffjson-dev.install @@ -0,0 +1 @@ +usr/share/gocode diff --git a/debian/patches/auto-gitignore b/debian/patches/auto-gitignore new file mode 100644 index 0000000000000000000000000000000000000000..9d02f166e0db9306d1a90e75f7c0be649393c1b2 --- /dev/null +++ b/debian/patches/auto-gitignore @@ -0,0 +1,18 @@ +Subject: Update .gitignore from Debian packaging branch + +The Debian packaging git branch contains these updates to the upstream +.gitignore file(s). This patch is autogenerated, to provide these +updates to users of the official Debian archive view of the package. + +[dgit (3.11~deb9u1) update-gitignore] +--- +diff --git a/.gitignore b/.gitignore +index 2b62c96..1ffc8d3 100644 +--- a/.gitignore ++++ b/.gitignore +@@ -3,3 +3,5 @@ tests/goser/ff/goser_ffjson.go + tests/types/ff/everything_ffjson.go + tests/number/ff/number_ffjson.go + tests/ff_ffjson.go ++ ++.pc diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000000000000000000000000000000000000..a22980abcfe730ac90bbb5beac8a6915e66d643f --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ + +auto-gitignore diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000000000000000000000000000000000000..0d07cb51cf3bb646729f7451aaaaad19b48a97fd --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +# tests have a bogous import that confuses the debhelper +export DH_GOLANG_EXCLUDES=github.com/pquerna/ffjson/tests + +%: + dh $@ --buildsystem=golang --with=golang diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000000000000000000000000000000000000..a9a9080f6e783ef19ef22ea4402b37cc11d3cd45 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/golang-github-pquerna-ffjson-\$1\.tar\.gz/,\ +uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/ \ + https://github.com/pquerna/ffjson/tags .*/v?(\d\S*)\.tar\.gz