Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/toolbox.git#0e1027a12127ad6db8cc0152471a568d37ef7d88
This commit is contained in:
parent
73bace8002
commit
2ea595667e
1
.gitignore
vendored
1
.gitignore
vendored
@ -18,3 +18,4 @@
|
|||||||
/toolbox-0.0.95.tar.xz
|
/toolbox-0.0.95.tar.xz
|
||||||
/toolbox-0.0.96.tar.xz
|
/toolbox-0.0.96.tar.xz
|
||||||
/toolbox-0.0.97.tar.xz
|
/toolbox-0.0.97.tar.xz
|
||||||
|
/toolbox-0.0.98.tar.xz
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (toolbox-0.0.97.tar.xz) = e8c9b3713346a8e1ecabda4518af3955ca2b729a7a99000b15ac8275243d81d5eb53a8accb876f89ef7320ea8bc6e683547ae5cd027ee5e5054494032727f85d
|
SHA512 (toolbox-0.0.98.tar.xz) = 52b25633fcc660bfce4a3e7df591c272dec35f1cdb63a17b529d0402e195743e7f2f034495fc100dd7ad1b479520a8369923d794833de3e10232e46ebeb8be69
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
From d70e3b4bf7825e67f57373fcd6e8da5ed1d5b461 Mon Sep 17 00:00:00 2001
|
From e9bfc40bbbf7af1a20819b6840441cbe52a7d1b7 Mon Sep 17 00:00:00 2001
|
||||||
From: Debarshi Ray <rishi@fedoraproject.org>
|
From: Debarshi Ray <rishi@fedoraproject.org>
|
||||||
Date: Mon, 29 Jun 2020 17:57:47 +0200
|
Date: Mon, 29 Jun 2020 17:57:47 +0200
|
||||||
Subject: [PATCH] build: Make the build flags match Fedora's %{gobuild} for
|
Subject: [PATCH] build: Make the build flags match Fedora's %{gobuild} for
|
||||||
@ -19,27 +19,22 @@ exported by Fedora's %{meson} RPM macro.
|
|||||||
Note that these flags are only meant for the "ppc64" CPU architecture,
|
Note that these flags are only meant for the "ppc64" CPU architecture,
|
||||||
and should be kept updated to match Fedora's Go guidelines. Use
|
and should be kept updated to match Fedora's Go guidelines. Use
|
||||||
'rpm --eval "%{gobuild}"' to expand the %{gobuild} macro.
|
'rpm --eval "%{gobuild}"' to expand the %{gobuild} macro.
|
||||||
|
|
||||||
For some reason, when built on Koji, the final binary gets created as
|
|
||||||
../src/src instead of ../src/toolbox, but it doesn't happen when
|
|
||||||
building locally with 'rpmbuild -ba ...'. Hence it's necessary to
|
|
||||||
explicitly specify the name of the output binary.
|
|
||||||
---
|
---
|
||||||
src/go-build-wrapper | 3 ++-
|
src/go-build-wrapper | 3 ++-
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/src/go-build-wrapper b/src/go-build-wrapper
|
diff --git a/src/go-build-wrapper b/src/go-build-wrapper
|
||||||
index f061a1c5ccf6..8baaff53b329 100755
|
index 515e1d8a0670..8baaff53b329 100755
|
||||||
--- a/src/go-build-wrapper
|
--- a/src/go-build-wrapper
|
||||||
+++ b/src/go-build-wrapper
|
+++ b/src/go-build-wrapper
|
||||||
@@ -27,5 +27,6 @@ if ! cd "$1"; then
|
@@ -27,5 +27,6 @@ if ! cd "$1"; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
-go build -trimpath -ldflags "-extldflags '-Wl,--wrap,pthread_sigmask $4' -linkmode external -X github.com/containers/toolbox/pkg/version.currentVersion=$3" -o "$2"
|
-go build -trimpath -ldflags "-extldflags '-Wl,--wrap,pthread_sigmask $4' -linkmode external -X github.com/containers/toolbox/pkg/version.currentVersion=$3" -o "$2/toolbox"
|
||||||
+unset LDFLAGS
|
+unset LDFLAGS
|
||||||
+go build -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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--wrap,pthread_sigmask $4' -linkmode external -X github.com/containers/toolbox/pkg/version.currentVersion=$3" -a -v -x -o "$2/toolbox"
|
+go build -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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--wrap,pthread_sigmask $4' -linkmode external -X github.com/containers/toolbox/pkg/version.currentVersion=$3" -a -v -x -o "$2/toolbox"
|
||||||
exit "$?"
|
exit "$?"
|
||||||
--
|
--
|
||||||
2.25.4
|
2.29.2
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
From b1d265c4529eb0b23d10633326c075d54e07772f Mon Sep 17 00:00:00 2001
|
From d204528ce3b3c70727c12e1911d1c5562b56d474 Mon Sep 17 00:00:00 2001
|
||||||
From: Debarshi Ray <rishi@fedoraproject.org>
|
From: Debarshi Ray <rishi@fedoraproject.org>
|
||||||
Date: Mon, 29 Jun 2020 17:57:47 +0200
|
Date: Mon, 29 Jun 2020 17:57:47 +0200
|
||||||
Subject: [PATCH] build: Make the build flags match Fedora's %{gobuild}
|
Subject: [PATCH] build: Make the build flags match Fedora's %{gobuild}
|
||||||
@ -18,27 +18,22 @@ exported by Fedora's %{meson} RPM macro.
|
|||||||
Note that these flags are meant for every CPU architecture other than
|
Note that these flags are meant for every CPU architecture other than
|
||||||
PPC64, and should be kept updated to match Fedora's Go guidelines. Use
|
PPC64, and should be kept updated to match Fedora's Go guidelines. Use
|
||||||
'rpm --eval "%{gobuild}"' to expand the %{gobuild} macro.
|
'rpm --eval "%{gobuild}"' to expand the %{gobuild} macro.
|
||||||
|
|
||||||
For some reason, when built on Koji, the final binary gets created as
|
|
||||||
../src/src instead of ../src/toolbox, but it doesn't happen when
|
|
||||||
building locally with 'rpmbuild -ba ...'. Hence it's necessary to
|
|
||||||
explicitly specify the name of the output binary.
|
|
||||||
---
|
---
|
||||||
src/go-build-wrapper | 3 ++-
|
src/go-build-wrapper | 3 ++-
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/src/go-build-wrapper b/src/go-build-wrapper
|
diff --git a/src/go-build-wrapper b/src/go-build-wrapper
|
||||||
index f061a1c5ccf6..013a35e52a1a 100755
|
index 515e1d8a0670..013a35e52a1a 100755
|
||||||
--- a/src/go-build-wrapper
|
--- a/src/go-build-wrapper
|
||||||
+++ b/src/go-build-wrapper
|
+++ b/src/go-build-wrapper
|
||||||
@@ -27,5 +27,6 @@ if ! cd "$1"; then
|
@@ -27,5 +27,6 @@ if ! cd "$1"; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
-go build -trimpath -ldflags "-extldflags '-Wl,--wrap,pthread_sigmask $4' -linkmode external -X github.com/containers/toolbox/pkg/version.currentVersion=$3" -o "$2"
|
-go build -trimpath -ldflags "-extldflags '-Wl,--wrap,pthread_sigmask $4' -linkmode external -X github.com/containers/toolbox/pkg/version.currentVersion=$3" -o "$2/toolbox"
|
||||||
+unset LDFLAGS
|
+unset LDFLAGS
|
||||||
+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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--wrap,pthread_sigmask $4' -linkmode external -X github.com/containers/toolbox/pkg/version.currentVersion=$3" -a -v -x -o "$2/toolbox"
|
+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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--wrap,pthread_sigmask $4' -linkmode external -X github.com/containers/toolbox/pkg/version.currentVersion=$3" -a -v -x -o "$2/toolbox"
|
||||||
exit "$?"
|
exit "$?"
|
||||||
--
|
--
|
||||||
2.25.4
|
2.29.2
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
Name: toolbox
|
Name: toolbox
|
||||||
Version: 0.0.97
|
Version: 0.0.98
|
||||||
|
|
||||||
%global goipath github.com/containers/%{name}
|
%global goipath github.com/containers/%{name}
|
||||||
%gometa
|
%gometa
|
||||||
|
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Unprivileged development environment
|
Summary: Unprivileged development environment
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
@ -53,7 +53,7 @@ Requires: vte-profile
|
|||||||
|
|
||||||
%description support
|
%description support
|
||||||
The %{name}-support package contains all the required packages that are needed
|
The %{name}-support package contains all the required packages that are needed
|
||||||
to be installed in the container image to make it work with the %{name}.
|
to be installed in the OCI image to make it work with %{name}.
|
||||||
|
|
||||||
The %{name}-support package should be typically installed from the Dockerfile
|
The %{name}-support package should be typically installed from the Dockerfile
|
||||||
if the image isn't based on the fedora-toolbox image.
|
if the image isn't based on the fedora-toolbox image.
|
||||||
@ -171,6 +171,9 @@ ln -s src/pkg pkg
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 05 2021 Debarshi Ray <rishi@fedoraproject.org> - 0.0.98-1
|
||||||
|
- Update to 0.0.98
|
||||||
|
|
||||||
* Wed Nov 25 2020 Ondřej Míchal <harrymichal@seznam.cz> - 0.0.97-2
|
* Wed Nov 25 2020 Ondřej Míchal <harrymichal@seznam.cz> - 0.0.97-2
|
||||||
- Move krb5-libs from -support to -experience, and update the list of packages
|
- Move krb5-libs from -support to -experience, and update the list of packages
|
||||||
in -experience
|
in -experience
|
||||||
|
Loading…
Reference in New Issue
Block a user