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.070355
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

All comments