Commit Graph

1351 Commits

Author SHA1 Message Date
Philip Prindeville b6705c650c
Merge pull request #5612 from pprindeville/add-perl-authen-sasl
perl-mod: add authen-sasl
2018-02-14 19:01:29 -07:00
Michael Heimpold 9ace92dd7a php7: fix linking to libpcre
PHP comes with a bundled version of libpcre which is then statically
linked. However, we already depend on the packaged library, so we
can reduce the footprint when linking to it dynamically.
This saves around 200-300 kB (this depends on other configuration).

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-02-14 01:13:54 +01:00
Philip Prindeville 0aad63038f perl: add Authen::SASL::XS module
Required by Authen::SASL to have actual plug-ins to handle the
protocol.

Uses Devel::CheckLib which doesn't work with cross-compilation with
the current perlmod.mk machinery.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-02-13 11:41:38 -07:00
Philip Prindeville 184cb956b1 perl: add Authen::SASL module
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-02-13 11:35:41 -07:00
Yousong Zhou ffbdc7e4fd node: depends on availability of fpu
It requires either hardware or software emulated fpu, otherwise program
can fail with SIGILL for fp instructions emitted by the JIT compiler

See #1937, #2633, #2442, FS#1257 for details

From code snippet at deps/v8/src/mips/constants-mips.h

    #elif(defined(__mips_soft_float) && __mips_soft_float != 0)
    // This flag is raised when -msoft-float is passed to the compiler.
    // // Although FPU is a base requirement for v8, soft-float ABI is used
    // // on soft-float systems with FPU kernel emulation.
    // const bool IsMipsSoftFloatABI = true;

[1] https://bugs.chromium.org/p/v8/issues/detail?id=4704

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-02-09 15:47:50 +08:00
Michael Heimpold 379f4a9507 php7: update to 7.2.2
Also refresh patches to reflect new year.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-02-05 20:50:46 +01:00
Gergely Kiss 14ddd5d4da django-statici18n: update to 1.6.1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2018-01-28 01:55:52 +01:00
Philip Prindeville cda0e18b27
Merge pull request #5504 from pprindeville/perl-cleanup
perlmod: avoid 'do' semantics and just concatenate
2018-01-26 16:41:46 -07:00
Philip Prindeville 951f1da08b
Merge pull request #5503 from tmn505/perl-aarch64
perl: add build config for aarch64
2018-01-26 12:54:41 -07:00
Philip Prindeville 47cf9884f5
Merge pull request #5500 from remakeelectric/luaposix-xopen-rt
luaposix: musl compatibility with XOPEN_REALTIME
2018-01-26 08:23:52 -07:00
Philip Prindeville 1e0db9ba80 perlmod: avoid 'do' semantics and just concatenate
In Perl the 'do' construct has some odd side-effects regarding $@,
$!, and return values (i.e. 'do'ing a file which evaluates to undef
can be a little ambiguous).

Instead, generate a preamble to the Makefile.PL and execute it as
stdin.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-01-25 18:48:34 -07:00
Philip Prindeville 6973d0e1d8 Revert "perl-inline-c: patch Makefile.PL to not eval undef"
This reverts commit 5470c60a91.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-01-25 18:48:34 -07:00
Philip Prindeville 531eb4404b Revert "perl: when Makefile.PL fails give more feedback"
This reverts commit a4aaaf8d8f.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-01-25 18:48:34 -07:00
Philip Prindeville be52f902d8 Revert "perlmod: redux handling odd Makefile.PL eval value"
This reverts commit f03cd7b5ac.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-01-25 18:48:34 -07:00
Tomasz Maciej Nowak 6535c76395 perl: add build config for aarch64
Because nonexistent aarch64.config the build of perl will fail for ARM
64-bit targets. Fix it by adding mentioned config. Fixes #2963.

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
2018-01-26 00:40:17 +01:00
Philip Prindeville e1a4178de1 php7: redux of fix for issue #5488
Upstream was a little premature on asking for a change and not
vetting it.  Here is the currently proposed fix.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-01-25 15:19:30 -07:00
Michael Heimpold 74eecfebcc
Merge pull request #5501 from pprindeville/issue/5488
php7: fix issue 5488
2018-01-25 21:08:48 +01:00
Philip Prindeville 6230ab4437 php7: fix issue 5488
Depending on which version of libiconv you're using, php_iconv_string()
doesn't always null out *out as part of its initialization.  This
patch makes that behavior invariant.

