packages: systemd/systemd.spec - added inetd package, a native systemd repl...
baggins
baggins at pld-linux.org
Mon Jun 11 13:13:56 CEST 2012
Author: baggins Date: Mon Jun 11 11:13:56 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- added inetd package, a native systemd replacement for rc-inetd and inet server
---- Files affected:
packages/systemd:
systemd.spec (1.182 -> 1.183)
---- Diffs:
================================================================
Index: packages/systemd/systemd.spec
diff -u packages/systemd/systemd.spec:1.182 packages/systemd/systemd.spec:1.183
--- packages/systemd/systemd.spec:1.182 Wed Jun 6 10:45:45 2012
+++ packages/systemd/systemd.spec Mon Jun 11 13:13:51 2012
@@ -57,6 +57,8 @@
Source13: pld-storage-init.sh
Source14: pld-clean-tmp.service
Source15: pld-clean-tmp.sh
+Source16: pld-rc-inetd-generator.sh
+Source17: rc-inetd.service
# rules
Source101: udev-alsa.rules
Source102: udev.rules
@@ -308,6 +310,32 @@
Ten pakiet zawiera ogólną konfigurację, ustawienia można nadpisać
poprzez katalog %{_sysconfdir}/systemd/system.
+%package inetd
+Summary: Native inet service support for systemd via socket activation
+Summary(pl.UTF-8): Natywna obsługa usług inet dla systemd
+Group: Base
+Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: rc-inetd
+Provides: inetdaemon
+Obsoletes: inetd
+Obsoletes: inetdaemon
+Obsoletes: rlinetd
+Obsoletes: xinetd
+
+%description inetd
+Native inet service support for systemd via socket activation.
+
+This package contains inet service generator that provides
+the functionality of rc-inetd service and replaces a separate
+inet daemon with systemd socket activation feature.
+
+%description inetd -l pl.UTF-8
+Natywna obsługa usług inet dla systemd.
+
+Ten pakiet zawiera generator usług inet udostępniający funkcjonalność
+serwisu rc-inetd i zastępujący osobny demon inet przez systemd i
+aktywację usług przez gniazda.
+
%package plymouth
Summary: Plymouth support units for systemd
Summary(pl.UTF-8): Jednostki wspierające Plymouth dla systemd
@@ -741,6 +769,10 @@
ln -s ../pld-storage-init.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
ln -s ../pld-clean-tmp.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
+# Install rc-inetd replacement
+cp -p %{SOURCE16} $RPM_BUILD_ROOT/lib/systemd/system-generators/pld-rc-inetd-generator
+cp -p %{SOURCE17} $RPM_BUILD_ROOT%{systemdunitdir}/rc-inetd.service
+
# handled by rc-local sysv service, no need for generator
%{__rm} $RPM_BUILD_ROOT/lib/systemd/system-generators/systemd-rc-local-generator
@@ -848,6 +880,12 @@
%{__mv} -f /etc/systemd/systemd-logind.conf.rpmsave /etc/systemd/logind.conf
fi
+%post inetd
+%systemd_reload
+
+%postun inetd
+%systemd_reload
+
%post plymouth
%systemd_reload
@@ -1138,6 +1176,11 @@
%config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/sys-*.mount
%config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/systemd-*
+%files inetd
+%defattr(644,root,root,755)
+%attr(755,root,root) /lib/systemd/system-generators/pld-rc-inetd-generator
+%{systemdunitdir}/rc-inetd.service
+
%if %{with plymouth}
%files plymouth
%defattr(644,root,root,755)
@@ -1364,6 +1407,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.183 2012/06/11 11:13:51 baggins
+- added inetd package, a native systemd replacement for rc-inetd and inet server
+
Revision 1.182 2012/06/06 08:45:45 baggins
- rel 1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/systemd/systemd.spec?r1=1.182&r2=1.183
More information about the pld-cvs-commit
mailing list