Commit Graph

27 Commits

Author SHA1 Message Date
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Rosen Penev 7f0ccf4b14 libpng: update to 1.6.38
Remove upstream backports.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-04 12:55:22 -07:00
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 7b2a817bab libpng: do not build MIPS MSA code at all
The CMake file matches on mipsel and mips64el. Just remove mips
altogether.

Also build with ninja for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-24 15:44:50 -07:00
Rosen Penev 2991c20c61
libpng: properly fix zlib issue
The previous commit meant to avoid adding an LDFLAG but it just avoided
the issue. The real issue is PNG_BUILD_ZLIB being turned to ON. This
variable is for specifying a custom zlib location, which is not
necessary. Switching it to OFF calls find_package and links properly.

Backported two zlib related patches. The latter is a somewhat impoarant
fix.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-14 21:00:00 -08:00
Rosen Penev f50e2211ab
libpng: disable building of executables
They are not packaged here. Upstream backport.

Speeds up compilation and avoids a zlib hack.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-13 19:52:04 -08:00
Rosen Penev f86acf1e1a
libpng: fix paths in config files
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-10 01:51:05 -08:00
Rosen Penev 7a01a09fe7
libpng: fix compilation with ccache
It seems an extra CMake variable is needed for one of the scripts.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-05 15:38:07 -07:00
Rosen Penev e176444f5a
libpng: remove hardware optimizations for mipsel
The mipsel optimizations are only MSA and not any DSP, which means they're
useless for OpenWrt targets.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-04 17:23:10 -07:00
Rosen Penev a1b14ab929
libpng: switch to CMake
Allows simplification of the Makefile.

Remove no more needed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-28 14:56:36 -07:00
Rosen Penev 530d30af36
libpng: remove host build
Nothing uses this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-02 14:02:54 -07:00
Jeffery To dec17eb36c treewide: Enable VFP/NEON optimizations for aarch64
For speexdsp, support for NEON on aarch64 was added in 1.2.0[1].

[1]: https://github.com/xiph/speexdsp/pull/8

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-12 16:03:07 +08:00
Jeffery To 2d99ee3004 treewide: Update ARM NEON/VFP detection
With openwrt/openwrt@8dcc108760, the ARM
FPU compiler options are no longer part of CONFIG_TARGET_OPTIMIZATION.

This updates various packages that look for NEON/VFP support to search
CONFIG_CPU_TYPE instead.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-11 03:10:20 +08:00
Sven Eckelmann bbb1ea7345 treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-09-10 07:45:15 +02:00
Jan Pavlinec 383155825f
libpng: update to version 1.6.37
Fixes CVE-2019-7317

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-04-25 16:39:27 +02:00
Rosen Penev 5d1445ab75
libpng: Update to 1.6.36
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-26 08:51:46 -08:00
Rosen Penev 992b9d0f92 libpng: Update to 1.6.35
Fixes CVE-2018-13785 and CVE-2018-14048.

Added PKG_CPE_ID for proper CVE tracking.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-14 18:45:47 -07:00
Daniel Engberg e5d99192d6
libs/libpng: Update to 1.6.34
Update libpng to 1.6.34

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-12-04 19:40:45 +01:00
Daniel Engberg afdadd7377 libs/libpng: Update to 1.6.32
Update libpng to 1.6.32
Add ARM NEON optimization

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-10-16 22:50:37 +02:00
Daniel Engberg 84cd01ac89 libs/libpng: Add more symlinks
Sprinkle more symlinks for compatibility

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-04-17 08:37:11 +02:00
Daniel Engberg f24db23b8d libs/libpng: Update to 1.6.29
Update libpng to 1.6.29
Add patch to allow older versions of libtool

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-04-01 10:14:02 +02:00
Daniel Albers 6453ef9e9c libpng: update to 1.2.57
Fixes CVE-2016-10087

Signed-off-by: Daniel Albers <Daniel.Albers@public-files.de>
2017-01-03 19:59:57 +01:00
Jo-Philipp Wich 9843f170d7 treewide: replace my defunct email address
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-06-07 12:00:59 +02:00
Oliver Middleton 39f90ec9d5 libpng: update to 1.2.56
Fixes CVE-2015-8126 and CVE-2015-8540.

Signed-off-by: Oliver Middleton <olliemail27@gmail.com>
2015-12-29 12:09:34 +00:00
Oliver Middleton eb2777d17e libpng: update to 1.2.54
Includes fixes for CVE-2015-7981 and CVE-2015-8126.

Signed-off-by: Oliver Middleton <olliemail27@gmail.com>
2015-11-22 15:18:51 +00:00
Ian Leonard 1dafe457f7 libpng: update to 1.2.52
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-12-08 02:22:22 -08:00
Jo-Philipp Wich b172d28c37 libpng: import from oldpackages, add myself as maintainer, change PKG_LICENSE to SPDX identifiers, update to v1.2.51
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-07-02 16:12:44 +02:00