Package: mini-httpd / 1.23-1.2

Metadata

Package Version Patches format
mini-httpd 1.23-1.2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
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.
fix kfreebsd support | (download)

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

 add support for gnu/kfreebsd, which defines
	    __FreeBSD_Kernel__ but not __FreeBSD__
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
	    and added index.mini-httpd.html in /var/www/html
01 manpage | (download)

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

---
03 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".
	       Thanks to Thorsten Schmale who has written this patch.
fix makefile | (download)

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

 change destdir and lcflags
Autor: Jose dos Santos Junior <j.s.junior@live.com>
05 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.
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