From 1b9a4b9d60f0a5465c9ba9636dab2635feb463df961af345fb6650c398d814c2 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Sat, 12 Oct 2019 16:26:21 +0000 Subject: [PATCH] Accepting request 737904 from home:kukuk:container OBS-URL: https://build.opensuse.org/request/show/737904 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/docker_auth?expand=0&rev=1 --- .gitattributes | 23 +++++++++ _service | 14 ++++++ _servicedata | 6 +++ docker_auth-1.4.0+git20190925.6f38360.tar.xz | 3 ++ docker_auth.changes | 23 +++++++++ docker_auth.spec | 53 ++++++++++++++++++++ 6 files changed, 122 insertions(+) create mode 100644 .gitattributes create mode 100644 _service create mode 100644 _servicedata create mode 100644 docker_auth-1.4.0+git20190925.6f38360.tar.xz create mode 100644 docker_auth.changes create mode 100644 docker_auth.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/_service b/_service new file mode 100644 index 0000000..00b64f1 --- /dev/null +++ b/_service @@ -0,0 +1,14 @@ + + + 1.4.0 + 1.4.0+git%cd.%h + git://github.com/cesanta/docker_auth.git + git + enable + + + xz + *.tar + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..4e4ecab --- /dev/null +++ b/_servicedata @@ -0,0 +1,6 @@ + + + git://github.com/cesanta/docker_auth.git + 6f383608f36fa1aa688523ac5ae96cf05b341e32 + + \ No newline at end of file diff --git a/docker_auth-1.4.0+git20190925.6f38360.tar.xz b/docker_auth-1.4.0+git20190925.6f38360.tar.xz new file mode 100644 index 0000000..d9a2d82 --- /dev/null +++ b/docker_auth-1.4.0+git20190925.6f38360.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cde917f90bd148e0df0be1d3cf68bc59c6cb1a7c736022e251902c1b76e89656 +size 1486084 diff --git a/docker_auth.changes b/docker_auth.changes new file mode 100644 index 0000000..70ebe68 --- /dev/null +++ b/docker_auth.changes @@ -0,0 +1,23 @@ +------------------------------------------------------------------- +Sat Oct 12 08:40:12 UTC 2019 - kukuk@suse.com + +- Update to version 1.4.0+git20190925.6f38360: + * Move the whole charts directory to the root of the repo + * fix simple.yaml example: replace user with test + * optimize helm chart structure:split configmap into two parts(configmap and secret) + * feat: extended TLS configuration (#259) + * add helm chart of docker_auth that supports High-Available + * Use go get instead of go install + * Add plugin authn and authz implementations + * Revert "return 401 when there is no user or password (#251)" + * Use a different go-bindata package + * Change from using govendor to go modules for managing dependencies + * Add support for lowercases DN elements (#247) + * return 401 when there is no user or password (#251) + * gofmt everything + * Add custom authentication and authorization implementations to avoid spawning new processes (#254) + +------------------------------------------------------------------- +Sat Oct 12 08:39:04 UTC 2019 - kukuk@suse.com + +- Initial release diff --git a/docker_auth.spec b/docker_auth.spec new file mode 100644 index 0000000..c8482e3 --- /dev/null +++ b/docker_auth.spec @@ -0,0 +1,53 @@ +# +# spec file for package docker_auth +# +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: docker_auth +Version: 1.4.0+git20190925.6f38360 +Release: 0 +Summary: Authenticaton for container registry with tokens +License: Apache-2.0 +URL: https://github.com/cesanta/docker_auth +Source: docker_auth-%{version}.tar.xz +BuildRequires: golang(API) = 1.12 +BuildRequires: go1.12 >= 1.12.9 + +%description +This package contains a tool to authenticate the access to +a container registry. Access is granted defined by an access +control list for every user. + +%prep +%setup -q +rm chart/docker-auth/.helmignore + +%build +cd auth_server +# Make the go command working in OBS and on all architectures: +sed -i -e 's|CGO_ENABLED=0 go build -v --ldflags=--s|go build -mod vendor -buildmode=pie -v|g' Makefile +make + +%install +mkdir -p %{buildroot}%{_sbindir} +install -m 755 auth_server/auth_server %{buildroot}%{_sbindir}/ + +%files +%license LICENSE +%doc README.md chart docs examples +%{_sbindir}/auth_server + +%changelog