update to hdhomerun 20140604, from Jason Tubnor

This commit is contained in:
sthen 2014-07-19 21:09:18 +00:00
parent 6f1bf77abb
commit c374c4e3ad
5 changed files with 71 additions and 79 deletions

View File

@ -1,17 +1,20 @@
# $OpenBSD: Makefile,v 1.14 2013/03/11 11:35:44 espie Exp $
# $OpenBSD: Makefile,v 1.15 2014/07/19 21:09:18 sthen Exp $
V= 20140604
COMMENT= HDHomeRun Config CLI utility & firmware
FW= hdhomerun_atsc_firmware_20110323.bin \
hdhomerun_dvbt_firmware_20110323.bin \
hdhomerun_tech_atsc_firmware_20110323.bin \
hdhomerun3_atsc_firmware_20110323.bin \
hdhomerun3_dvbt_firmware_20110323.bin \
hdhomerun3_dvbtc_firmware_20110323.bin
SRC= libhdhomerun_20110323.tgz
FW= hdhomerun_atsc_firmware_$V.bin \
hdhomerun_dvbt_firmware_$V.bin \
hdhomerun3_atsc_firmware_$V.bin \
hdhomerun3_dvbt_firmware_$V.bin \
hdhomerun3_dvbtc_firmware_$V.bin \
hdhomerun3_cablecard_firmware_$V.bin \
hdhomerun3_dvbc_firmware_$V.bin \
hdhomerun4_atsc_firmware_$V.bin \
hdhomeruntc_atsc_firmware_$V.bin
SRC= libhdhomerun_$V.tgz
DISTFILES= ${FW} ${SRC}
EXTRACT_ONLY= ${SRC}
PKGNAME= hdhomerun-20110323
REVISION= 0
PKGNAME= hdhomerun-$V
CATEGORIES= multimedia
MASTER_SITES= http://download.silicondust.com/hdhomerun/
@ -25,6 +28,7 @@ NO_TEST= Yes
USE_GMAKE= Yes
WANTLIB= c pthread
WRKDIST= ${WRKDIR}/libhdhomerun
SUBST_VARS+= V
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/hdhomerun_config ${PREFIX}/bin

View File

