Sync from SUSE:SLFO:Main container-suseconnect revision 59977527211ec07ce3a1cd2df09c2be2
This commit is contained in:
commit
24fa0e3802
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
18
_service
Normal file
18
_service
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<services>
|
||||||
|
<service mode="disabled" name="tar_scm">
|
||||||
|
<param name="url">https://github.com/SUSE/container-suseconnect.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="filename">container-suseconnect</param>
|
||||||
|
<param name="exclude">.git</param>
|
||||||
|
<param name="versionformat">2.4.0</param>
|
||||||
|
<param name="revision">v2.4.0</param>
|
||||||
|
</service>
|
||||||
|
<service mode="disabled" name="recompress">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">zst</param>
|
||||||
|
</service>
|
||||||
|
<service mode="disabled" name="set_version"/>
|
||||||
|
<service mode="disabled" name="go_modules">
|
||||||
|
<param name="compression">zst</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
BIN
container-suseconnect-2.4.0.tar.zst
(Stored with Git LFS)
Normal file
BIN
container-suseconnect-2.4.0.tar.zst
(Stored with Git LFS)
Normal file
Binary file not shown.
1
container-suseconnect-rpmlintrc
Normal file
1
container-suseconnect-rpmlintrc
Normal file
@ -0,0 +1 @@
|
|||||||
|
addFilter("no-manual-page-for-binary")
|
142
container-suseconnect.changes
Normal file
142
container-suseconnect.changes
Normal file
@ -0,0 +1,142 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 5 12:52:42 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- spec file cleanups
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 6 14:04:56 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.4.0 (jsc#PED-1710):
|
||||||
|
* Fix docker build example for non-SLE hosts
|
||||||
|
* Minor fixes to --help and README
|
||||||
|
* Improve documentation when building with podman on non-SLE host
|
||||||
|
* Add flag --log-credentials-errors
|
||||||
|
* Add GitHub actions
|
||||||
|
* Remove vendor/ dir
|
||||||
|
* Cleanup tests
|
||||||
|
* Update capture to the 1.0.0 release
|
||||||
|
* Bump cli to 2.34.4
|
||||||
|
* Update cli to 2.23.5
|
||||||
|
* Add dependabot
|
||||||
|
* Use URL.Redacted() to avoid security scanner warning
|
||||||
|
* Regcode fix
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 27 08:18:08 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- strip binaries (removes 4MB/25% of the uncompressed size) (bsc#1186827)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 30 14:14:49 UTC 2020 - Ralf Haferkamp <rhafer@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.3.0 (bsc#1173375)
|
||||||
|
- Introduce "containerbuild-regionsrv" support and add
|
||||||
|
"susecloud" zypper url-resolver plugin to allow building SLE
|
||||||
|
containers on public cloud on-demand instances
|
||||||
|
- Fix usage with RMT when repositories require authentication
|
||||||
|
- remove "%gosrc" call to avoid including all the go sources into
|
||||||
|
the main package.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 28 10:01:56 UTC 2019 - Ralf Haferkamp <rhafer@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.2.0 (bsc#1157960)
|
||||||
|
- Update go version and dependencies
|
||||||
|
- Fix usage with RMT and SMT
|
||||||
|
- parse the /etc/products.d/*.prod files
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 19 13:45:28 UTC 2019 - Sascha Grunert <sgrunert@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.1.0 (bsc#1138731, bsc#1154247)
|
||||||
|
- Fix function comments based on best practices from Effective Go
|
||||||
|
- Interacting with SCC behind proxy and SMT
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 11 11:30:59 UTC 2018 - sgrunert@suse.com
|
||||||
|
|
||||||
|
- Update to 2.0.0 (bsc#1119496)
|
||||||
|
- Add command line interface
|
||||||
|
- Add `ADDITIONAL_MODULES` capability to enable further extension
|
||||||
|
modules during image build and run
|
||||||
|
- Add documentation about how to build docker images on non SLE
|
||||||
|
distributions
|
||||||
|
- Improve documentation to clarify how container-suseconnect
|
||||||
|
works in a Dockerfile
|
||||||
|
- Improve error handling on non SLE hosts
|
||||||
|
- Fix bug which makes container-suseconnect work on SLE15 based
|
||||||
|
distributions
|
||||||
|
- Update build to use latest golang-packaging
|
||||||
|
- Added container-suseconnect-rpmlintrc
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 1 14:27:26 UTC 2018 - jmassaguerpla@suse.com
|
||||||
|
|
||||||
|
- Remove gcc since the latest go versions already support s390x, ppc64le
|
||||||
|
Remove 0001-Added-TLS-root-CA-certificates-for-SLE-11.patch: this
|
||||||
|
was needed for gcc builds. (fix bsc#1083189)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 27 14:29:18 UTC 2016 - cbrauner@suse.de
|
||||||
|
|
||||||
|
- add aarch64 to supported gc architectures
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 11 14:26:23 UTC 2015 - fcastelli@suse.com
|
||||||
|
|
||||||
|
- Update to version 1.1.0:
|
||||||
|
- Improve logging
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 11 13:37:48 UTC 2015 - fcastelli@suse.com
|
||||||
|
|
||||||
|
- Added 0001-Added-TLS-root-CA-certificates-for-SLE-11.patch to handle
|
||||||
|
SLE11 certificates on non-x86 architectures
|
||||||
|
|
||||||
|
work-around for bsc#953831
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 20 07:51:19 UTC 2015 - fcastelli@suse.com
|
||||||
|
|
||||||
|
- Build using gcc on platforms where gc compiler is not available
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 18 16:49:20 UTC 2015 - jmassaguerpla@suse.com
|
||||||
|
|
||||||
|
- Make SUSEConnect configuration file optional
|
||||||
|
Update to v1.0.1
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 16 16:08:09 UTC 2015 - jmassaguerpla@suse.com
|
||||||
|
|
||||||
|
- Update to v1.0.0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 11 09:56:16 UTC 2015 - fcastelli@suse.com
|
||||||
|
|
||||||
|
- Update to latest version from git
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 4 12:34:14 UTC 2015 - fcastelli@suse.com
|
||||||
|
|
||||||
|
- Fixed building
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 4 08:20:15 UTC 2015 - fcastelli@suse.com
|
||||||
|
|
||||||
|
- Update to latest version of container-suseconnect
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 3 12:04:23 UTC 2015 - fcastelli@suse.com
|
||||||
|
|
||||||
|
- Fix libzypp requirement, it must be a runtime one
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 3 10:05:17 UTC 2015 - fcastelli@suse.com
|
||||||
|
|
||||||
|
- Relax libzypp requirement to build the package also on SLE11SP3
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 29 12:33:03 UTC 2015 - dmacvicar@suse.de
|
||||||
|
|
||||||
|
- initial package
|
64
container-suseconnect.spec
Normal file
64
container-suseconnect.spec
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
#
|
||||||
|
# spec file
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 SUSE LLC
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%global project container-suseconnect
|
||||||
|
%global import_path github.com/SUSE/%{project}
|
||||||
|
%global zypp_path %{_prefix}/lib/zypp/plugins
|
||||||
|
%global zypp_services %{zypp_path}/services
|
||||||
|
%global zypp_urlresolver %{zypp_path}/urlresolver
|
||||||
|
Name: %{project}
|
||||||
|
Version: 2.4.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Provides access to repositories inside containers
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: Development/Languages/Other
|
||||||
|
URL: https://%{import_path}
|
||||||
|
Source0: %{project}-%{version}.tar.zst
|
||||||
|
Source1: vendor.tar.zst
|
||||||
|
Source2: container-suseconnect-rpmlintrc
|
||||||
|
BuildRequires: golang-packaging
|
||||||
|
BuildRequires: libzypp > 9.34
|
||||||
|
BuildRequires: zstd
|
||||||
|
BuildRequires: golang(API) = 1.21
|
||||||
|
Requires: libzypp > 9.34
|
||||||
|
|
||||||
|
%description
|
||||||
|
container-suseconnect gives access to package repositories inside containers
|
||||||
|
using the host machine entitlements.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{project}-%{version} -a1
|
||||||
|
|
||||||
|
%build
|
||||||
|
go build -o %{project} -mod=vendor -buildmode=pie -trimpath -ldflags="-s -w" ./cmd/container-suseconnect
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -D -m 755 %{project} %{buildroot}/%{_bindir}/%{project}
|
||||||
|
mkdir -p %{buildroot}/%{zypp_services}
|
||||||
|
mkdir -p %{buildroot}/%{zypp_urlresolver}
|
||||||
|
ln -s %{_bindir}/%{project} %{buildroot}/%{zypp_services}/%{project}-zypp
|
||||||
|
ln -s %{_bindir}/%{project} %{buildroot}/%{zypp_urlresolver}/susecloud
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{_bindir}/%{project}
|
||||||
|
%{zypp_services}/%{project}-zypp
|
||||||
|
%{zypp_urlresolver}/susecloud
|
||||||
|
|
||||||
|
%changelog
|
BIN
vendor.tar.zst
(Stored with Git LFS)
Normal file
BIN
vendor.tar.zst
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user