tar -xf mongoose-2.11.tgz cc -ldl -pthread -W -Wall -std=c99 -pedantic -O2 -fomit-frame-pointer mongoose.c -shared -fPIC -fpic -o _mongoose.so cc -ldl -pthread -W -Wall -std=c99 -pedantic -O2 -fomit-frame-pointer mongoose.c main.c -o mongoose perl test/test.pl Executing: ./mongoose -a access.log Loading config file ./mongoose.conf ==> Loading config file ... OK Executing: ./mongoose -listening_ports 23456 -access_log_file access.log -error_log_file debug.log -cgi_environment CGI_FOO=foo,CGI_BAR=bar,CGI_BAZ=baz -extra_mime_types .bar=foo/bar,.tar.gz=blah,.baz=foo -put_delete_passwords_file test/passfile -access_control_list -0.0.0.0/0,+127.0.0.1 -document_root test,/aiased=/etc/,/ta=test/test_dir ==> GET regular file ... OK ==> GET regular file Content-Length ... OK ==> URL-decoding ... OK ==> URL-decoding, + in URI ... OK ==> Bad HTTP Version ... OK ==> Bad HTTP maj Version ... OK ==> Bad HTTP min Version ... OK ==> HTTP Version >1.1 ... OK ==> Leading dot 1 ... OK ==> Leading dot 2 ... OK ==> Leading dot 3 ... OK ==> Leading dot 4 ... OK ==> PATH_INFO loop problem ... OK ==> Directory redirection ... OK ==> Directory listing ... OK ==> Index substitution ... OK ==> Directory listing - file name ... OK ==> Aliases ... OK ==> Not existent file ... OK ==> index.cgi execution ... OK ==> SCRIPT_FILENAME ... OK ==> Aliases SCRIPT_NAME ... OK ==> .css mime type ... OK ==> .baz mime type ... OK ==> .htm mime type ... OK ==> .txt mime type ... OK ==> .tar.gz mime type ... OK ==> .bar mime type ... OK ==> .c mime type ... OK ==> .html mime type ... OK ==> .js mime type ... OK ==> .jpg mime type ... OK ==> .unknown_extension mime type ... OK ==> Range: 206 status code ... OK ==> Range: Content-Length ... OK ==> Range: Content-Range ... OK ==> Range: body content ... OK ==> Directory listing (name, ascending) ... OK ==> Directory listing (name, descending) ... OK ==> Directory listing (size, ascending) ... OK ==> Directory listing (size, descending) ... OK ==> Directory listing (modification time, ascending) ... OK ==> Directory listing (modification time, descending) ... OK ==> .htpasswd - triggering auth on file request ... OK ==> .htpasswd - triggering auth on directory request ... OK ==> GET CGI file ... OK ==> GET sh CGI file ... OK ==> QUERY_STRING wrong ... OK ==> CGI POST wrong ... OK ==> Content-Length not being passed to CGI ... OK ==> HTTP_* env ... OK ==> GET CGI with trailing data ... OK ==> CGI Win32 code disclosure (%20) ... OK ==> CGI Win32 code disclosure (%ff) ... OK ==> CGI Win32 code disclosure (%2e) ... OK ==> CGI Win32 code disclosure (%2b) ... OK ==> CGI HTTPS ... OK ==> -cgi_env 1 ... OK ==> -cgi_env 2 ... OK ==> -cgi_env 3 ... OK ==> CGI chdir() ... OK ==> SSI #include file= ... OK ==> SSI #include virtual= ... OK ==> SSI #exec ... OK ==> SSI #include file= (absolute) ... OK ==> SSI #include "..." ... OK ==> SSI nested #includes ... OK ==> PUT file, status 201 ... OK ==> PUT file, status 200 ... OK ==> PUT 411 error ... OK ==> PUT 417 error ... OK ==> PUT 100-Continue ... OK cc -W -Wall -o ./embed test/embed.c mongoose.c -I. -pthread -DNO_SSL -DLISTENING_PORT=\"23456\" mongoose.c:332:24: Warnung: »crypto_sw« definiert, aber nicht verwendet mongoose.c:532:20: Warnung: »ssl_error« definiert, aber nicht verwendet Executing: ././embed ==> mg_get_header ... OK ==> mg_get_var 1 ... OK ==> mg_get_var 2 ... OK ==> mg_get_var 3 ... OK ==> mg_get_var 4 ... OK ==> mg_get_var 5 ... OK ==> mg_get_var 6 ... OK ==> mg_get_var 7 ... OK ==> mg_get_var 8 ... OK ==> mg_get_var 9 ... OK ==> mg_get_var 10 ... OK ==> request_info ... OK ==> 404 handler ... OK ==> * error handler ... OK SUCCESS! All tests passed. /home/slkbuilds/arch/n/mongoose/pkg: insgesamt 16 drwxr-xr-x 3 root root 4096 Jan 6 16:16 etc drwxr-xr-x 2 root root 4096 Jan 6 16:16 install drwxr-xr-x 6 root root 4096 Jan 6 16:16 usr drwxr-xr-x 3 root root 4096 Jan 6 16:16 var /home/slkbuilds/arch/n/mongoose/pkg/etc: insgesamt 8 -rw-r--r-- 1 root root 1181 Jan 6 16:16 mongoose.conf.new drwxr-xr-x 2 root root 4096 Jan 6 16:16 rc.d /home/slkbuilds/arch/n/mongoose/pkg/etc/rc.d: insgesamt 4 -rwxr-xr-x 1 root root 1081 Jan 6 16:16 rc.mongoose.new /home/slkbuilds/arch/n/mongoose/pkg/install: insgesamt 8 -rw-r--r-- 1 root root 478 Jan 6 16:16 doinst.sh -rw-r--r-- 1 root root 387 Jan 6 16:16 slack-desc /home/slkbuilds/arch/n/mongoose/pkg/usr: insgesamt 16 drwxr-xr-x 3 root root 4096 Jan 6 16:16 doc drwxr-xr-x 3 root root 4096 Jan 6 16:16 man drwxr-xr-x 2 root root 4096 Jan 6 16:16 sbin drwxr-xr-x 3 root root 4096 Jan 6 16:16 src /home/slkbuilds/arch/n/mongoose/pkg/usr/doc: insgesamt 4 drwxr-xr-x 2 root root 4096 Jan 6 16:16 mongoose-2.11 /home/slkbuilds/arch/n/mongoose/pkg/usr/doc/mongoose-2.11: insgesamt 4 -rw-r--r-- 1 root root 57 Jan 6 16:16 COPYING /home/slkbuilds/arch/n/mongoose/pkg/usr/man: insgesamt 4 drwxr-xr-x 2 root root 4096 Jan 6 16:16 man1 /home/slkbuilds/arch/n/mongoose/pkg/usr/man/man1: insgesamt 4 -rw-r--r-- 1 root root 2712 Jan 6 16:16 mongoose.1.gz /home/slkbuilds/arch/n/mongoose/pkg/usr/sbin: insgesamt 48 -rwxr-xr-x 1 root root 48696 Jan 6 16:16 mongoose /home/slkbuilds/arch/n/mongoose/pkg/usr/src: insgesamt 4 drwxr-xr-x 2 root root 4096 Jan 6 16:16 mongoose-2.11 /home/slkbuilds/arch/n/mongoose/pkg/usr/src/mongoose-2.11: insgesamt 8 -rw-r--r-- 1 root root 2767 Jan 6 16:16 SLKBUILD -rw-r--r-- 1 root root 1081 Jan 6 16:16 rc.mongoose /home/slkbuilds/arch/n/mongoose/pkg/var: insgesamt 4 drwxr-xr-x 3 root root 4096 Jan 6 16:16 www /home/slkbuilds/arch/n/mongoose/pkg/var/www: insgesamt 4 drwxr-xr-x 2 root root 4096 Jan 6 16:16 htdocs /home/slkbuilds/arch/n/mongoose/pkg/var/www/htdocs: insgesamt 0 Slackware package maker, version 3.14159. Searching for symbolic links: No symbolic links were found, so we won't make an installation script. You can make your own later in ./install/doinst.sh and rebuild the package if you like. This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /home/slkbuilds/arch/n/mongoose/mongoose-2.11-i486-1tm.txz ./ usr/ usr/doc/ usr/doc/mongoose-2.11/ usr/doc/mongoose-2.11/COPYING usr/sbin/ usr/sbin/mongoose usr/src/ usr/src/mongoose-2.11/ usr/src/mongoose-2.11/rc.mongoose usr/src/mongoose-2.11/SLKBUILD usr/man/ usr/man/man1/ usr/man/man1/mongoose.1.gz install/ install/slack-desc install/doinst.sh etc/ etc/rc.d/ etc/rc.d/rc.mongoose.new etc/mongoose.conf.new var/ var/www/ var/www/htdocs/ Slackware package /home/slkbuilds/arch/n/mongoose/mongoose-2.11-i486-1tm.txz created. Package has been built. Cleaning pkg and src directories