[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#925476: unblock: dwww/1.13.4+nmu3



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package dwww

(explain the reason for the unblock here)
This is updated package to comply with RM question for +nmu1 upload
filed as #925028 (Closing it with this request with 925028-done@bugs.debian.org)

Jonathan Wiltshire <jmw@debian.org> said:
> This promotion of packages from Suggests to Recommends is not mentioned in
> the changelog. What is its purpose?

I took no response from my reply is NOT GOOD.  So I reverted
undocumented changes here.  No more dependency changes.

(include/attach the debdiff against the package in testing)

diff -Nru dwww-1.13.4/debian/changelog dwww-1.13.4+nmu3/debian/changelog
--- dwww-1.13.4/debian/changelog	2017-06-21 05:13:20.000000000 +0900
+++ dwww-1.13.4+nmu3/debian/changelog	2019-03-26 00:39:01.000000000 +0900
@@ -1,3 +1,31 @@
+dwww (1.13.4+nmu3) UNRELEASED; urgency=medium
+
+  * NMU
+  * Really revert dependency changes to 1.13.4.
+
+ -- Osamu Aoki <osamu@debian.org>  Tue, 26 Mar 2019 00:39:01 +0900
+
+dwww (1.13.4+nmu2) unstable; urgency=medium
+
+  * NMU
+  * Revert dependency changes to 1.13.4. 
+
+ -- Osamu Aoki <osamu@debian.org>  Mon, 25 Mar 2019 23:36:13 +0900
+
+dwww (1.13.4+nmu1) unstable; urgency=medium
+
+  * NMU
+
+  [ Ondřej Nový ]
+  * d/control: Set Vcs-* to salsa.debian.org .  Closes: #924709
+
+  [ Osamu Aoki ]
+  * Document properly to enable CGI script.  Closes: #781987, #822323
+  * Apply patch from Daniel Reichelt to make sleep time after each file
+    configurable for dwww-index++.  Closes: #881189
+
+ -- Osamu Aoki <osamu@debian.org>  Sun, 17 Mar 2019 00:01:51 +0900
+
 dwww (1.13.4) unstable; urgency=medium
 
   * dwww-txt2html.c:
diff -Nru dwww-1.13.4/debian/control dwww-1.13.4+nmu3/debian/control
--- dwww-1.13.4/debian/control	2017-06-21 05:13:20.000000000 +0900
+++ dwww-1.13.4+nmu3/debian/control	2019-03-25 23:47:03.000000000 +0900
@@ -5,8 +5,8 @@
 Build-Depends: debhelper (>= 10), dh-apache2, lsb-release, publib-dev
 Build-Conflicts: apache2-dev (<< 2.4.4-6~)
 Standards-Version: 4.0.0
-Vcs-Git: https://anonscm.debian.org/git/users/robert/dwww.git
-Vcs-Browser: https://anonscm.debian.org/cgit/users/robert/dwww.git
+Vcs-Git: https://salsa.debian.org/debian/dwww.git
+Vcs-Browser: https://salsa.debian.org/debian/dwww
 
 Package: dwww
 Architecture: any
@@ -27,6 +27,16 @@
 Suggests: doc-debian, dpkg-www, links | www-browser
 Description: Read all on-line documentation with a WWW browser
  All installed on-line documentation will be served via a local HTTP
- server. When possible, dwww converts the documentation to HTML.
- You need to install both a CGI-capable HTTP server and a WWW
- browser to read the documentation.
+ server at http://localhost/dwww/. This package runs cron scripts to
+ convert available resources to the HTML pages.  Executing the dwww
+ command starts a sensible WWW browser locally to access them.
+ .
+ You need to install a CGI-capable HTTP server and enable its CGI script
+ capability manually (CGI may be disabled by default for the security
+ consideration).  For apache2, do something along the following:
+ .
+  $ sudo a2enmod cgid
+  $ sudo systemctl restart apache2
+ .
+ The default for the HTTP/CGI access is limited to the local user for
+ the security consideration. 
diff -Nru dwww-1.13.4/man/dwww.7 dwww-1.13.4+nmu3/man/dwww.7
--- dwww-1.13.4/man/dwww.7	2017-06-21 05:13:20.000000000 +0900
+++ dwww-1.13.4+nmu3/man/dwww.7	2019-03-16 16:14:00.000000000 +0900
@@ -230,6 +230,14 @@
 .BR dwww\-index++ (8)
 will generate index of registered documentation.
 .\"
+.IP DWWW_INDEX_FULL_SLEEP_TIME
+In order to not impede regular server operation,
+.BR dwww\-index++ (8)
+sleeps for the specified amount of time (in seconds) before feeding the next file path to index to
+.BR index++ (1).
+The default value is
+.BR 0.15 .
+.\"
 .IP DWWW_INDEX_FULL_TIME_INTERVAL
 Specifies how often (in days) 
 .BR dwww\-index++ (8)
diff -Nru dwww-1.13.4/perl/Debian/Dwww/ConfigFile.pm dwww-1.13.4+nmu3/perl/Debian/Dwww/ConfigFile.pm
--- dwww-1.13.4/perl/Debian/Dwww/ConfigFile.pm	2017-06-21 05:13:20.000000000 +0900
+++ dwww-1.13.4+nmu3/perl/Debian/Dwww/ConfigFile.pm	2019-03-16 16:14:00.000000000 +0900
@@ -96,6 +96,11 @@
             defval => 28,
             descr  => 'How often (in days) dwww-index++(8) will generate full index of documentation.'
         },
