diff options
author | Zac Medico <zmedico@gentoo.org> | 2014-06-06 04:22:17 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2014-06-06 04:22:17 +0000 |
commit | b1552727dff8ad9a3bd385e3f2207ff5f230dcfd (patch) | |
tree | 3dc5ef7c26533610f4f20ff08f828730448942fc /www-servers/mongoose | |
parent | Mask lua for www-servers/mongoose. (diff) | |
download | gentoo-2-b1552727dff8ad9a3bd385e3f2207ff5f230dcfd.tar.gz gentoo-2-b1552727dff8ad9a3bd385e3f2207ff5f230dcfd.tar.bz2 gentoo-2-b1552727dff8ad9a3bd385e3f2207ff5f230dcfd.zip |
Initial mongoose ebuild, fixes bug #173888.
(Portage version: 2.2.0_alpha194/cvs/Linux i686, signed Manifest commit with key 0xFDE8EF85AE5719A3)
Diffstat (limited to 'www-servers/mongoose')
-rw-r--r-- | www-servers/mongoose/ChangeLog | 9 | ||||
-rw-r--r-- | www-servers/mongoose/Manifest | 3 | ||||
-rw-r--r-- | www-servers/mongoose/metadata.xml | 7 | ||||
-rw-r--r-- | www-servers/mongoose/mongoose-5.3.ebuild | 44 |
4 files changed, 63 insertions, 0 deletions
diff --git a/www-servers/mongoose/ChangeLog b/www-servers/mongoose/ChangeLog new file mode 100644 index 000000000000..e74c8477a60e --- /dev/null +++ b/www-servers/mongoose/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for www-servers/mongoose +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/mongoose/ChangeLog,v 1.1 2014/06/06 04:22:17 zmedico Exp $ + +*mongoose-5.3 (06 Jun 2014) + + 06 Jun 2014; Zac Medico <zmedico@gentoo.org> +metadata.xml, + +mongoose-5.3.ebuild: + Initial mongoose ebuild, fixes bug #173888. diff --git a/www-servers/mongoose/Manifest b/www-servers/mongoose/Manifest new file mode 100644 index 000000000000..23bc7df49050 --- /dev/null +++ b/www-servers/mongoose/Manifest @@ -0,0 +1,3 @@ +DIST mongoose-5.3.zip 124529 SHA256 9807751a888c7c32008d3ecf3c90d7ddff1469139b07a14e27e2f54874250bd7 SHA512 eb2f5de1bfb7e2314b64a695f579145644ff84c68b886fdd7f1adab40308a468438416799359788d36cc735b06cbb89b402938ed07ac3d4e40fa02c0a859fcd9 WHIRLPOOL 5cf2183d372d8a8117e7411d98242332a04e97f7d39d0186f74fa7925e1e22a9caf83a35eb08772809cc6c280d7270826edca2c13d12cddfce930bf6e2a10c3f +EBUILD mongoose-5.3.ebuild 1181 SHA256 e90d8a8e90c1686da09f0232156ea3c3101f764b854208f2b051fdc6599e4381 SHA512 18cd627fea1e82dac04e1caad1c1244b72f4c9fdb4d72938d86432c8067c9472a1140f9ddd5cec3a927e2f860e2778e817c4c95cc262321f0274d7c6a518911a WHIRLPOOL bbb0d6aff5ed4e049f23c1f56d0aee9acec31d93ae6c5f663fc3b17d46e509a90713455c3375c7924736441d67f6cf58e2a644078822ba2b834bc41956b8b284 +MISC metadata.xml 208 SHA256 67f4cd233dc8d6d341b8da89aef2654cae64f7e3b62fbcdd3a35e6e30e898e36 SHA512 5213f6c100db04c6bbbf73b4e52042caf1744aa805af76053f5ecaf5f921ffdd35c41507b492da65c6071f1699472db6c9334dcd5bb7da752dca8efe7e1c7aa4 WHIRLPOOL a43dc0ecd7f37ba8cf4d510a1195338816b6193e5c5517c8e005662a06d7fb62c725a3c2981474a872cba628c268de1bea0fb67a31ae1842a252c0fdc723eb4d diff --git a/www-servers/mongoose/metadata.xml b/www-servers/mongoose/metadata.xml new file mode 100644 index 000000000000..059d713e41ed --- /dev/null +++ b/www-servers/mongoose/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>zmedico@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/www-servers/mongoose/mongoose-5.3.ebuild b/www-servers/mongoose/mongoose-5.3.ebuild new file mode 100644 index 000000000000..21880f5b5d11 --- /dev/null +++ b/www-servers/mongoose/mongoose-5.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/mongoose/mongoose-5.3.ebuild,v 1.1 2014/06/06 04:22:17 zmedico Exp $ + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="easy to use web server" +SRC_URI="https://github.com/cesanta/${PN}/archive/${PV}.zip -> ${P}.zip" +HOMEPAGE="https://code.google.com/p/${PN}/" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~amd64-linux ~x86 ~arm-linux ~x86-linux" +IUSE="lua" +RDEPEND="lua? ( >=dev-lang/lua-5.2.3:5.2= )" +DEPEND="${RDEPEND}" +S=${WORKDIR}/${P}/examples + +src_prepare() { + if use lua ; then + sed \ + -e "s|^#CFLAGS += -I\$(LUA) -L\$(LUA) -llua|CFLAGS += -I$($(tc-getPKG_CONFIG) --variable includedir lua5.2)/lua5.2 -L$($(tc-getPKG_CONFIG) --variable libdir lua5.2) -llua5.2|" \ + -i Makefile || die + fi + sed \ + -e 's|^CFLAGS = -W -Wall -I.. -pthread -g -pipe $(CFLAGS_EXTRA)|CFLAGS += -I.. -pthread $(LDFLAGS)|' \ + -e "s|g++ unit_test.c -Wall -W -pedantic -lssl|$(tc-getCC) unit_test.c -Wall -W -pedantic -lssl -pthread|" \ + -i Makefile || die +} + +src_compile() { + tc-export CC + emake server +} + +src_test() { + emake u +} + +src_install() { + exeinto /usr/bin + newexe "${S}/server" "${PN}" + dodoc ../docs/{FAQ,LuaSqlite,Options,SSL,Usage}.md +} |