Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2013 00:52:23 GMT
From:      Jason Harmening <jason.harmening@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/175150: update multimedia/cx88 to 1.4.6
Message-ID:  <201301090052.r090qNlu083953@red.freebsd.org>
Resent-Message-ID: <201301090100.r09100rL007184@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175150
>Category:       ports
>Synopsis:       update multimedia/cx88 to 1.4.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 09 01:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jason Harmening
>Release:        9.1-PRERELEASE
>Organization:
>Environment:
FreeBSD corona.austin.rr.com 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r244567M: Fri Dec 21 17:50:44 CST 2012     root@corona.austin.rr.com:/usr/obj/usr/src/sys/CUSTOM  amd64
>Description:
--Use DRIVER_MODULE_ORDERED() everywhere and set 8.2-STABLE as minimum OS version, fixes kmod load failure on latest 8.3
--Add DVB_ENUM_DELSYS and fix DVB API version at 5.5 to fix capture w/ latest VDR
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruNb cx88.orig/Makefile cx88/Makefile
--- cx88.orig/Makefile	2012-12-17 19:47:21.000000000 -0600
+++ cx88/Makefile	2013-01-08 18:58:56.000000000 -0600
@@ -1,8 +1,8 @@
 # Created by: Jason Harmening <jason.harmening@gmail.com>
-# $FreeBSD: ports/multimedia/cx88/Makefile,v 1.24 2012/12/18 01:47:21 svnexp Exp $
+# $FreeBSD$
 
 PORTNAME=	cx88
-PORTVERSION=	1.4.5
+PORTVERSION=	1.4.6
 CATEGORIES=	multimedia kld
 MASTER_SITES=	ftp://corona.homeunix.net/ports/cx88/
 
@@ -22,8 +22,8 @@
 
 OPTIONS_DEFINE=	DEBUG LINUX_COMPAT HAL
 
-DEBUG_DESC=	Build with debugging and verbose output enabled
-LINUX_COMPAT_DESC=	Support for Linux DVB and radio devices (requires FreeBSD 8.1+)
+DEBUG_DESC= Enable debugging and verbose driver output
+LINUX_COMPAT_DESC= Support for Linux DVB and radio API
 HAL_DESC=	Register Linux DVB devices with HAL
 
 OPTIONS_DEFAULT=	LINUX_COMPAT
@@ -34,7 +34,6 @@
 MAKE_ARGS+=	DIAGNOSTIC=0x7f
 .endif
 
-.if (${OSVERSION} >= 801000)
 .if ${PORT_OPTIONS:MLINUX_COMPAT}
 LIB_DEPENDS+=	cuse4bsd.1:${PORTSDIR}/multimedia/cuse4bsd-kmod
 BUILD_DEPENDS+= v4l_compat>=1.0.20100321:${PORTSDIR}/multimedia/v4l_compat
@@ -45,12 +44,11 @@
 MAKE_ARGS+=	-D WITH_HAL
 .endif
 .endif
-.endif
 
 MAKE_ARGS+=	DEFAULT_XML_CONFIG="${EXAMPLESDIR}/cx88.xml.sample"
 
-.if (${OSVERSION} < 704000) || ((${OSVERSION} >= 800000) && (${OSVERSION} < 801000))
-IGNORE=	requires kernel support for kmem_alloc_attr() (FreeBSD 7.4+, FreeBSD 8.1+)
+.if (${OSVERSION} < 802513) || ((${OSVERSION} >= 900000) && (${OSVERSION} < 900041))
+IGNORE= requires kernel support for DRIVER_MODULE_ORDERED macro (FreeBSD 8.3+, FreeBSD 9.0+)
 .endif
 
 .if !exists(${SRC_BASE}/sys/Makefile)
diff -ruNb cx88.orig/distinfo cx88/distinfo
--- cx88.orig/distinfo	2012-12-17 19:47:21.000000000 -0600
+++ cx88/distinfo	2013-01-08 18:58:56.000000000 -0600
@@ -1,2 +1,2 @@
-SHA256 (cx88-1.4.5.tar.gz) = fc1383a0badfbb9b7161ff0bc634e50a96792c55066a7ca6495a53dabbb01fd6
-SIZE (cx88-1.4.5.tar.gz) = 190201
+SHA256 (cx88-1.4.6.tar.gz) = 744df7fb4ad404983bb11bad7d9694193f3581912ec2229de293bfc19bbea74a
+SIZE (cx88-1.4.6.tar.gz) = 189203
diff -ruNb cx88.orig/pkg-plist cx88/pkg-plist
--- cx88.orig/pkg-plist	2012-12-17 19:47:21.000000000 -0600
+++ cx88/pkg-plist	2013-01-08 18:58:56.000000000 -0600
@@ -2,12 +2,12 @@
 %%EXAMPLESDIR%%/cx88.xml.sample
 %%EXAMPLESDIR%%/remote.cpp
 %%EXAMPLESDIR%%/cx88_audio_enable.cpp
-%%EXAMPLESDIR%%/cx88_audio_client.cpp
-%%EXAMPLESDIR%%/hd3k_analog_ubuf.cpp
-%%EXAMPLESDIR%%/hd5k_analog_ubuf.cpp
 %%EXAMPLESDIR%%/cx88_mpeg_client.cpp
 %%EXAMPLESDIR%%/hd3k_analog_kbuf.cpp
 %%EXAMPLESDIR%%/tuner_config
+%%EXAMPLESDIR%%/cx88_audio_client.cpp
+%%EXAMPLESDIR%%/hd3k_analog_ubuf.cpp
+%%EXAMPLESDIR%%/hd5k_analog_ubuf.cpp
 etc/rc.d/cx88d
 include/iicdev/iicdev_ioctl.h
 include/cx88/cx88_common_ioctl.h


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301090052.r090qNlu083953>