Commit Graph

891 Commits (0bdec78a8b0cf81e3c106e44c0f527f2e4b6eefe)

Author SHA1 Message Date
Michel Promonet 27b765f7fb v4l2camera: Update Makefile to fix mips build
Signed-off-by: Michel Promonet <michel.promonet@free.fr>
2024-02-07 14:12:16 -08:00
krant 39bf78decc graphicsmagick: update to 1.3.42
- Adopt the package

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-04 16:22:28 -08:00
Fabrice Fontaine 5afe5c9031 treewide: assign PKG_CPE_ID
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-02-04 16:16:10 -08:00
krant 2428388278 imagemagick: take over maintainership
Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-04 16:08:11 -08:00
krant f14b3c66f6 imagemagick: update to 7.1.1-27
- Use official source URL
- Add libstdcpp dependency
- Don't set configure options which are matching default values

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-04 16:08:11 -08:00
Fabrice Fontaine 1a50def305 multimedia/motion: fix PKG_CPE_ID
motion_project:motion is a better CPE ID than lavrsen:motion as this CPE
ID has the latest CVE (whereas lavrsen:motion only a CVE from 2008):
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3🅰️motion_project:motion

Fixes: 299e5b0a9b (treewide: add PKG_CPE_ID for better cvescanner coverage)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-02-04 16:02:43 -08:00
Álvaro Fernández Rojas 4aba11a49b ffmpeg: add V4L2 support
Enable V4L2 support on ffmpeg-full package.
Tested using V4L2 Raspberry Pi 4 encoder/decoder.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-01-29 16:06:55 -08:00
Fabrice Fontaine 480aaec2ca multimedia/gst1-plugins-bad: assign PKG_CPE_ID
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3🅰️freedesktop:gst-plugins-bad

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-01-29 15:57:42 -08:00
W. Michael Petullo 4381c53de1 gst1-plugins-good: use libsoup3 instead of libsoup
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2024-01-02 14:50:34 -08:00
Rosen Penev 02744e30bc gst1-libav: update to 1.22.8
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-12-19 04:35:39 -08:00
Rosen Penev 901cc59a07 gst1-plugins-ugly: update to 1.22.8
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-12-19 04:35:39 -08:00
Rosen Penev 113e7a289c gst1-plugins-bad: update to 1.22.8
Remove now unnecessary patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-12-19 04:35:39 -08:00
Rosen Penev 735b88bc9d gst1-plugins-good: update to 1.22.8
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-12-19 04:35:39 -08:00
Rosen Penev 5d61712851 gst1-plugins-base: update to 1.22.8
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-12-19 04:35:39 -08:00
Rosen Penev 4603dbeacb gstreamer1: update to 1.22.8
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-12-19 04:35:39 -08:00
Alexander Egorenkov 707e87884d yt-dlp: bump to version 2023.11.16
Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
2023-11-26 15:08:48 +01:00
Christian Marangi 9ea2ec7cd1 tvheadend: drop support for PCRE
Drop support for PCRE as it's now EOL and won't receive any security
updates anymore.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-10-30 13:31:04 -07:00
Koen Vandeputte 87e5c5e7ab gst1-plugins-ugly: update to 1.22.6
Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
2023-10-23 17:21:31 +02:00
Koen Vandeputte 2fdf1aa2f5 gst1-plugins-good: update to 1.22.6
Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
2023-10-23 17:21:31 +02:00
Koen Vandeputte 52da3325db gst1-plugins-base: update to 1.22.6
Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
2023-10-23 17:21:31 +02:00
Koen Vandeputte e7ad852bdb gst1-plugins-bad: update to 1.22.6
Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
2023-10-23 17:21:31 +02:00
Koen Vandeputte 87c57d0f6f gst1-libav: update to 1.22.6
Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
2023-10-23 17:21:31 +02:00
Koen Vandeputte 9b0e95c442 gstreamer1: update to 1.22.6
Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
2023-10-23 17:21:31 +02:00
Jan Kratochvil e429c11b04 ffmpeg: fix compilation error of ffmpeg-custom
Fixes: #12320

After plain enable of libffmpeg-custom and ffmpeg-custom which adds:
- CONFIG_PACKAGE_libbz2=m
- CONFIG_PACKAGE_libffmpeg-custom=m
- CONFIG_FFMPEG_CUSTOM_GPL=y
- CONFIG_PACKAGE_zlib=m
- CONFIG_PACKAGE_ffmpeg-custom=m

I get on v22.03.5 compilation error:
```
cp -fpR /.../openwrt-git/build_dir/target-mips_24kc_musl/ffmpeg-custom/ffmpeg-5.1/ipkg-install/usr/bin/ffmpeg /.../openwrt-git/build_dir/target-mips_24kc_musl/ffmpeg-custom/ffmpeg-5.1/ipkg-mips_24kc/ffmpeg-custom/usr/bin/
cp: cannot stat '/.../openwrt-git/build_dir/target-mips_24kc_musl/ffmpeg-custom/ffmpeg-5.1/ipkg-install/usr/bin/ffmpeg': No such file or directory
make[2]: *** [Makefile:756: /.../openwrt-git/bin/packages/mips_24kc/packages/ffmpeg-custom_5.1-1_mips_24kc.ipk] Error 1
```

