Package Details: bozohttpd 20220517-1

Git Clone URL: https://aur.archlinux.org/bozohttpd.git (read-only, click to copy)
Package Base: bozohttpd
Description: A small and secure HTTP version 1.1 server
Upstream URL: http://www.eterna.com.au/bozohttpd/
Licenses: BSD
Submitter: ndowens
Maintainer: mrxx
Last Packager: mrxx
Votes: 4
Popularity: 0.000000
First Submitted: 2009-07-09 03:28 (UTC)
Last Updated: 2022-05-29 12:33 (UTC)

Latest Comments

1 2 Next › Last »

mrxx commented on 2022-01-31 20:18 (UTC)

Great, thank you again, I've included your make optimizations, too.

tamjan commented on 2022-01-31 15:24 (UTC)

Sure, whatever you find best. Glad I could help. The PKGBUILD at pastebin has LUA support, and compiles the program with flags from makepkg.conf (so, with optimization flags). You are welcome to "steal it" as-is, if you want.

mrxx commented on 2022-01-30 17:36 (UTC)

Thank you very much, tamjan.

I've added another sed to the PKGBUILD in order to include stdint.h.

tamjan commented on 2022-01-30 08:03 (UTC)

You can find my suggested PKGBUILD here: https://pastebin.com/ZJtPr4cn I inlined to patch so that only the PKGBUILD would need to be changed.

tamjan commented on 2022-01-28 19:42 (UTC)

Well, I stumbled here as well, but then again I'm neither a C++ expert, nor do I often compile NetBSD programs on Linux. However, I do like this web server. To get a definition of uintptr_t you can patch bozohttpd.h and add an #include <stdint.h> - which makes sense. However, if you remove -DNO_LUA_SUPPORT (we do require lua here anyway - no?), it also compiles. No idea why really, but I guess that the needed header file is included somewhere along the way if lua support is not disabled. Now, that I've got this to compile on my Arch Linux ARM, what remains is to get it to compile on my Gentoo systems. :)

mrxx commented on 2022-01-24 07:54 (UTC) (edited on 2022-01-24 07:55 (UTC) by mrxx)

The last usable version is 20201014 as 20210211 is not available for download and 20210227 cannot be compiled:

bozohttpd.c:2723:35: error: ‘uintptr_t’ undeclared (first use in this function)
 2723 | #define bozo_unconst(x) ((void *)(uintptr_t)x)
      |                                   ^~~~~~~~~

etc. etc.

mrxx commented on 2018-11-26 19:55 (UTC)

Updated to version 20181125, added SSL (certificate is auto-created at first start).

tamjan, thanks for the input, I did add armv6h to archs, but added SSL without socket.

tamjan commented on 2017-12-01 11:54 (UTC)

Oh, and I use this on an ALARMPI1, so you could also add armv6h to archs if you like.

tamjan commented on 2017-12-01 11:53 (UTC)

I've made a package that incorporates some patches, Archifies the compilation process a bit, enables .htpasswd support, and also bundles a systemd socket which shows how to use ssl with bozohttpd. Feel free to take what you want and add it to this distribution. My package is shared at https://www.dropbox.com/s/0r3x2qiy9lrjhui/bozohttpd.tar.gz?dl=1 for 30 days.

mrxx commented on 2017-02-01 13:08 (UTC)

Updated to version 20170201.