multimedia/linux_dvbwrapper: Add error handling for copyout() calls The base system will soon require all copyout() calls to have explicit handling of return values. PR: 275986 Approved by: antoinee6728be275
Port details
multimedia/linux_dvbwrapper-kmod1.0.1501000_2
Linux compatibility layer - DVB ioctl handler
- Maintainer
- ports@FreeBSD.org
- Packages
- linux_dvbwrapper-kmod 1.0.1501000_2
- Upstream
- up to date
- CPE
- none, CVEs only via VuXML
- WWW
- https://people.freebsd.org/~nox/dvb/
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (20)
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
multimedia: remove 'Created by' lines A big Thank You to the original contributors of these ports: * Aaron LI <aly@aaronly.me> * Alexander Botero-Lowry <alexbl@FreeBSD.org> * Alexander Logvinov <ports@logvinov.com> * Alexey Dokuchaev <danfe@FreeBSD.org> * Anders Nordby <anders@FreeBSD.org> * Andrew Pantyukhin <infofarmer@FreeBSD.org> * Andrew Thompson <andy@fud.org.nz> * Andrew Thompson <thompsa@FreeBSD.org> * Angel Carpintero <ack@telefonica.net> * Anish Mistry (with help from mean) * Anonymous <swell.k@gmail.com> * Ashish SHUKLA <ashish@FreeBSD.org> * Ashish Shukla <wahjava@gmail.com> * Ben Woods <woodsb02@FreeBSD.org> * Brian Somers <brian@FreeBSD.org> * Bruce M Simpson <bms@FreeBSD.org> * Byung-Hee HWANG <bh@izb.knu.ac.kr> * Charlie Kester <corky1951@comcast.net> * Chess Griffin <chess@chessgriffin.com> * Chris Piazza <cpiazza@FreeBSD.org> * Christopher Key <cjk32@cam.ac.uk> * Chuck Hein <chein@FreeBSD.org> & Jim Overholt <overholt@isdw.net> * Daniel Morante <daniel@morante.net> * Diego Depaoli <trebestie@gmail.com> and Yinghong Liu <relaxbsd@gmail.com> * Dierk Sacher <dierk@blaxxtarz.de> * Dreamcat4 <dreamcat4@gmail.com> * Earl Gay <earl@eeg3.net> * Ed Schouten <ed@FreeBSD.org> * Edwin Groothuis <edwin@mavetju.org> * Emanuel Haupt <ehaupt@FreeBSD.org> * Felix Palmen <felix@palmen-it.de> * Franz Bettag <franz@bett.ag> * FreeBSD GNOME Team <gnome@freebsd.org> * Gea-Suan Lin <gslin@gslin.org> * George Reid <greid@ukug.uk.freebsd.org> * Grzegorz Blach <gblach@FreeBSD.org> * Gustau Perez <gustau.perez@gmail.com> * Harold Gutch <logix@foobar.franken.de> * Heiner <h.eichmann@gmx.de> * Heiner Eichmann <h.eichmann@gmx.de> * Hendrik Scholz <hendrik@scholz.net> * Herbert J. Skuhra <h.skuhra@gmail.com> * Herve Quiroz <hq@FreeBSD.org> * Holger Lamm * J.R. Oldroyd <fbsd@opal.com> * Jason Harmening <jason.harmening@gmail.com> * Jille Timmermans (jille@quis.cx) * Juergen Lock <nox@FreeBSD.org> * Juergen Lock <nox@jelal.kn-bremen.de> * KalleDK <plexmaintainer@k-moeller.dk> * Koop Mast <kwm@FreeBSD.org> * Koop Mast <kwm@rainbow-runner.nl> * Kozlov Sergey <kozlov.sergey.404@gmail.com> * Kris Moore * Kuan-Chung Chiu <buganini@gmail.com> * Lars Eggert <lars.eggert@gmx.net> * Leinier Cruz Salfran <salfrancl@yahoo.es> * MANTANI Nobutaka <nobutaka@nobutaka.com> * Manuel Creach <manuel.creach@icloud.com> * Marc van Woerkom <3d@FreeBSD.org> * Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> * Mark Felder <feld@FreeBSD.org> * Martin Matuska <mm@FreeBSD.org> * Martin Neubauer <m.ne@gmx.net> * Martin Wilke <miwi@FreeBSD.org> * Michael Johnson <ahze@FreeBSD.org> * Michael Johnson <ahze@ahze.net> * Michael Nottebrock <michaelnottebrock@gmx.net> * Michael Nottebrock <michaelnottebrock@gmx.net> et al * Mina Naguib <webmaster@topfx.com> * Mykola Dzham <i@levsha.me> * Naram Qashat <cyberbotx@cyberbotx.com> * Olivier Cochard-Labbe <olivier@FreeBSD.org> * Pascal Vizeli <pvizeli@yahoo.de> * Pav Lucistnik <pav@FreeBSD.org> * Pawel Pekala <pawel@FreeBSD.org> * Petar Zhivkov Petrov <pesho.petrov@gmail.com> * Phil Oleson * Phil Oleson <oz@nixil.net> * Piotr Kubaj <pkubaj@anongoth.pl> * Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Raaf <freebsd@luna.afraid.org> * Randall Hopper <aa8vb@nc.rr.com> * Rodrigo OSORIO <rodrigo@FreeBSD.org> * Rozhuk Ivan 2018 <rozhuk.im@gmail.com> * Rozhuk Ivan <rozhuk.im@gmail.com> * Rozhuk Ivan rozhuk.im@gmail.com * Rusmir Dusko <nemysis@FreeBSD.org> * Stacey Son <mythdev@son.org>, Ari Maniatis <ari@ish.com.au> * Steve Wills <steve@mouf.net> * Steve Wills <swills@FreeBSD.org> * Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Sylvio Cesar <sylvio@FreeBSD.org> * Thierry Thomas <thierry@pompo.net> * Thomas E. Zander * Thomas E. Zander with help from Vladimir Kushnir * Vladimir Kondratiev <wulf@mail.mipt.ru> * William Grzybowski <wg@FreeBSD.org> * William Grzybowski <william88@gmail.com> * Yi-Hsuan Hsin <mhsin@mhsin.org> * Zastupov Stepan [RedChrom] <redchrom@mail.ru> * adamw * alex * arved * erich@FreeBSD.org * freebsd-ports@evilcode.net * giffunip@asme.org * ijliao * kamikaze@bsdforen.de * michael johnson <ahze@ahze.net> * mikael.urankar@gmail.com * mm * nox@FreeBSD.org * osa * pb@FreeBSD.org * piero * se@FreeBSD.org * sumikawa With hat: portmgr63f36d3262
*: Linux emulation: add support for aarch64 PR: 256008 Submitted by: Vincent Milum Jr (prior version) Approved by: emulation (maintainer timeout)c7dd5ca11a
all: Remove all other $FreeBSD keywords.135fdeebb9
Remove # $FreeBSD$ from Makefiles.305f148f48
- Fix WWW: - Cosmetic fixesb244dc086c
multimedia/linux_dvbwrapper-kmod: unbreak on 12.0 after r312758 In file included from linux_dvbwrapper.c:43: /usr/src/sys/sys/capability.h:41:2: error: this file includes <sys/capability.h> which is deprecated [-Werror,-W#warnings] #warning this file includes <sys/capability.h> which is deprecated ^ Reported by: pkg-fallout80ceb9cbe8
Reset maintainerfe6465bb1b
- Allow staging as a regular user - Simplify plist9c8a6b34b7
Stagify.429b7199a8
Convert to USES=kmod, which removes duplicated code and ensures that all required steps are followed.
There are no user-visible changes. The exception is multimedia/ptx-kmod,
which now installs the kernel module into /boot/modules instead of
${PREFIX}/libexec/${PORTNAME}, this was something USES=kmod cannot handle.
PR: ports/183625
Submitted by: myself
Approved by: portmgr (bdrewery)
Exp-run by: bdrewerybfc52e7104Add NO_STAGE all over the place in preparation for the staging support (cat: multimedia)855fb638fb
SSP support has been added to ports with WITH_SSP for i386 and amd64 on FreeBSD 10, and amd64 on earlier versions. SSP_UNSAFE is added to disable in a port if it fails to build, but this should only be used in rare circumstances such as kernel modules. Otherwise, the port may just be failing due to lack of respecting LDFLAGS. On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in libssp_nonshared.a to address issues linking on i386 [1]. On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared to LDFLAGS on i386. This is not needed on amd64. However, several hundred ports do not currently respect LDFLAGS, so this support is disabled currently as it causes build failures if a dependency is looking for the stack_chk symbols. Many thanks to jlh@ for this as he had many years of patience in getting all of the necessary pieces [1][2] in. [1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup PR: ports/138228 [2] Submitted by: jlh (bsd.ssp.mk based on) Reviewed by: bapt With hat: portmgr exp-runs done: 37 over a month on 91i386,91amd64,10i386,10amd64c93dfc2e9f
- Fix build on recent head. (cap_rights_t type change in r255219) [1] - Convert Makefile header. Reported by: beefy2 via pkg-fallout [1]c2ef816c08
- Fix two linux/dvb ioctls in multimedia/v4l_compat , multimedia/webcamd , and multimedia/linux_dvbwrapper : CA_GET_SLOT_INFO and CA_GET_MSG need to be _IOWR not _IOR. - Bump PORTREVISION for multimedia/vdr too since it uses one of the ioctls. (This fixes the CI slot of at last the TT CT-3650 DVB-C/T tuner.) Approved by: hselasky (maintainer of multimedia/webcamd)ef16d2e450
Fix build on 9 and 10. Submitted by: pointyhat via erwin6ec313be7b
(Attempt to) fix build on head. Submitted by: pointyhat via erwin888dbbc025
This kld adds DVB ioctl handling to the Linux compatibility layer so that Linux apps can talk to DVB/ATSC tuners via /dev/dvb/adapterX. Note this port does not contain actual DVB drivers, those are provided by e.g. the multimedia/webcamd port. WWW: http://people.freebsd.org/~nox/dvb/5c392de08e