@ -1,35 +1,20 @@
MD5 (hdhomerun3_atsc_firmware_20110323.bin) = baReHSdZ1Np5DHXuEHED8g==
MD5 (hdhomerun3_dvbt_firmware_20110323.bin) = jThS/3RUwKDrTGeDwwtaTg==
MD5 (hdhomerun3_dvbtc_firmware_20110323.bin) = o8CmJtVlgnKML4UwkJc66g==
MD5 (hdhomerun_atsc_firmware_20110323.bin) = ybqhSZalClotItWMT0JLAQ==
MD5 (hdhomerun_dvbt_firmware_20110323.bin) = Imdb2j8cendxBoMYvb2iiA==
MD5 (hdhomerun_tech_atsc_firmware_20110323.bin) = gpykMZ+6+vMnysRRbHJjWg==
MD5 (libhdhomerun_20110323.tgz) = XTGHd7d3mq/SQnvdV3dWEw==
RMD160 (hdhomerun3_atsc_firmware_20110323.bin) = cRNUCuwoEhJyhMbWGy34cWUmloQ=
RMD160 (hdhomerun3_dvbt_firmware_20110323.bin) = vI2Hckheaf4DKRakZerJSf3RgpQ=
RMD160 (hdhomerun3_dvbtc_firmware_20110323.bin) = W7QjNuDPZW6OXA7jh5O50hoJnEY=
RMD160 (hdhomerun_atsc_firmware_20110323.bin) = zjfIifdJ9yarV58Gl6In0Cf6TiE=
RMD160 (hdhomerun_dvbt_firmware_20110323.bin) = kjR1iwQ1onMlaBPxndgo2bqYuXA=
RMD160 (hdhomerun_tech_atsc_firmware_20110323.bin) = DtOjMrCMQzoO12Ot9AB3Q/c8YUE=
RMD160 (libhdhomerun_20110323.tgz) = Fj2sa0efPzqmoU2hnoMM8hPH4x8=
SHA1 (hdhomerun3_atsc_firmware_20110323.bin) = niyjf8Gtl6QOgf8QzsJ6nqoPMVw=
SHA1 (hdhomerun3_dvbt_firmware_20110323.bin) = T61PfX4C4pSxG6SizDlHpbvsLLM=
SHA1 (hdhomerun3_dvbtc_firmware_20110323.bin) = sYFodPYqVG8gYHBhv5rcKD7wX6w=
SHA1 (hdhomerun_atsc_firmware_20110323.bin) = gMr2Y3edZIXAxYfa1nkj7OodzHs=
SHA1 (hdhomerun_dvbt_firmware_20110323.bin) = R0wYepzVFNWfYsyqo1Evh/XDraM=
SHA1 (hdhomerun_tech_atsc_firmware_20110323.bin) = 5SwacDIG/r8vZKcYlWZKyauqxXo=
SHA1 (libhdhomerun_20110323.tgz) = i3C7D4bjKYp5YfO/UzDfSLpwmmM=
SHA256 (hdhomerun3_atsc_firmware_20110323.bin) = ae7vddquAucUqLfKAi3ezhx8E44bu2MxdGiAJzIiT2I=
SHA256 (hdhomerun3_dvbt_firmware_20110323.bin) = V4OQpVxnKKOzZ6j+gtwGLl8Zn6Okv+WQjmtMOgQUUUc=
SHA256 (hdhomerun3_dvbtc_firmware_20110323.bin) = qmnY8BBJoDyz7ukFYd6IRTVRJLePzn3OR+dCOFbwYR8=
SHA256 (hdhomerun_atsc_firmware_20110323.bin) = iBiYzrkpMVx3V2i9+NgeHosajpyp2zIuEJWHg567pFU=
SHA256 (hdhomerun_dvbt_firmware_20110323.bin) = p/h3BN/QdwTEiBxZpdnkzKOo+9HLTMa21eBNjnvbs5A=
SHA256 (hdhomerun_tech_atsc_firmware_20110323.bin) = mPzJqjUhaQEU9+eJh+GQ3m2/1EqTSa1IJrZ49XG5AH8=
SHA256 (libhdhomerun_20110323.tgz) = qRlTgfS9pn/bXG4oJNrxUeY9kzGXlsePVBQ0M0eVP0g=
SIZE (hdhomerun3_atsc_firmware_20110323.bin) = 143360
SIZE (hdhomerun3_dvbt_firmware_20110323.bin) = 94208
SIZE (hdhomerun3_dvbtc_firmware_20110323.bin) = 131072
SIZE (hdhomerun_atsc_firmware_20110323.bin) = 135168
SIZE (hdhomerun_dvbt_firmware_20110323.bin) = 126976
SIZE (hdhomerun_tech_atsc_firmware_20110323.bin) = 98304
SIZE (libhdhomerun_20110323.tgz) = 41778
SHA256 (hdhomerun3_atsc_firmware_20140604.bin) = ngK4nZgM9hfOsSpR44RhIO9IZFg9WzhhwjE9tYWCqUY=
SHA256 (hdhomerun3_cablecard_firmware_20140604.bin) = nBCIaMuwUbEZwPXlvOw9RR611ClCqDpBO/QEmeGwqR8=
SHA256 (hdhomerun3_dvbc_firmware_20140604.bin) = vKdKEuG0EmoyKvv32QwVLpRZcjAyZizHLBB/UgGCA00=
SHA256 (hdhomerun3_dvbt_firmware_20140604.bin) = 8/gtjbXPTip7GU0d5ft3yQZt9/iH/4MZ5HsLnmSBtEM=
SHA256 (hdhomerun3_dvbtc_firmware_20140604.bin) = YuLtyYAdIaEqF3jQa4195fG3PFEbqlojr0BivXkuwx4=
SHA256 (hdhomerun4_atsc_firmware_20140604.bin) = GCosc1m4Mt7tANaX7UOpjCRdpSbXAqWbVNEiJGcejzk=
SHA256 (hdhomerun_atsc_firmware_20140604.bin) = qW4cMEnNisa5f94N6Hr2mDbZMxUppIb3u3cuKAGbS2k=
SHA256 (hdhomerun_dvbt_firmware_20140604.bin) = wquqkXxh5uAGWjIlbySVECQXg7VeUf3tZnfBBFdCBnc=
SHA256 (hdhomeruntc_atsc_firmware_20140604.bin) = SnmwJGKB+GL9jXZmXn4tQX2oN6raTmPLPqLRG7xwbRw=
SHA256 (libhdhomerun_20140604.tgz) = sB+134a3aelYNZcZ9zEuq9uOZCocLLeNRUsoz4fDMw0=
SIZE (hdhomerun3_atsc_firmware_20140604.bin) = 135168
SIZE (hdhomerun3_cablecard_firmware_20140604.bin) = 446094
SIZE (hdhomerun3_dvbc_firmware_20140604.bin) = 302832
SIZE (hdhomerun3_dvbt_firmware_20140604.bin) = 90112
SIZE (hdhomerun3_dvbtc_firmware_20140604.bin) = 122880
SIZE (hdhomerun4_atsc_firmware_20140604.bin) = 1574976
SIZE (hdhomerun_atsc_firmware_20140604.bin) = 126976
SIZE (hdhomerun_dvbt_firmware_20140604.bin) = 122880
SIZE (hdhomeruntc_atsc_firmware_20140604.bin) = 3164272
SIZE (libhdhomerun_20140604.tgz) = 47786

View File

