Package: mini-httpd / 1.30-11

Metadata

Package Version Patches format
mini-httpd 1.30-11 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 fix autobuilders | (download)

htpasswd.c | 1 1 0 - 0 !
mini_httpd.c | 2 2 0 - 0 !
2 files changed, 3 insertions( )

 include missing headers to ensure proper declarations

mini_httpd uses several standard C functions without including the proper
headers needed to pick up their declarations.  One of these functions,
crypt(), returns a pointer.  Failure to include the header means the return
type is assumed to be an int, which means the pointer is implicitly cast to
an int, which loses data on 64-bit architectures.
0002 fix kfreebsd support | (download)

port.h | 4 2 2 - 0 !
1 file changed, 2 insertions( ), 2 deletions(-)

 add support for gnu/kfreebsd, which defines

===================================================================

0003 fix change index document root | (download)

mini_httpd.c | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 change the default document root to /var/www/html

===================================================================

0004 manpage | (download)

mini_httpd.8 | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 manpage

#!/bin/sh /usr/share/dpatch/dpatch-run
## 01-manpage.dpatch by Marvin Stark <[email protected]>
##
## DP: Fix manpage character error.

@DPATCH@

0005 cgi php | (download)

mini_httpd.c | 4 3 1 - 0 !
1 file changed, 3 insertions( ), 1 deletion(-)

 mini_httpd does not run php cgi

	       shows following error: "No input file specified".
Later edit: Referencing #1057842, adds index.mini-httpd.html at the bottom of the array to 
preserve compatibility with older versions which still search for the file as the second
DocumentRoot default
===================================================================

0006 fix makefile | (download)

Makefile | 15 6 9 - 0 !
1 file changed, 6 insertions( ), 9 deletions(-)

 change destdir and lcflags

0007 manpage hyphen | (download)

htpasswd.1 | 2 1 1 - 0 !
mini_httpd.8 | 40 20 20 - 0 !
2 files changed, 21 insertions( ), 21 deletions(-)

 escape minus signs as needed.

0008 fix ftbfs kfreebsd amd64 | (download)

mini_httpd.c | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 fix ftbfs in kfreebsd-amd64 where int64_t is already declared,
 but HAVE_INT64T is not defined

Bug-Debian: htts://bugs.debian.org/825713
0009 fix nullpointer dereference | (download)

mini_httpd.c | 3 2 1 - 0 !
1 file changed, 2 insertions( ), 1 deletion(-)

 fix-nullpointer-dereference


0010 strip port numbers in vhost | (download)

mini_httpd.c | 6 6 0 - 0 !
1 file changed, 6 insertions( )

 strip-port-numbers-in-vhost
Bug-Debian: https://bugs.debian.org/491078

0011 fix typo in documentation maxage | (download)

mini_httpd.8 | 4 2 2 - 0 !
mini_httpd.c | 4 2 2 - 0 !
2 files changed, 4 insertions( ), 4 deletions(-)

 fixes typo describing maxage config option
 This was wrongly documented as maxage when source code expects max_age.
0012 cgi nph response | (download)

mini_httpd.c | 12 7 5 - 0 !
1 file changed, 7 insertions( ), 5 deletions(-)

 fixes bug where nph script gets additional wrong http 200/ok
0013 fix charset string | (download)

mini_httpd.c | 11 6 5 - 0 !
1 file changed, 6 insertions( ), 5 deletions(-)

 fixes broken charset parsing in do_dir and
 send_error functions which results in a literal
 charset=%s getting passed to the browser.
0014 silence cgi stderr | (download)

mini_httpd.c | 13 13 0 - 0 !
1 file changed, 13 insertions( )

 stops cgi scripts outputting stderr to client
 which is not compliant with CGI RFC.
0015 log cgi calls | (download)

mini_httpd.c | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 emit log entry when cgi script is called,
 enables referrer analysis