systemd/systemd.spec

870 lines
32 KiB
RPMSpec
Raw Normal View History

2023-12-30 11:35:14 +01:00
%define group_audio 11
%define group_cdrecording 12
%define group_cdrom 19
%define group_video 24
%define group_camera 22
%define group_scanner 23
%define group_nvram 50
%define group_kvm 31
%define group_systemd_journal 57
%define user_systemd_journal_gateway 58
2023-12-30 11:35:19 +01:00
%define group_systemd_journal_gateway 58
%define user_systemd_network 60
%define group_systemd_network 60
%define user_systemd_resolve 61
%define group_systemd_resolve 61
%define user_systemd_bus_proxy 62
%define group_systemd_bus_proxy 62
2023-12-30 11:35:23 +01:00
%define user_systemd_timesync 64
%define group_systemd_timesync 64
2023-12-30 11:35:42 +01:00
%define user_systemd_journal_remote 65
%define group_systemd_journal_remote 65
2023-12-30 11:35:57 +01:00
%define user_systemd_journal_upload 66
%define group_systemd_journal_upload 66
2023-12-30 11:35:42 +01:00
2023-12-30 11:35:14 +01:00
Name: systemd
Epoch: 2
2023-12-30 11:36:01 +01:00
Version: 217
2023-12-30 11:36:06 +01:00
Release: 3mamba
2023-12-30 11:35:14 +01:00
Summary: A system and service manager compatible with SysV and LSB init scripts
Group: System/Configuration
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://freedesktop.org/wiki/Software/systemd
Source: http://www.freedesktop.org/software/systemd/systemd-%{version}.tar.xz
Source1: udev-initscript
Source2: udev-permissions.rules
Source4: udev-openmamba.rules
Source8: udev-check-cdrom.sh
Source11: udev-MAKEDEV
Source13: udev-blacklist
Source14: udev-ifupdown.rules
Source15: udev-post-initscript
Source16: udev-sysconfig
Patch0: systemd-191-upstream-build-fix.patch
Patch1: systemd-197-revert-only-add-support.patch
Patch2: systemd-198-lock-to-tty-group-openmamba.patch
Patch3: systemd-205-disable-systemd-coredump.patch
Patch4: systemd-207-gpt-auto-generator.patch
Patch5: udev-177-arm-pre-accept4.patch
Patch6: systemd-207-swap_fix_reverse_dependencies.patch
Patch7: systemd-207-create_wants_symlink.patch
Patch8: systemd-208-journald-reduce-sizes.patch
2023-12-30 11:35:51 +01:00
Patch9: systemd-216-sysv-generator-use-native-targets.patch
2023-12-30 11:35:14 +01:00
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libacl-devel
BuildRequires: libaudit-devel
BuildRequires: libblkid-devel
BuildRequires: libcap-devel
BuildRequires: libcryptsetup-devel
BuildRequires: libdbus-devel
BuildRequires: libffi-devel
BuildRequires: libgcrypt-devel
BuildRequires: libglib-devel
BuildRequires: libgpg-error-devel
BuildRequires: libkmod-devel
BuildRequires: liblzma-devel
BuildRequires: libpython-devel
BuildRequires: libqrencode-devel
BuildRequires: libselinux-devel
BuildRequires: libwrap-devel
BuildRequires: pam-devel
## AUTOBUILDREQ-END
BuildRequires: vala-tools
BuildRequires: libmicrohttpd-devel
Conflicts: sysvinit
Conflicts: initscripts-sysv5
Requires: sysvinit-tools
Requires: udev = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
systemd is a system and service manager for Linux, compatible with SysV and LSB init scripts.
systemd provides aggressive parallelization capabilities, uses socket and D-Bus activation for starting services, offers on-demand starting of daemons, keeps track of processes using Linux cgroups, supports snapshotting and restoring of the system state, maintains mount and automount points and implements an elaborate transactional dependency-based service control logic.
It can work as a drop-in replacement for sysvinit.
%package core
Summary: systemd core files that may be used both by udev and systemd
Group: System/Libraries
Requires: liblockdev
Requires(post): pwdutils
Requires: libsystemd = %{?epoch:%epoch:}%{version}-%{release}
%description core
systemd is a system and service manager for Linux, compatible with SysV and LSB init scripts.
systemd provides aggressive parallelization capabilities, uses socket and D-Bus activation for starting services, offers on-demand starting of daemons, keeps track of processes using Linux cgroups, supports snapshotting and restoring of the system state, maintains mount and automount points and implements an elaborate transactional dependency-based service control logic.
It can work as a drop-in replacement for sysvinit.
This package contains systemd core files that may be used both by udev and systemd.
%package -n libsystemd
Summary: systemd libraries
Group: System/Libraries
%description -n libsystemd
systemd is a system and service manager for Linux, compatible with SysV and LSB init scripts.
systemd provides aggressive parallelization capabilities, uses socket and D-Bus activation for starting services, offers on-demand starting of daemons, keeps track of processes using Linux cgroups, supports snapshotting and restoring of the system state, maintains mount and automount points and implements an elaborate transactional dependency-based service control logic.
It can work as a drop-in replacement for sysvinit.
This package contains the systemd libraries.
%package -n libsystemd-devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: libsystemd = %{?epoch:%epoch:}%{version}-%{release}
Provides: systemd-devel
Obsoletes: systemd-devel
%description -n libsystemd-devel
systemd is a system and service manager for Linux, compatible with SysV and LSB init scripts.
systemd provides aggressive parallelization capabilities, uses socket and D-Bus activation for starting services, offers on-demand starting of daemons, keeps track of processes using Linux cgroups, supports snapshotting and restoring of the system state, maintains mount and automount points and implements an elaborate transactional dependency-based service control logic.
It can work as a drop-in replacement for sysvinit.
This package contains static libraries and header files needed for development.
%package tools
Summary: %{name} GTK tools
Group: Graphical Desktop/Applications/Configuration
Requires: %{name}-core = %{?epoch:%epoch:}%{version}-%{release}
%description tools
systemd is a system and service manager for Linux, compatible with SysV and LSB init scripts.
systemd provides aggressive parallelization capabilities, uses socket and D-Bus activation for starting services, offers on-demand starting of daemons, keeps track of processes using Linux cgroups, supports snapshotting and restoring of the system state, maintains mount and automount points and implements an elaborate transactional dependency-based service control logic.
It can work as a drop-in replacement for sysvinit.
This package contains the systemd GTK tools.
%package -n udev
Summary: A userspace tool to manage a dynamic devices directory
Group: System/Kernel and Hardware
Conflicts: devfsd
Conflicts: udev173
Obsoletes: devfsd
Obsoletes: hotplug
Provides: udev-static
Obsoletes: udev-static
Requires(post):/usr/sbin/groupadd
Requires(post):setup
Requires: %{name}-core = %{?epoch:%epoch:}%{version}-%{release}
Requires: libudev = %{?epoch:%epoch:}%{version}-%{release}
Requires: initscripts >= 1.1.18
%description -n udev
Udev allows Linux users to have a dynamic /dev directory and it provides the ability to have persistent device names.
It also replaces hotplug and runs entirely in userspace.
%package -n libudev
Summary: udev libraries
Group: System/Libraries
%ifarch x86_64
Provides: libudev.so.0()(64bit)
%else
Provides: libudev.so.0
%endif
%description -n libudev
Udev allows Linux users to have a dynamic /dev directory and it provides the ability to have persistent device names.
It also replaces hotplug and runs entirely in userspace.
This package provides udev libraries.
%package -n libudev-devel
Summary: Development files for udev
Group: Development/Libraries
Requires: libudev = %{?epoch:%epoch:}%{version}-%{release}
Provides: udev-devel
Obsoletes: udev-devel
%description -n libudev-devel
Udev allows Linux users to have a dynamic /dev directory and it provides the ability to have persistent device names.
It also replaces hotplug and runs entirely in userspace.
This package include development files for building software using udev libraries.
%debug_package
%prep
%setup -q
#%patch0 -p1
## ARM only patch: old_cloexec compatibility patch with old kernels
#%ifarch arm
#%patch5 -p1
#%endif
#%patch1 -R -p1
%patch2 -p1
%patch3 -p1
#%patch4 -p1
#%patch6 -p1
#%patch7 -p1
2023-12-30 11:35:51 +01:00
%patch9 -p1
2023-12-30 11:35:14 +01:00
%build
%configure \
--with-rootprefix= \
--with-rootlibdir=/%{_lib} \
--with-pamlibdir=/%{_lib}/security \
--with-tty-gid=4 \
--enable-split-usr \
2023-12-30 11:35:51 +01:00
--enable-chkconfig \
2023-12-30 11:35:14 +01:00
--with-rc-local-script-path-start=/etc/rc.d/init.d/rc.local \
--enable-compat-libs \
2023-12-30 11:36:06 +01:00
--with-debug-shell=/bin/sh \
2023-12-30 11:35:14 +01:00
KMOD=/sbin/kmod
2023-12-30 11:36:06 +01:00
# TODO?
# --enable-terminal \
# --enable-kdbus \
2023-12-30 11:35:14 +01:00
%make \
rpmmacrosdir=%{_sysconfdir}/rpm
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall rpmmacrosdir=%{_sysconfdir}/rpm
# compatibility links
install -d -m0755 %{buildroot}/sbin
for f in halt poweroff reboot runlevel shutdown telinit; do
ln -s ../bin/systemctl %{buildroot}/sbin/$f
done
ln -s ../lib/systemd/systemd %{buildroot}/sbin/init
# udev
2023-12-30 11:35:33 +01:00
#install -D -m755 %{S:1} %{buildroot}%{_initrddir}/udev
#install -D -m755 %{S:15} %{buildroot}%{_initrddir}/udev-post
#install -D -m644 %{S:16} %{buildroot}%{_sysconfdir}/sysconfig/udev
2023-12-30 11:35:14 +01:00
install -D -m755 %{S:2} \
%{buildroot}/lib/udev/rules.d/60-permissions.rules
install -D -m755 %{S:4} \
%{buildroot}/lib/udev/rules.d/55-udev-openmamba.rules
install -D -m755 %{S:14} \
%{buildroot}/lib/udev/rules.d/85-ifupdown.rules
install -D -m755 %{S:8} \
%{buildroot}/lib/udev/check-cdrom.sh
2023-12-30 11:35:33 +01:00
#install -d %{buildroot}%{_sysconfdir}/rc.d/rcsysinit.d
#ln -s ../init.d/udev %{buildroot}%{_sysconfdir}/rc.d/rcsysinit.d/S12udev
#install -d %{buildroot}%{_sysconfdir}/rc0.d
#ln -s ../init.d/udev %{buildroot}%{_sysconfdir}/rc0.d/K97udev
#install -d %{buildroot}%{_sysconfdir}/rc6.d
#ln -s ../init.d/udev %{buildroot}%{_sysconfdir}/rc6.d/K97udev
#install -D -m755 %{S:11} \
# %{buildroot}/lib/udev/devices/MAKEDEV
2023-12-30 11:35:14 +01:00
install -D -m644 %{S:13} \
%{buildroot}%{_sysconfdir}/modprobe.d/udev.conf
install -d -m0755 %{buildroot}/sbin
# compatibility symlinks
ln -s /lib/systemd/systemd-udevd %{buildroot}/sbin/udevd
ln -s libudev.so.1 %{buildroot}/%{_lib}/libudev.so.0
# /etc/mtab symlink
ln -s /proc/mounts %{buildroot}%{_sysconfdir}/mtab
# install libnss_myhostname.so.* to /%{lib}
mv %{buildroot}%{_libdir}/libnss_myhostname.so.* %{buildroot}/%{_lib}/
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%pre core
[ -e %{_sysconfdir}/mtab -a ! -L %{_sysconfdir}/mtab ] && rm -f %{_sysconfdir}/mtab
:
%post core
if [ "$1" -ge 1 ]; then
# SYSV5 -> Systemd migration
[ -e /etc/machine-id ] || systemd-machine-id-setup >/dev/null 2>&1
if [ ! -e %{_sysconfdir}/hostname ]; then
[ -e %{_sysconfdir}/sysconfig/network ] && . %{_sysconfdir}/sysconfig/network
[ "$HOSTNAME" ] && echo "$HOSTNAME" > %{_sysconfdir}/hostname
fi
[ -e %{_sysconfdir}/modules.d -a ! -L %{_sysconfdir}/modules.d ] && {
mv %{_sysconfdir}/modules.d/* %{_sysconfdir}/modules-load.d/ 2>/dev/null || true
rmdir %{_sysconfdir}/modules.d || true
ln -s modules-load.d %{_sysconfdir}/modules.d
}
groupadd systemd-journal -g %{group_systemd_journal} 2>/dev/null
groupadd systemd-journal-gateway -g %{group_systemd_journal_gateway} 2>/dev/null
useradd -u %{user_systemd_journal_gateway} -g systemd-journal-gateway \
-d /var/log/journal -s /sbin/nologin -c "Journal Gateway" \
systemd-journal-gateway 2>/dev/null
2023-12-30 11:35:42 +01:00
groupadd systemd-journal-remote -g %{group_systemd_journal_remote} 2>/dev/null
2023-12-30 11:35:57 +01:00
groupadd systemd-journal-upload -g %{group_systemd_journal_upload} 2>/dev/null
useradd -u %{user_systemd_journal_upload} -g systemd-timesync \
-d /dev/null -s /sbin/nologin -c "Systemd journal upload" \
systemd-journal-upload 2>/dev/null
2023-12-30 11:35:19 +01:00
groupadd systemd-network -g %{group_systemd_network} 2>/dev/null
useradd -u %{user_systemd_network} -g systemd-network \
-d /dev/null -s /sbin/nologin -c "Systemd Network" \
systemd-network 2>/dev/null
groupadd systemd-resolve -g %{group_systemd_resolve} 2>/dev/null
useradd -u %{user_systemd_resolve} -g systemd-resolve \
-d /dev/null -s /sbin/nologin -c "Systemd Resolve" \
systemd-resolve 2>/dev/null
groupadd systemd-bus-proxy -g %{group_systemd_bus_proxy} 2>/dev/null
useradd -u %{user_systemd_bus_proxy} -g systemd-bus-proxy \
-d /dev/null -s /sbin/nologin -c "Systemd Bus proxy" \
systemd-bus-proxy 2>/dev/null
2023-12-30 11:35:23 +01:00
groupadd systemd-timesync -g %{group_systemd_timesync} 2>/dev/null
useradd -u %{user_systemd_timesync} -g systemd-timesync \
-d /dev/null -s /sbin/nologin -c "Systemd time sync" \
systemd-timesync 2>/dev/null
2023-12-30 11:36:06 +01:00
# Fix previously configured myhostname in last position
grep "^hosts:.* myhostname$" /etc/nsswitch.conf &>/dev/null && \
sed -i "s| myhostname||" /etc/nsswitch.conf
2023-12-30 11:35:14 +01:00
# Configure libnss_myhostanme.so resolver
grep "^hosts:.* myhostname" /etc/nsswitch.conf &>/dev/null || \
2023-12-30 11:36:06 +01:00
sed -i "s|\(^hosts:.*files\)|\1 myhostname|" /etc/nsswitch.conf
2023-12-30 11:35:14 +01:00
fi
:
%postun core
if [ $1 -eq 0 ]; then
grep "^hosts:.* myhostname" /etc/nsswitch.conf &>/dev/null && \
sed -i "s| myhostname||" /etc/nsswitch.conf
fi
:
%post -n libsystemd
/sbin/ldconfig
:
%postun -n libsystemd
/sbin/ldconfig
:
%pre -n udev
# backup persistent-net rules file if it has an old syntax
if [ -e %{_sysconfdir}/udev/rules.d/70-persistent-net.rules ]; then
grep "ATTRS{" %{_sysconfdir}/udev/rules.d/70-persistent-net.rules >/dev/null && \
mv %{_sysconfdir}/udev/rules.d/70-persistent-net.rules \
%{_sysconfdir}/udev/rules.d/70-persistent-net.rules.save
fi
exit 0
%post -n udev
if [ $1 -ge 1 ]; then
udevadm hwdb --update
fi
[ "`grep " vc/" /etc/inittab 2>/dev/null`" ] && {
sed -i "s| vc/| tty|" /etc/inittab
telinit q
}
groupadd audio -g %{group_audio} 2>/dev/null
groupadd cdrecording -g %{group_cdrecording} 2>/dev/null
groupadd cdrom -g %{group_cdrom} 2>/dev/null
groupadd video -g %{group_video} 2>/dev/null
groupadd camera -g %{group_camera} 2>/dev/null
groupadd scanner -g %{group_scanner} 2>/dev/null
groupadd nvram -g %{group_nvram} 2>/dev/null
groupadd kvm -g %{group_kvm} 2>/dev/null
:
%post -n libudev
/sbin/ldconfig
:
%postun -n libudev
/sbin/ldconfig
:
2023-12-30 11:35:51 +01:00
%posttrans core
if [ $1 -ge 1 ]; then
2023-12-30 11:35:46 +01:00
# remove broken left sysv5 symlink due to migrating services to systemd
2023-12-30 11:35:51 +01:00
find /etc/rc*.d/* -xtype l -delete 2>/dev/null
systemctl -q daemon-reload
2023-12-30 11:35:46 +01:00
KVER=`uname -r`
INITRAMFS=/boot/initramfs-$KVER.img
[ -e $INITRAMFS -a ${_sysconfdir}/systemd/system.conf -nt $INITRAMFS ] || continue
mkinitrd $INITRAMFS $KVER -f
fi
:
2023-12-30 11:35:14 +01:00
%files
%defattr(-,root,root)
%{_sysconfdir}/init.d/README
/sbin/halt
/sbin/init
/sbin/poweroff
/sbin/reboot
/sbin/runlevel
/sbin/shutdown
/sbin/telinit
%{_mandir}/man1/init.1*
%{_mandir}/man8/reboot.8*
%{_mandir}/man8/halt.8*
%{_mandir}/man8/poweroff.8*
%{_mandir}/man8/runlevel.8*
%{_mandir}/man8/shutdown.8*
%{_mandir}/man8/telinit.8*
%files core -f %{name}.lang
%defattr(-,root,root)
2023-12-30 11:35:51 +01:00
%dir %{_sysconfdir}/kernel/install.d
2023-12-30 11:35:14 +01:00
%dir %{_sysconfdir}/systemd
2023-12-30 11:35:28 +01:00
%config(noreplace) %{_sysconfdir}/systemd/bootchart.conf
%config(noreplace) %{_sysconfdir}/systemd/coredump.conf
2023-12-30 11:35:38 +01:00
%config(noreplace) %{_sysconfdir}/systemd/journal-remote.conf
%config(noreplace) %{_sysconfdir}/systemd/journal-upload.conf
2023-12-30 11:35:28 +01:00
%config(noreplace) %{_sysconfdir}/systemd/journald.conf
%config(noreplace) %{_sysconfdir}/systemd/logind.conf
%config(noreplace) %{_sysconfdir}/systemd/resolved.conf
%config(noreplace) %{_sysconfdir}/systemd/system.conf
%config(noreplace) %{_sysconfdir}/systemd/timesyncd.conf
2023-12-30 11:35:51 +01:00
%dir %{_sysconfdir}/systemd/network
2023-12-30 11:35:14 +01:00
%dir %{_sysconfdir}/systemd/system
%dir %{_sysconfdir}/systemd/system/multi-user.target.wants
%{_sysconfdir}/systemd/system/multi-user.target.wants/remote-fs.target
%{_sysconfdir}/systemd/system/multi-user.target.wants/systemd-networkd.service
2023-12-30 11:35:19 +01:00
%{_sysconfdir}/systemd/system/multi-user.target.wants/systemd-resolved.service
2023-12-30 11:35:38 +01:00
%{_sysconfdir}/systemd/system/sysinit.target.wants/systemd-timesyncd.service
2023-12-30 11:35:19 +01:00
%{_sysconfdir}/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service
2023-12-30 11:35:14 +01:00
%dir %{_sysconfdir}/systemd/system/getty.target.wants
%{_sysconfdir}/systemd/system/getty.target.wants/getty@tty1.service
2023-12-30 11:35:51 +01:00
%dir %{_sysconfdir}/systemd/user
2023-12-30 11:35:14 +01:00
%config(noreplace) %{_sysconfdir}/systemd/user.conf
%{_sysconfdir}/mtab
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.*.conf
%{_sysconfdir}/pam.d/systemd-user
%dir %{_sysconfdir}/binfmt.d
%dir %{_sysconfdir}/modules-load.d
%dir %{_sysconfdir}/sysctl.d
%dir %{_sysconfdir}/tmpfiles.d
%dir %{_sysconfdir}/xdg/systemd
%{_sysconfdir}/xdg/systemd/user
%{_bindir}/busctl
%{_bindir}/bootctl
2023-12-30 11:35:28 +01:00
%{_bindir}/coredumpctl
2023-12-30 11:35:14 +01:00
%{_bindir}/hostnamectl
%{_bindir}/kernel-install
%{_bindir}/localectl
2023-12-30 11:35:28 +01:00
%{_bindir}/systemd-path
2023-12-30 11:35:14 +01:00
%{_bindir}/systemd-run
%{_bindir}/timedatectl
/bin/journalctl
/bin/loginctl
/bin/machinectl
2023-12-30 11:35:38 +01:00
/bin/networkctl
2023-12-30 11:35:14 +01:00
/bin/systemctl
/bin/systemd-ask-password
2023-12-30 11:35:38 +01:00
/bin/systemd-escape
/bin/systemd-firstboot
2023-12-30 11:35:14 +01:00
/bin/systemd-inhibit
/bin/systemd-machine-id-setup
/bin/systemd-notify
/bin/systemd-tmpfiles
/bin/systemd-tty-ask-password-agent
2023-12-30 11:35:28 +01:00
/bin/systemd-sysusers
2023-12-30 11:35:14 +01:00
%{_bindir}/systemd-cat
%{_bindir}/systemd-cgtop
%{_bindir}/systemd-delta
%{_bindir}/systemd-detect-virt
%{_bindir}/systemd-analyze
%{_bindir}/systemd-cgls
%{_bindir}/systemd-nspawn
%{_bindir}/systemd-stdio-bridge
%{_datadir}/bash-completion/completions/*
%exclude %{_datadir}/bash-completion/completions/udevadm
%dir %{_prefix}/lib/kernel
%dir %{_prefix}/lib/kernel/install.d
%{_prefix}/lib/kernel/install.d/50-depmod.install
%{_prefix}/lib/kernel/install.d/90-loaderentry.install
%dir %{_prefix}/lib/binfmt.d
%dir %{_prefix}/lib/modules-load.d
%dir %{_prefix}/lib/sysctl.d
%{_prefix}/lib/sysctl.d/50-coredump.conf
%{_prefix}/lib/sysctl.d/50-default.conf
%dir %{_prefix}/lib/tmpfiles.d
%dir %{_prefix}/lib/systemd
%{_prefix}/lib/systemd/*
2023-12-30 11:35:28 +01:00
%dir %{_prefix}/lib/sysusers.d
%{_prefix}/lib/sysusers.d/*.conf
2023-12-30 11:35:14 +01:00
%dir /lib/systemd
/lib/systemd/*
%exclude /lib/systemd/systemd-udevd
/lib/udev/rules.d/99-systemd.rules
%{_prefix}/lib/tmpfiles.d/*.conf
%{_datadir}/dbus-1/services/org.freedesktop.systemd1.service
%{_datadir}/dbus-1/system-services/org.freedesktop.*.service
2023-12-30 11:35:38 +01:00
%dir %{_datadir}/factory
%dir %{_datadir}/factory/etc
%{_datadir}/factory/etc/nsswitch.conf
%dir %{_datadir}/factory/etc/pam.d
%{_datadir}/factory/etc/pam.d/other
%{_datadir}/factory/etc/pam.d/system-auth
2023-12-30 11:35:14 +01:00
%dir %{_datadir}/systemd
%{_datadir}/systemd/kbd-model-map
%dir %{_datadir}/systemd/gatewayd
%{_datadir}/systemd/gatewayd/browse.html
%dir %{_datadir}/zsh
%dir %{_datadir}/zsh/site-functions
%{_datadir}/zsh/site-functions/*
%{_datadir}/polkit-1/actions/org.freedesktop.*.policy
%dir %{python_sitearch}/systemd
%{python_sitearch}/systemd/*
%{_localstatedir}/log/README
%dir %{_localstatedir}/log/journal
2023-12-30 11:35:51 +01:00
%dir %{_localstatedir}/log/journal/remote
2023-12-30 11:35:14 +01:00
%dir %{_localstatedir}/lib/systemd
%{_mandir}/man1/bootctl.1*
%{_mandir}/man1/busctl.1*
2023-12-30 11:35:28 +01:00
%{_mandir}/man1/coredumpctl.1*
2023-12-30 11:35:14 +01:00
%{_mandir}/man1/hostnamectl.1*
%{_mandir}/man1/journalctl.1*
%{_mandir}/man1/localectl.1*
%{_mandir}/man1/loginctl.1*
%{_mandir}/man1/machinectl.1*
%{_mandir}/man1/systemctl.1*
%{_mandir}/man1/systemd-*
%{_mandir}/man1/systemd.1*
%{_mandir}/man1/timedatectl.1*
%{_mandir}/man5/*.5*
%{_mandir}/man7/*.7*
%{_mandir}/man8/kernel-install.8*
%{_mandir}/man8/nss-myhostname.8*
%{_mandir}/man8/pam_systemd.8*
%{_mandir}/man8/systemd-*.8*
%doc LICENSE.LGPL2.1 LICENSE.MIT
#%files tools
#%defattr(-,root,root)
#%{_bindir}/systemadm
#%{_bindir}/systemd-gnome-ask-password-agent
#%{_mandir}/man1/systemadm.1*
%files -n libsystemd
%defattr(-,root,root)
/%{_lib}/libsystemd.so.*
/%{_lib}/libsystemd-daemon.so.*
/%{_lib}/libsystemd-id128.so.*
/%{_lib}/libsystemd-journal.so.*
/%{_lib}/libsystemd-login.so.*
/%{_lib}/security/pam_systemd.*
/%{_lib}/libnss_myhostname.so.*
2023-12-30 11:35:38 +01:00
%{_libdir}/libnss_mymachines.so.*
%{_libdir}/libnss_resolve.so.*
2023-12-30 11:35:14 +01:00
%files -n libsystemd-devel
%defattr(-,root,root)
%{_sysconfdir}/rpm/macros.systemd
%dir %{_includedir}/systemd
%{_includedir}/systemd/*.h
%{_libdir}/libsystemd.la
%{_libdir}/libsystemd.so
%{_libdir}/libsystemd-daemon.la
%{_libdir}/libsystemd-daemon.so
%{_libdir}/libsystemd-id128.la
%{_libdir}/libsystemd-id128.so
%{_libdir}/libsystemd-journal.la
%{_libdir}/libsystemd-journal.so
%{_libdir}/libsystemd-login.la
%{_libdir}/libsystemd-login.so
%{_libdir}/libnss_myhostname.la
2023-12-30 11:35:38 +01:00
%{_libdir}/libnss_mymachines.la
%{_libdir}/libnss_resolve.la
2023-12-30 11:35:14 +01:00
%{_libdir}/pkgconfig/libsystemd-daemon.pc
%{_libdir}/pkgconfig/libsystemd-id128.pc
%{_libdir}/pkgconfig/libsystemd-journal.pc
%{_libdir}/pkgconfig/libsystemd-login.pc
%{_libdir}/pkgconfig/libsystemd.pc
%{_datadir}/pkgconfig/systemd.pc
%dir %{_docdir}/systemd
%{_docdir}/systemd/*
%{_mandir}/man3/*.3*
%doc README TODO
%files -n udev
%defattr(-,root,root)
%{_sysconfdir}/udev/udev.conf
%{_sysconfdir}/modprobe.d/udev.conf
/sbin/udevd
/bin/udevadm
%{_datadir}/bash-completion/completions/udevadm
/lib/systemd/systemd-udevd
%dir /lib/udev
/lib/udev/accelerometer
/lib/udev/ata_id
/lib/udev/cdrom_id
/lib/udev/check-cdrom.sh
/lib/udev/collect
%dir /lib/udev/hwdb.d
/lib/udev/hwdb.d/*.hwdb
/lib/udev/mtd_probe
%dir /lib/udev/rules.d
/lib/udev/rules.d/*.rules
%exclude /lib/udev/rules.d/99-systemd.rules
/lib/udev/scsi_id
/lib/udev/v4l_id
%{_mandir}/man8/udevadm.8*
%doc LICENSE.GPL2
%files -n libudev
%defattr(-,root,root)
2023-12-30 11:35:38 +01:00
%{_libdir}/libgudev-1.0.so.*
2023-12-30 11:35:14 +01:00
/%{_lib}/libudev.so.*
%{_libdir}/girepository-1.0/GUdev-1.0.typelib
%files -n libudev-devel
%defattr(-,root,root)
%dir %{_includedir}/gudev-1.0
%dir %{_includedir}/gudev-1.0/gudev
%{_includedir}/gudev-1.0/gudev/*.h
%{_includedir}/libudev.h
%{_libdir}/libgudev-1.0.la
%{_libdir}/libgudev-1.0.so
%{_datadir}/gir-1.0/GUdev-1.0.gir
%{_libdir}/libudev.la
%{_libdir}/libudev.so
%{_libdir}/pkgconfig/gudev-1.0.pc
%{_libdir}/pkgconfig/libudev.pc
%{_datadir}/pkgconfig/udev.pc
%changelog
2023-12-30 11:36:06 +01:00
* Sat Nov 22 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 217-3mamba
- fix myhostname ordering in nsswitch.conf
* Sat Nov 22 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 217-2mamba
- add --with-debug-shell=/bin/sh because default is /sbin/sushell which we don't have
2023-12-30 11:36:01 +01:00
* Thu Oct 30 2014 Automatic Build System <autodist@mambasoft.it> 217-1mamba
- automatic version update by autodist
2023-12-30 11:35:57 +01:00
* Thu Oct 16 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 216-7mamba
- create systemd-journal-upload user and group
2023-12-30 11:35:51 +01:00
* Sat Sep 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 216-6mamba
- patch sysv-generator to use native targets instead of runlevel*.target to fix broken sysv services startup
- fix poststrans script for broken old sysv symlinks removal
- restore chkconfig because this is not the problem
- added some new empty directories
* Fri Sep 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 216-5mamba
- disable chkconfig support to fix new systemd-sysv-generator legacy method
2023-12-30 11:35:46 +01:00
* Wed Sep 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 216-4mamba
- remove broken sysv5 symlink left after migrating to systemd; fix mkinitrd trigger date check
* Tue Sep 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 216-3mamba
- rebuild initramfs after install
- remove old udev-post init script activation in %post and %postun
2023-12-30 11:35:42 +01:00
* Sun Sep 07 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 216-2mamba
- add group systemd-journal-remote
2023-12-30 11:35:38 +01:00
* Fri Sep 05 2014 Automatic Build System <autodist@mambasoft.it> 216-1mamba
- automatic version update by autodist
2023-12-30 11:35:33 +01:00
* Tue Aug 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 215-2mamba
- udev: remove initscripts udev and udev-post and /etc/sysconfig/udev
2023-12-30 11:35:28 +01:00
* Thu Jul 10 2014 Automatic Build System <autodist@mambasoft.it> 215-1mamba
- automatic version update by autodist
2023-12-30 11:35:23 +01:00
* Sat Jul 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 214-3mamba
- add systemd-timesync user and group
2023-12-30 11:35:19 +01:00
* Sun Jun 22 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 214-2mamba
- add new required users systemd-network, systemd-resolve, systemd-bus-proxy
* Wed Jun 18 2014 Automatic Build System <autodist@mambasoft.it> 214-1mamba
- automatic version update by autodist
2023-12-30 11:35:14 +01:00
* Fri May 02 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 212-7mamba
- nssswitch.conf: configure myhostname as host resolver
- install libnss_myhostname.so.* under /%{_lib}
* Wed Apr 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 212-6mamba
- udev, libudev, libudev-devel: other fixes in requires/obsoletes
* Mon Apr 07 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 212-5mamba
- no luck with smart and libsystemd-compat, moving compat libraries to libsystemd
* Sun Apr 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 212-4mamba
- rebuilt with --enable-compat-libs
* Sun Apr 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 212-3mamba
- move libraries to libsystemd and libudev, rename systemd-devel to libsystemd-devel and udev-devel to libudev-devel
* Wed Apr 02 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 212-2mamba
- provide compatibility package with symlinks for old library names
* Tue Apr 01 2014 Automatic Build System <autodist@mambasoft.it> 212-1mamba
- automatic version update by autodist
* Sun Feb 16 2014 Davide Madrisan <davide.madrisan@gmail.com> 208-6mamba
- systemd-core script: send to /dev/null the warning message 'useradd: UID 58 is not unique'
- Avoid bash-only constructs in the package scriplets
* Sun Feb 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 208-5mamba
- x86_64: rebuilt with lib64 python_sitearch
- x86_64: install pam modules under /%{_lib}/security
* Sat Jan 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 208-4mamba
- journald.conf: reduce default journal size from 3GB to 200MB/50MB
* Mon Dec 09 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 208-3mamba
- systemd-core: added Requires(post): pwdutils
* Thu Oct 24 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 208-2mamba
- add group systemd-journal and user and group systemd-journal-gateway
* Thu Oct 03 2013 Automatic Build System <autodist@mambasoft.it> 208-1mamba
- automatic version update by autodist
* Sun Sep 29 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 207-4mamba
- swap: also add upstream patch http://cgit.freedesktop.org/systemd/systemd/commit/?id=4e82fe5213bedcb70e25c0270e516d5f2706d8c8
* Thu Sep 26 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 207-3mamba
- added upstream patch to fix swap enabling on boot (https://bugs.freedesktop.org/show_bug.cgi?id=69291)
* Sat Sep 21 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 207-2mamba
- upstream patch to fix gpt error message on boot (https://bugs.freedesktop.org/show_bug.cgi?id=69315)
* Fri Sep 13 2013 Automatic Build System <autodist@mambasoft.it> 207-1mamba
- automatic version update by autodist
* Thu Sep 12 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 206-4mamba
- configure with correct rc-local-script-path for us
* Sat Aug 10 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 206-3mamba
- rebuilt with debug package
* Sat Jul 27 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 206-2mamba
- force configure to use /sbin/kmod instead of /usr/bin/kmod
* Wed Jul 24 2013 Automatic Build System <autodist@mambasoft.it> 206-1mamba
- automatic version update by autodist
* Wed Jul 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 205-2mamba
- added a patch to disable systemd-coredump (keeps dump in memory occupying memory and possibly freezing systems)
* Mon Jul 08 2013 Automatic Build System <autodist@mambasoft.it> 205-1mamba
- automatic version update by autodist
* Wed May 29 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 204-2mamba
- python 2.7 mass rebuild
* Fri May 10 2013 Automatic Build System <autodist@mambasoft.it> 204-1mamba
- automatic version update by autodist
* Tue May 07 2013 Automatic Build System <autodist@mambasoft.it> 203-1mamba
- automatic version update by autodist
* Fri Apr 19 2013 Automatic Build System <autodist@mambasoft.it> 202-1mamba
- automatic version update by autodist
* Tue Apr 09 2013 Automatic Build System <autodist@mambasoft.it> 201-1mamba
- automatic version update by autodist
* Sat Apr 06 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 200-4mamba
- require(post) setup before creating groups
* Fri Apr 05 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 200-3mamba
- x86_64: fix /sbin/udevd symlink
* Thu Apr 04 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 200-2mamba
- make modules.d -> modules-load.d conversion more silent
* Fri Mar 29 2013 Automatic Build System <autodist@mambasoft.it> 200-1mamba
- automatic version update by autodist
* Wed Mar 27 2013 Automatic Build System <autodist@mambasoft.it> 199-1mamba
- automatic version update by autodist
* Sun Mar 24 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 198-11mamba
- sysv5 legacy commands must be a symlink to /bin/systemctl, except for init which links to systemd
* Sun Mar 24 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 198-10mamba
- added /sbin/halt compatibility symlink to /lib/systemd/systemd
* Sat Mar 23 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 198-9mamba
- move /etc/rcsysinit.d/S12udev to /etc/rc.d/rcsysinit.d/
* Fri Mar 22 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 198-8mamba
- add /etc and /var empty directories previously unpackaged
- systemd-core: migrate /etc/mtab here instead of in systemd
- systemd-core: migrate from /etc/modules.d to /etc/modules-load.d and make compatibility symlink
* Thu Mar 21 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 198-7mamba
- systemd: also conflict with initscripts-sysv5
* Wed Mar 20 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 198-6mamba
- systemd: revert obsoleting sysvinit, require sysvinit-tools
* Wed Mar 20 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 198-5mamba
- systemd-core: create /etc/machine-id on install/upgrade
* Tue Mar 19 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 198-4mamba
- provide/obsolete sysvinit
- provide /etc/mtab as a symlink to /proc/mounts
* Mon Mar 18 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 198-3mamba
- create /etc/hostname using hostname in /etc/sysconfig/network for systemd
* Sun Mar 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 198-2mamba
- added a patch to support tty instead of lock group for openmamba
- require liblockdev
* Tue Mar 12 2013 Automatic Build System <autodist@mambasoft.it> 198-1mamba
- automatic version update by autodist
* Sat Feb 16 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 197-3mamba
- udev: run udevadm hwdb --update in post script
- revert an upstream patch to re-enable support for change events (https://bugzilla.redhat.com/show_bug.cgi?id=903716)
* Sat Jan 19 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 197-2mamba
- udev-devel: require systemd-devel
* Thu Jan 10 2013 Automatic Build System <autodist@mambasoft.it> 197-1mamba
- automatic version update by autodist
* Thu Nov 22 2012 Automatic Build System <autodist@mambasoft.it> 196-1mamba
- automatic version update by autodist
* Wed Nov 07 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 195-4mamba
- move systemd core files to systemd-core for use by udev with sysvinit still enabled
* Sat Nov 03 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 195-3mamba
- restore scripts from udev-182 used by udev-openmamba.rules
* Fri Nov 02 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 195-2mamba
- bump epoch up for udev upgrade
- provide compatibility symlink libudev.so.0
- move systemd-udevd to udev subpackage and fix compatibility symlink /sbin/udevd
- fix initscript to match new udevd daemon path
* Tue Oct 23 2012 Automatic Build System <autodist@mambasoft.it> 195-1mamba
- automatic version update by autodist
* Thu Oct 04 2012 Automatic Build System <autodist@mambasoft.it> 194-1mamba
- automatic version update by autodist
* Fri Sep 28 2012 Automatic Build System <autodist@mambasoft.it> 193-1mamba
- automatic version update by autodist
* Wed Sep 26 2012 Automatic Build System <autodist@mambasoft.it> 192-1mamba
- automatic version update by autodist
* Mon Sep 24 2012 Automatic Build System <autodist@mambasoft.it> 191-1mamba
- automatic version update by autodist
* Thu Aug 23 2012 Automatic Build System <autodist@mambasoft.it> 189-1mamba
- automatic version update by autodist
* Tue Aug 14 2012 Automatic Build System <autodist@mambasoft.it> 188-1mamba
- automatic version update by autodist
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 187-1mamba
- update to 187
* Wed Nov 30 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 37-1mamba
- package created by autospec