Commit graph

132 commits

Author SHA1 Message Date
Fedora Release Engineering
ea30cbed1e Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 13:27:58 +00:00
f165102918 Rebuilt for the bin-sbin merge
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
2024-07-09 13:29:27 +02:00
Anderson Toshiyuki Sasaki
f6cc8a0776 Include CGO_CFLAGS and CGO_LDFLAGS in the make command
Set the value of CGO_CFLAGS as the CFLAGS environment variable value and
CGO_LDFLAGS as the LDFLAGS value as part of the make command.

The goal is to include the hardening compilation flags when building the
Go binaries with CGO enabled.

Also add -compressdwarf=false to ldflags, make the build verbose by
adding the options -v -x, and force rebuilding by adding the -a option.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
2024-06-12 07:52:26 +02:00
Carlos Rodriguez-Fernandez
120b640485
update to 2.70 2024-05-20 08:31:30 -07:00
Carlos Rodriguez-Fernandez
98e4da842f
fix golang version dependency 2024-04-14 21:30:25 -07:00
bac8f5e536 Add compat sbin Provides
In preparation for https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin.
dwarftherapist requires /usr/sbin/setcap.
2024-04-14 15:31:35 +02:00
6b8df4ed5f Actually use the sbindir location provided by rpm
/usr/sbin was always used, which breaks build with
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin,
because then %_sbindir in %files doesn't match the file locations.
2024-04-09 15:02:43 +02:00
Carlos Rodriguez-Fernandez
deb9345a8c
make correction to the capability.conf manpage 2024-04-05 19:33:01 -07:00
Carlos Rodriguez-Fernandez
d105d70b42
reenable PIE in the captree tool 2024-04-05 19:32:56 -07:00
Carlos Rodriguez-Fernandez
9376ef2fc2
Fix incompatibility of the build with go 1.22. 2024-04-05 11:45:12 -07:00
Carlos Rodriguez-Fernandez
d219098669
Add manpages for pam_cap and capability.conf 2024-04-05 11:45:00 -07:00
Maxwell G
478088c996
Rebuild for golang 1.22.0 2024-02-11 23:29:35 +00:00
Fedora Release Engineering
eea486d298 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 01:39:48 +00:00
Fedora Release Engineering
027afa6099 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 03:42:20 +00:00
Carlos Rodriguez-Fernandez
9298823630
run captree smoke tests 2023-12-10 22:13:31 -07:00
Yaakov Selkowitz
a3e0bbb8fc Limit captree to %golang_arches
RHEL has dropped i686 from golang, without which the build of captree
(but not its manpage) is disabled.
2023-12-08 06:12:56 -05:00
Carlos Rodriguez-Fernandez
a0bcf8dd16
ignore known lint issues 2023-11-25 11:50:03 -07:00
Carlos Rodriguez-Fernandez
0476c6eb3a
fix gating 2023-11-23 22:36:32 -07:00
Dominik 'Rathann' Mierzejewski
34559e0319 Make file lists more explicit to avoid accidental ABI changes 2023-11-20 23:03:41 +01:00
Dominik 'Rathann' Mierzejewski
75bb5af48b upload sources and add GPG key to git 2023-11-20 21:54:28 +01:00
Carlos Rodriguez-Fernandez
e6e70f005a
update to 2.69 and modernize tests 2023-11-20 08:36:39 -07:00
Fedora Release Engineering
3d19cbc8ff Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 10:26:26 +00:00
Fedora Release Engineering
3978f4ec3e Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 15:57:00 +00:00
Fedora Release Engineering
bf07aacd92 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 17:25:35 +00:00
Fedora Release Engineering
57896f99c5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 15:52:02 +00:00
Fedora Release Engineering
57d7f730dc - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 11:03:05 +00:00
Peter Robinson
b7ee31eb11 Rebase distro flags patch 2021-02-14 22:50:31 +00:00
Peter Robinson
07c405388c cleanup .gitignore 2021-02-10 15:19:54 +00:00
Giuseppe Scrivano
0a116b22dc
Update to 0.2.48
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-02-10 15:41:35 +01:00
Fedora Release Engineering
33bb977157 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 16:45:18 +00:00
Peter Robinson
7408f6c23e Update to 0.2.46 2021-01-17 10:17:39 +00:00
Tom Stellard
787690e78f Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-05 01:30:35 +00:00
Karsten Hopp
366827aa94 update to 2.44
remove additional getpcaps manpage as it now included in the sources
update license tag

