Package Details: mongoose 6.7-1

Git Clone URL: (read-only)
Package Base: mongoose
Description: Easy to use, powerful, embeddable web server
Upstream URL:
Licenses: GPL2
Submitter: None
Maintainer: anatolik
Last Packager: anatolik
Votes: 27
Popularity: 0.937282
First Submitted: 2009-03-24 16:44
Last Updated: 2017-03-01 00:53

Latest Comments

sekret commented on 2016-02-06 09:14

Could you please add 'armv7h' to the arch line? It builds just fine on my Raspberry Pi 2 :)

Most probably it builds just fine for armv6h too (e.g. Raspberry Pi 1), but I cannot confirm...

vri commented on 2015-09-05 10:05

Please add an install section to the systemd unit file:


so that mongoose can also be enabled as a service.

Also, the configuration options have changed.

saez0pub commented on 2015-03-21 16:41


As the package is compiling the binairy, can you change arch to any ?
Eg : I'm on arch arm (armv6h) and it works.


anatolik commented on 2014-04-07 13:48

Ok, added mongoose binary back.

plp commented on 2014-04-07 05:46

Hello. This latest version doesn't install the stand-alone "mongoose" binary, which I've been using. I made a quick change to the PKGBUILD so that this is done. Can you please take a look at it?

# Maintainer: Anatol Pomozov anatol dot pomozov at g mail
# Contributor: Leslie P. Polzer <>
# Contributor: bender02 at archlinux dot us
# Contributor: Felix Saparelli <>

pkgdesc='Easy to use, powerful, embeddable web server'
arch=(i686 x86_64)
depends=(glibc openssl)

build() {
cd mongoose-$pkgver
# hopefully upstream will provdide an official Makefile
gcc -shared -fPIC -DNS_ENABLE_SSL $CFLAGS $LDFLAGS mongoose.c -o -lssl
cd examples

package() {
cd mongoose-$pkgver
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -D -m755 "$pkgdir/usr/lib/"
install -D -m644 mongoose.h "$pkgdir/usr/include/mongoose.h"
install -D -m755 examples/server "$pkgdir/usr/bin/mongoose"

milouse commented on 2014-04-01 22:04

Warning, the license of the project has change to GPLv2. Please change it in your PKGFILE when you'll update the package. Thanks

anatolik commented on 2014-03-10 16:18

The package is flagged out-of-date and it is true - a new tag 5.2 is in repo.

Unfortunately upstream removed Makefile that builds libraries assuming that mongoose should be used as embedded software only.

I filed a ticket that requests support for standard installation script Please support it.

anatolik commented on 2014-01-16 03:07

Thanks for reminding me that I need to enable lua/ssl/sqlite in mongoose. It was disabled during 5.0 AUR package creation.

In fact we don't need these dependencies even when SSL is enabled. All the sources are embedded.

The change is coming.

ushi commented on 2014-01-16 01:18


you can remove the lua dependency, when you build the binary without lua support.

passcod commented on 2013-05-08 23:18

Mongoose development has moved to GitHub, and downloads are available there too. I use this PKGBUILD:

philanecros commented on 2013-03-13 07:06

Would you please update to the latest version.
It seems to be 3.7.


Anonymous comment on 2011-09-18 22:51

Warning. Stack buffer overflow security issue with Mongoose 3.0
That will lead you to a fix here:

ryuslash commented on 2011-06-10 08:23

I think you can probably update this, the configuration file loading seems to be exactly the same between these versions and this one also fails to load a configuration file if it's specified on the command line.

bender02 commented on 2011-05-11 09:11

Well, the 3.0 version doesn't want to read the config file - even one contaning nothing else than 'document_root /srv/http'. So until I figure out how to fix this, I'll keep the old version (2.11). Any help is welcome.

bender02 commented on 2010-09-27 09:18

Incorporated lazy_al's sample config and rc.d script.

Anonymous comment on 2010-09-21 20:15

I'm append mongoose.conf (e.g. php-cgi use, local protect), create rc.d/mongoose daemon script.
please add my tiny works in your build :-)
also I'm append some option in PKGBUILD (e.g. zipman strip ,...)


bender02 commented on 2010-09-06 08:05

Now it installs sources + examples into /usr/share/mongoose (since there are some nice examples, but they require the sources to be present). If you don't want that, just comment it out in the PKGBUILD.