Package Details: mongoose 6.4-1

Git Clone URL: https://aur.archlinux.org/mongoose.git (read-only)
Package Base: mongoose
Description: Easy to use, powerful, embeddable web server
Upstream URL: https://github.com/cesanta/mongoose
Licenses: GPL2
Submitter: None
Maintainer: anatolik
Last Packager: anatolik
Votes: 24
Popularity: 0.076663
First Submitted: 2009-03-24 16:44
Last Updated: 2016-04-20 22:33

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:

[code]
[Install]
WantedBy=multi-user.target
[/code]

so that mongoose can also be enabled as a service.

Also, the configuration options have changed.

saez0pub commented on 2015-03-21 16:41

Hello,

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


Thanks

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 <polzer@gnu.org>
# Contributor: bender02 at archlinux dot us
# Contributor: Felix Saparelli <me@passcod.name>

pkgname=mongoose
pkgver=5.3
pkgrel=2
pkgdesc='Easy to use, powerful, embeddable web server'
arch=(i686 x86_64)
license=(GPL2)
depends=(glibc openssl)
url='https://github.com/cesanta/mongoose'
source=(https://github.com/cesanta/mongoose/archive/$pkgver.tar.gz)
sha1sums=('8a87e648164b853f34c9260444b776d931d11807')

build() {
cd mongoose-$pkgver
# hopefully upstream will provdide an official Makefile
# https://github.com/cesanta/mongoose/issues/326
gcc -shared -fPIC -DNS_ENABLE_SSL $CFLAGS $LDFLAGS mongoose.c -o libmongoose.so -lssl
cd examples
make
}

package() {
cd mongoose-$pkgver
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -D -m755 libmongoose.so "$pkgdir/usr/lib/libmongoose.so"
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 https://github.com/cesanta/mongoose/issues/326 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

Hey,

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: https://gist.github.com/passcod/5544406

philanecros commented on 2013-03-13 07:06

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

Thanks!

Anonymous comment on 2011-09-18 22:51

Warning. Stack buffer overflow security issue with Mongoose 3.0
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-2900
That will lead you to a fix here:
https://code.google.com/p/mongoose/source/detail?r=556f4de91eae4bac40dc5d4ddbd9ec7c424711d0

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

Hi
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 ,...)
http://aur.pastebin.com/PGR5at9W
http://aur.pastebin.com/23LU6kQP
http://aur.pastebin.com/SdKFZscw

Thanks!

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.