diff options
-rw-r--r-- | debian/changelog | 30 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 25 | ||||
-rw-r--r-- | debian/copyright | 27 | ||||
-rw-r--r-- | debian/gbp.conf | 5 | ||||
-rw-r--r-- | debian/patches/go-homedir.patch | 34 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rwxr-xr-x | debian/rules | 13 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 4 |
10 files changed, 141 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..77f3838 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,30 @@ +golang-github-minio-minio-go (3.0.0-1) unstable; urgency=medium + + * gbp.conf: remove merge = false for idiomatic repository layout + * New upstream version 3.0.0 + * Experimental to unstable, as the freeze is over + + -- Michael Stapelberg <stapelberg@debian.org> Fri, 21 Jul 2017 08:05:09 +0200 + +golang-github-minio-minio-go (2.1.0-1) experimental; urgency=medium + + * New upstream version 2.1.0 + * avoid tests which access to s3.amazonaws.com with '-short' flag + + -- Félix Sipma <felix+debian@gueux.org> Wed, 17 May 2017 11:20:05 +0200 + +golang-github-minio-minio-go (2.0.2-1) unstable; urgency=medium + + * New upstream version 2.0.2 + * restore dh-make-golang default gbp.conf + * increase debian/compat to 10 + * update debian/control + * improve package description + + -- Félix Sipma <felix+debian@gueux.org> Sun, 11 Dec 2016 23:48:22 +0100 + +golang-github-minio-minio-go (2.0.1-1) unstable; urgency=medium + + * Initial release (Closes: #831837). + + -- Dmitry Smirnov <onlyjob@debian.org> Wed, 20 Jul 2016 13:42:58 +1000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..2d22987 --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: golang-github-minio-minio-go +Section: devel +Priority: extra +Maintainer: Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org> +Uploaders: Dmitry Smirnov <onlyjob@debian.org>, Félix Sipma <felix+debian@gueux.org> +Build-Depends: debhelper (>= 10), + dh-golang, + golang-any, + golang-github-go-ini-ini-dev, + golang-github-mitchellh-go-homedir-dev +Standards-Version: 3.9.8 +Homepage: https://github.com/minio/minio-go +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-go/packages/golang-github-minio-minio-go.git +Vcs-Git: https://anonscm.debian.org/git/pkg-go/packages/golang-github-minio-minio-go.git +XS-Go-Import-Path: github.com/minio/minio-go + +Package: golang-github-minio-minio-go-dev +Architecture: all +Depends: ${shlibs:Depends}, + ${misc:Depends}, + golang-github-go-ini-ini-dev, + golang-github-mitchellh-go-homedir-dev +Description: Go library for Amazon S3 compatible cloud storage + The Minio Golang Client SDK provides simple APIs to access any Amazon S3 + compatible object storage server. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..c2d48ff --- /dev/null +++ b/debian/copyright @@ -0,0 +1,27 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: minio-go +Source: https://github.com/minio/minio-go + +Files: * +Copyright: 2015-2016 Minio, Inc +License: Apache-2.0 + +Files: debian/* +Copyright: 2016 Dmitry Smirnov <onlyjob@debian.org> +License: Apache-2.0 + +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/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..1d6ee7b --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,5 @@ +[DEFAULT] +pristine-tar = True + +[dch] +id-length = 0 diff --git a/debian/patches/go-homedir.patch b/debian/patches/go-homedir.patch new file mode 100644 index 0000000..7d8e9db --- /dev/null +++ b/debian/patches/go-homedir.patch @@ -0,0 +1,34 @@ +Description: Use mitchellh/go-homedir instead of the minio-specific fork. + The modifications in the fork are not believed to be required. +Author: Michael Stapelberg <stapelberg@debian.org> +Forwarded: https://github.com/mitchellh/go-homedir/pull/19 +Last-Update: 2017-07-21 + +--- + +Index: golang-github-minio-minio-go/pkg/credentials/file_aws_credentials.go +=================================================================== +--- golang-github-minio-minio-go.orig/pkg/credentials/file_aws_credentials.go ++++ golang-github-minio-minio-go/pkg/credentials/file_aws_credentials.go +@@ -22,7 +22,7 @@ import ( + "path/filepath" + + "github.com/go-ini/ini" +- homedir "github.com/minio/go-homedir" ++ homedir "github.com/mitchellh/go-homedir" + ) + + // A FileAWSCredentials retrieves credentials from the current user's home +Index: golang-github-minio-minio-go/pkg/credentials/file_minio_client.go +=================================================================== +--- golang-github-minio-minio-go.orig/pkg/credentials/file_minio_client.go ++++ golang-github-minio-minio-go/pkg/credentials/file_minio_client.go +@@ -24,7 +24,7 @@ import ( + "path/filepath" + "runtime" + +- homedir "github.com/minio/go-homedir" ++ homedir "github.com/mitchellh/go-homedir" + ) + + // A FileMinioClient retrieves credentials from the current user's home diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..7de5939 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +go-homedir.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..bd19989 --- /dev/null +++ b/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +export DH_GOLANG_EXCLUDES := examples + +# Required for tests: +export DH_GOLANG_INSTALL_EXTRA := ./pkg/credentials/config.json.sample ./pkg/credentials/credentials.sample + +%: + dh $@ --buildsystem=golang --with=golang +override_dh_auto_test: + # set -short param to avoid tests that access to s3.amazonaws.com + # api_functional_v4_test.go is needed for other tests to run + dh_auto_test -- -short diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /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 0000000..011c3bb --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=3 + + https://github.com/minio/minio-go/releases \ + .*/archive/v?(\d[\d\.\-rc]+)\.tar\.gz |