Ticket #42591: patch-hdhomerun_2014Feb22_01.diff
File patch-hdhomerun_2014Feb22_01.diff, 6.3 KB (added by ctreleaven (Craig Treleaven), 11 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name hdhomerun 7 version 201 204057 version 20140121 8 8 set firm_version ${version} 9 9 categories net multimedia 10 10 platforms darwin 11 11 license LGPL-3+ 12 12 maintainers nomaintainer 13 description HDHomeRun Software and Firmware 14 long_description ${description} 13 description HDHomeRun configuration utility 14 long_description Provides a library and utility program to access, configure and test \ 15 HDHomeRun network tuner devices from SiliconDust. May also be used to \ 16 upgrade firmware. Command line-drive and scriptable. 15 17 homepage http://www.silicondust.com/ 16 18 17 19 master_sites http://download.silicondust.com/hdhomerun … … 20 22 patch.args -p1 21 23 extract.suffix .tgz 22 24 distfiles-append ${name}_atsc_firmware_${firm_version}.bin \ 23 ${name}_dvbt_firmware_${firm_version}.bin 25 ${name}_dvbt_firmware_${firm_version}.bin \ 26 ${name}3_atsc_firmware_${firm_version}.bin \ 27 ${name}3_dvbt_firmware_${firm_version}.bin \ 28 ${name}3_dvbtc_firmware_${firm_version}.bin \ 29 ${name}3_dvbc_firmware_${firm_version}.bin \ 30 ${name}3_cablecard_firmware_${firm_version}.bin \ 31 ${name}tc_atsc_firmware_${firm_version}.bin 32 24 33 extract.only ${distname}${extract.suffix} 25 34 worksrcdir lib${name} 26 checksums ${distname}${extract.suffix} \ 27 rmd160 a306db1693597534a669ab9af2e6fa87ee072c26 \ 28 sha256 877355a45b8e797e2bef925a0b349be39fe56d877e6bb0a48dca01ed13ad7287 \ 29 ${name}_atsc_firmware_${firm_version}.bin \ 30 rmd160 d9d38a4bc9f747bb9469101b7a8e16349c53bff0 \ 31 sha256 035e62f1d7e1d8d54ac7c705f6abfc5baa5cb1f31af0b827f37c2fb5cce74373 \ 32 ${name}_dvbt_firmware_${firm_version}.bin \ 33 rmd160 75638c0c32f0185f945c1bb3459326071a87d4c4 \ 34 sha256 a91bc8c833d3ab673b8c9998ba19fe2c54c62069bd97d4dd45c133ff5833d664 35 checksums libhdhomerun_20140121.tgz \ 36 rmd160 adbcd4df9f2c47a866a989263370710910538c75 \ 37 sha256 a86308e7145c0cecb226ee913e7ce44258ef24fcba979d1f32dcff89022f9809 \ 38 hdhomerun_atsc_firmware_20140121.bin \ 39 rmd160 2974d6948a95f9fe78f6b71721dd719d547a1b82 \ 40 sha256 5a9fe681121aca02d00715adf3c8719ce446a3469a0e893342ae3ccf06e427cb \ 41 hdhomerun_dvbt_firmware_20140121.bin \ 42 rmd160 4139dc8b2abf5fce4a90d951503de259cd832a43 \ 43 sha256 ecf423152668e0c89f7e1def44695a501103016e3dbcffb0dd2d9c2bbda43d7c \ 44 hdhomerun3_atsc_firmware_20140121.bin \ 45 rmd160 36ca8b46ec1fd2189b95eaf9954474cd879cc1d3 \ 46 sha256 f8f808d6b08abc7fe0c25ade2988bed47d924ba08b946bdb7af076d7b7432061 \ 47 hdhomerun3_dvbt_firmware_20140121.bin \ 48 rmd160 24dd64141ab84f274e59d7b961041d31e3fc8dda \ 49 sha256 4d911ae08a510be8b94598af561db454891bfa8d9149c1419c70b7cbcf658ae0 \ 50 hdhomerun3_dvbtc_firmware_20140121.bin \ 51 rmd160 d5699eaf9e76bcc47e349f1968da14d1b05c63ed \ 52 sha256 be64d4d6de06231a162cd222289a8d9d6b73e8cfd7f4ad232496fa4cd2fc3a63 \ 53 hdhomerun3_dvbc_firmware_20140121.bin \ 54 rmd160 7ac240926d29204aaebeb0f175bd912a04846b65 \ 55 sha256 f1d3928cac3a63691b012aed70c7eac438c30bbf8822554de2d105089cce795d \ 56 hdhomerun3_cablecard_firmware_20140121.bin \ 57 rmd160 08f2b118635adaf77beb42f9173429f71e62feaf \ 58 sha256 262b002b6d0ab72160cb41f83d0400c8b3b2bb2bc4b2976a0a6b757d70f83824 \ 59 hdhomeruntc_atsc_firmware_20140121.bin \ 60 rmd160 a65ea2c067c5e7975238c0c28d6a0598f1d5daf7 \ 61 sha256 6e6e0ab54ec6528434672e8af4d0c716633b6e5f26376f24e5fb4f5687233ca4 62 35 63 livecheck.type regex 36 64 livecheck.url http://www.silicondust.com/support/hdhomerun/downloads/ 37 65 livecheck.regex Current release: (\[0-9\]+) … … 64 92 hdhomerun_device.h hdhomerun_device_selector.h \ 65 93 ${destroot}${prefix}/include/ 66 94 xinstall -d -m 0755 ${destroot}${prefix}/share/${name}/ 67 xinstall -m 0644 ${distpath}/${name}_atsc_firmware_${firm_version}.bin \68 ${destroot}${prefix}/share/${name}/${name}_atsc_firmware_${firm_version}.bin69 xinstall -m 0644 ${distpath}/${name}_dvbt_firmware_${firm_version}.bin \70 ${destroot}${prefix}/share/${name}/${name}_dvbt_firmware_${firm_version}.bin95 foreach firm [glob ${distpath}/${name}*firmware_${firm_version}.bin] { 96 set firm [lindex [split ${firm} /] end] 97 xinstall -m 0644 ${distpath}/${firm} ${destroot}${prefix}/share/${name}/${firm} 98 } 71 99 xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}/ 72 100 xinstall -m 0644 ${worksrcpath}/README \ 73 101 ${destroot}${prefix}/share/doc/${name}/README 74 102 } 75 103 76 104 notes " 105 Documentation available at: http://www.silicondust.com/hdhomerun/hdhomerun_development.pdf 77 106 To upgrade device to newest firmware run: 78 107 hdhomerun_config <id> upgrade ${prefix}/share/${name}/<firmware> 79 where <firmware> is ${name}_atsc_firmware_${firm_version}.bin for US/CA or 80 ${name}_dvbt_firmware_${firm_version}.bin for EU/AU/NZ. 108 Choose the correct <firmware> based on your model of HDHomerun device: 109 HDHR-US (hdhomerun_atsc_firmware_${firm_version}.bin) 110 HDHR-EU (hdhomerun_dvbt_firmware_${firm_version}.bin) 111 HDHR3-US (hdhomerun3_atsc_firmware_${firm_version}.bin) 112 HDHR3-DT (hdhomerun3_dvbt_firmware_${firm_version}.bin) 113 HDHR3-EU (hdhomerun3_dvbtc_firmware_${firm_version}.bin) 114 HDHR3-CC (hdhomerun3_cablecard_firmware_${firm_version}.bin) 115 HDHR3-4DC (hdhomerun3_dvbc_firmware_${firm_version}.bin) 116 HDTC-2US (hdhomeruntc_atsc_firmware_${firm_version}.bin) 81 117 " 82