+        'DWWW_INDEX_FULL_SLEEP_TIME' => {
+            sort   => 50,
+            defval => 0.15,
+            descr  => 'How long (in seconds) dwww-index++ should sleep after each file in order to not impact regular server operation.'
+        },
         'DWWW_INDEX_INCREMENTAL_TIME_INTERVAL'  => {
             sort   => 50,
             defval => 7,
diff -Nru dwww-1.13.4/perl/Debian/Dwww/Initialize.pm dwww-1.13.4+nmu3/perl/Debian/Dwww/Initialize.pm
--- dwww-1.13.4/perl/Debian/Dwww/Initialize.pm	2017-06-21 05:13:20.000000000 +0900
+++ dwww-1.13.4+nmu3/perl/Debian/Dwww/Initialize.pm	2019-03-16 16:14:16.000000000 +0900
@@ -18,7 +18,7 @@
     my $cfgvars  = ReadConfigFile($filename);
     my $dwwwvars = {};
 
-    map +{ $dwwwvars->{$_} = $cfgvars->{$_}->{'cfgval'} ? $cfgvars->{$_}->{'cfgval'}
+    map +{ $dwwwvars->{$_} = defined($cfgvars->{$_}->{'cfgval'}) ? $cfgvars->{$_}->{'cfgval'}
                                                        : $cfgvars->{$_}->{'defval'} }, keys %$cfgvars;
 
     umask (022);
diff -Nru dwww-1.13.4/README dwww-1.13.4+nmu3/README
--- dwww-1.13.4/README	2017-06-21 05:13:20.000000000 +0900
+++ dwww-1.13.4+nmu3/README	2019-03-16 18:38:38.000000000 +0900
@@ -11,6 +11,15 @@
 boa, roxen, wn, etc., but NOT dhttpd or fnord.)
 Sorry.
 
+The CGI script capability of a web server may be disabled by default for
+the security consideration.  You need to enable its CGI script
+capability manually.  For apache2, do something along the following:
+
+  $ sudo a2enmod cgid
+  $ sudo systemctl restart apache2
+
+The default for the HTTP/CGI access is limited to the local user for the
+security consideration. 
 
 For more information, read the manual page dwww(7), and the other
 manual pages it refers to.
diff -Nru dwww-1.13.4/scripts/dwww-index++ dwww-1.13.4+nmu3/scripts/dwww-index++
--- dwww-1.13.4/scripts/dwww-index++	2017-06-21 05:13:20.000000000 +0900
+++ dwww-1.13.4+nmu3/scripts/dwww-index++	2019-03-16 16:14:00.000000000 +0900
@@ -218,9 +218,9 @@
 	my $do_sleep	= shift;
 
 	foreach my $f (sort keys %new_files_hash) {
-    	syswrite $FH, "$new_files_hash{$f}\n";
-		# sleep 150 ms
-        select(undef, undef, undef, 0.15) if $do_sleep;
+	syswrite $FH, "$new_files_hash{$f}\n";
+	# sleep the configured amount of time, if $do_sleep
+	select(undef, undef, undef, $dwwwconf->{'DWWW_INDEX_FULL_SLEEP_TIME'}) if $do_sleep;
 	}
 } # }}}
 


unblock dwww/1.13.4+nmu3

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (10, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


Reply to: