Commit Graph

127 Commits

Author SHA1 Message Date
Troy Dawson
5743a0ef94 Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
2024-10-29 08:40:13 -07:00
Anderson Toshiyuki Sasaki
9a42304219 Remove unwanted subpackage captree
Resolves: RHEL-52861

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
2024-08-13 15:10:05 +02:00
Troy Dawson
7a76a0995c Bump release for June 2024 mass rebuild 2024-06-24 08:54:42 -07:00
koncpa
32149a3490 Enable RHEL gating for libcap
Resolves: RHEL-37592

Signed-off-by: Patrik Koncity <pkoncity@redhat.com>
2024-06-03 11:46:00 +02:00
Anderson Toshiyuki Sasaki
14364ed60c 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.

Resolves: RHEL-33498

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
2024-05-31 18:44:14 +02:00
Anderson Toshiyuki Sasaki
4901e2f8c2 Fix build with go 1.22 and build flags
- Fix incompatibility of the build with go 1.22
  Patches by Carlos Rodriguez-Fernandez <carlosrodrifernandez@gmail.com>
- Reenable PIE in the captree tool
  Patch by Carlos Rodriguez-Fernandez <carlosrodrifernandez@gmail.com>
- Use sbindir location provided by rpm
  Patches by Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

Related: RHEL-33498

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
2024-05-31 16:18:26 +02:00
Anderson Toshiyuki Sasaki
f5cb5d2a59 Add manpages for pam_cap and capability.conf
Patches by Carlos Rodriguez-Fernandez <carlosrodrifernandez@gmail.com>
from Fedora

Resolves: RHEL-31988

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
2024-05-30 14:21:44 +02: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
Igor Gnatenko
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
Igor Gnatenko
ffccb63de0
Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-03 18:15:34 +01:00
Fedora Release Engineering
e1524cd2a3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 01:14:51 +00:00
Fedora Release Engineering
6a551b81f5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 18:36:04 +00:00
Petr Písař
968a3b0f12 perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules> 2017-07-12 14:47:14 +02:00
Fedora Release Engineering
f17ad4c828 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 18:26:24 +00:00
Karsten Hopp
9f890cf8cf add -static subpackage (rhbz#1380251) 2016-12-15 11:11:16 +01:00