Package: mini-httpd / 1.30-2

Metadata

Package Version Patches format
mini-httpd 1.30-2 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 <marv@der-marv.de>
##
## 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".

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

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