Today really seems to be a "Typos r Us" day for me.  Yet another fix
to the NEWS file addition.  Debdiff attached.

to 14. lokak. 2021 klo 17.24 Martin-Éric Racine
([email protected]) kirjoitti:
>
> ... and, sure enough, the previous message came with a stupid typo in
> the NEWS file.
>
> Fixed version attached.
>
> to 14. lokak. 2021 klo 17.21 Martin-Éric Racine
> ([email protected]) kirjoitti:
> >
> > debdiff attached.
> >
> > Martin-Éric
> >
> > su 10. lokak. 2021 klo 18.32 Sudip Mukherjee
> > ([email protected]) kirjoitti:
> > >
> > > Hi Martin-Éric,
> > >
> > > On Sat, Oct 9, 2021 at 7:14 PM Martin-Éric Racine
> > > <[email protected]> wrote:
> > > >
> > > > ti 20. heinäk. 2021 klo 22.49 Sudip Mukherjee
> > > > ([email protected]) kirjoitti:
> > > > > On Tue, Jul 20, 2021 at 6:51 PM Martin-Éric Racine
> > > > > <[email protected]> wrote:
> > > > > >
> > > > > > Package: micro-httpd
> > > > > > Version: 20051212-15.1
> > > > > > Severity: normal
> > > > > >
> > > > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > > > Hash: SHA256
> > > > > >
> > > > > > The dependencies in the systemd files that currently ship with 
> > > > > > micro-httpd only work if micro-httpd is bound to 0.0.0.0 as 
> > > > > > shipped. If it's bound to another IP address, systemd will report a 
> > > > > > failure to launch micro-httpd, because all network interfaces are 
> > > > > > not up yet, so the IP we're trying to bind to hasn't been assigned 
> > > > > > to any interface yet.
> > > > >
> > > > > Thanks for using micro-httpd and testing. Will attend to this one and
> > > > > also the earlier one that you have raised after the freeze is over.
> > > >
> > > > Hey Sudip!
> > > >
> > > > Would you have time to look into this now?
> > >
> > > Sorry for the delay, but too busy with $dayjob to properly do and test it.
> > > Since you are using it and have it working with the configuration
> > > changes, will you mind doing a NMU to it (and the other two) please.
> > > And if you are doing NMU please feel free to upload to 0-day.
> > >
> > >
> > > --
> > > Regards
> > > Sudip
diff -Nru micro-httpd-20140814/debian/changelog 
micro-httpd-20140814/debian/changelog
--- micro-httpd-20140814/debian/changelog       2020-02-06 20:40:35.000000000 
+0200
+++ micro-httpd-20140814/debian/changelog       2021-10-14 16:02:47.000000000 
+0300
@@ -1,3 +1,17 @@
+micro-httpd (20140814-2.1) unstable; urgency=medium
+
+  * Non-Maintainer Upload.
+  * Fixed "cannot configure the root directory if started by systemd
+    instead of inetd" by adding a NEWS item (Closes: #983232).
+  * Fixed "systemd install dependency fails if binding to IP other than
+    0.0.0.0" by adding FreeBind=true to the socket unit (Closes: #991324).
+    Thanks to Ansgar Burchardt for the solution.
+  * Fixed "[email protected]:6: Special user nobody configured, this is
+    not safe!" by using the canonical www-data user (Closes: #991884).
+  * Ran 'quilt refresh' which defuzzed 30_makefile-strip-fix.dpatch
+
+ -- Martin-Éric Racine <[email protected]>  Thu, 14 Oct 2021 16:02:47 
+0300
+
 micro-httpd (20140814-2) unstable; urgency=medium
 
   [ Debian Janitor ]
diff -Nru micro-httpd-20140814/debian/[email protected] 
micro-httpd-20140814/debian/[email protected]
--- micro-httpd-20140814/debian/[email protected]    2020-02-06 
01:14:09.000000000 +0200
+++ micro-httpd-20140814/debian/[email protected]    2021-10-14 
13:54:03.000000000 +0300
@@ -3,8 +3,7 @@
 Documentation=man:micro-httpd(8)
 
 [Service]
-User=nobody
+User=www-data
 Group=www-data
 ExecStart=-/usr/sbin/micro-httpd /var/www/html
 StandardInput=socket
-
diff -Nru micro-httpd-20140814/debian/micro-httpd.socket 
micro-httpd-20140814/debian/micro-httpd.socket
--- micro-httpd-20140814/debian/micro-httpd.socket      2020-02-06 
01:14:09.000000000 +0200
+++ micro-httpd-20140814/debian/micro-httpd.socket      2021-10-14 
15:54:56.000000000 +0300
@@ -5,6 +5,7 @@
 [Socket]
 ListenStream=0.0.0.0:80
 Accept=true
+FreeBind=true
 
 [Install]
 WantedBy=sockets.target
diff -Nru micro-httpd-20140814/debian/NEWS micro-httpd-20140814/debian/NEWS
--- micro-httpd-20140814/debian/NEWS    2020-02-06 01:14:09.000000000 +0200
+++ micro-httpd-20140814/debian/NEWS    2021-10-14 16:02:47.000000000 +0300
@@ -1,3 +1,24 @@
+micro-httpd (20140814-2.1) unstable; urgency=medium
+
+  On hosts booting with systemd, the daemon is configured via systemd units.
+
+  1) To change the document root, type the following line in a command shell:
+
+       sudo systemctl edit [email protected]
+
+     Then change the second part of ExecStart to a different path.
+
+  2) To change IP address or port, type the following line in a command shell:
+
+       sudo systemctl edit micro-httpd.socket
+  
+     Then change ListenStream to a different IP address and port combination.
+
+  On hosts booting with the traditional BSD init, the daemon is configured via
+  the /etc/inetd.conf (document root) and /etc/services (port) text files.
+
+ -- Martin-Éric Racine <[email protected]>  Thu, 14 Oct 2021 16:53:42 
+0300
+
 micro-httpd (20051212-5) unstable; urgency=low
 
   The binary name has changed from micro_httpd to the micro-httpd.
diff -Nru micro-httpd-20140814/debian/patches/30-makefile-strip-fix.patch 
micro-httpd-20140814/debian/patches/30-makefile-strip-fix.patch
--- micro-httpd-20140814/debian/patches/30-makefile-strip-fix.patch     
2020-02-06 01:14:09.000000000 +0200
+++ micro-httpd-20140814/debian/patches/30-makefile-strip-fix.patch     
2021-10-14 13:54:03.000000000 +0300
@@ -10,10 +10,10 @@
  Makefile |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
 
-diff --git a/Makefile b/Makefile
-index 090cadc..2faa776 100644
---- a/Makefile
-+++ b/Makefile
+Index: micro-httpd-20140814/Makefile
+===================================================================
+--- micro-httpd-20140814.orig/Makefile
++++ micro-httpd-20140814/Makefile
 @@ -3,7 +3,7 @@ MANDIR =       /usr/local/man/man8
  CC =          cc
  CFLAGS =      -O -ansi -pedantic -U__STRICT_ANSI__ -Wall -Wpointer-arith 
-Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wredundant-decls -Wno-long-long
@@ -23,6 +23,3 @@
  
  all:          micro_httpd
  
--- 
-1.6.5
-

Reply via email to