It is because configure is missing `ffmpeg` in its `Programs:` section:
```
( cd /.../openwrt-git/build_dir/target-mips_24kc_musl/ffmpeg-custom/ffmpeg-5.1; CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/.../openwrt-git/build_dir/target-mips_24kc_musl/ffmpeg-custom/ffmpeg-5.1=ffmpeg-5.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/.../openwrt-git/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/usr/include -I/.../openwrt-git/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/include/fortify -I/.../openwrt-git/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/include -DPIC -fpic" LDFLAGS="-L/.../openwrt-git/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/usr/lib -L/.../openwrt-git/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/lib -znow -zrelro" ./configure --enable-cross-compile --cross-prefix="mips-openwrt-linux-musl-" --arch="mips" --cpu=24kc --target-os=linux --prefix="/usr" --pkg-config="pkg-config" --enable-shared --enable-static --enable-pthreads --enable-zlib --disable-doc --disable-debug --disable-lzma --disable-vaapi --disable-vdpau --disable-outdevs --disable-altivec --disable-vsx --disable-power8 --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-fast-unaligned --disable-runtime-cpudetect --disable-x86asm --enable-small --enable-gpl --disable-programs --disable-avfilter --disable-swresample --disable-swscale --disable-everything                                                                                                                                                                                                                                                                                      --disable-postproc )
install prefix            /usr
source path               .
C compiler                mips-openwrt-linux-musl-gcc
C library
host C compiler           gcc
host C library            glibc
ARCH                      mips (24kc)
big-endian                yes
runtime cpu detection     no
MIPS FPU enabled          no
MIPS DSP R1 enabled       no
MIPS DSP R2 enabled       no
MIPS MSA enabled          no
LOONGSON MMI enabled      no
debug symbols             no
strip symbols             yes
optimize for size         yes
optimizations             yes
static                    yes
shared                    yes
postprocessing support    no
network support           yes
threading support         pthreads
safe bitstream reader     yes
texi2html enabled         no
perl enabled              yes
pod2man enabled           yes
makeinfo enabled          yes
makeinfo supports HTML    no
xmllint enabled           yes

External libraries:
alsa                    iconv
bzlib                   zlib

External libraries providing hardware acceleration:
cuda_llvm               v4l2_m2m

Libraries:
avcodec                 avformat
avdevice                avutil

Programs:

Enabled decoders:

Enabled encoders:

Enabled hwaccels:

Enabled parsers:

Enabled demuxers:

Enabled muxers:

Enabled protocols:

Enabled filters:

Enabled bsfs:

Enabled indevs:

Enabled outdevs:

License: GPL version 2 or later
```

Signed-off-by: Jan Kratochvil <jan@jankratochvil.net>
2023-10-05 14:37:03 -07:00
Jan Kratochvil 2227198d74 ffmpeg: bump PKG_RELEASE
Suggested by @neheb.

Signed-off-by: Jan Kratochvil <jan@jankratochvil.net>
2023-10-03 21:29:00 -07:00
Jan Kratochvil 62f01d7b36 ffmpeg: Add avi muxer
Otherwise one cannot produce *.avi containers needed for some H.264
camera codecs.

Signed-off-by: Jan Kratochvil <jan@jankratochvil.net>
2023-10-03 21:29:00 -07:00
Oskari Rauta 5a68954b0a ffmpeg: fix assembling with binutils v2.41
fix addresses issue when building ffmpeg with binutils v2.41
that is documented here: https://trac.ffmpeg.org/ticket/10405

Issue about build failure is available here:
https://github.com/openwrt/packages/issues/22170

Remarks:
Patch is merged to ffmpeg upstream and will be included in
next release of ffmpeg, so patch applies only to current
version and is removed when package is updated to next
version of ffmpeg.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
Co-authored-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-09-23 18:05:08 +03:00
Josef Schlehofer 87b2a2bb57 ffmpeg: update to version 5.1.3
Fixes CVEs:
CVE-2022-3964 [1]
CVE-2022-3965 [2]

[1] https://nvd.nist.gov/vuln/detail/CVE-2022-3964
[2] https://nvd.nist.gov/vuln/detail/CVE-2022-3965

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-09-17 09:46:19 +02:00
Rani Hod 40a680ffd7 yt-dlp: add missing dependencies
Added missing python3-{logging,uuid} dependencies.

