Package: info2www Version: 1.2.2.9-24 Severity: normal Tags: patch Here is consolidated patch for this package to fix all bug reported.
Please note I install file in /var/www following last resort method described in lintian message. +++ lintian output +++ I: info2www source: missing-debian-source-format W: info2www source: debhelper-but-no-misc-depends info2www W: info2www source: out-of-date-standards-version 3.8.0 (current is 3.9.1) I: info2www: extended-description-is-probably-too-short +++ end of lintian output +++ This is minimum change patch (I did not move to dh7 etc.) These warning can be fixed but it may be better to package info2html. Anyway this for wheezy since we are in deep freeze. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru info2www-1.2.2.9-orig/debian/apache.conf info2www-1.2.2.9/debian/apache.conf --- info2www-1.2.2.9-orig/debian/apache.conf 1970-01-01 09:00:00.000000000 +0900 +++ info2www-1.2.2.9/debian/apache.conf 2010-12-29 14:09:08.394409816 +0900 @@ -0,0 +1,28 @@ +# info2www configuration file for apache* web-servers + + +<Directory "/var/www/info2www"> + Order deny,allow + +# Before uncommenting the following lines please put IP address +# of your computer in the Allow line + # Deny from all + # Allow from 127.0.0.0/255.0.0.0 REPLACE-WITH.YOUR.HOST.IP-ADDRESS + +# IPv6 addresses work only with apache2 + # Allow from ::1/128 +</Directory> + +<Location "/cgi-bin/info2www"> + Order deny,allow + +# Before uncommenting the following lines please put IP address +# of your computer in the Allow line + # Deny from all + # Allow from 127.0.0.0/255.0.0.0 REPLACE-WITH.YOUR-HOST.IP-ADDRESS + +# IPv6 addresses work only with apache2 + # Allow from ::1/128 +</Location> + +# vim:ft=conf:et:ts=8 diff -Nru info2www-1.2.2.9-orig/debian/changelog info2www-1.2.2.9/debian/changelog --- info2www-1.2.2.9-orig/debian/changelog 2010-12-29 10:15:19.000000000 +0900 +++ info2www-1.2.2.9/debian/changelog 2010-12-29 14:06:55.201315451 +0900 @@ -1,3 +1,15 @@ +info2www (1.2.2.9-24.1) unstable; urgency=low + + * Non-maintainer upload. + * Made link in postinst to /var/www/info2www but allowed its access + only from localhost without manual intervention. This is lintian + clean and safe (Closes: #535282). + * Updated documentation (Closes: #493366). + * Updated package name to coreutils per Justin B Rye (Closes: #493367). + * Moved doc-base section to Help per Justin B Rye (Closes: #493368). + + -- Osamu Aoki <[email protected]> Wed, 29 Dec 2010 13:38:36 +0900 + info2www (1.2.2.9-24) unstable; urgency=medium * debian/control: diff -Nru info2www-1.2.2.9-orig/debian/info2www.1 info2www-1.2.2.9/debian/info2www.1 --- info2www-1.2.2.9-orig/debian/info2www.1 2010-12-29 10:15:19.000000000 +0900 +++ info2www-1.2.2.9/debian/info2www.1 2010-12-29 11:23:01.000000000 +0900 @@ -17,6 +17,8 @@ is in the Public Domain. .SH SEE ALSO .BR man2html (8) +and +.B /etc/info2www/apache.conf .SH AUTHOR Roar Smith <[email protected]> .PP diff -Nru info2www-1.2.2.9-orig/debian/info2www.install info2www-1.2.2.9/debian/info2www.install --- info2www-1.2.2.9-orig/debian/info2www.install 1970-01-01 09:00:00.000000000 +0900 +++ info2www-1.2.2.9/debian/info2www.install 2010-12-29 13:28:47.082320373 +0900 @@ -0,0 +1,2 @@ +debian/apache.conf etc/info2www/apache.conf + diff -Nru info2www-1.2.2.9-orig/debian/info2www.links info2www-1.2.2.9/debian/info2www.links --- info2www-1.2.2.9-orig/debian/info2www.links 1970-01-01 09:00:00.000000000 +0900 +++ info2www-1.2.2.9/debian/info2www.links 2010-12-29 11:28:37.000000000 +0900 @@ -0,0 +1,3 @@ +/etc/info2www/apache.conf /etc/apache/infowww +/etc/info2www/apache.conf /etc/apache2/infowww + diff -Nru info2www-1.2.2.9-orig/debian/postinst info2www-1.2.2.9/debian/postinst --- info2www-1.2.2.9-orig/debian/postinst 2010-12-29 10:15:19.000000000 +0900 +++ info2www-1.2.2.9/debian/postinst 2010-12-29 13:54:58.193527865 +0900 @@ -22,6 +22,8 @@ configure) # Create cache directory and chown/chmod it appropriately. install -d -m 0775 -o root -g www-data /var/cache/info2www + # Create symlink + ln -sf /var/lib/info2www /var/www ;; abort-upgrade|abort-remove|abort-deconfigure) diff -Nru info2www-1.2.2.9-orig/debian/postrm info2www-1.2.2.9/debian/postrm --- info2www-1.2.2.9-orig/debian/postrm 2010-12-29 10:15:19.000000000 +0900 +++ info2www-1.2.2.9/debian/postrm 2010-12-29 13:53:38.226373030 +0900 @@ -26,6 +26,8 @@ purge) # Remove cache directory and all files therein. rm -rf /var/cache/info2www + # Remove default web page (symlink) + rm -f /var/www/info2www ;; *) diff -Nru info2www-1.2.2.9-orig/debian/README.Debian info2www-1.2.2.9/debian/README.Debian --- info2www-1.2.2.9-orig/debian/README.Debian 2010-12-29 10:15:19.000000000 +0900 +++ info2www-1.2.2.9/debian/README.Debian 2010-12-29 11:02:35.000000000 +0900 @@ -1,20 +1,14 @@ info2www for Debian ------------------- - * info2www is no longer automatically installed/setup for any webserver, - you have to manually hook it up into your CGI-capable webserver. - For Apache2 this is as simple as: + * info2www requires running a web server with CGI support (i.e. apache, + boa, roxen, wn, etc., but NOT dhttpd or fnord.) - ln -s /var/lib/info2www/ /vaw/www/info2www - - (assuming /var/www is your DocumentRoot) - - The directory /var/lib/info2www contains HTML and PNG files needed by - info2www. The CGI file itself is automatically installed into - /usr/lib/cgi-bin/info2www, so most webservers should automatically find it. + * See manual page info2www(1) for its configuration. * I do not know where to find the current upstream sources, neither do I have any working email address of the upstream author. If anyone knows either of these, please contact me. Thanks. -- Uwe Hermann <[email protected]>, Sat, 26 Jul 2008 19:14:36 +0200 + -- Osamu Aoki <[email protected]>, Wed, 29 Dec 2010 11:02:28 +0900 diff -Nru info2www-1.2.2.9-orig/info2www.html info2www-1.2.2.9/info2www.html --- info2www-1.2.2.9-orig/info2www.html 2010-12-29 10:15:19.000000000 +0900 +++ info2www-1.2.2.9/info2www.html 2010-12-29 13:34:47.162356381 +0900 @@ -32,14 +32,14 @@ <H2>Usage</H2> - The info2www script should be called with zero or one argument as follows: + The info2www CGI-script should be called with zero or one argument as follows: <DL> <DT><A HREF="/cgi-bin/info2www"><A HREF="/cgi-bin/info2www">Directory</A></A> <DD>Access the default Info Node <STRONG>(DIR)Top</STRONG><P> - <DT><A HREF="/cgi-bin/info2www?(fileutils)"><A HREF="/cgi-bin/info2www?(fileutils)">fileutils</A></A> - <DD>Access the Info Node <STRONG>(fileutils.info)Top</STRONG><P> + <DT><A HREF="/cgi-bin/info2www?(coreutils)"><A HREF="/cgi-bin/info2www?(coreutils)">coreutils</A></A> + <DD>Access the Info Node <STRONG>(coreutils.info)Top</STRONG><P> <DT><A HREF="/cgi-bin/info2www?(gzip)Concept%20Index"><A HREF="/cgi-bin/info2www?(gzip)Concept%20Index">GZIP Concept Index</A></A> <DD>Access the Info Node <STRONG>(gzip.info)Concept Index</STRONG><P>