Signed-off-by: Karsten Hopp <karsten.hopp@targens.de>
2020-10-21 14:57:59 +02:00
Fedora Release Engineering
67e96608f2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 04:20:16 +00:00
Fedora Release Engineering
b6ff988c34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 08:42:34 +00:00
Fedora Release Engineering
e0653df68c - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 12:54:16 +00:00
Karsten Hopp
478085da04 enable gating
Signed-off-by: Karsten Hopp <karsten@redhat.com>
2019-02-04 14:18:45 +01:00
Karsten Hopp
0f144a5492 bump release 2019-02-04 13:59:06 +01:00
Karsten Hopp
949589eef0 bump release 2019-02-04 13:57:47 +01:00
Fedora Release Engineering
75d8e88352 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 06:46:51 +00:00
221793d6c4 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:11 +01:00
gitolite tester
2bfd2c8930 bump release 2019-01-28 12:39:34 +01:00
root
38b03e9432 add CI tests using the standard test interface (astepano) 2019-01-28 11:36:30 +00:00
Karsten Hopp
fbcc8c1370 update to 2.26
Signed-off-by: Karsten Hopp <karsten@redhat.com>
2019-01-15 13:53:18 +01:00
Fedora Release Engineering
d86fc23c40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 07:52:46 +00:00
Karsten Hopp
1943023aad bump release and rebuild 2018-07-02 16:29:53 +02:00
Susant Sahani
931be7aaf4 Adds tests according to the CI
justification
Adds tests according to the CI wiki specifically the standard test interface in the spec.
The playbook includes Tier1 level test cases that have been tested in the following contexts and
is passing reliably: Classic. Test logs are stored in the artifacts directory.
The following steps are used to execute the tests using the standard test interface:

Test enveronment
Make sure you have installed packages from the spec
```
ansible-2.4.1.0-2.fc28.noarch
python2-dnf-2.7.5-1.fc28.noarch
libselinux-python-2.7-2.fc28.x86_64
standard-test-roles-2.5-1.fc28.noarch
```

Run tests for Classic
Snip of the example test run for Classic tests:

```

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 0s
::   Duration: 0s
::   Assertions: 2 good, 0 bad
::   Assertions: 2 good, 0 bad
::   RESULT: PASS
::   RESULT: PASS

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Test
::   Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 15:49:17 ] :: [   LOG    ] :: Starting libcap tests ...
:: [ 15:49:17 ] :: [   LOG    ] :: Starting libcap tests ...
:: [ 15:49:17 ] :: [  BEGIN   ] :: Running '/usr/bin/test-libcap'
[==========] Running 1 test(s).
[ RUN      ] test_drop_cap_net_raw
[       OK ] test_drop_cap_net_raw
[==========] 1 test(s) run.
[  PASSED  ] 1 test(s).
:: [ 15:49:17 ] :: [   PASS   ] :: Command '/usr/bin/test-libcap' (Expected 0, got 0)
:: [ 15:49:17 ] :: [   PASS   ] :: Command '/usr/bin/test-libcap' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 0s
::   Duration: 0s
::   Assertions: 1 good, 0 bad
::   Assertions: 1 good, 0 bad
::   RESULT: PASS
::   RESULT: PASS
```
2018-06-26 15:50:59 +05:30
Karsten Hopp
b9b09f2bf4 Buildrequire gcc 2018-02-21 10:05:50 +01:00
Fedora Release Engineering
ee515425b1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 21:17:55 +00:00
ffccb63de0
Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-03 18:15:34 +01:00