Skip to content

Commit 7441236

Browse files
authored
Removed audit indirect dependency on finger (#1973)
* Removed audit indirect dependency on finger * Updated poackage versions in toolchain manifest for audit
1 parent 05784c9 commit 7441236

File tree

5 files changed

+19
-41
lines changed

5 files changed

+19
-41
lines changed

SPECS/audit/audit.spec

+7-10
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Summary: Kernel Audit Tool
55
Name: audit
66
Version: 3.0
7-
Release: 10%{?dist}
7+
Release: 11%{?dist}
88
Source0: https://people.redhat.com/sgrubb/audit/%{name}-%{version}-alpha8.tar.gz
99
Patch0: refuse-manual-stop.patch
1010
License: GPLv2+
@@ -15,15 +15,13 @@ Distribution: Mariner
1515
BuildRequires: krb5-devel
1616
BuildRequires: openldap
1717
BuildRequires: golang
18-
BuildRequires: tcp_wrappers-devel
1918
BuildRequires: libcap-ng-devel
2019
BuildRequires: swig
2120
BuildRequires: e2fsprogs-devel
2221
BuildRequires: systemd
2322
Requires: systemd
2423
Requires: krb5
2524
Requires: openldap
26-
Requires: tcp_wrappers
2725
Requires: libcap-ng
2826
Requires: gawk
2927
Requires: audit-libs
@@ -86,7 +84,6 @@ and libauparse.
8684
--sysconfdir=%{_sysconfdir} \
8785
--with-python=yes \
8886
--with-python3=yes \
89-
--with-libwrap \
9087
--enable-gssapi-krb5=yes \
9188
--with-libcap-ng=yes \
9289
--with-aarch64 \
@@ -173,12 +170,12 @@ make %{?_smp_mflags} check
173170
%{python3_sitelib}/*
174171

175172
%changelog
176-
* Wed Jan 19 2022 Henry Li <lihl@microsoft.com> - 3.0-10
177-
- Increment release for force republishing using golang 1.16.12
178-
179-
* Tue Nov 02 2021 Thomas Crain <[email protected]> - 3.0-9
180-
- Increment release for force republishing using golang 1.16.9
181-
173+
* Fri Jan 21 2022 Nick Samson <nisamson@microsoft.com> - 3.0-11
174+
- Removed libwrap support to remove dependency on finger
175+
* Wed Jan 19 2022 Henry Li <[email protected]> - 3.0-10
176+
- Increment release for force republishing using golang 1.16.12
177+
* Tue Nov 02 2021 Thomas Crain <[email protected]> - 3.0-9
178+
- Increment release for force republishing using golang 1.16.9
182179
* Fri Aug 06 2021 Nicolas Guibourge <[email protected]> 3.0-8
183180
- Increment release to force republishing using golang 1.16.7.
184181
* Tue Jun 08 2021 Henry Beberman <[email protected]> 3.0-7

toolkit/resources/manifests/package/toolchain_aarch64.txt

+6-12
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ alsa-lib-1.2.2-1.cm1.aarch64.rpm
22
alsa-lib-debuginfo-1.2.2-1.cm1.aarch64.rpm
33
alsa-lib-devel-1.2.2-1.cm1.aarch64.rpm
44
asciidoc-8.6.10-4.cm1.noarch.rpm
5-
audit-3.0-10.cm1.aarch64.rpm
6-
audit-debuginfo-3.0-10.cm1.aarch64.rpm
7-
audit-devel-3.0-10.cm1.aarch64.rpm
8-
audit-libs-3.0-10.cm1.aarch64.rpm
9-
audit-python-3.0-10.cm1.aarch64.rpm
5+
audit-3.0-11.cm1.aarch64.rpm
6+
audit-debuginfo-3.0-11.cm1.aarch64.rpm
7+
audit-devel-3.0-11.cm1.aarch64.rpm
8+
audit-libs-3.0-11.cm1.aarch64.rpm
9+
audit-python-3.0-11.cm1.aarch64.rpm
1010
autoconf-2.69-10.cm1.noarch.rpm
1111
automake-1.16.1-3.cm1.noarch.rpm
1212
bash-4.4.23-1.cm1.aarch64.rpm
@@ -92,9 +92,6 @@ filesystem-1.1-7.cm1.aarch64.rpm
9292
findutils-4.6.0-7.cm1.aarch64.rpm
9393
findutils-debuginfo-4.6.0-7.cm1.aarch64.rpm
9494
findutils-lang-4.6.0-7.cm1.aarch64.rpm
95-
finger-0.17-4.cm1.aarch64.rpm
96-
finger-debuginfo-0.17-4.cm1.aarch64.rpm
97-
finger-server-0.17-4.cm1.aarch64.rpm
9895
flex-2.6.4-6.cm1.aarch64.rpm
9996
flex-debuginfo-2.6.4-6.cm1.aarch64.rpm
10097
flex-devel-2.6.4-6.cm1.aarch64.rpm
@@ -357,7 +354,7 @@ python2-libcap-ng-0.7.9-3.cm1.aarch64.rpm
357354
python2-libs-2.7.18-8.cm1.aarch64.rpm
358355
python2-test-2.7.18-8.cm1.aarch64.rpm
359356
python2-tools-2.7.18-8.cm1.aarch64.rpm
360-
python3-audit-3.0-10.cm1.aarch64.rpm
357+
python3-audit-3.0-11.cm1.aarch64.rpm
361358
python3-cracklib-2.9.7-2.cm1.aarch64.rpm
362359
python3-gpg-1.13.1-6.cm1.aarch64.rpm
363360
python3-libcap-ng-0.7.9-3.cm1.aarch64.rpm
@@ -402,9 +399,6 @@ systemd-devel-239-38.cm1.aarch64.rpm
402399
systemd-lang-239-38.cm1.aarch64.rpm
403400
tar-1.32-2.cm1.aarch64.rpm
404401
tar-debuginfo-1.32-2.cm1.aarch64.rpm
405-
tcp_wrappers-7.6-9.cm1.aarch64.rpm
406-
tcp_wrappers-debuginfo-7.6-9.cm1.aarch64.rpm
407-
tcp_wrappers-devel-7.6-9.cm1.aarch64.rpm
408402
tdnf-2.1.0-6.cm1.aarch64.rpm
409403
tdnf-cli-libs-2.1.0-6.cm1.aarch64.rpm
410404
tdnf-debuginfo-2.1.0-6.cm1.aarch64.rpm

toolkit/resources/manifests/package/toolchain_x86_64.txt

+6-12
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ alsa-lib-1.2.2-1.cm1.x86_64.rpm
22
alsa-lib-debuginfo-1.2.2-1.cm1.x86_64.rpm
33
alsa-lib-devel-1.2.2-1.cm1.x86_64.rpm
44
asciidoc-8.6.10-4.cm1.noarch.rpm
5-
audit-3.0-10.cm1.x86_64.rpm
6-
audit-debuginfo-3.0-10.cm1.x86_64.rpm
7-
audit-devel-3.0-10.cm1.x86_64.rpm
8-
audit-libs-3.0-10.cm1.x86_64.rpm
9-
audit-python-3.0-10.cm1.x86_64.rpm
5+
audit-3.0-11.cm1.x86_64.rpm
6+
audit-debuginfo-3.0-11.cm1.x86_64.rpm
7+
audit-devel-3.0-11.cm1.x86_64.rpm
8+
audit-libs-3.0-11.cm1.x86_64.rpm
9+
audit-python-3.0-11.cm1.x86_64.rpm
1010
autoconf-2.69-10.cm1.noarch.rpm
1111
automake-1.16.1-3.cm1.noarch.rpm
1212
bash-4.4.23-1.cm1.x86_64.rpm
@@ -92,9 +92,6 @@ filesystem-1.1-7.cm1.x86_64.rpm
9292
findutils-4.6.0-7.cm1.x86_64.rpm
9393
findutils-debuginfo-4.6.0-7.cm1.x86_64.rpm
9494
findutils-lang-4.6.0-7.cm1.x86_64.rpm
95-
finger-0.17-4.cm1.x86_64.rpm
96-
finger-debuginfo-0.17-4.cm1.x86_64.rpm
97-
finger-server-0.17-4.cm1.x86_64.rpm
9895
flex-2.6.4-6.cm1.x86_64.rpm
9996
flex-debuginfo-2.6.4-6.cm1.x86_64.rpm
10097
flex-devel-2.6.4-6.cm1.x86_64.rpm
@@ -357,7 +354,7 @@ python2-libcap-ng-0.7.9-3.cm1.x86_64.rpm
357354
python2-libs-2.7.18-8.cm1.x86_64.rpm
358355
python2-test-2.7.18-8.cm1.x86_64.rpm
359356
python2-tools-2.7.18-8.cm1.x86_64.rpm
360-
python3-audit-3.0-10.cm1.x86_64.rpm
357+
python3-audit-3.0-11.cm1.x86_64.rpm
361358
python3-cracklib-2.9.7-2.cm1.x86_64.rpm
362359
python3-gpg-1.13.1-6.cm1.x86_64.rpm
363360
python3-libcap-ng-0.7.9-3.cm1.x86_64.rpm
@@ -402,9 +399,6 @@ systemd-devel-239-38.cm1.x86_64.rpm
402399
systemd-lang-239-38.cm1.x86_64.rpm
403400
tar-1.32-2.cm1.x86_64.rpm
404401
tar-debuginfo-1.32-2.cm1.x86_64.rpm
405-
tcp_wrappers-7.6-9.cm1.x86_64.rpm
406-
tcp_wrappers-debuginfo-7.6-9.cm1.x86_64.rpm
407-
tcp_wrappers-devel-7.6-9.cm1.x86_64.rpm
408402
tdnf-2.1.0-6.cm1.x86_64.rpm
409403
tdnf-cli-libs-2.1.0-6.cm1.x86_64.rpm
410404
tdnf-debuginfo-2.1.0-6.cm1.x86_64.rpm

toolkit/resources/manifests/package/update_manifests.sh

-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ remove_packages_for_pkggen_core () {
6060
sed -i '/e2fsprogs-lang/d' $TmpPkgGen
6161
sed -i '/openj/d' $TmpPkgGen
6262
sed -i '/freetype2/d' $TmpPkgGen
63-
sed -i '/finger-[[:alpha:]]/d' $TmpPkgGen
6463
sed -i '/gfortran/d' $TmpPkgGen
6564
sed -i '/glib-devel/d' $TmpPkgGen
6665
sed -i '/glib-schemas/d' $TmpPkgGen
@@ -93,7 +92,6 @@ remove_packages_for_pkggen_core () {
9392
sed -i '/perl-Text-Template/d' $TmpPkgGen
9493
sed -i '/python/d' $TmpPkgGen
9594
sed -i '/shadow/d' $TmpPkgGen
96-
sed -i '/tcp_wrappers-[[:alpha:]]/d' $TmpPkgGen
9795
sed -i '/unzip/d' $TmpPkgGen
9896
sed -i '/util-linux-lang/d' $TmpPkgGen
9997
sed -i '/wget/d' $TmpPkgGen

toolkit/scripts/toolchain/build_official_toolchain_rpms.sh

-5
Original file line numberDiff line numberDiff line change
@@ -509,12 +509,8 @@ chroot_and_install_rpms libtirpc
509509
chroot_and_install_rpms rpcsvc-proto
510510
build_rpm_in_chroot_no_install libnsl2
511511

512-
build_rpm_in_chroot_no_install finger
513-
514512
# tcp_wrappers needs libnsl2, finger
515513
chroot_and_install_rpms libnsl2
516-
chroot_and_install_rpms finger
517-
build_rpm_in_chroot_no_install tcp_wrappers
518514

519515
build_rpm_in_chroot_no_install cyrus-sasl
520516

@@ -529,7 +525,6 @@ build_rpm_in_chroot_no_install libcap-ng
529525
chroot_and_install_rpms systemd
530526
chroot_and_install_rpms golang
531527
chroot_and_install_rpms openldap
532-
chroot_and_install_rpms tcp_wrappers
533528
chroot_and_install_rpms libcap-ng
534529
build_rpm_in_chroot_no_install audit
535530

0 commit comments

Comments
 (0)