Commit Graph

72 Commits

Author SHA1 Message Date
Robert-André Mauchin
c2a3244ca4 Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 2022-06-18 12:23:53 +02:00
Debarshi Ray
b3f0d3b599 Add 'BuildRequires: golang(golang.org/x/crypto/ssh/terminal)'
Not having golang.org/x/crypto/ssh/terminal explicitly listed as a
BuildRequires isn't breaking the build at the moment.  However, since
it's a direct dependency, and Toolbx is written in Go, it's good to
explicitly list it due to the statically linked nature of Go binaries.
It will make it easier to gauge the fallout from a security bug.

There's no need to do a build just for this.
2022-05-18 00:07:18 +02:00
Debarshi Ray
da55cfac4e Add 'BuildRequires: golang(github.com/spf13/viper)'
Earlier Viper was being pulled in by Cobra, and hence wasn't explicitly
listed as a BuildRequires.  However, Cobra 1.4.0 removed the Viper
dependency [1], so it needs to be explicitly listed.

There's no need to do a build just for this.

[1] Cobra commit 5b2b9e9f61d36ccb
    https://github.com/spf13/cobra/issues/1597
2022-05-17 23:29:44 +02:00
Debarshi Ray
0329ca33cc Revert back to referring to go-md2man as go-md2man
The 'go-md2man' virtual Provides was briefly lost after the
golang-github-cpuguy83-go-md2man package was renamed to
golang-github-cpuguy83-md2man.  The virtual Provides has since been
restored [1], and go-md2man is being used as a standalone binary tool,
not as a Go package that's imported into Toolbx's source code.  Hence,
it makes sense to refer to the tool as go-md2man, and not by it's
import path.

This reverts commit 701836afca.

There's no need to do a build just for this.

[1] golang-github-cpuguy83-md2man commit c085b15e5acd8d07
    https://src.fedoraproject.org/rpms/golang-github-cpuguy83-md2man/c/c085b15e5acd8d07
2022-05-17 18:33:08 +02:00
Fedora Release Engineering
b130695e6f - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 02:54:24 +00:00
Ondřej Míchal
3a1aa2f691 Add upstream patch fixing doubled error messages 2022-01-09 23:13:42 +02:00
Debarshi Ray
9bebde5bb6 BuildRequire only systemd-rpm-macros
... as recommended by the Fedora packaging guidelines:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Tmpfiles.d/
https://pagure.io/packaging-committee/issue/824
2021-12-10 11:24:35 +01:00
Debarshi Ray
ca91d5a3eb Style fix
No need to issue a build just for this.
2021-12-10 10:05:18 +01:00
Debarshi Ray
deb9c1e8e6 Update URL to point to the website
No need to issue a build just for this.
2021-12-10 05:11:42 +01:00
Debarshi Ray
88b0cbf084 Specify the minimum Meson version
No need to issue a build just for this.
2021-12-10 05:09:40 +01:00
Debarshi Ray
08f687ebe2 Update to 0.0.99.3 2021-12-10 04:47:38 +01:00
Debarshi Ray
70f5d2352c Restore backwards compatibility with existing containers
https://bugzilla.redhat.com/show_bug.cgi?id=1995439
2021-10-26 00:22:22 +02:00
Debarshi Ray
01cc5e6ecc Ensure that binaries are run against their build-time ABI
https://bugzilla.redhat.com/show_bug.cgi?id=1995439
2021-10-22 02:43:56 +02:00
Oliver Gutierrez
c872492676
Rebuilt for gating 2021-09-13 16:02:32 +01:00
Oliver Gutierrez
c41104fe32
Rebuilt for gating tests 2021-09-09 09:37:58 +01:00
Oliver Gutierrez
482da6793f
Bumped version for rerun gating after updating the ansible playbooks 2021-08-23 19:26:50 +01:00
Oliver Gutierrez
a6a68d9aae
Version bump to build and check fedora gating 2021-08-20 11:30:18 +01:00
Oliver Gutierrez
28e8056771
Updated specfile for gating execution 2021-08-18 12:44:07 +01:00
Debarshi Ray
f8eb06d3a5 Require containers-common for ownership of %%{_sysconfdir}/containers 2021-08-18 01:01:24 +02:00
Oliver Gutierrez
10d00acf90
Updated to 0.0.99.2^3.git075b9a8d2779 snapshot 2021-08-09 19:11:49 +01:00
Oliver Gutierrez
8b5e951037
Updated to 0.0.99.2^2.git40fbd377ed0b snapshot 2021-07-29 14:27:25 +01:00
Oliver Gutierrez
afdd5f1cb8
Added missing configuration file 2021-07-28 17:54:13 +01:00
Oliver Gutierrez
906afe610c
Updated sources to 0.00.99.2^1.git9820550c82bb snapshot 2021-07-28 16:55:24 +01:00
Oliver Gutierrez
c6fdde6d4a
Added changelog entry for the update dependencies of -tests subpackage 2021-07-28 16:25:06 +01:00
Ondřej Míchal
a961891ea2 Update dependencies of -tests subpackage 2021-07-28 15:13:47 +00:00
Fedora Release Engineering
382aa99213 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 19:27:42 +00:00
Debarshi Ray
42c803ef25 Add bc and iproute to the toolbox-experience sub-package
No need to issue a build just for this.
2021-07-08 20:59:14 +02:00
Debarshi Ray
12df1ef16a Update to 0.0.99.2
Disable the %check section because 'go test ...' isn't working as it
is in the build environment.
2021-06-26 21:58:41 +02:00
Debarshi Ray
a88a4b95ce Tweak the Summary
No need to issue a build just for this.
2021-04-29 01:02:13 +02:00
Debarshi Ray
aba1d296b5 Update to 0.0.99.1 2021-02-23 20:19:10 +01:00
Fedora Release Engineering
61252314d8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 22:07:14 +00:00
Debarshi Ray
07c5601e0b Update to 0.0.99 2021-01-12 14:16:48 +01:00
Debarshi Ray
12f33fed75 Harden the binary by using the same CGO_CFLAGS as on RHEL 8 2021-01-11 12:58:00 +01:00
Debarshi Ray
800ec3712d Update to 0.0.98.1 2021-01-07 20:36:04 +01:00
Debarshi Ray
0e1027a121 Update to 0.0.98 2021-01-05 18:29:31 +01:00
Ondřej Míchal
8803d58154 Tweak the description
No need to issue a build just for this.
2020-11-25 22:49:47 +01:00
Ondřej Míchal
61caa93712 Move krb5-libs to -experience, and update the list of packages
The krb5-libs package is necessary to ensure the presence of the
/etc/krb5.conf.d directory with the correct permissions. However, it's
not strictly necessary and toolbox(1) can work without it.

