be3dc7
%global with_check 0
be3dc7
be3dc7
%global _find_debuginfo_dwz_opts %{nil}
be3dc7
%global _dwz_low_mem_die_limit 0
be3dc7
be3dc7
%if 0%{?rhel} > 7 && ! 0%{?fedora}
be3dc7
%define gobuild(o:) \
be3dc7
go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -compressdwarf=false -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v %{?**};
be3dc7
%else
be3dc7
%define gobuild(o:) GO111MODULE=off go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" -a -v %{?**};
be3dc7
%endif
be3dc7
be3dc7
%global import_path github.com/containers/skopeo
be3dc7
%global branch release-1.2
be3dc7
# Bellow definitions are used to deliver config files from a particular branch
be3dc7
# of c/image, c/common, c/storage vendored in all podman, skopeo, buildah.
be3dc7
# These vendored components must have the same version. If it is not the case,
be3dc7
# pick the oldest version on c/image, c/common, c/storage vendored in
be3dc7
# podman/skopeo/podman.
be3dc7
%global podman_branch v3.0
4c367f
%global image_branch v5.10.2
4c367f
%global common_branch v0.33.4
4c367f
%global storage_branch v1.24.6
be3dc7
%global shortnames_branch main
be3dc7
%global commit0 e72dd9c5c834f3cd7fb8b1aab4021d9d4412f305
be3dc7
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
be3dc7
be3dc7
Epoch: 1
be3dc7
Name: skopeo
be3dc7
Version: 1.2.2
4c367f
Release: 10%{?dist}
be3dc7
Summary: Inspect container images and repositories on registries
be3dc7
License: ASL 2.0
be3dc7
URL: %{git0}
be3dc7
# https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures
be3dc7
ExclusiveArch: %{go_arches}
be3dc7
%if 0%{?branch:1}
be3dc7
Source0: https://%{import_path}/tarball/%{commit0}/%{branch}-%{shortcommit0}.tar.gz
be3dc7
%else
be3dc7
Source0: https://%{import_path}/archive/%{commit0}/%{name}-%{version}-%{shortcommit0}.tar.gz
be3dc7
%endif
be3dc7
Source1: https://raw.githubusercontent.com/containers/storage/%{storage_branch}/storage.conf
be3dc7
Source2: https://raw.githubusercontent.com/containers/storage/%{storage_branch}/docs/containers-storage.conf.5.md
be3dc7
Source3: mounts.conf
be3dc7
Source4: https://raw.githubusercontent.com/containers/image/%{image_branch}/docs/containers-registries.conf.5.md
be3dc7
#Source5: https://raw.githubusercontent.com/containers/image/%%{image_branch}/registries.conf
be3dc7
Source5: registries.conf
be3dc7
Source6: https://raw.githubusercontent.com/containers/image/%{image_branch}/docs/containers-policy.json.5.md
be3dc7
Source7: https://raw.githubusercontent.com/containers/common/%{common_branch}/pkg/seccomp/seccomp.json
be3dc7
Source8: https://raw.githubusercontent.com/containers/podman/%{podman_branch}/docs/source/markdown/containers-mounts.conf.5.md
be3dc7
Source9: https://raw.githubusercontent.com/containers/image/%{image_branch}/docs/containers-signature.5.md
be3dc7
Source10: https://raw.githubusercontent.com/containers/image/%{image_branch}/docs/containers-transports.5.md
be3dc7
Source11: https://raw.githubusercontent.com/containers/image/%{image_branch}/docs/containers-certs.d.5.md
be3dc7
Source12: https://raw.githubusercontent.com/containers/image/%{image_branch}/docs/containers-registries.d.5.md
be3dc7
Source13: https://raw.githubusercontent.com/containers/common/%{common_branch}/pkg/config/containers.conf
be3dc7
Source14: https://raw.githubusercontent.com/containers/common/%{common_branch}/docs/containers.conf.5.md
be3dc7
Source15: https://raw.githubusercontent.com/containers/image/%{image_branch}/docs/containers-auth.json.5.md
be3dc7
Source16: https://raw.githubusercontent.com/containers/image/%{image_branch}/docs/containers-registries.conf.d.5.md
be3dc7
Source17: https://raw.githubusercontent.com/containers/shortnames/%{shortnames_branch}/shortnames.conf
be3dc7
Source18: https://raw.githubusercontent.com/containers/image/%{image_branch}/docs/containers-registries.conf.5.md
be3dc7
Source19: rhel-shortnames.conf
be3dc7
BuildRequires: git
be3dc7
BuildRequires: golang >= 1.12.12-4
be3dc7
BuildRequires: go-md2man
be3dc7
BuildRequires: gpgme-devel
be3dc7
BuildRequires: libassuan-devel
be3dc7
BuildRequires: pkgconfig(devmapper)
be3dc7
BuildRequires: ostree-devel
be3dc7
BuildRequires: glib2-devel
be3dc7
BuildRequires: make
be3dc7
Requires: containers-common = %{epoch}:%{version}-%{release}
be3dc7
be3dc7
%description
be3dc7
Command line utility to inspect images and repositories directly on Docker
be3dc7
registries without the need to pull them
be3dc7
be3dc7
%package -n containers-common
be3dc7
Summary: Configuration files for working with image signatures
be3dc7
Obsoletes: atomic <= 1:1.13.1-2
be3dc7
Conflicts: atomic-registries <= 1:1.22.1-1
be3dc7
Obsoletes: docker-rhsubscription <= 2:1.13.1-31
be3dc7
Provides: %{name}-containers = %{epoch}:%{version}-%{release}
be3dc7
Obsoletes: %{name}-containers <= 1:0.1.31-3
be3dc7
Recommends: fuse-overlayfs
be3dc7
Recommends: slirp4netns
be3dc7
Suggests: subscription-manager
be3dc7
be3dc7
%description -n containers-common
be3dc7
This package installs a default signature store configuration and a default
be3dc7
policy under `/etc/containers/`.
be3dc7
be3dc7
%package tests
be3dc7
Summary:         Tests for %{name}
be3dc7
Requires: %{name} = %{epoch}:%{version}-%{release}
be3dc7
#Requires: bats  (which RHEL8 doesn't have. If it ever does, un-comment this)
be3dc7
Requires: gnupg
be3dc7
Requires: jq
be3dc7
Requires: podman
be3dc7
Requires: httpd-tools
be3dc7
be3dc7
%description tests
be3dc7
%{summary}
be3dc7
be3dc7
This package contains system tests for %{name}
be3dc7
be3dc7
%prep
be3dc7
%if 0%{?branch:1}
be3dc7
%autosetup -Sgit -n containers-%{name}-%{shortcommit0}
be3dc7
%else
be3dc7
%autosetup -Sgit -n %{name}-%{commit0}
be3dc7
%endif
be3dc7
sed -i 's/install-binary: bin\/%{name}/install-binary:/' Makefile
be3dc7
sed -i 's/install-docs: docs/install-docs:/' Makefile
be3dc7
be3dc7
%build
be3dc7
mkdir -p src/github.com/containers
be3dc7
ln -s ../../../ src/%{import_path}
be3dc7
be3dc7
mkdir -p vendor/src
be3dc7
for v in vendor/*; do
be3dc7
    if test ${v} = vendor/src; then continue; fi
be3dc7
    if test -d ${v}; then
be3dc7
      mv ${v} vendor/src/
be3dc7
    fi
be3dc7
done
be3dc7
be3dc7
export GOPATH=$(pwd):$(pwd)/vendor:%{gopath}
be3dc7
export GO111MODULE=off
be3dc7
export CGO_CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
be3dc7
export BUILDTAGS="exclude_graphdriver_btrfs btrfs_noversion $(hack/libdm_tag.sh) $(hack/ostree_tag.sh)"
be3dc7
mkdir -p bin
be3dc7
%gobuild -o bin/%{name} ./cmd/%{name}
be3dc7
%{__make} docs
be3dc7
be3dc7
%install
be3dc7
make \
be3dc7
   DESTDIR=%{buildroot} \
be3dc7
   SIGSTOREDIR=%{buildroot}%{_sharedstatedir}/containers/sigstore \
be3dc7
   install
be3dc7
install -dp %{buildroot}%{_sysconfdir}/containers/{certs.d,oci/hooks.d,registries.d,registries.conf.d}
be3dc7
install -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/containers/storage.conf
be3dc7
install -m0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/containers/registries.conf
be3dc7
install -m0644 %{SOURCE17} %{buildroot}%{_sysconfdir}/containers/registries.conf.d/000-shortnames.conf
be3dc7
install -m0644 %{SOURCE19} %{buildroot}%{_sysconfdir}/containers/registries.conf.d/rhel-shortnames.conf
be3dc7
install -dp %{buildroot}%{_mandir}/man5
be3dc7
go-md2man -in %{SOURCE2} -out %{buildroot}%{_mandir}/man5/containers-storage.conf.5
be3dc7
go-md2man -in %{SOURCE4} -out %{buildroot}%{_mandir}/man5/containers-registries.conf.5
be3dc7
go-md2man -in %{SOURCE6} -out %{buildroot}%{_mandir}/man5/containers-policy.json.5
be3dc7
go-md2man -in %{SOURCE8} -out %{buildroot}%{_mandir}/man5/containers-mounts.conf.5
be3dc7
go-md2man -in %{SOURCE9} -out %{buildroot}%{_mandir}/man5/containers-signature.5
be3dc7
go-md2man -in %{SOURCE10} -out %{buildroot}%{_mandir}/man5/containers-transports.5
be3dc7
go-md2man -in %{SOURCE11} -out %{buildroot}%{_mandir}/man5/containers-certs.d.5
be3dc7
go-md2man -in %{SOURCE12} -out %{buildroot}%{_mandir}/man5/containers-registries.d.5
be3dc7
go-md2man -in %{SOURCE18} -out %{buildroot}%{_mandir}/man5/containers-registries.conf.d.5
be3dc7
go-md2man -in %{SOURCE14} -out %{buildroot}%{_mandir}/man5/containers.conf.5
be3dc7
go-md2man -in %{SOURCE15} -out %{buildroot}%{_mandir}/man5/containers-auth.json.5
be3dc7
go-md2man -in %{SOURCE16} -out %{buildroot}%{_mandir}/man5/containers-registries.conf.d.5
be3dc7
be3dc7
install -dp %{buildroot}%{_datadir}/containers
be3dc7
install -m0644 %{SOURCE3} %{buildroot}%{_datadir}/containers/mounts.conf
be3dc7
install -m0644 %{SOURCE7} %{buildroot}%{_datadir}/containers/seccomp.json
be3dc7
install -m0644 %{SOURCE13} %{buildroot}%{_datadir}/containers/containers.conf
be3dc7
be3dc7
# install secrets patch directory
be3dc7
install -d -p -m 755 %{buildroot}/%{_datadir}/rhel/secrets
be3dc7
# rhbz#1110876 - update symlinks for subscription management
be3dc7
ln -s %{_sysconfdir}/pki/entitlement %{buildroot}%{_datadir}/rhel/secrets/etc-pki-entitlement
be3dc7
ln -s %{_sysconfdir}/rhsm %{buildroot}%{_datadir}/rhel/secrets/rhsm
be3dc7
ln -s %{_sysconfdir}/yum.repos.d/redhat.repo %{buildroot}%{_datadir}/rhel/secrets/redhat.repo
be3dc7
be3dc7
# ship preconfigured /etc/containers/registries.d/ files with containers-common - #1903813
be3dc7
cat <<EOF > %{buildroot}%{_sysconfdir}/containers/registries.d/registry.access.redhat.com.yaml
be3dc7
docker:
be3dc7
     registry.access.redhat.com:
be3dc7
         sigstore: https://access.redhat.com/webassets/docker/content/sigstore
be3dc7
EOF
be3dc7
be3dc7
cat <<EOF > %{buildroot}%{_sysconfdir}/containers/registries.d/registry.redhat.io.yaml
be3dc7
docker:
be3dc7
     registry.redhat.io:
be3dc7
         sigstore: https://registry.redhat.io/containers/sigstore
be3dc7
EOF
be3dc7
be3dc7
# system tests
be3dc7
install -d -p %{buildroot}/%{_datadir}/%{name}/test/system
be3dc7
cp -pav systemtest/* %{buildroot}/%{_datadir}/%{name}/test/system/
be3dc7
be3dc7
%check
be3dc7
%if 0%{?with_check}
be3dc7
export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
be3dc7
be3dc7
%gotest %{import_path}/integration
be3dc7
%endif
be3dc7
be3dc7
#define license tag if not already defined
be3dc7
%{!?_licensedir:%global license %doc}
be3dc7
be3dc7
%files -n containers-common
be3dc7
%dir %{_sysconfdir}/containers
be3dc7
%dir %{_sysconfdir}/containers/certs.d
be3dc7
%dir %{_sysconfdir}/containers/registries.d
be3dc7
%dir %{_sysconfdir}/containers/oci
be3dc7
%dir %{_sysconfdir}/containers/oci/hooks.d
be3dc7
%dir %{_sysconfdir}/containers/registries.conf.d
be3dc7
%config(noreplace) %{_sysconfdir}/containers/policy.json
be3dc7
%config(noreplace) %{_sysconfdir}/containers/registries.d/default.yaml
be3dc7
%config(noreplace) %{_sysconfdir}/containers/storage.conf
be3dc7
%config(noreplace) %{_sysconfdir}/containers/registries.conf
be3dc7
%config(noreplace) %{_sysconfdir}/containers/registries.conf.d/000-shortnames.conf
be3dc7
%config(noreplace) %{_sysconfdir}/containers/registries.conf.d/rhel-shortnames.conf
be3dc7
%config(noreplace) %{_sysconfdir}/containers/registries.d/*.yaml
be3dc7
%ghost %{_sysconfdir}/containers/containers.conf
be3dc7
%dir %{_sharedstatedir}/containers/sigstore
be3dc7
%{_mandir}/man5/*
be3dc7
%dir %{_datadir}/containers
be3dc7
%{_datadir}/containers/mounts.conf
be3dc7
%{_datadir}/containers/seccomp.json
be3dc7
%{_datadir}/containers/containers.conf
be3dc7
%dir %{_datadir}/rhel/secrets
be3dc7
%{_datadir}/rhel/secrets/*
be3dc7
be3dc7
%files
be3dc7
%license LICENSE
be3dc7
%doc README.md
be3dc7
%{_bindir}/%{name}
be3dc7
%{_mandir}/man1/%{name}*
be3dc7
%dir %{_datadir}/bash-completion
be3dc7
%dir %{_datadir}/bash-completion/completions
be3dc7
%{_datadir}/bash-completion/completions/%{name}
be3dc7
be3dc7
%files tests
be3dc7
%license LICENSE
be3dc7
%{_datadir}/%{name}/test
be3dc7
be3dc7
%changelog
4c367f
* Thu Jul 15 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.2.2-10
4c367f
- update shortnames from Pyxis
4c367f
- sync with the vendored versions in 3.0-8.5.0
4c367f
- bump release to assure upgrade path from 3.0-8.4.0
4c367f
- Related: #1934415
be3dc7
be3dc7
* Fri Feb 19 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.2.2-1
be3dc7
- update to the latest content of https://github.com/containers/skopeo/tree/release-1.2
be3dc7
  (https://github.com/containers/skopeo/commit/e72dd9c)
be3dc7
- Related: #1883490
be3dc7
be3dc7
* Thu Feb 18 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.2.1-13
be3dc7
- rename shortnames.conf to 000-shortnames.conf to assure evaluation order
be3dc7
- Related: #1883490
be3dc7
be3dc7
* Thu Feb 18 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.2.1-12
be3dc7
- update to the latest content of https://github.com/containers/skopeo/tree/release-1.2
be3dc7
  (https://github.com/containers/skopeo/commit/3abb778)
be3dc7
- Related: #1883490
be3dc7
be3dc7
* Mon Feb 15 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.2.1-11
be3dc7
- update to the latest content of https://github.com/containers/skopeo/tree/release-1.2
be3dc7
  (https://github.com/containers/skopeo/commit/b4210c0)
be3dc7
- Resolves: #1914884
be3dc7
be3dc7
* Sat Feb 06 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.2.1-10
be3dc7
- update to the latest content of https://github.com/containers/skopeo/tree/release-1.2
be3dc7
  (https://github.com/containers/skopeo/commit/6c0e35a)
be3dc7
- Related: #1883490
be3dc7
be3dc7
* Tue Feb 02 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.2.1-9
be3dc7
- update to the latest content of https://github.com/containers/skopeo/tree/release-1.2
be3dc7
  (https://github.com/containers/skopeo/commit/a05ddb8)
be3dc7
- Related: #1883490
be3dc7
be3dc7
* Sun Jan 31 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.2.1-8
be3dc7
- define 8.4.0 branch for podman (v3.0)
be3dc7
- remove redundant source file
be3dc7
- Related: #1883490
be3dc7
be3dc7
* Sun Jan 31 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.2.1-7
be3dc7
- update to the latest content of https://github.com/containers/skopeo/tree/release-1.2
be3dc7
  (https://github.com/containers/skopeo/commit/2e90a8a)
be3dc7
- Related: #1883490
be3dc7
be3dc7
* Tue Jan 19 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.2.1-6
be3dc7
- fix rhel-shortnames.conf generation (avoid duplicates and records
be3dc7
  with invalid URL)
be3dc7
- Related: #1883490
be3dc7
be3dc7
* Mon Jan 18 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.2.1-5
be3dc7
- assure "NET_RAW" is always defined
be3dc7
- support rhel-shortnames.conf with generated shortname/registry aliases
be3dc7
- Related: #1883490
be3dc7
be3dc7
* Fri Jan 15 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.2.1-4
be3dc7
- add "NET_RAW" default capability
be3dc7
- Related: #1883490
be3dc7
be3dc7
* Tue Jan 12 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.2.1-3
be3dc7
- ship preconfigured /etc/containers/registries.d/ files with containers-common
be3dc7
- Related: #1883490
be3dc7
be3dc7
* Tue Jan 12 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.2.1-2
be3dc7
- add shortnames from https://github.com/containers/shortnames
be3dc7
- Related: #1883490
be3dc7
be3dc7
* Mon Jan 11 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.2.1-1
be3dc7
- update vendored component versions
be3dc7
- update to the latest content of https://github.com/containers/skopeo/tree/release-1.2
be3dc7
  (https://github.com/containers/skopeo/commit/2e90a8a)
be3dc7
- Related: #1883490
be3dc7
be3dc7
* Fri Jan 08 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.2.0-6
be3dc7
- gating tests fixes and bump podman branch
be3dc7
- Related: #1883490
be3dc7
be3dc7
* Tue Dec 08 2020 Jindrich Novy <jnovy@redhat.com> - 1:1.2.0-5
be3dc7
- still use arch exclude as the go_arches macro is broken for 8.4
be3dc7
- Related: #1883490
be3dc7
be3dc7
* Wed Dec 02 2020 Jindrich Novy <jnovy@redhat.com> - 1:1.2.0-4
be3dc7
- unify vendored branches
be3dc7
- add validation script
be3dc7
- Related: #1883490
be3dc7
be3dc7
* Thu Nov 05 2020 Jindrich Novy <jnovy@redhat.com> - 1:1.2.0-3
be3dc7
- simplify spec file
be3dc7
- use short commit ID in tarball name
be3dc7
- Related: #1883490
be3dc7
be3dc7
* Fri Oct 23 2020 Jindrich Novy <jnovy@redhat.com> - 1:1.2.0-2
be3dc7
- synchronize with stream-container-tools-rhel8
be3dc7
- Related: #1883490
be3dc7
be3dc7
* Thu Oct 22 2020 Jindrich Novy <jnovy@redhat.com> - 1:1.2.0-1
be3dc7
- synchronize with stream-container-tools-rhel8
be3dc7
- Related: #1883490
be3dc7
be3dc7
* Tue Aug 11 2020 Jindrich Novy <jnovy@redhat.com> - 1:1.1.1-3
be3dc7
- propagate proper CFLAGS to CGO_CFLAGS to assure code hardening and optimization
be3dc7
- Related: #1821193
be3dc7
be3dc7
* Wed Jul 29 2020 Jindrich Novy <jnovy@redhat.com> - 1:1.1.1-2
be3dc7
- drop applied patches
be3dc7
- Related: #1821193
be3dc7
be3dc7
* Wed Jul 29 2020 Jindrich Novy <jnovy@redhat.com> - 1:1.1.1-1
be3dc7
- update to https://github.com/containers/skopeo/releases/tag/v1.1.1
be3dc7
- Related: #1821193
be3dc7
be3dc7
* Thu Jul 23 2020 Eduardo Santiago <santiago@redhat.com> - 1:1.1.0-3
be3dc7
- fix broken gating tests: docker unexpectedly removed htpasswd from
be3dc7
  their 'registry:2' image, so we now use htpasswd from httpd-tools on host.
be3dc7
be3dc7
* Fri Jul 17 2020 Jindrich Novy <jnovy@redhat.com> - 1:1.1.0-2
be3dc7
- fix "CVE-2020-14040 skopeo: golang.org/x/text: possibility to trigger an infinite loop in encoding/unicode could lead to crash [rhel-8]"
be3dc7
- Resolves: #1854719
be3dc7
be3dc7
* Fri Jun 19 2020 Jindrich Novy <jnovy@redhat.com> - 1:1.1.0-1
be3dc7
- update to https://github.com/containers/skopeo/releases/tag/v1.1.0
be3dc7
- Related: #1821193
be3dc7
be3dc7
* Wed Jun 10 2020 Jindrich Novy <jnovy@redhat.com> - 1:1.0.0-2
be3dc7
- exclude i686 arch
be3dc7
- Related: #1821193
be3dc7
be3dc7
* Tue May 19 2020 Jindrich Novy <jnovy@redhat.com> - 1:1.0.0-1
be3dc7
- update to https://github.com/containers/skopeo/releases/tag/v1.0.0
be3dc7
- Related: #1821193
be3dc7
be3dc7
* Tue May 12 2020 Jindrich Novy <jnovy@redhat.com> - 1:0.2.0-6
be3dc7
- synchronize containter-tools 8.3.0 with 8.2.1
be3dc7
- Related: #1821193
be3dc7
be3dc7
* Mon Apr 06 2020 Jindrich Novy <jnovy@redhat.com> - 1:0.1.41-1
be3dc7
- update to 0.1.41
be3dc7
- Related: #1821193
be3dc7
be3dc7
* Fri Mar 06 2020 Jindrich Novy <jnovy@redhat.com> - 1:0.1.40-10
be3dc7
- modify registries.conf default configuration to be more secure by default
be3dc7
- Resolves: #1810053
be3dc7
be3dc7
* Fri Feb 14 2020 Jindrich Novy <jnovy@redhat.com> - 1:0.1.40-9
be3dc7
- Fix CVE-2020-1702.
be3dc7
- Resolves: #1801922
be3dc7
be3dc7
* Thu Jan 02 2020 Jindrich Novy <jnovy@redhat.com> - 1:0.1.40-8
be3dc7
- change the search order of registries and remove quay.io (#1784267)
be3dc7
be3dc7
* Wed Dec 11 2019 Jindrich Novy <jnovy@redhat.com> - 1:0.1.40-7
be3dc7
- compile in FIPS mode
be3dc7
- Related: RHELPLAN-25139
be3dc7
be3dc7
* Mon Dec 09 2019 Jindrich Novy <jnovy@redhat.com> - 1:0.1.40-6
be3dc7
- be sure to use golang >= 1.12.12-4
be3dc7
- Related: RHELPLAN-25139
be3dc7
be3dc7
* Wed Dec 04 2019 Jindrich Novy <jnovy@redhat.com> - 1:0.1.40-5
be3dc7
- fix file list
be3dc7
- Related: RHELPLAN-25139
be3dc7
be3dc7
* Wed Dec 04 2019 Jindrich Novy <jnovy@redhat.com> - 1:0.1.40-4
be3dc7
- fix symlinks in /usr/share/rhel/secrets and make
be3dc7
  subscription-manager soft dependency to make them work
be3dc7
- Related: RHELPLAN-25139
be3dc7
be3dc7
* Thu Nov 28 2019 Jindrich Novy <jnovy@redhat.com> - 1:0.1.40-3
be3dc7
- rebuild because of CVE-2019-9512 and CVE-2019-9514
be3dc7
- Resolves: #1772132, #1772137
be3dc7
be3dc7
* Wed Nov 20 2019 Jindrich Novy <jnovy@redhat.com> - 1:0.1.40-2
be3dc7
- comment out mountopt option in order to fix gating tests
be3dc7
  see bug 1769769
be3dc7
- Related: RHELPLAN-25139
be3dc7
be3dc7
* Wed Nov 06 2019 Jindrich Novy <jnovy@redhat.com> - 1:0.1.40-1
be3dc7
- update to 0.1.40
be3dc7
- Related: RHELPLAN-25139
be3dc7
be3dc7
* Thu Sep 12 2019 Jindrich Novy <jnovy@redhat.com> - 1:0.1.37-5
be3dc7
- Fix CVE-2019-10214 (#1734651).
be3dc7
be3dc7
* Thu Aug 15 2019 Jindrich Novy <jnovy@redhat.com> - 1:0.1.37-4
be3dc7
- fix permissions of rhel/secrets
be3dc7
  Resolves: #1691543
be3dc7
be3dc7
* Fri Jun 14 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1:0.1.37-3
be3dc7
- Resolves: #1719994 - add registry.access.redhat.com to registries.conf
be3dc7
be3dc7
* Fri Jun 14 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1:0.1.37-2
be3dc7
- Resolves: #1721247 - enable fips mode
be3dc7
be3dc7
* Fri Jun 14 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1:0.1.37-1
be3dc7
- Resolves: #1720654 - rebase to v0.1.37
be3dc7
be3dc7
* Tue Jun  4 2019 Eduardo Santiago <santiago@redhat.com> - 1:0.1.36-1.git6307635
be3dc7
- built upstream tag v0.1.36, including system tests
be3dc7
be3dc7
* Tue Apr 30 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1:0.1.32-4.git1715c90
be3dc7
- Fixes @openshift/machine-config-operator#669
be3dc7
- install /etc/containers/oci/hooks.d and /etc/containers/certs.d
be3dc7
be3dc7
* Tue Dec 18 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 1:0.1.32-3.git1715c90
be3dc7
- rebase
be3dc7
be3dc7
* Mon Dec 17 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 1:0.1.32-2.git1715c90
be3dc7
- re-enable debuginfo
be3dc7
be3dc7
* Mon Dec 17 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 1:0.1.31-12.gitb0b750d
be3dc7
- go tools not in scl anymore
be3dc7
be3dc7
* Fri Sep 21 2018 Lokesh Mandvekar <lsm5@redhat.com> - 1:0.1.31-11.gitb0b750d
be3dc7
- Resolves: #1615609
be3dc7
- built upstream tag v0.1.31
be3dc7
be3dc7
* Thu Aug 23 2018 Lokesh Mandvekar <lsm5@redhat.com> - 1:0.1.31-10.git0144aa8
be3dc7
- Resolves: #1616069 - correct order of registries
be3dc7
be3dc7
* Mon Aug 13 2018 Lokesh Mandvekar <lsm5@redhat.com> - 1:0.1.31-9.git0144aa8
be3dc7
- Resolves: #1615609 - rebuild with gobuild tag 'no_openssl'
be3dc7
be3dc7
* Fri Aug 10 2018 Lokesh Mandvekar <lsm5@redhat.com> - 1:0.1.31-8.git0144aa8
be3dc7
- Resolves: #1614934 - containers-common soft dep on slirp4netns and
be3dc7
fuse-overlayfs
be3dc7
be3dc7
* Wed Aug 08 2018 Lokesh Mandvekar <lsm5@redhat.com> - 1:0.1.31-7.git0144aa8
be3dc7
- build with %%gobuild
be3dc7
- use scl-ized go-toolset as dep
be3dc7
- disable i686 builds temporarily because of go-toolset issues
be3dc7
be3dc7
* Wed Jul 18 2018 dwalsh <dwalsh@redhat.com> - 1:0.1.31-6.git0144aa8
be3dc7
- add statx to seccomp.json to containers-config
be3dc7
- add seccomp.json to containers-config
be3dc7
be3dc7
* Tue Jul 03 2018 Lokesh Mandvekar <lsm5@redhat.com> - 1:0.1.31-4.git0144aa8
be3dc7
- Resolves: #1597629 - handle dependency issue for skopeo-containers
be3dc7
- rename skopeo-containers to containers-common as in Fedora
be3dc7
be3dc7
* Mon Jun 25 2018 Lokesh Mandvekar <lsm5@redhat.com> - 1:0.1.31-3.git0144aa8
be3dc7
- Resolves: #1583762 - btrfs dep removal needs exclude_graphdriver_btrfs
be3dc7
buildtag
be3dc7
be3dc7
* Wed Jun 13 2018 Lokesh Mandvekar <lsm5@redhat.com> - 1:0.1.31-2.git0144aa8
be3dc7
- correct bz in previous changelog
be3dc7
be3dc7
* Wed Jun 13 2018 Lokesh Mandvekar <lsm5@redhat.com> - 1:0.1.31-1.git0144aa8
be3dc7
- Resolves: #1580938 - resolve FTBFS
be3dc7
- Resolves: #1583762 - remove dependency on btrfs-progs-devel
be3dc7
- bump to v0.1.31 (from master)
be3dc7
- built commit ca3bff6
be3dc7
- use go-toolset deps for rhel8
be3dc7
be3dc7
* Tue Apr 03 2018 baude <bbaude@redhat.com> - 0.1.29-5.git7add6fc
be3dc7
- Fix small typo in registries.conf
be3dc7
be3dc7
* Tue Apr 3 2018 dwalsh <dwalsh@redhat.com> - 0.1.29-4.git
be3dc7
- Add policy.json.5
be3dc7
be3dc7
* Mon Apr 2 2018 dwalsh <dwalsh@redhat.com> - 0.1.29-3.git
be3dc7
- Add registries.conf
be3dc7
be3dc7
* Mon Apr 2 2018 dwalsh <dwalsh@redhat.com> - 0.1.29-2.git
be3dc7
- Add registries.conf man page
be3dc7
be3dc7
* Thu Mar 29 2018 dwalsh <dwalsh@redhat.com> - 0.1.29-1.git
be3dc7
- bump to 0.1.29-1
be3dc7
- Updated containers/image
be3dc7
    docker-archive generates docker legacy compatible images
be3dc7
    Do not create $DiffID subdirectories for layers with no configs
be3dc7
    Ensure the layer IDs in legacy docker/tarfile metadata are unique
be3dc7
    docker-archive: repeated layers are symlinked in the tar file
be3dc7
    sysregistries: remove all trailing slashes
be3dc7
    Improve docker/* error messages
be3dc7
    Fix failure to make auth directory
be3dc7
    Create a new slice in Schema1.UpdateLayerInfos
be3dc7
    Drop unused storageImageDestination.{image,systemContext}
be3dc7
    Load a *storage.Image only once in storageImageSource
be3dc7
    Support gzip for docker-archive files
be3dc7
    Remove .tar extension from blob and config file names
be3dc7
    ostree, src: support copy of compressed layers
be3dc7
    ostree: re-pull layer if it misses uncompressed_digest|uncompressed_size
be3dc7
    image: fix docker schema v1 -> OCI conversion
be3dc7
    Add /etc/containers/certs.d as default certs directory
be3dc7
be3dc7
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.28-2.git0270e56
be3dc7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
be3dc7
be3dc7
* Fri Feb 2 2018 dwalsh <dwalsh@redhat.com> - 0.1.28-1.git
be3dc7
- Vendor in fixed libraries in containers/image and containers/storage
be3dc7
be3dc7
* Tue Nov 21 2017 dwalsh <dwalsh@redhat.com> - 0.1.27-1.git
be3dc7
- Fix Conflicts to Obsoletes
be3dc7
- Add better docs to man pages.
be3dc7
- Use credentials from authfile for skopeo commands
be3dc7
- Support storage="" in /etc/containers/storage.conf
be3dc7
- Add global --override-arch and --override-os options
be3dc7
be3dc7
* Wed Nov 15 2017 dwalsh <dwalsh@redhat.com> - 0.1.25-2.git2e8377a7
be3dc7
-  Add manifest type conversion to skopeo copy
be3dc7
-  User can select from 3 manifest types: oci, v2s1, or v2s2
be3dc7
-   e.g skopeo copy --format v2s1 --compress-blobs docker-archive:alp.tar dir:my-directory
be3dc7
be3dc7
* Wed Nov 8 2017 dwalsh <dwalsh@redhat.com> - 0.1.25-2.git7fd6f66b
be3dc7
- Force storage.conf to default to overlay
be3dc7
be3dc7
* Wed Nov 8 2017 dwalsh <dwalsh@redhat.com> - 0.1.25-1.git7fd6f66b
be3dc7
-   Fix CVE in tar-split
be3dc7
-   copy: add shared blob directory support for OCI sources/destinations
be3dc7
-   Aligning Docker version between containers/image and skopeo
be3dc7
-   Update image-tools, and remove the duplicate Sirupsen/logrus vendor
be3dc7
-   makefile: use -buildmode=pie
be3dc7
  
be3dc7
* Tue Nov 7 2017 dwalsh <dwalsh@redhat.com> - 0.1.24-8.git28d4e08a
be3dc7
- Add /usr/share/containers/mounts.conf
be3dc7
be3dc7
* Sun Oct 22 2017 dwalsh <dwalsh@redhat.com> - 0.1.24-7.git28d4e08a
be3dc7
- Bug fixes
be3dc7
- Update to release
be3dc7
be3dc7
* Tue Oct 17 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1.24-6.dev.git28d4e08
be3dc7
- skopeo-containers conflicts with docker-rhsubscription <= 2:1.13.1-31
be3dc7
be3dc7
* Tue Oct 17 2017 dwalsh <dwalsh@redhat.com> - 0.1.24-5.dev.git28d4e08
be3dc7
- Add rhel subscription secrets data to skopeo-containers
be3dc7
be3dc7
* Thu Oct 12 2017 dwalsh <dwalsh@redhat.com> - 0.1.24-4.dev.git28d4e08
be3dc7
- Update container/storage.conf and containers-storage.conf man page
be3dc7
- Default override to true so it is consistent with RHEL.
be3dc7
be3dc7
* Tue Oct 10 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1.24-3.dev.git28d4e08
be3dc7
- built commit 28d4e08
be3dc7
be3dc7
* Mon Sep 18 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1.24-2.dev.git875dd2e
be3dc7
- built commit 875dd2e
be3dc7
- Resolves: gh#416
be3dc7
be3dc7
* Tue Sep 12 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1.24-1.dev.gita41cd0
be3dc7
- bump to 0.1.24-dev
be3dc7
- correct a prior bogus date
be3dc7
- fix macro in comment warning
be3dc7
be3dc7
* Mon Aug 21 2017 dwalsh <dwalsh@redhat.com> - 0.1.23-6.dev.git1bbd87
be3dc7
- Change name of storage.conf.5 man page to containers-storage.conf.5, since
be3dc7
it conflicts with inn package
be3dc7
- Also remove default to "overalay" in the configuration, since we should
be3dc7
- allow containers storage to pick the best default for the platform.
be3dc7
be3dc7
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.23-5.git1bbd87f
be3dc7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
be3dc7
be3dc7
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 0.1.23-4.git1bbd87f
be3dc7
- Rebuild with binutils fix for ppc64le (#1475636)
be3dc7
be3dc7
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.23-3.git1bbd87f
be3dc7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
be3dc7
be3dc7
* Tue Jul 25 2017 dwalsh <dwalsh@redhat.com> - 0.1.23-2.dev.git1bbd87
be3dc7
- Fix storage.conf man page to be storage.conf.5.gz so that it works.
be3dc7
be3dc7
* Fri Jul 21 2017 dwalsh <dwalsh@redhat.com> - 0.1.23-1.dev.git1bbd87
be3dc7
- Support for OCI V1.0 Images
be3dc7
- Update to image-spec v1.0.0 and revendor
be3dc7
- Fixes for authentication
be3dc7
be3dc7
* Sat Jul 01 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1.22-2.dev.git5d24b67
be3dc7
- Epoch: 1 for CentOS as CentOS Extras' build already has epoch set to 1
be3dc7
be3dc7
* Wed Jun 21 2017 dwalsh <dwalsh@redhat.com> - 0.1.22-1.dev.git5d24b67
be3dc7
-  Give more useful help when explaining usage
be3dc7
-  Also specify container-storage as a valid transport
be3dc7
-  Remove docker reference wherever possible
be3dc7
-  vendor in ostree fixes
be3dc7
be3dc7
* Thu Jun 15 2017 dwalsh <dwalsh@redhat.com> - 0.1.21-1.dev.git0b73154
be3dc7
- Add support for storage.conf and storage-config.5.md from github container storage package
be3dc7
- Bump to the latest version of skopeo
be3dc7
- vendor.conf: add ostree-go
be3dc7
- it is used by containers/image for pulling images to the OSTree storage.
be3dc7
- fail early when image os does not match host os
be3dc7
- Improve documentation on what to do with containers/image failures in test-skopeo
be3dc7
-   We now have the docker-archive: transport
be3dc7
-   Integration tests with built registries also exist
be3dc7
- Support /etc/docker/certs.d
be3dc7
- update image-spec to v1.0.0-rc6
be3dc7
be3dc7
* Tue May 23 2017 bbaude <bbaude@redhat.com> - 0.1.20-1.dev.git0224d8c
be3dc7
- BZ #1380078 - New release
be3dc7
be3dc7
* Tue Apr 25 2017 bbaude <bbaude@redhat.com> - 0.1.19-2.dev.git0224d8c
be3dc7
- No golang support for ppc64.  Adding exclude arch. BZ #1445490
be3dc7
be3dc7
* Tue Feb 28 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1.19-1.dev.git0224d8c
be3dc7
- bump to v0.1.19-dev
be3dc7
- built commit 0224d8c
be3dc7
be3dc7
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.17-3.dev.git2b3af4a
be3dc7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
be3dc7
be3dc7
* Sat Dec 10 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.1.17-2.dev.git2b3af4a
be3dc7
- Rebuild for gpgme 1.18
be3dc7
be3dc7
* Tue Dec 06 2016 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1.17-1.dev.git2b3af4a
be3dc7
- bump to 0.1.17-dev
be3dc7
be3dc7
* Fri Nov 04 2016 Antonio Murdaca <runcom@fedoraproject.org> - 0.1.14-6.git550a480
be3dc7
- Fix BZ#1391932
be3dc7
be3dc7
* Tue Oct 18 2016 Antonio Murdaca <runcom@fedoraproject.org> - 0.1.14-5.git550a480
be3dc7
- Conflicts with atomic in skopeo-containers
be3dc7
be3dc7
* Wed Oct 12 2016 Antonio Murdaca <runcom@fedoraproject.org> - 0.1.14-4.git550a480
be3dc7
- built skopeo-containers
be3dc7
be3dc7
* Wed Sep 21 2016 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1.14-3.gitd830391
be3dc7
- built mtrmac/integrate-all-the-things commit d830391
be3dc7
be3dc7
* Thu Sep 08 2016 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1.14-2.git362bfc5
be3dc7
- built commit 362bfc5
be3dc7
be3dc7
* Thu Aug 11 2016 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1.14-1.gitffe92ed
be3dc7
- build origin/master commit ffe92ed
be3dc7
be3dc7
* Thu Jul 21 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.13-6
be3dc7
- https://fedoraproject.org/wiki/Changes/golang1.7
be3dc7
be3dc7
* Tue Jun 21 2016 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1.13-5
be3dc7
- include go-srpm-macros and compiler(go-compiler) in fedora conditionals
be3dc7
- define %%gobuild if not already
be3dc7
- add patch to build with older version of golang
be3dc7
be3dc7
* Thu Jun 02 2016 Antonio Murdaca <runcom@fedoraproject.org> - 0.1.13-4
be3dc7
- update to v0.1.12
be3dc7
be3dc7
* Tue May 31 2016 Antonio Murdaca <runcom@fedoraproject.org> - 0.1.12-3
be3dc7
- fix go build source path
be3dc7
be3dc7
* Fri May 27 2016 Antonio Murdaca <runcom@fedoraproject.org> - 0.1.12-2
be3dc7
- update to v0.1.12
be3dc7
be3dc7
* Tue Mar 08 2016 Antonio Murdaca <runcom@fedoraproject.org> - 0.1.11-1
be3dc7
- update to v0.1.11
be3dc7
be3dc7
* Tue Mar 08 2016 Antonio Murdaca <runcom@fedoraproject.org> - 0.1.10-1
be3dc7
- update to v0.1.10
be3dc7
- change runcom -> projectatomic
be3dc7
be3dc7
* Mon Feb 29 2016 Antonio Murdaca <runcom@fedoraproject.org> - 0.1.9-1
be3dc7
- update to v0.1.9
be3dc7
be3dc7
* Mon Feb 29 2016 Antonio Murdaca <runcom@fedoraproject.org> - 0.1.8-1
be3dc7
- update to v0.1.8
be3dc7
be3dc7
* Mon Feb 22 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-2
be3dc7
- https://fedoraproject.org/wiki/Changes/golang1.6
be3dc7
be3dc7
* Fri Jan 29 2016 Antonio Murdaca <runcom@redhat.com> - 0.1.4
be3dc7
- First package for Fedora