Your message dated Fri, 27 Jan 2023 22:31:34 +0000
with message-id <e1plxfu-00gic4...@fasolo.debian.org>
and subject line Bug#719749: fixed in leafnode 1.12.0-2
has caused the Debian Bug report #719749,
regarding Add systemd support to leafnode
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
719749: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719749
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: leafnode
Version: 1.11.8-3
Severity: normal
Tags: patch
User: pkg-systemd-maintain...@lists.alioth.debian.org
Usertags: systemd-units
Hi,
the attached patch leafnode-add-systemd.patch adds systemd support to
leafnode. It doesn't change anything for people using sysvinit!
When using systemd, leafnode is then started through systemd instead of
inetd.
The second patch leafnode-make-inetd-optional.patch demotes the dependency
on inetd towards a Recommends. For the default installation nothing changes,
but it allows people running systemd to remove inetd from their systems.
If you have any questions, please ask.
Cheers,
Moritz
diff -Naur leafnode-1.11.8.orig/debian/control leafnode-1.11.8/debian/control
--- leafnode-1.11.8.orig/debian/control 2012-04-18 11:52:44.000000000 +0200
+++ leafnode-1.11.8/debian/control 2013-08-14 19:23:43.000000000 +0200
@@ -3,7 +3,7 @@
Priority: extra
Maintainer: Robert Grimm <r...@robgri.de>
Standards-Version: 3.9.3
-Build-Depends: libpcre3-dev, debhelper (>= 7.0.15)
+Build-Depends: libpcre3-dev, debhelper (>= 7.0.15), dh-systemd (>= 1.5)
Package: leafnode
Architecture: any
diff -Naur leafnode-1.11.8.orig/debian/leafnode@.service leafnode-1.11.8/debian/leafnode@.service
--- leafnode-1.11.8.orig/debian/leafnode@.service 1970-01-01 01:00:00.000000000 +0100
+++ leafnode-1.11.8/debian/leafnode@.service 2013-08-14 19:23:43.000000000 +0200
@@ -0,0 +1,8 @@
+[Unit]
+Description=NNTP server for small sites
+Documentation=man:leafnode(8)
+
+[Service]
+ExecStart=/usr/sbin/leafnode
+StandardInput=socket
+User=news
diff -Naur leafnode-1.11.8.orig/debian/leafnode.socket leafnode-1.11.8/debian/leafnode.socket
--- leafnode-1.11.8.orig/debian/leafnode.socket 1970-01-01 01:00:00.000000000 +0100
+++ leafnode-1.11.8/debian/leafnode.socket 2013-08-14 19:23:43.000000000 +0200
@@ -0,0 +1,9 @@
+[Unit]
+Description=NNTP server for small sites (socket)
+
+[Socket]
+ListenStream=119
+Accept=yes
+
+[Install]
+WantedBy=sockets.target
diff -Naur leafnode-1.11.8.orig/debian/rules leafnode-1.11.8/debian/rules
--- leafnode-1.11.8.orig/debian/rules 2012-04-16 09:47:59.000000000 +0200
+++ leafnode-1.11.8/debian/rules 2013-08-14 19:23:43.000000000 +0200
@@ -58,6 +58,11 @@
(cd debian/leafnode/usr/share/doc/leafnode/examples ; ln -s ../../../leafnode/config.example . )
dh_installdebconf
dh_installcron
+ mkdir -p debian/leafnode/lib/systemd/system
+ cp debian/leafnode.socket debian/leafnode/lib/systemd/system/leafnode.socket
+ cp debian/leafnode@.service debian/leafnode/lib/systemd/system/leafnode@.service
+ dh_systemd_enable
+ dh_systemd_start
dh_installchangelogs
dh_installppp
dh_installlogcheck
diff -aur leafnode-1.11.8.orig/debian/control leafnode-1.11.8/debian/control
--- leafnode-1.11.8.orig/debian/control 2012-04-18 11:52:44.000000000 +0200
+++ leafnode-1.11.8/debian/control 2013-08-14 23:36:13.000000000 +0200
@@ -9,7 +9,8 @@
Architecture: any
Provides: news-transport-system
Conflicts: news-transport-system, newsx
-Depends: netbase, openbsd-inetd | inet-superserver, tcpd, logrotate, ${shlibs:Depends}, ${misc:Depends}
+Depends: netbase, tcpd, logrotate, ${shlibs:Depends}, ${misc:Depends}
+Recommends: openbsd-inetd | inet-superserver
Suggests: slrn | news-reader, ${perl:Depends}
Homepage: http://leafnode.org/
Description: NNTP server for small sites
Nur in leafnode-1.11.8/debian: control~.
--- End Message ---
--- Begin Message ---
Source: leafnode
Source-Version: 1.12.0-2
Done: Moritz Muehlenhoff <j...@debian.org>
We believe that the bug you reported is fixed in the latest version of
leafnode, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 719...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Moritz Muehlenhoff <j...@debian.org> (supplier of updated leafnode package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 22 Jan 2023 12:15:56 +0100
Source: leafnode
Architecture: source
Version: 1.12.0-2
Distribution: unstable
Urgency: medium
Maintainer: Moritz Muehlenhoff <j...@debian.org>
Changed-By: Moritz Muehlenhoff <j...@debian.org>
Closes: 638791 660569 719749 1027788
Changes:
leafnode (1.12.0-2) unstable; urgency=medium
.
* Install a socket-enabled systemd unit:
- The unit is not enabled by default: there's no clear consensus
in Debian whether socket-enabled systemd generally phases out
inetd invocation at this point and non-systemd continues to
see support still.
- here's no longer any registration of inetd/nntp service
in postinst
- Instead provide a README.Debian describing the options of either
enabling the systemd unit or instead to configure inetd instead
- Demote update-inetd, openbsd-inetd | inet-superserver, tcpd
dependencies to Suggests:
- Drop the debconf questions related to tcpd (and also the obsolete
question about PPP (debconf will eventually be removed entirely
at some point, it serves hardly any purpose other than setting
the upstream news server, which can be replaced by simply editing
a config file)
(Closes: #1027788, #660569, #719749, #638791)
Checksums-Sha1:
537ec5ad583cd7eff120d420f6adf0a11f7e063a 1848 leafnode_1.12.0-2.dsc
d17f8dc51bad8b53a73746b61adc5ac1b71cbf84 47316 leafnode_1.12.0-2.debian.tar.xz
e420d5c6697d405d2f1e70dd3f347077b917b0b2 6439 leafnode_1.12.0-2_amd64.buildinfo
Checksums-Sha256:
b0318b2fee409fdc7d0fecb7f6b8e8dbac23bd84ba1e555b14e43f35072a05a5 1848
leafnode_1.12.0-2.dsc
0bd6362d0ca33894b53418d4e32fd56efd00841d13212b27c97eddeb35f487e1 47316
leafnode_1.12.0-2.debian.tar.xz
693505efbacc8ce8d1688f75d7f019243d1292521dd311cee7e43420bfb25ad9 6439
leafnode_1.12.0-2_amd64.buildinfo
Files:
64cabd74f558429548a1f1e1be0d80d3 1848 news optional leafnode_1.12.0-2.dsc
5e7997e067b644f9140fae1298bdce5e 47316 news optional
leafnode_1.12.0-2.debian.tar.xz
08540790fb181f61a71220fd928253ff 6439 news optional
leafnode_1.12.0-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEtuYvPRKsOElcDakFEMKTtsN8TjYFAmPUTDoACgkQEMKTtsN8
TjbDWQ//TT616mljBkQNcAwVSO2bqpyEZnbmTh7U4BY3WxQ1lDe/JuK1/eUantrq
4p1e8kiqanQxMaQ4ZbhJDcAQi0HhNjwJXrV3ATW26Fobc2mD7UH1WHn+eFieExgs
rWXsYGldQ2ntoxROx/L95ujcvPcNhb+LoPbAHNqv5Kt1FSbvkPHHPdGjgC8jZn9/
td5VIiaXeyv8a5bOwR1BEY0mVYzX8GOnoQdDqhKHgMW0tBBM8Ag45HhCc2sxhxxb
fvGxWkrbaW0hteKVkTOd4zLZndAAZcwYcK/z2SbH1GZv4aLK0w0KuoTKPWLvuD8S
XZFKxORcpev8Ycpql4x11rnjTYvKMhuQVhhDkVmOaFJwqFgaHIVoWb8FXjhoEt2v
GMeQ57izCzO5NE63FAdTXsRy+LZ+rwuWa92//oUYwdnzlV1eq7s/iyJol4eeEenj
6kTG4HLhLBWyXPAvUnP7iyhymt2kdactMO+sdLqF0nBtQrZDPMauIO/1JB7lieCg
uQNm1LW1ZBGtmoM0NkohuddlSGgz9y3E9y8oiDDXwLKbGOBbHXyiJxGQ3xXWuX34
WkVVe8VFdarpRAhcBjIXGc7jjxhvN+PUvtjhxp8h+KpoiB2156AIPTb7RP3ItUE1
78p0s5LGRuE2WLDcnmbqvZvMFtKzsI5xT3YJUm7sz+vPHpc081g=
=YNsp
-----END PGP SIGNATURE-----
--- End Message ---