aboutsummaryrefslogtreecommitdiff
path: root/package/civetweb
Commit message (Collapse)AuthorAgeFilesLines
* package/civetweb: fix build without syncGravatar Fabrice Fontaine2018-12-061-0/+4
| | | | | | | | | | | | If BR2_TOOLCHAIN_HAS_SYNC_4 is not set, define -DNO_ATOMICS=1 to fallback on lock Fixes: - http://autobuild.buildroot.org/results/7b3bc71d64aedf617dde35798099e16d7ae46713 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> [Thomas: invert condition.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/civetweb: fix lua buildGravatar Fabrice Fontaine2018-11-301-0/+34
| | | | | | | | | | | | | dlfcn.h must be included in modlua.ini to be able to use dlopen otherwise build will fail on: src/mod_lua.inl:2845:41: error: 'RTLD_LAZY' undeclared (first use in this function) lib_handle_uuid = dlopen("libuuid.so", RTLD_LAZY); Fixes: - http://autobuild.buildroot.org/results/7a189f49c5a8b6f7b3d4c57cda5982adc65dbc19 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/civetweb: add hash for license fileGravatar Thomas Petazzoni2018-11-261-0/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/civetweb: bump version to 1.11Gravatar John Faith2018-11-264-37/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | v1.11 now has library and header install targets for use by apps that serve pages. The config changes allow enabling the civetweb webserver app binary and/or libs and headers. The C++ interface option is automatically enabled if C++ support is available. The civetweb Makefile sets -fPIC in CFLAGS when linking shared objects, but not when compiling the objects used in the library resulting in a link failure, so add -fPIC to COPT which is added to CFLAGS in its Makefile. The typo patch has already been incorporated upstream, so it was removed. Signed-off-by: John Faith <jfaith@impinj.com> [Thomas: - keep using "config", a "menuconfig" for just three sub-options is not relevant - move the BR2_PACKAGE_CIVETWEB_LIB option near the existing BR2_PACKAGE_CIVETWEB_SERVER option, since both allow to select what should be built/installed - remove BR2_PACKAGE_CIVETWEB_SHARED_LIB, the .mk file will use BR2_STATIC_LIBS/BR2_SHARED_LIBS/BR2_STATIC_SHARED_LIBS to know what to do - select BR2_PACKAGE_CIVETWEB_SERVER if BR2_PACKAGE_CIVETWEB_LIB is not enabled to ensure at least the server *or* the library is selected - introduce CIVETWEB_BUILD_TARGETS in the .mk file to properly use the appropriate make targets to build the server, static library and/or shared library - cleanup the use of CIVETWEB_INSTALL_TARGETS, and use it for both target and staging installation - factorize common installation options into a CIVETWEB_INSTALL_OPTS variable that is used for both the target and staging installation] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/civetweb: add .hash fileGravatar Romain Naour2016-06-181-0/+2
| | | | | | | | | Similar to jquery-keyboard, it seems the civetweb tarball on the autobuilder is corrupt. Fix it by adding a .hash file so it falls back to our s.b.o mirror. Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* civetweb: use TARGET_CONFIGURE_OPTSGravatar Peter Korsgaard2015-04-271-3/+3
| | | | | | | Instead of explicitly handling CC/LD/CFLAGS. No functional change, but it is cleaner like this. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* civetweb: rename lua option to match naming conventionGravatar Peter Korsgaard2015-04-272-2/+2
| | | | | | | | | Suboptions of package foo should be prefixed with BR2_PACKAGE_FOO, not just BR2_FOO. Also add Config.in.legacy handling for it. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* civetweb: unbreak static linking buildsGravatar Peter Korsgaard2015-04-272-1/+6
| | | | | | | | | | | | | | | Fixes http://autobuild.buildroot.net/results/0a5/0a555a4ad0d100a7d402908b1f26d213de0ec127/ http://autobuild.buildroot.net/results/97b/97b014b2a611ba2528dda86bb05d6ffbec51c21d/ http://autobuild.buildroot.net/results/c2e/c2e314127be74a41bcdb78f04bc51fe2edef0b0f/ http://autobuild.buildroot.net/results/734/7346a89b5e7dd3633ecf9ac5292379ec9e832b2e/ And many more. It is only the lua suboption that needs dlopen support, so adjust the toolchain dependencies and CIVETWEB_LIBS handling to match. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove non-IPv6 dependencies and tweaksGravatar Gustavo Zacarias2015-04-221-5/+1
| | | | | | | | Now that IPv6 is mandatory remove package dependencies and conditionals for it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove (non-)lfs dependencies and tweaksGravatar Gustavo Zacarias2015-04-012-8/+0
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: indentation cleanupGravatar Jerzy Grzegorek2015-03-311-7/+7
| | | | | | | This commit doesn't touch infra packages. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/civetweb: fix build error on a host with make v4.0Gravatar Fabio Porcedda2015-02-281-0/+27
| | | | | | | | | | | | Add a patch to fix a typo that on a system with make v4.0 and BR2_CIVETWEB_WITH_LUA=y fails to build: Makefile:203: *** mixed implicit and normal rules. Stop. The patch was not sent upstream because this problem is already fixed on master. Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* civetweb: bump versionGravatar Maxime Hadjinlian2014-10-271-1/+1
| | | | | Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSGravatar Thomas De Schampheleire2014-10-041-5/+5
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Revert "civetweb: fix build for xtensa"Gravatar Max Filippov2014-04-031-3/+0
| | | | | | | | | This reverts commit 37084ead509fa42db39637fcb837e7a99197c6c9. Now that -mtext-section-literals is specified in the xtensa ABI this fix is no longer needed. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: remove the empty trailing line(s)Gravatar Jerzy Grzegorek2014-01-041-1/+0
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* civetweb: fix build for xtensaGravatar Baruch Siach2013-12-311-0/+3
| | | | | | | | | | | | The civetweb package bundled sqlite3 generates an object that is too large for the xtensa default placement of literals in a dedicated section. Use -mtext-section-literal to place literals in the text section. Fixes http://autobuild.buildroot.net/results/d14/d142f3ce17ab22cc39f9117c114318c1b5cadfc5/. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: convert Github http:// users to the github helperGravatar Mischa Jonker2013-12-061-1/+1
| | | | | | | | | | [Thomas: taken from Mischa original github patch.] Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: add missing dependencies to toolchain option commentsGravatar Thomas De Schampheleire2013-11-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a package A depends on config option B and toolchain option C, then the comment that is given when C is not fulfilled should also depend on B. For example: config BR2_PACKAGE_A depends on BR2_B depends on BR2_LARGEFILE depends on BR2_WCHAR comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR This comment should actually be: comment "A needs a toolchain w/ largefile, wchar" depends on BR2_B depends on !BR2_LARGEFILE || !BR2_WCHAR or if possible (typically when B is a package config option declared in that same Config.in file): if BR2_B comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR [other config options depending on B] endif Otherwise, the comment would be visible even though the other dependencies are not met. This patch adds such missing dependencies, and changes existing such dependencies from depends on BR2_BASE_DEP && !BR2_TOOLCHAIN_USES_GLIBC to depends on BR2_BASE_DEP depends on !BR2_TOOLCHAIN_USES_GLIBC so that (positive) base dependencies are separate from the (negative) toolchain dependencies. This strategy makes it easier to write such comments (because one can simply copy the base dependency from the actual package config option), but also avoids complex and long boolean expressions. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (untested) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: cleanup github <pkg>{_VERSION, _SOURCE, _SITE} variableGravatar Jerzy Grzegorek2013-11-021-2/+2
| | | | | | | | | | | | | | | | | | | According to the documentation, chapter 6.2.8.2 How to add a package from github " [...] FOO_VERSION = tag or full commit ID FOO_SITE = http://github.com/<user>/<package>/tarball/$(FOO_VERSION) [...] - The tarball name generated by github matches the default one from Buildroot (...), so it is not necessary to specify it in the +.mk+ file. " This commit makes the appropriate changes. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Config.in files: unify comments of toolchain option dependenciesGravatar Thomas De Schampheleire2013-10-141-2/+2
| | | | | | | | This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* civetweb: needs mmuGravatar Gustavo Zacarias2013-10-091-0/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* civetweb: fix static linking with opensslGravatar Peter Korsgaard2013-09-241-2/+4
| | | | | | | | | | | | Fixes http://autobuild.buildroot.net/results/acf/acfefc4f0f23ef646094ec427c9502eab7b86736/ Corrects a number of issues with the openssl handling: - Libraries have to be listed after the object files using them, so pass openssl linker statements in LIBS rather than COPT - Openssl support library is libcrypto, not libcrypt - Openssl need zlib Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* civetweb: use TARGET_LDFLAGSGravatar Peter Korsgaard2013-09-241-2/+1
| | | | | | | We should use our LDFLAGS when building as well. At the same time, drop the unused CIVETWEB_LDFLAGS. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* civetweb: new packageGravatar Thomas Davis2013-09-202-0/+81
Signed-off-by: Thomas Davis <sunsetbrew@sunsetbrew.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>