Signed-off-by: Rani Hod <rani.hod@gmail.com>
2023-08-10 05:07:31 +08:00
Michel Promonet f4ab445243 v4l2camera: add new package
Signed-off-by: Michel Promonet <michel.promonet@free.fr>
Co-authored-by: Tianling Shen <cnsztl@gmail.com>
2023-07-20 14:51:58 +08:00
Rosen Penev b044ba7b37 treewide: make all GNOME URLs consistent
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-07-11 08:37:37 -07:00
W. Michael Petullo ec4370cda5 grilo-plugins: update to 0.3.16
This drops the opensubtitles plugin, because it is not yet compatible
with libsoup3.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-07-01 04:47:02 -07:00
W. Michael Petullo 9ce1067a5f grilo: update to 0.3.16
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-07-01 04:47:02 -07:00
Robert Högberg 77b4067754 minidlna: update to 1.3.3
Fixes CVE-2023-33476:
  ReadyMedia (MiniDLNA) versions from 1.1.15 up to 1.3.2 is vulnerable
  to Buffer Overflow. The vulnerability is caused by incorrect
  validation logic when handling HTTP requests using chunked transport
  encoding. This results in other code later using attacker-controlled
  chunk values that exceed the length of the allocated buffer,
  resulting in out-of-bounds read/write.

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2023-06-29 18:05:10 -07:00
Marius Dinu fb68d07bfa tvheadend: add dependency on gettext (host)
Gettext is a prerequisite to build OpenWrt according to:
https://openwrt.org/docs/guide-developer/toolchain/install-buildsystem
but github automated tests fail without this explicit dependency:

2023-06-19T08:02:45.1940511Z   checking for py module gzip ...                   ok
2023-06-19T08:02:45.1968662Z   checking for /builder/staging_dir/host/bin/pkg-config ...ok
2023-06-19T08:02:45.1998491Z ERROR: no gettext binaries found
2023-06-19T08:02:45.1999746Z   checking for xgettext ...                         fail
2023-06-19T08:02:45.2008403Z make[2]: *** [Makefile:263: /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/tvheadend-2023-06-05/.configured_a17fb5ef857664f03cd0ce37cc5ea591] Error 1

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
2023-06-22 21:35:11 +03:00
Marius Dinu dedf51702e tvheadend: update to 2023-06-05
Update to git master 2023-06-05 and removed unneeded compatibility patch.

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
2023-06-22 21:35:11 +03:00
W. Michael Petullo 250f08cd4e gst1-libav: update to 1.22.3
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-26 10:28:51 +08:00
W. Michael Petullo 3ecb521c31 gst1-plugins-ugly: update to 1.22.3
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-26 10:28:51 +08:00
W. Michael Petullo b6af05e6cb gst1-plugins-bad: update to 1.22.3
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-26 10:28:51 +08:00
W. Michael Petullo 8ebaa5c124 gst1-plugins-good: update to 1.22.3
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-26 10:28:51 +08:00
W. Michael Petullo be08c11c4a gst1-plugins-base: update to 1.22.3
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-26 10:28:51 +08:00
W. Michael Petullo 2fe50a6da2 gstreamer1: update to 1.22.3
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-26 10:28:51 +08:00
Tianling Shen 560f93cb25 xupnpd: fix compilation with musl 1.2.4
musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-18 09:29:06 +08:00
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
Andrew Sim 73d89cb4d6 minidlna: update to 1.3.2 release
- Updated to latest version
- Removed upstreamed patches
- Refreshed patches

Project changelog:

1.3.2 - Released 30-Aug-2022
--------------------------------
- Improved DNS rebinding attack protection.
- Added Samsung Neo QLED series (2021) support.
- Added webm/rm/rmvb support.

1.3.1 - Released 11-Feb-2022
--------------------------------
- Fixed a potential crash in SSDP request parsing.
- Fixed a configure script failure on some platforms.
- Protect against DNS rebinding attacks.
- Fix an socket leakage issue on some platforms.
- Minor bug fixes.

Signed-off-by: Andrew Sim <andrewsimz@gmail.com>
2023-04-10 14:12:30 -07:00
Andre Heider e7d9c86503 treewide: refactor to use PKG_BUILD_FLAGS:=lto
See commit 07730ff3 "treewide: add support for "lto" in PKG_BUILD_FLAGS"
on the main repository.

Note: Some packages only added `-flto` to CFLAGS and not LDFLAGS. This
fixes it and properly enables LTO.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Andre Heider 35f4ef76e0 treewide: refactor to use PKG_BUILD_FLAGS:=gc-sections
See commit da370098 "treewide: add support for "gc-sections" in
PKG_BUILD_FLAGS" on the main repository.

Note: This only touches packages which use all three parts
(-ffunction-sections, -fdata-sections and -Wl,--gc-sections) enabled by
this build flag. Some packages only use a subset, and these are left
unchanged for now.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Andre Heider 565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Michal Vasilek 9f0922910e yt-dlp: update to 2023.3.4
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2023-03-08 23:12:40 +08:00
Koen Vandeputte e68c98a0ce gst1-libav: bump to 1.20.5
- avdec_h265: Fix endless renegotiation with alternate interlacing
- avviddec: Avoid flushing on framerate changes

Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
2023-02-25 18:43:40 -08:00