Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
commit
50d8758716
|
@ -1,3 +1,4 @@
|
|||
*~
|
||||
/systemd-*/
|
||||
/.build-*.log
|
||||
/x86_64/
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
[suppress_file]
|
||||
# This shared object is private to systemd
|
||||
file_name_regexp=libsystemd-shared-.*.so
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (systemd-245.2.tar.gz) = 05e40d0b93ebd7b709d16b5f6d75f3da84417e9a401d7726fe7876328e1408c9c29818b5bcc3f5889f17f8e6af889f87dc2f78f348f2aa023e0d6bfed41b0554
|
||||
SHA512 (systemd-245.5.tar.gz) = 47de4a59980643002f325c499eeb4dd76fa9f1d1267686e7564f103690487bf85974590d7cb3e3641409e5bfba567fe2a66efa80320e7e8adc48af4461e2e172
|
||||
|
|
|
@ -43,10 +43,11 @@ for file in files(buildroot):
|
|||
/etc(/pam\.d|/xdg|/X11|/X11/xinit|/X11.*\.d|)$|
|
||||
/etc/(dnf|dnf/protected.d)$|
|
||||
/usr/(src|lib/debug)| # no $
|
||||
/run$|
|
||||
/var(/cache|/log|/lib|/run|)$
|
||||
''', n, re.X):
|
||||
continue
|
||||
if '/security/pam_' in n:
|
||||
if '/security/pam_' in n or '/man8/pam_' in n:
|
||||
o = o_pam
|
||||
elif '/rpm/' in n:
|
||||
o = o_rpm_macros
|
||||
|
|
|
@ -0,0 +1,50 @@
|
|||
# Just kill all warnings about README being wrong in every possible way
|
||||
addFilter(r'README')
|
||||
|
||||
addFilter(r'missing-call-to-(chdir-with-chroot|setgroups-before-setuid)')
|
||||
|
||||
addFilter(r'executable-marked-as-config-file /etc/X11/xinit/xinitrc.d/50-systemd-user.sh')
|
||||
|
||||
addFilter(r'non-readable /etc/crypttab')
|
||||
|
||||
addFilter(r'non-conffile-in-etc /etc/inittab')
|
||||
|
||||
addFilter(r'systemd-unit-in-etc /etc/systemd/.*\.wants')
|
||||
|
||||
addFilter(r'dangling-relative-symlink /usr/lib/environment.d/99-environment.conf ../../../etc/environment')
|
||||
|
||||
addFilter(r'devel-file-in-non-devel-package /usr/share/pkgconfig/(systemd|udev).pc')
|
||||
|
||||
addFilter(r'non-standard-dir-perm /var/cache/private 700')
|
||||
|
||||
addFilter(r'non-root-group-log-file /var/log/btmp utmp')
|
||||
|
||||
addFilter(r'non-standard-dir-perm /var/log/private 700')
|
||||
|
||||
addFilter(r'non-root-group-log-file /var/log/wtmp utmp')
|
||||
|
||||
addFilter(r'dangerous-command-in-')
|
||||
|
||||
addFilter(r'summary-not-capitalized C systemd')
|
||||
|
||||
addFilter(r'obsolete-not-provided')
|
||||
|
||||
addFilter(r'postin-without-ldconfig')
|
||||
|
||||
addFilter(r'systemd-rpm-macros.noarch: W: only-non-binary-in-usr-lib')
|
||||
|
||||
addFilter(r'systemd-rpm-macros.noarch: W: no-documentation')
|
||||
|
||||
addFilter(r'systemd-tests\..*: W: no-documentation')
|
||||
|
||||
addFilter(r'systemd-tests.*: E: zero-length /usr/lib/systemd/tests/testdata/test-umount/empty.mountinfo')
|
||||
|
||||
addFilter(r'hardcoded-library-path in.*(firewalld|install.d|lib/systemd)')
|
||||
|
||||
# everybody does it this way: systemd, syslog-ng, rsyslog
|
||||
addFilter(r'unversioned-explicit-provides syslog')
|
||||
|
||||
# systemd-machine-id-setup requires libssl
|
||||
addFilter(r'explicit-lib-dependency openssl-libs')
|
||||
|
||||
addFilter(r'systemd.src:.*strange-permission')
|
58
systemd.spec
58
systemd.spec
|
@ -12,12 +12,15 @@
|
|||
%global system_unit_dir %{pkgdir}/system
|
||||
%global user_unit_dir %{pkgdir}/user
|
||||
|
||||
# Bootstrap may be needed to break intercircular dependencies with
|
||||
# cryptsetup, e.g. when re-building cryptsetup on a json-c SONAME-bump.
|
||||
%bcond_with bootstrap
|
||||
%bcond_without tests
|
||||
|
||||
Name: systemd
|
||||
Url: https://www.freedesktop.org/wiki/Software/systemd
|
||||
Version: 245.2
|
||||
Release: 1%{?commit:.git%{shortcommit}}.0.riscv64%{?dist}
|
||||
Version: 245.5
|
||||
Release: 2%{?commit:.git%{shortcommit}}.0.riscv64%{?dist}
|
||||
# For a breakdown of the licensing, see README
|
||||
License: LGPLv2+ and MIT and GPLv2+
|
||||
Summary: System and Service Manager
|
||||
|
@ -51,6 +54,7 @@ Source9: 20-yama-ptrace.conf
|
|||
Source10: systemd-udev-trigger-no-reload.conf
|
||||
Source11: 20-grubby.install
|
||||
Source12: systemd-user
|
||||
Source13: libsystemd-shared.abignore
|
||||
|
||||
Source21: macros.sysusers
|
||||
Source22: sysusers.attr
|
||||
|
@ -86,8 +90,12 @@ BuildRequires: libpwquality-devel
|
|||
BuildRequires: pam-devel
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: audit-libs-devel
|
||||
%if %{without bootstrap}
|
||||
BuildRequires: cryptsetup-devel
|
||||
%endif
|
||||
BuildRequires: dbus-devel
|
||||
# /usr/bin/getfacl is needed by test-acl-util
|
||||
BuildRequires: acl
|
||||
BuildRequires: libacl-devel
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: libblkid-devel
|
||||
|
@ -165,10 +173,6 @@ Conflicts: fedora-release < 23-0.12
|
|||
Obsoletes: timedatex < 0.6-3
|
||||
Provides: timedatex = 0.6-3
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1753381
|
||||
Provides: u2f-hidraw-policy = 1.0.2-40
|
||||
Obsoletes: u2f-hidraw-policy < 1.0.2-40
|
||||
|
||||
%description
|
||||
systemd is a system and service manager that runs as PID 1 and starts
|
||||
the rest of the system. It provides aggressive parallelization
|
||||
|
@ -184,8 +188,7 @@ runtime directories and settings, and daemons to manage simple network
|
|||
configuration, network time synchronization, log forwarding, and name
|
||||
resolution.
|
||||
%if 0%{?stable}
|
||||
This package was built from the %{version}-stable branch of systemd,
|
||||
commit https://github.com/systemd/systemd-stable/commit/%{shortcommit}.
|
||||
This package was built from the %{version}-stable branch of systemd.
|
||||
%endif
|
||||
|
||||
%package libs
|
||||
|
@ -240,6 +243,8 @@ to libudev or libsystemd.
|
|||
|
||||
%package udev
|
||||
Summary: Rule-based device node and kernel event manager
|
||||
License: LGPLv2+
|
||||
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires(post): systemd
|
||||
Requires(preun): systemd
|
||||
|
@ -255,7 +260,10 @@ Obsoletes: udev < 183
|
|||
Suggests: systemd-bootchart
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1408878
|
||||
Requires: kbd
|
||||
License: LGPLv2+
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1753381
|
||||
Provides: u2f-hidraw-policy = 1.0.2-40
|
||||
Obsoletes: u2f-hidraw-policy < 1.0.2-40
|
||||
|
||||
%description udev
|
||||
This package contains systemd-udev and the rules and hardware database
|
||||
|
@ -348,7 +356,11 @@ CONFIGURE_OPTS=(
|
|||
-Dgcrypt=true
|
||||
-Daudit=true
|
||||
-Delfutils=true
|
||||
%if %{without bootstrap}
|
||||
-Dlibcryptsetup=true
|
||||
%else
|
||||
-Dlibcryptsetup=false
|
||||
%endif
|
||||
-Delfutils=true
|
||||
-Dpwquality=true
|
||||
-Dqrencode=true
|
||||
|
@ -403,9 +415,9 @@ mkdir -p %{buildroot}%{system_unit_dir}/basic.target.wants
|
|||
mkdir -p %{buildroot}%{system_unit_dir}/default.target.wants
|
||||
mkdir -p %{buildroot}%{system_unit_dir}/dbus.target.wants
|
||||
mkdir -p %{buildroot}%{system_unit_dir}/syslog.target.wants
|
||||
mkdir -p %{buildroot}%{_localstatedir}/run
|
||||
mkdir -p %{buildroot}/run
|
||||
mkdir -p %{buildroot}%{_localstatedir}/log
|
||||
touch %{buildroot}%{_localstatedir}/run/utmp
|
||||
touch %{buildroot}/run/utmp
|
||||
touch %{buildroot}%{_localstatedir}/log/{w,b}tmp
|
||||
|
||||
# Make sure the user generators dir exists too
|
||||
|
@ -469,6 +481,8 @@ EOF
|
|||
|
||||
install -Dm0755 -t %{buildroot}%{_prefix}/lib/kernel/install.d/ %{SOURCE11}
|
||||
|
||||
install -Dm0755 -t %{buildroot}%{_prefix}/lib/systemd/ %{SOURCE13}
|
||||
|
||||
install -D -t %{buildroot}/usr/lib/systemd/ %{SOURCE3}
|
||||
|
||||
sed -i 's|#!/usr/bin/env python3|#!%{__python3}|' %{buildroot}/usr/lib/systemd/tests/run-unit-tests.py
|
||||
|
@ -490,7 +504,7 @@ python3 %{SOURCE2} %buildroot <<EOF
|
|||
/usr/lib/systemd/purge-nobody-user
|
||||
%ghost %config(noreplace) /etc/vconsole.conf
|
||||
%ghost %config(noreplace) /etc/X11/xorg.conf.d/00-keyboard.conf
|
||||
%ghost %attr(0664,root,utmp) /var/run/utmp
|
||||
%ghost %attr(0664,root,utmp) /run/utmp
|
||||
%ghost %attr(0664,root,utmp) /var/log/wtmp
|
||||
%ghost %attr(0600,root,utmp) /var/log/btmp
|
||||
%ghost %config(noreplace) /etc/hostname
|
||||
|
@ -766,10 +780,26 @@ fi
|
|||
%files tests -f .file-list-tests
|
||||
|
||||
%changelog
|
||||
* Sun Mar 22 2020 David Abdurachmanov <david.abdurachmanov@sifive.com> - 245.2-1.0.riscv64
|
||||
* Fri Apr 24 2020 David Abdurachmanov <david.abdurachmanov@sifive.com> - 245.5-2.0.riscv64
|
||||
- Disable SECCOMP until the test can pass
|
||||
- Add SECCOMP support for RISC-V 64-bit (riscv64)
|
||||
|
||||
* Tue Apr 21 2020 Björn Esser <besser82@fedoraproject.org> - 245.5-2
|
||||
- Add explicit BuildRequires: acl
|
||||
- Bootstrapping for json-c SONAME bump
|
||||
|
||||
* Fri Apr 17 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 245.5-1
|
||||
- Update to latest stable version (#1819313, #1815412, #1800875)
|
||||
|
||||
* Thu Apr 16 2020 Björn Esser <besser82@fedoraproject.org> - 245.4-2
|
||||
- Add bootstrap option to break circular deps on cryptsetup
|
||||
|
||||
* Wed Apr 1 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 245.4-1
|
||||
- Update to latest stable version (#1814454)
|
||||
|
||||
* Thu Mar 26 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 245.3-1
|
||||
- Update to latest stable version (no issue that got reported in bugzilla)
|
||||
|
||||
* Wed Mar 18 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 245.2-1
|
||||
- Update to latest stable version (a few bug fixes for random things) (#1798776)
|
||||
|
||||
|
@ -1007,7 +1037,7 @@ fi
|
|||
- Remove link creation for rsyslog.service
|
||||
|
||||
* Thu Nov 8 2018 Adam Williamson <awilliam@redhat.com> - 239-9.git9f3aed1
|
||||
- Go back to using systemctl preset-all in %post (#1647172, #1118740)
|
||||
- Go back to using systemctl preset-all in %%post (#1647172, #1118740)
|
||||
|
||||
* Mon Nov 5 2018 Adam Williamson <awilliam@redhat.com> - 239-8.git9f3aed1
|
||||
- Requires(post) openssl-libs to fix live image build machine-id issue
|
||||
|
|
Loading…
Reference in New Issue