Commit Graph

34 Commits

Author SHA1 Message Date
Robert Marko 272f55e87f treewide: refresh hashes after move to use ZSTD as default
With the recent move to using ZSTD as the default compression format
for packaging git repo clones we must refresh all of the hashes for
the packages feed as well.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-04-07 12:06:34 +02: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
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
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
Marius Dinu 091681e152 tvheadend: Fix github warning about AUTORELEASE
Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
2022-12-03 11:31:55 -08:00
Marius Dinu 1490531981 tvheadend: add conditions for -O3 and LTO optimizations
Building for arc, mips and powerpc platforms fails if -O3 and LTO optimizations are enabled. This patch removes that option for everything other than arm and x86_64. These are known to work.
Fixes issue #19923.
Also fixes a typo in the description.

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
2022-12-03 11:31:55 -08:00
Marius Dinu bf27912019 tvheadend: update to git master 2022-11-20
- EPG database switched from v2 to v3. This commit updates OpenWrt init script to use the new database file.
- EPG database symlink created by OpenWrt config option is overwritten with a real file by tvheadend.
  The latest tvheadend commit included here fixes that.

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
2022-11-22 16:50:59 +02:00
Alexander Egorenkov 8b9e90d926 tvheadend: add noacl config option for server
Add support for --noacl option to disable all access control checks.

Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
2022-04-07 11:17:17 -07:00
Matthew Hagan 5385a7b9f8 tvheadend: add /etc/tvheadend config to conffiles
Allow backing up and preserving of /etc/tvheadend across sysupgrades.

Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
2022-02-25 06:08:46 -08:00
Matthew Hagan b0d810b2e6 tvheadend: correct group permissions for /dev/dvb
Provide group read, write and execute permissions for /dev/dvb, otherwise
adapters will not be accessible from tvheadend.

Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
2022-02-25 06:08:46 -08:00
Marius Dinu 95cbfe893b tvheadend: bind to LAN IP by default
If config parameter is not set, tvheadend will bind to LAN IP address by default.
Fixes issue #16500 without requiring user modifications to config file. It's also more secure if firewall becomes disabled.

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
2022-02-23 17:23:48 -08:00
Sergey V. Lobanov e7900b533b tvheadend: fix build on macos
tvheadend configure/make files detect Darwin build host and changes
build logic, but it fails compilation for OpenWrt target (Linux)

This patch explicitly specifies Linux as a target platfrom

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-29 13:32:16 -08:00
Josef Schlehofer 752d1ffc28
tvheadend: fix conffiles section
The previous one was wrong, and it did not work. It could be checked
inside compiled package in control.tar.gz that there was missing
``conffiles`` file with content `/etc/config/tvheadend`