Submitted upstream as https://github.com/php/php-src/pull/3037 where
it's approved and waiting a merge.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-01-25 12:51:51 -07:00
Karl Palsson 1ac343bd80 luaposix: musl compatibility with XOPEN_REALTIME
musl-libc doesn't define _XOPEN_REALTIME as it doesn't implement the
full set of the realtime operations.  However, it _does_ implement
POSIX_TIMERS, which is what luaposix _should_ be checking for in the
posix.time module.

I've filed https://github.com/luaposix/luaposix/issues/295 to track this
upstream, but this is a simpler, verified fix for our older version of
luaposix.

This restores functions like posix.time.clock_gettime(CLOCK_MONOTONIC)
for instance, which was available with pre-musl builds of luaposix.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-01-25 15:11:46 +00:00
Hannu Nyman 7ced677124
Merge pull request #5456 from jefferyto/python-automat
python-automat: new package
2018-01-19 18:03:13 +02:00
Hannu Nyman fbae202394
Merge pull request #5455 from jefferyto/python-hyperlink
python-hyperlink: new package
2018-01-19 18:03:02 +02:00
Hannu Nyman 9da7e1eaf4
Merge pull request #5454 from jefferyto/python-incremental
python-incremental: new package
2018-01-19 18:02:53 +02:00
Hannu Nyman 60d47335d6
Merge pull request #5453 from jefferyto/python-constantly
python-constantly: new package
2018-01-19 18:02:40 +02:00
Jeffery To 3690cac14b twisted: updated to 17.9.0, add src package
There have been some new dependencies added in recent versions of
Twisted (mostly internal classes that have been spun out into their own
libraries):