@ -1,24 +1,24 @@
$OpenBSD: patch-Makefile,v 1.6 2012/08/27 09:34:42 jasper Exp $
$OpenBSD: patch-Makefile,v 1.7 2014/07/19 21:09:19 sthen Exp $
--- Makefile.orig Thu Sep 30 12:41:44 2010
+++ Makefile Tue Aug 21 09:03:15 2012
@@ -11,10 +11,10 @@ LIBSRCS += hdhomerun_pkt.c
LIBSRCS += hdhomerun_sock_posix.c
LIBSRCS += hdhomerun_video.c
-CC := $(CROSS_COMPILE)gcc
+#CC := $(CROSS_COMPILE)gcc
STRIP := $(CROSS_COMPILE)strip
-CFLAGS += -Wall -O2 -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
+CFLAGS += -Wall -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
LDFLAGS += -lpthread
SHARED = -shared -Wl,-soname,libhdhomerun$(LIBEXT)
@@ -42,7 +42,6 @@ all : hdhomerun_config$(BINEXT) libhdhomerun$(LIBEXT)
hdhomerun_config$(BINEXT) : hdhomerun_config.c $(LIBSRCS)
$(CC) $(CFLAGS) $+ $(LDFLAGS) -o $@
- $(STRIP) $@
libhdhomerun$(LIBEXT) : $(LIBSRCS)
$(CC) $(CFLAGS) -fPIC -DDLL_EXPORT $(SHARED) $+ $(LDFLAGS) -o $@
@@ -11,10 +11,10 @@ LIBSRCS += hdhomerun_pkt.c
LIBSRCS += hdhomerun_sock_posix.c
LIBSRCS += hdhomerun_video.c
-CC := $(CROSS_COMPILE)gcc
+#CC := $(CROSS_COMPILE)gcc
STRIP := $(CROSS_COMPILE)strip
-CFLAGS += -Wall -O2 -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
+CFLAGS += -Wall -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
LDFLAGS += -lpthread
SHARED = -shared -Wl,-soname,libhdhomerun$(LIBEXT)
@@ -42,7 +42,6 @@ all : hdhomerun_config$(BINEXT) libhdhomerun$(LIBEXT)
hdhomerun_config$(BINEXT) : hdhomerun_config.c $(LIBSRCS)
$(CC) $(CFLAGS) $+ $(LDFLAGS) -o $@
- $(STRIP) $@
libhdhomerun$(LIBEXT) : $(LIBSRCS)
$(CC) $(CFLAGS) -fPIC -DDLL_EXPORT $(SHARED) $+ $(LDFLAGS) -o $@

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-hdhomerun_os_posix_h,v 1.2 2013/12/06 15:32:01 jca Exp $
--- hdhomerun_os_posix.h.orig Sun Aug 22 07:39:26 2010
+++ hdhomerun_os_posix.h Fri Dec 6 16:30:40 2013
@@ -42,7 +42,6 @@
$OpenBSD: patch-hdhomerun_os_posix_h,v 1.3 2014/07/19 21:09:19 sthen Exp $
--- hdhomerun_os_posix.h.orig Fri Jul 18 13:52:20 2014
+++ hdhomerun_os_posix.h Fri Jul 18 13:52:52 2014
@@ -30,7 +30,6 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
@ -9,7 +9,7 @@ $OpenBSD: patch-hdhomerun_os_posix_h,v 1.2 2013/12/06 15:32:01 jca Exp $
#include <sys/wait.h>
#include <netinet/in.h>
#include <arpa/inet.h>
@@ -50,7 +49,6 @@
@@ -39,7 +38,6 @@
#include <pthread.h>
typedef int bool_t;

View File

@ -1,9 +1,12 @@
@comment $OpenBSD: PLIST,v 1.11 2011/04/16 23:04:11 jolan Exp $
@comment $OpenBSD: PLIST,v 1.12 2014/07/19 21:09:19 sthen Exp $
@bin bin/hdhomerun_config
share/hdhomerun/
share/hdhomerun/hdhomerun3_atsc_firmware_20110323.bin
share/hdhomerun/hdhomerun3_dvbt_firmware_20110323.bin
share/hdhomerun/hdhomerun3_dvbtc_firmware_20110323.bin
share/hdhomerun/hdhomerun_atsc_firmware_20110323.bin
share/hdhomerun/hdhomerun_dvbt_firmware_20110323.bin
share/hdhomerun/hdhomerun_tech_atsc_firmware_20110323.bin
share/hdhomerun/hdhomerun3_atsc_firmware_${V}.bin
share/hdhomerun/hdhomerun3_cablecard_firmware_${V}.bin
share/hdhomerun/hdhomerun3_dvbc_firmware_${V}.bin
share/hdhomerun/hdhomerun3_dvbt_firmware_${V}.bin
share/hdhomerun/hdhomerun3_dvbtc_firmware_${V}.bin
share/hdhomerun/hdhomerun4_atsc_firmware_${V}.bin
share/hdhomerun/hdhomerun_atsc_firmware_${V}.bin
share/hdhomerun/hdhomerun_dvbt_firmware_${V}.bin
share/hdhomerun/hdhomeruntc_atsc_firmware_${V}.bin