It is also possible to verify that the config is not overwritten on the router
by running ``opkg install tvheadend --force-reinstall``

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-01-25 00:23:13 +01:00
Josef Schlehofer 5879260515
tvheadend: fix typo in uriparser
Fixes: 0449c109e7 ("tvheadend: disable
uriparser")

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-01-24 12:25:00 +01:00
Josef Schlehofer 0449c109e7
tvheadend: disable uriparser
This avoids to add liburiparser as dependency.

Package tvheadend is missing dependencies for the following libraries:
liburiparser.so.1

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-01-21 11:06:26 +01:00
Marius Dinu 380374b228 tvheadend: update to git master 2021-11-16, package cleanup, more options
Changes:
- Update to tvheadend git master branch,
  commit 2efe90cdcf74fdc4179692d283cf46c85e1cf681
  dated 2021-11-16
- Removed patches that are not needed anymore.
- Add patch to ignore a ICONV test that runs at tvheadned startup.
  This test fails without "full language support" in OpenWrt,
  but tvheadend appears to run fine anyway.
- Descrambling needs libdvbcsa, a BUILD_PATENTED package.
  Control Word clients now depend on descrambling.
- Added options:
  - CCCAM client
  - RegEx library choice: POSIX (internal) / libpcre (more compatible) / libpcre2
  - Optimize for speed (-O3, LTO)
- FFMPEG is working again. Added options for transcoding, but commented-out.
  If anyone needs this, just uncomment, make menuconfig and build.
- Sort everything in a more logical order

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
2021-12-07 12:27:45 -08:00
Josef Schlehofer dacda65d37 tvheadend: add patch to update hdhomerun
Tarball with libhdhomerun_20171221 [1] was removed from upstream repository
and as it can not be found.

[1] http://download.silicondust.com/hdhomerun/libhdhomerun_20171221.tgz

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-10-19 13:23:05 -07:00
Marius Dinu 4a387bc568 tvheadend: multiple improvements
- Added menuconfig options:
  - TV sources and protocols: SAT>IP, IPTV, HDHomeRun
  - SoftCAM (3 options)
  - Image cache (default changed to OFF)
  - Trace debug option (default changed to OFF)
- Added menuconfig descriptions.
- Removed codecs.
- Made PIE option dependent on global OpenWRT PIE setting.
- Run as regular user, not root.
- Added USB hotplug script to change DVB tuners permissions.
- Fixed a first-start bug(?) that I encountered: admin account created but not saved.

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
2021-08-27 18:44:29 +03:00
Marius Dinu 326da3dbbc tvheadend: update to v4.2.8, remove static ffmpeg
- refresh patches
 - add missing dependency: libffi

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>

[edited commit message and the maintainer line]
2021-08-17 18:34:18 +03:00
Rosen Penev 57c6c5e73f tvheadend: fix compilation with GCC 9 and 10
Without this, compilation fails because of a fortify-source header.
There's something defining and undefining _GNU_SOURCE somewhere.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-24 01:18:56 -07:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Rosen Penev e3c67016f8
tvheadend: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-10 15:52:59 -07:00
Rosen Penev 9eea417e92
tvheadend: Fix compilation on GCC8
New string warnings were introduced. Adding -Wno-error to TARGET_CFLAGS
does not work so patch it out.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-01 10:12:23 -07:00
Rosen Penev c59e53619e tvheadend: Fix compilation without deprecated OpenSSL 1.0.2 APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-01 21:46:47 -08:00
Rosen Penev 5033e594cc tvheadend: Fix compilation without OpenSSL deprecated APIs
Also switched to codeload for Makefile simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-25 17:42:51 -08:00
Hannu Nyman c133f7311a tvheadend: minor bugfix version bump to 4.0.10
Update the package to the last release of the old 4.0 series.

Note that this version is still from the obsolete 4.0 series,
but updates the source base a bit.

This also enables dropping one of the GCC 7.3 fixes.

Compiled and briefly run-tested with ipq806x and mvebu,
but no actual operations done.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-05-01 22:13:16 +03:00
Hannu Nyman 3ec6114d22 tvheadend: fix compilation with GCC 7.3
Disable two warnings to enable compilation with GCC 7.3

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-05-01 14:34:21 +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
Jan Čermák 68143552bd tvheadend: update to 4.0.9
Signed-off-by: Jan Čermák <jan.cermak@nic.cz>
2016-04-11 12:21:42 +02:00
Jan Čermák 9512e99f97 tvheadend: update to v4.0.7
Signed-off-by: Jan Čermák <jan.cermak@nic.cz>
2015-11-05 13:35:54 +01:00
Ted Hess 2849864c1e tvheadend: Fix build dependency for iconv libs
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-11-04 14:51:07 -05:00
Jan Čermák 7b2daf718a tvheadend: add missing install of default Uci config file
Signed-off-by: Jan Čermák <jan.cermak@nic.cz>
2015-08-11 15:29:11 +02:00
Jan Čermák 4e676203b3 tvheadend: add new package
Tvheadend is a TV streaming server and recorder for Linux. Legacy
Makefile for tvheadend was used as a skeleton, but most of its parts
were rewritten or updated later.

Procd init script allows to set some configuration options (these are
commented out in default Uci config for documentation purposes) and is
written in a way that it puts only configuration that needs to be
persistent to main memory. EPG database which is large and updated
regularly is put to tmpfs (this can be disabled in config).

Signed-off-by: Jan Čermák <jan.cermak@nic.cz>
2015-07-06 21:25:43 +02:00