https://src.fedoraproject.org/rpms/toolbox/pull-request/4
2020-11-25 22:08:30 +01:00
Debarshi Ray
c45736f5a2 Update to 0.0.97 2020-11-03 20:55:50 +01:00
Debarshi Ray
19102e8caf Update to 0.0.96 2020-10-01 20:25:44 +02:00
Debarshi Ray
a463b09a8e Update to 0.0.95 2020-08-30 22:56:44 +02:00
Debarshi Ray
f9e5eff5aa Update to 0.0.94
Based on code written by Ondřej Míchal.
2020-08-24 20:01:25 +02:00
Fedora Release Engineering
adbd3c3842 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 12:41:16 +00:00
Debarshi Ray
d3ce957850 Update to 0.0.93
The test suite has been temporarily disabled because ShellCheck 0.7.1
triggers SC2086 for some unquoted variables. It should be re-enabled as
soon as it's fixed upstream.
2020-07-25 11:48:27 +02:00
Debarshi Ray
795a1681f9 Update to 0.0.92 2020-07-03 16:08:39 +02:00
Debarshi Ray
52cbc50450 Fix the 'toolbox --version' output
Even though the actual release is 0.0.91, 'toolbox --version' was
showing 0.0.90.
2020-07-03 15:50:01 +02:00
Harry Míchal
ba60453d21 Update to 0.0.91
Toolbox is now written in Go, so this is no longer a noarch package.

Unlike idiomatic Go code-bases, Toolbox uses the Meson build system to
check for additional non-Go dependencies and install various auxilliary
files. This leads to some interesting problems.

The Go toolchain doesn't play well with passing compiler and linker
flags via environment variables. The linker flags require a second
level of quoting, which leaves the build system without a quote level
to assign the flags to an environment variable like GOFLAGS.

This is one reason why Fedora doesn't have a RPM macro with only the
flags. The %{gobuild} RPM macro includes the entire 'go build ...'
invocation.

Therefore, the entire 'go build ...' invocation is swapped out using a
set of downstream patches (one for PPC64 because it doesn't use
'-buildmode pie', and another for other CPU architectures) to match
the %{gobuild} RPM macro.

The Go toolchain also doesn't like the LDFLAGS environment variable as
exported by Fedora's %{meson} RPM 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.

Finally, Fedora doesn't support Go modules when building Go programs.
This means that Go's semantic import versioning can't be used.

A conscious effort was made to minimize the use of exotic Go-specific
RPM macros to retain the legibility of the spec file. A proliferation
of such RPM macros is a hindrance for those who are not experts in the
ins and outs of packaging Go code in Fedora.

Some changes by Debarshi Ray.

https://src.fedoraproject.org/rpms/toolbox/pull-request/2
2020-06-30 19:17:15 +02:00
Debarshi Ray
1e0a40de3b Update URL to point at the latest extra-packages file for Fedora 33
There's no need to issue a build just for this.
2020-06-30 14:15:33 +02:00
Debarshi Ray
18da587cc5 Use %{name} instead of hard-coding 'toolbox'
There's no need to issue a build just for this.
2020-06-30 14:11:46 +02:00
Debarshi Ray
b836324e88 Remove ExclusiveArch to match Podman 2020-06-27 15:50:55 +02:00
Debarshi Ray
3e708619ba Toolbox no longer uses Buildah
No need to issue a build just for this.

Fallout from 86f63f7964
2020-06-27 15:45:40 +02:00