Commit Graph

18 Commits

Author SHA1 Message Date
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Rosen Penev a31b732007 treewide: build CMake projects with Ninja
faster to compile.

A small selection of packages was tested going from:

Executed in  696.30 secs   fish           external
   usr time   82.98 mins  395.00 micros   82.98 mins
   sys time    9.02 mins    0.00 micros    9.02 mins

to:

Executed in  592.20 secs   fish           external
   usr time   84.84 mins  361.00 micros   84.84 mins
   sys time    8.85 mins   57.00 micros    8.85 mins

Tested by running make -j 12 and wiping staging/build_dir/target_x

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-27 21:51:50 -07:00
Rosen Penev 5a7148d112
treewide: add missing BUILDONLY
Fixes Makefile warnings:

WARNING: skipping X -- package has no install section

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-12 17:43:49 -07:00
Jeffery To 1c54706b97 libevhtp: Fix dependencies not selected when building static library
When libevhtp is added to a package's PKG_BUILD_DEPENDS (i.e. for
seafile-server), libevhtp's target package dependencies are not
automatically selected, in particular libevent2-openssl and
libevent2-pthreads.

Moreover, if libevent-openssl and libevent2-pthreads are not selected,
OpenSSL and thread support are disabled when compiling libevent2, which
in turn causes a compile error when building libevhtp.

This adds a config option, LIBEVHTP_BUILD_DEPENDS, that will select
libevent2-openssl and libevent2-pthreads (via LIBEVHTP_BUILD_SELECT)
when it is selected.

Other build dependencies are moved to PKG_BUILD_DEPENDS.

This also updates seafile-server to remove the (indirect) dependencies
added in 13d843fec1 and instead select
LIBEVHTP_BUILD_DEPENDS.

This also updates the maintainer's email address and adds myself as
another maintainer.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-05 23:03:30 -03:00
Rosen Penev a544658ffc libevhtp: Remove random hacks
There's no point in overriding the defaults. They work fine.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-02 11:49:20 -07:00
Eneas U de Queiroz 3ab4804d10
libevhtp: pass TARGET_CPPFLAGS to cmake
Added $(TARGET_CPPFLAGS) to TARGET_CFLAGS to fix a buildbot failure to
find oniguruma include files.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-27 10:14:05 -03:00
Eneas U de Queiroz 3bf5450b6d
libevhtp: update to 1.2.18, add maintainer
Versions earlier than 1.2.15 had security vulnerabilities, especially
related to the bundled oniguruma.  Now libevhtp uses a system-provided
library instead.  The API changed as well, requiring patches to
seafile-server.

Adds @cotequeiroz Eneas U de Queiroz as maintainer.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-24 14:55:55 -03:00
Eneas U de Queiroz d3726210ff
seafile-server: release bump due to libevhtp bump
Libevhtp is building a static library, used by seafile-server.
Every time the libevhtp binary changes, seafile-server needs a release
bump.
Leave a note in the libevhtp Makefile, as a reminder.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-22 09:10:25 -03:00
Rosen Penev aab2e02110 libevhtp: Add onigiruma.h to install
For some reason from 1.1.7 to 1.2.0, oniguruma no longer gets installed by
default. Fix that to fix compilation with seafile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-14 12:39:31 -07:00
Rosen Penev 9c77d6721f libevhtp: Update to 1.2.0
In the tree, libevhtp is used only for Seafile. This is the most recent
version that Haiwen lists as working.

Updated threads patch for OpenSSL 1.1.

Removed Maintainer as he is inactive.

Simplified Makefile a little bit and reorganized for consistency between
packages.

Fixed compilation with uClibc-ng.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-07 16:33:09 -07:00
Rosen Penev a5c9c79797 libevhtp: Fix compilation on OpenSSL 1.0.2 without deprecated APIs
Also switched to the proper upstream.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-06 11:35:21 -08:00
Eneas U de Queiroz 2d695144a0 libevhtp: add openssl 1.1 compatibility
This patch is a backport of upstream changes.
I read the Makefile warning and made sure it only updates the openssl
calls and data types to the new API.  It does not touch anything else!

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-05-23 14:06:22 -03:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Gergely Kiss 79563b699f libevhtp: downgrading due to compatibility issues
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2016-08-24 20:35:34 +00:00
Gergely Kiss 39e937fae7 libevhtp: do not delete source package, download through Git instead
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2016-08-24 20:35:33 +00:00
Gergely Kiss 2e9d2f3faf libevhtp: update to version 1.2.10
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2015-03-01 18:24:23 +01:00
Nicolas Thill e24dfafb01 remove uneeded PKG_BUILD_DIR & PKG_CAT overrides
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-02-22 02:37:56 +01:00
Gergely Kiss 033d721e1f libevhtp: add version 1.2.9
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
Tested-by: Gergely Kiss <mail.gery@gmail.com>
2014-12-16 08:39:13 +01:00