* constantly (#5453), since 16.5.0
* incremental (#5454), since 16.5.0
* Automat (#5456), since 17.1.0
* hyperlink (#5455) since 17.5.0

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-19 01:24:46 +08:00
Alexandru Ardelean 6494642caf python,python3: fix recursive deps caused by dangling DEPENDS
For python `src` packages we should clear out the DEPENDS
to prevent recursive deps from happening.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-17 17:30:48 +02:00
Hannu Nyman f6f239f159
Merge pull request #5457 from jefferyto/python-pkg-setup-args-vars
python,python3: add vars to customize setup arguments / variables
2018-01-17 16:07:41 +02:00
Alexandru Ardelean 63dfa19812 python,python3: disable dependencies between python src packages
Related to:
 https://github.com/openwrt/packages/issues/5424

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-16 16:18:47 +02:00
Jeffery To 021271c1d3 python,python3: add vars to customize setup arguments / variables
This adds:

* PYTHON_PKG_SETUP_ARGS
* PYTHON_PKG_SETUP_VARS
* PYTHON3_PKG_SETUP_ARGS
* PYTHON3_PKG_SETUP_VARS

to customize Python package setup arguments / environment variables.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-16 04:10:49 +08:00
Jeffery To 39914d1f2c python-automat: new package
This is a new requirement for the Twisted package.

From the readme:

Automat is a library for concise, idiomatic Python expression of
finite-state automata (particularly deterministic finite-state
transducers).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-16 03:33:46 +08:00
Jeffery To 368d81a94d python-hyperlink: new package
This is a new requirement for the Twisted package.

From the readme:

Hyperlink provides a pure-Python implementation of immutable URLs. Based
on RFC 3986 and 3987, the Hyperlink URL makes working with both URIs and
IRIs easy.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-16 02:06:28 +08:00
Jeffery To c394db70b0 python-incremental: new package
This is a new requirement for the Twisted package.

From the readme:

Incremental is a small library that versions your Python projects.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-16 01:35:35 +08:00
Jeffery To 036d57e6b8 python-constantly: new package
This is a new requirement for the Twisted package.

From the readme:

A library that provides symbolic constant support. It includes
collections and constants with text, numeric, and bit flag values.
Originally twisted.python.constants from the Twisted project.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-16 01:07:47 +08:00
Hannu Nyman 72a4ac1585
Merge pull request #5440 from jefferyto/python-txsocksx-src
python-txsocksx: use variant PyBuild/Compile syntax, add src package, refresh patches
2018-01-15 09:36:28 +02:00
Hannu Nyman adca5fcdd6
Merge pull request #5441 from jefferyto/python-src-packages
python-*,python3-*: add src packages for multiple packages
2018-01-15 09:36:01 +02:00
Jeffery To 472514e606 python-cffi: update to 1.11.4, add src packages
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-15 01:59:14 +08:00
Jeffery To 64ae3625e1 python-*,python3-*: add src packages for multiple packages
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-15 01:33:01 +08:00
Jeffery To 44a362de08 python-txsocksx: use variant PyBuild/Compile syntax, add src package,
refresh patches

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-14 23:48:43 +08:00
Hannu Nyman f460719bf4
Merge pull request #5360 from commodo/python_reproducible
python,python3: honour the SOURCE_DATE_EPOCH for the build-info
2018-01-14 17:32:57 +02:00
Hannu Nyman 2cb09305ce
Merge pull request #5439 from jefferyto/python-pyptlib-src
python-pyptlib: use default variant build/compile rule, add src package
2018-01-14 17:30:22 +02:00
Hannu Nyman e7fba5f643
Merge pull request #5438 from jefferyto/python-ipaddress-src
python-ipaddress: use default variant build/compile rule, add src package
2018-01-14 17:29:51 +02:00
Jeffery To 953179225b python-pyptlib: use default variant build/compile rule, add src package
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-14 23:24:16 +08:00
Jeffery To b8e77a8990 python-ipaddress: use default variant build/compile rule, add src
package

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-14 23:01:51 +08:00
Jeffery To fa60629c99 python-crypto: add python3 variant, src packages, omit tests
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-14 22:31:01 +08:00
Jeffery To c52fa2a1cf python-enum34: use default variant build/compile rule, add src package
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-12 07:55:09 +08:00
Hannu Nyman f2313b4e7c
Merge pull request #5423 from jefferyto/zope-interface-4.4.3
zope-interface: update to 4.4.3, rename to python-zope-interface, add python3 variant
2018-01-12 00:32:24 +02:00
Jeffery To ed1993458f zope-interface: update to 4.4.3, rename to python-zope-interface, add
python3 variant

Renaming the package is needed to allow for a Python 3 variant
(python3-zope-interface). Packages that depend on this (only twisted)
also have their dependencies adjusted.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-12 06:27:23 +08:00
Jeffery To b549da3aea python-service-identity: update to 17.0.0, add python3 variant
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-12 01:55:16 +08:00
Hannu Nyman 48e1f18b8b
Merge pull request #5419 from commodo/python-package-mk-localize
treewide: re-organizing python-package.mk & python3-package.mk
2018-01-11 16:33:33 +02:00
Jeffery To 3720796b00 python-pyopenssl: update to 17.5.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-11 05:19:39 +08:00
Alexandru Ardelean 1476739d5f treewide: use local python-package.mk & python3-package.mk files
This guarantees for the package feeds that
the mk files will always be available for all packages.

Will need to see about external-feed Python packages
a bit later.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-10 23:06:23 +02:00