Hello community, here is the log from the commit of package telnet for openSUSE:Factory checked in at 2017-06-22 10:34:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/telnet (Old) and /work/SRC/openSUSE:Factory/.telnet.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "telnet" Thu Jun 22 10:34:49 2017 rev:28 rq:504899 version:1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/telnet/telnet.changes 2017-02-08 12:12:20.660672297 +0100 +++ /work/SRC/openSUSE:Factory/.telnet.new/telnet.changes 2017-06-22 10:34:49.512718169 +0200 @@ -1,0 +2,7 @@ +Fri Jun 16 11:05:56 UTC 2017 - [email protected] + +- Removed xinetd service +- Added [email protected] and telnet.socket +- Cleanup of telnet.spec + +------------------------------------------------------------------- Old: ---- telnet.xinetd New: ---- telnet.socket [email protected] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ telnet.spec ++++++ --- /var/tmp/diff_new_pack.5k7nAC/_old 2017-06-22 10:34:50.360598651 +0200 +++ /var/tmp/diff_new_pack.5k7nAC/_new 2017-06-22 10:34:50.360598651 +0200 @@ -24,8 +24,9 @@ Group: Productivity/Networking/Other Url: http://svnweb.freebsd.org/base/head/contrib/telnet/ Source: http://ftp.suse.com/pub/people/kukuk/ipv6/telnet-bsd-%{version}.tar.bz2 -Source1: telnet.xinetd Source2: telnet.firewall +Source3: telnet.socket +Source4: [email protected] Patch1: telnet-bsd-1.2-suppress_hostname.patch Patch2: telnet-bsd-1.2-man-page.patch Patch3: telnet-bsd-1.2-no_gethostbyname.patch @@ -37,6 +38,8 @@ Requires: netcfg Provides: nkitb:%{_bindir}/telnet BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: systemd-rpm-macros +%{?systemd_requires} %description Telnet is an old protocol for logging into remote systems. It is @@ -52,7 +55,6 @@ Summary: A Server Program for the Telnet Remote Login Protocol Group: Productivity/Networking/Other Requires: netcfg -Requires: xinetd Provides: nkitserv:%{_sbindir}/in.telnetd Obsoletes: nkitserv @@ -78,14 +80,14 @@ %install install -d -m 755 %{buildroot}%{_prefix}/bin install -d -m 755 %{buildroot}%{_prefix}/sbin -install -d -m 755 %{buildroot}%{_sysconfdir}/xinetd.d install -d -m 755 %{buildroot}%{_mandir}/man1 install -d -m 755 %{buildroot}%{_mandir}/man5 install -d -m 755 %{buildroot}%{_mandir}/man8 make DESTDIR=%{buildroot} install %{?_smp_mflags} -install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/xinetd.d/telnet install -d %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}-server +install -D -m 644 %{SOURCE3} %{buildroot}/%{_unitdir}/telnet.socket +install -D -m 644 %{SOURCE4} %{buildroot}/%{_unitdir}/[email protected] %files %defattr(644,root,root,755) @@ -99,8 +101,21 @@ %doc %{_mandir}/man8/in.telnetd.8.gz %doc %{_mandir}/man8/telnetd.8.gz %doc %{_mandir}/man5/issue.net.5.gz -%config(noreplace) %{_sysconfdir}/xinetd.d/telnet %attr(755,root,root) %{_sbindir}/in.telnetd %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}-server +%{_unitdir}/[email protected] +%{_unitdir}/telnet.socket + +%pre server +%service_add_pre telnet.socket [email protected] + +%post server +%service_add_post telnet.socket [email protected] + +%preun server +%service_del_preun telnet.socket [email protected] + +%postun server +%service_del_postun telnet.socket [email protected] %changelog ++++++ telnet.socket ++++++ [Unit] Description=Telnet Server Activation Socket Documentation=man:telnetd(8) [Socket] ListenStream=23 Accept=true [Install] WantedBy=sockets.target ++++++ [email protected] ++++++ [Unit] Description=Telnet Server After=local-fs.target [Service] ExecStart=-/usr/sbin/in.telnetd StandardInput=socket
