Package list golang-github-go-kit-kit / dffbdd3
Initial release. (Closes: #883825) Martín Ferrari 3 years ago
11 changed file(s) with 141 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 golang-github-go-kit-kit (0.6.0-1) UNRELEASED; urgency=medium
1
2 * Initial release. (Closes: #883825)
3
4 -- Martín Ferrari <tincho@debian.org> Thu, 07 Dec 2017 20:58:47 +0000
0 Source: golang-github-go-kit-kit
1 Maintainer: Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>
2 Uploaders: Martín Ferrari <tincho@debian.org>,
3 Section: devel
4 Testsuite: autopkgtest-pkg-go
5 Priority: optional
6 Build-Depends: debhelper (>= 10~),
7 dh-golang (>= 1.17~),
8 golang-any,
9 golang-github-dgrijalva-jwt-go-v3-dev,
10 golang-github-go-logfmt-logfmt-dev,
11 golang-github-go-stack-stack-dev,
12 golang-github-opentracing-opentracing-go-dev,
13 golang-golang-x-net-dev,
14 golang-golang-x-time-dev,
15 golang-google-grpc-dev,
16 Standards-Version: 4.1.2
17 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-go/packages/golang-github-go-kit-kit.git
18 Vcs-Git: https://anonscm.debian.org/git/pkg-go/packages/golang-github-go-kit-kit.git
19 Homepage: https://github.com/go-kit/kit
20 XS-Go-Import-Path: github.com/go-kit/kit
21
22 Package: golang-github-go-kit-kit-dev
23 Architecture: all
24 Depends: golang-github-dgrijalva-jwt-go-v3-dev,
25 golang-github-go-logfmt-logfmt-dev,
26 golang-github-go-stack-stack-dev,
27 golang-github-opentracing-opentracing-go-dev,
28 golang-golang-x-net-dev,
29 golang-golang-x-time-dev,
30 golang-google-grpc-dev,
31 ${misc:Depends},
32 ${shlibs:Depends},
33 Description: Programming toolkit for microservices
34 Go kit is a set of packages and best practices, which provide a comprehensive,
35 robust, and trustable way of building microservices for organizations of any
36 size.
37 .
38 As the dependency tree is enormous, the Debian package only offers some of the
39 components of Go kit:
40 .
41 * auth
42 * endpoint
43 * log
44 * tracing
45 * transport
46 * util
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: golang-github-go-kit-kit
2 Source: https://github.com/go-kit/kit
3
4 Files: *
5 Copyright: 2015 Peter Bourgon
6 License: Expat
7
8 Files: debian/*
9 Copyright: 2017 Martín Ferrari <tincho@tincho.org>
10 License: Expat
11
12 License: Expat
13 Permission is hereby granted, free of charge, to any person obtaining a copy
14 of this software and associated documentation files (the "Software"), to deal
15 in the Software without restriction, including without limitation the rights
16 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
17 copies of the Software, and to permit persons to whom the Software is
18 furnished to do so, subject to the following conditions:
19 .
20 The above copyright notice and this permission notice shall be included in all
21 copies or substantial portions of the Software.
22 .
23 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
28 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
29 SOFTWARE.
0 examples/*
0 [buildpackage]
1 dist = DEP14
2 upstream-tag = upstream/%(version)s
0 Description: Patch the import names to use JWT v3 package.
1 --- a/auth/jwt/middleware.go
2 +++ b/auth/jwt/middleware.go
3 @@ -4,7 +4,7 @@
4 "context"
5 "errors"
6
7 - jwt "github.com/dgrijalva/jwt-go"
8 + jwt "github.com/dgrijalva/jwt-go-v3"
9
10 "github.com/go-kit/kit/endpoint"
11 )
12 --- a/auth/jwt/middleware_test.go
13 +++ b/auth/jwt/middleware_test.go
14 @@ -8,7 +8,7 @@
15
16 "crypto/subtle"
17
18 - jwt "github.com/dgrijalva/jwt-go"
19 + jwt "github.com/dgrijalva/jwt-go-v3"
20 "github.com/go-kit/kit/endpoint"
21 )
22
0 01-Use_jwt_v3.patch
0 #!/usr/bin/make -f
1
2 export DH_VERBOSE := 1
3
4 # Don't compile, test, or install a number of packages that require a big
5 # number of new dependencies, at least for now.
6 # Package ratelimit requires a newer version of x/time, so exclude it too.
7 export DH_GOLANG_EXCLUDES := \
8 github.com/go-kit/kit/circuitbreaker \
9 github.com/go-kit/kit/examples \
10 github.com/go-kit/kit/metrics \
11 github.com/go-kit/kit/ratelimit \
12 github.com/go-kit/kit/sd
13
14 %:
15 dh $@ --buildsystem=golang --with=golang
16
17 override_dh_auto_install:
18 dh_auto_install
19 # Do not install excluded packages.
20 for pkg in $(DH_GOLANG_EXCLUDES); do \
21 rm -rf debian/*/usr/share/gocode/src/$$pkg; \
22 done
0 3.0 (quilt)
0 version=3
1
2 opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/golang-github-go-kit-kit-\$1\.tar\.gz/,\
3 uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/,\
4 dversionmangle=s/\+ds\d*$//,\
5 https://github.com/go-kit/kit/tags .*/v?(\d\S*)\.tar\.gz