summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2013-09-14 12:58:41 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2013-09-14 12:58:41 +0000
commit9d0540d15eebf30faef0342b0580c5b49f337741 (patch)
tree380b3b3ae567a58096a587613f9e31a6da96d77f /media-video
parentNMU: Fix whitespace. (diff)
downloadhistorical-9d0540d15eebf30faef0342b0580c5b49f337741.tar.gz
historical-9d0540d15eebf30faef0342b0580c5b49f337741.tar.bz2
historical-9d0540d15eebf30faef0342b0580c5b49f337741.zip
Add patch to fix softcrc to work on other platforms than x86. Thanks to Ondřej Caletka <ondrej@caletka.cz> for the ebuild.
Package-Manager: portage-2.2.4/cvs/Linux x86_64 Manifest-Sign-Key: 0xAA792A6A
Diffstat (limited to 'media-video')
-rw-r--r--media-video/dvbsnoop/ChangeLog11
-rw-r--r--media-video/dvbsnoop/Manifest25
-rw-r--r--media-video/dvbsnoop/dvbsnoop-1.4.50-r1.ebuild28
-rw-r--r--media-video/dvbsnoop/files/dvbsnoop-1.4.50-crc32.patch59
4 files changed, 109 insertions, 14 deletions
diff --git a/media-video/dvbsnoop/ChangeLog b/media-video/dvbsnoop/ChangeLog
index e6c329ba29cb..74ce5f76b4c6 100644
--- a/media-video/dvbsnoop/ChangeLog
+++ b/media-video/dvbsnoop/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-video/dvbsnoop
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/dvbsnoop/ChangeLog,v 1.17 2012/02/15 18:17:38 hd_brummy Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/dvbsnoop/ChangeLog,v 1.18 2013/09/14 12:58:32 zzam Exp $
+
+*dvbsnoop-1.4.50-r1 (14 Sep 2013)
+
+ 14 Sep 2013; Matthias Schwarzott <zzam@gentoo.org>
+ +dvbsnoop-1.4.50-r1.ebuild, +files/dvbsnoop-1.4.50-crc32.patch:
+ Add patch to fix softcrc to work on other platforms than x86. Thanks to
+ Ondřej Caletka <ondrej@caletka.cz> for the ebuild.
15 Feb 2012; Joerg Bornkessel <hd_brummy@gentoo.org> dvbsnoop-1.4.00.ebuild,
dvbsnoop-1.4.50.ebuild:
diff --git a/media-video/dvbsnoop/Manifest b/media-video/dvbsnoop/Manifest
index 0e95b25073e2..b53d532f6095 100644
--- a/media-video/dvbsnoop/Manifest
+++ b/media-video/dvbsnoop/Manifest
@@ -1,17 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
-DIST dvbsnoop-1.4.00.tar.gz 299687 RMD160 45627019bebc7ffa78af228f3a73376e8d33061b SHA1 f8e2c35c8663c9913530f56e88ee72e920f25f7e SHA256 6b7c4d4fb00cbc20c3c7b7f4ab6c758042e98f537b73f580df394a7e481edc7b
-DIST dvbsnoop-1.4.50.tar.gz 333992 RMD160 e3c8ff60798417eb80678bb1c9853e5456685faa SHA1 16dc52337c2431bbcbad78e06abbdb19481da4ec SHA256 7658498b26a5d2a0242e81f0cfafa0e43a2bec56f8674e7ac197dfc310866ec6
-EBUILD dvbsnoop-1.4.00.ebuild 647 RMD160 36512a33cf774fbb18dd204cb4b7caa7d9d0b5e7 SHA1 826ee5555dad1c1d053e746ae3f2240c5fe7aebd SHA256 43590f047fa679fa2b2cb0270dc9bc7260a42f2e358bd37838810324a6b84845
-EBUILD dvbsnoop-1.4.50.ebuild 593 RMD160 ff12239d3e7657bdc0387f8ffe41b9d4dcb8033f SHA1 2d38ebeb1e5eaf7f24662526f250e1609a9506a4 SHA256 1dda24de4d972eb2aee3904f6dda6b77a031f7d7206f0ccef224a295573487a7
-MISC ChangeLog 2356 RMD160 d714aa1f851116ae357759239af9a3a8e247c2cb SHA1 b7fc3f8ca25cfcdfa33d383804eea0cfab3516d8 SHA256 bf0a4a4cec590a34ec938e171289512f49126bd4af7ebe6d33c86ad2c23da0bc
-MISC metadata.xml 162 RMD160 ec741c078a87d281d8fa092a4e4189f052da49e4 SHA1 7995ab49e5ef1193c045118caa80a7dbac04277a SHA256 2b560c3246b9357ae0bb9298b58ebcb1eb025e2419d04f9b4e55274704bb158a
+AUX dvbsnoop-1.4.50-crc32.patch 2101 SHA256 3e0d60533cba5178aa21faa5ee12b08274bd139fa55f8471e6c64c1594ff7369 SHA512 ba734a7de3df9ed504271e6706cad73c3434c4c341dc6c4e8f274e6a87b86043158a4ba3ab50a03f7594c3de5d5df7ccbc112f277e3e773b488584fa7ddd36fc WHIRLPOOL f879b3ae1ba4fa5e1bc3fd9dedd9cb0b2433a1f73ae6e261553caf9ae1d97e225bd052919ad6eeefb3e377268de8bec800b3a2b98ecc6784ec39191038da1ed9
+DIST dvbsnoop-1.4.00.tar.gz 299687 SHA256 6b7c4d4fb00cbc20c3c7b7f4ab6c758042e98f537b73f580df394a7e481edc7b
+DIST dvbsnoop-1.4.50.tar.gz 333992 SHA256 7658498b26a5d2a0242e81f0cfafa0e43a2bec56f8674e7ac197dfc310866ec6 SHA512 288b98e9205b9ee6638b65cd0d7c463c2c243c1f7e650a6df8592acd3f40eca3352a563cc8a1a04f0f2731b3718e6dc3d09f56f59da4b59fbe25b86acf434f81 WHIRLPOOL 2e9c779cf2689759be0c04b74952313d2b026e4819f7064fe919cbd41465a325300e1e0e0f864983b881006dea3de2fe30365c375f430d667e0cfc589eeb4690
+EBUILD dvbsnoop-1.4.00.ebuild 647 SHA256 43590f047fa679fa2b2cb0270dc9bc7260a42f2e358bd37838810324a6b84845 SHA512 facb84c7c32504f320972f38c936c31de1d7abe50f0052fbcd05596a9e541da1792fd06313af0106a261ffb84e1cf8c00c05b8ecff5f7208b5ccb2402af12ce1 WHIRLPOOL 79f4040a21865b2ad972b01db63c49a5449031c370add8674568bbaa5562f5e8181d7ffdd2ab83de2329beba9671363375153b574a1269c8fac73977d9da13fc
+EBUILD dvbsnoop-1.4.50-r1.ebuild 676 SHA256 fd89cc0a9d0bc3591f51c9f59aacdb1489a6bbd02dcfd86a414e7ed87ee33909 SHA512 9b9f465f286f8c47dc59139e1b8aa7890d7626a8c9fa0cf890f7639b76d28cd2a24f9eb347df3f352fe23ea595eb88179452c5e96f90c2c8f11cfbf5b42ae13d WHIRLPOOL d60a837ae4a6acf5a261bda6d57d5eb52a89bc30dcba6eea3a7a9b7297489efc55da7df3304f11e5fed696e44dfd5501f5086f9cd5d1e65a841cb45ee6b93ae0
+EBUILD dvbsnoop-1.4.50.ebuild 593 SHA256 1dda24de4d972eb2aee3904f6dda6b77a031f7d7206f0ccef224a295573487a7 SHA512 2777dbe3f32d4f8ed9df8cac623fa2f6bc0f899cefe40d6b8f65a5cc3c9f2098c8dfc7bb0386b91905aa0605e8b6ca5c8cca5ae9f8f33e968df84c9aa7bef880 WHIRLPOOL 3f610d41d83fdb1520f1d2b5aa73538a1d5858a444942e745b44497317d7cdb3a05f3bdc873b6e3e8af68a6ef64fe82ec2e064c015e8d59bf39607a0ba17d5c9
+MISC ChangeLog 2634 SHA256 d10905b09bea19eb940990a0a0962239320774d527f293492c00833d916493bc SHA512 a4dd547bee3a37aa2a7a680054455d89d62de8b9f5c36dc3c91d12f64f1afca396f339dce09a97f6a403183c47f783bdf707118255967728363ce9439e63c89a WHIRLPOOL 6725749f3bc15b8f166e4817efa9a7fa0522a658f3e4dd67386cf666e97ac9fbdcde6638408deebaf1e880e9c3506c2c3258bff5fcc2f62b3ccf1e8dbf882b27
+MISC metadata.xml 162 SHA256 2b560c3246b9357ae0bb9298b58ebcb1eb025e2419d04f9b4e55274704bb158a SHA512 98fdc23b3c9da26b823b5d46fa47b83475a8c45f6cf721148d88769d8d0da783592d560111e976d1fd8cb960720d2d6ec5e850891333ee4443d5c5de480fb88b WHIRLPOOL 79841ce57262e0cdc478434a3edabe2009136380e45db0536ac1789d4a09b58681bf7bb6e2dbd29b6ec1357cd763294c445a89214931a438a56b354e6861a498
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
-Comment: added by hd_brummy@gentoo.org
+Version: GnuPG v2.0.21 (GNU/Linux)
-iD8DBQFPO/bMdn07HTTCgIoRAh9XAKCxuNzNdd9My+skqTeropVPWmn4ywCdEIgq
-7pePuvpSwOkG1TTR+H79iHo=
-=gJxZ
+iEYEAREIAAYFAlI0XXwACgkQt2vP6XvVdOdm/ACff+wbCXm6ZrTChRIwTASE+CrW
+g00An2SCAbzArt6JOrZbgCHlxrm5rlkG
+=s7LA
-----END PGP SIGNATURE-----
diff --git a/media-video/dvbsnoop/dvbsnoop-1.4.50-r1.ebuild b/media-video/dvbsnoop/dvbsnoop-1.4.50-r1.ebuild
new file mode 100644
index 000000000000..93aa534a67b2
--- /dev/null
+++ b/media-video/dvbsnoop/dvbsnoop-1.4.50-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/dvbsnoop/dvbsnoop-1.4.50-r1.ebuild,v 1.1 2013/09/14 12:58:33 zzam Exp $
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="DVB/MPEG stream analyzer program"
+SRC_URI="mirror://sourceforge/dvbsnoop/${P}.tar.gz"
+HOMEPAGE="http://dvbsnoop.sourceforge.net/"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+DEPEND="virtual/linuxtv-dvb-headers"
+
+RDEPEND=""
+SLOT="0"
+IUSE=""
+
+src_prepare () {
+ epatch "${FILESDIR}/${P}-crc32.patch"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS ChangeLog README
+}
diff --git a/media-video/dvbsnoop/files/dvbsnoop-1.4.50-crc32.patch b/media-video/dvbsnoop/files/dvbsnoop-1.4.50-crc32.patch
new file mode 100644
index 000000000000..74cdf63d5c08
--- /dev/null
+++ b/media-video/dvbsnoop/files/dvbsnoop-1.4.50-crc32.patch
@@ -0,0 +1,59 @@
+diff -rupN dvbsnoop-1.4.50-origdeb/src/misc/crc32.c dvbsnoop-1.4.50/src/misc/crc32.c
+--- dvbsnoop-1.4.50-origdeb/src/misc/crc32.c 2006-01-02 21:24:04.000000000 +0200
++++ dvbsnoop-1.4.50/src/misc/crc32.c 2010-01-19 13:21:37.000000000 +0200
+@@ -17,14 +17,14 @@ $Id: crc32.c,v 1.2 2006/01/02 18:24:04 r
+
+
+
+-#include <sys/types.h>
++#include <stdint.h>
+ #include "crc32.h"
+
+
+
+ // CRC32 lookup table for polynomial 0x04c11db7
+
+-static u_long crc_table[256] = {
++static uint32_t crc_table[256] = {
+ 0x00000000, 0x04c11db7, 0x09823b6e, 0x0d4326d9, 0x130476dc, 0x17c56b6b,
+ 0x1a864db2, 0x1e475005, 0x2608edb8, 0x22c9f00f, 0x2f8ad6d6, 0x2b4bcb61,
+ 0x350c9b64, 0x31cd86d3, 0x3c8ea00a, 0x384fbdbd, 0x4c11db70, 0x48d0c6c7,
+@@ -69,10 +69,10 @@ static u_long crc_table[256] = {
+ 0x933eb0bb, 0x97ffad0c, 0xafb010b1, 0xab710d06, 0xa6322bdf, 0xa2f33668,
+ 0xbcb4666d, 0xb8757bda, 0xb5365d03, 0xb1f740b4};
+
+-u_long crc32 (char *data, int len)
++uint32_t crc32 (char *data, int len)
+ {
+ register int i;
+- u_long crc = 0xffffffff;
++ uint32_t crc = 0xffffffff;
+
+ for (i=0; i<len; i++)
+ crc = (crc << 8) ^ crc_table[((crc >> 24) ^ *data++) & 0xff];
+diff -rupN dvbsnoop-1.4.50-origdeb/src/misc/crc32.h dvbsnoop-1.4.50/src/misc/crc32.h
+--- dvbsnoop-1.4.50-origdeb/src/misc/crc32.h 2006-01-02 21:24:04.000000000 +0200
++++ dvbsnoop-1.4.50/src/misc/crc32.h 2010-01-19 13:21:37.000000000 +0200
+@@ -19,8 +19,9 @@ $Id: crc32.h,v 1.2 2006/01/02 18:24:04 r
+ #ifndef __CRC32_H
+ #define __CRC32_H
+
++#include <stdint.h>
+
+-u_long crc32 (char *data, int len);
++uint32_t crc32 (char *data, int len);
+
+
+ #endif
+diff -rupN dvbsnoop-1.4.50-origdeb/src/sections/sectables.c dvbsnoop-1.4.50/src/sections/sectables.c
+--- dvbsnoop-1.4.50-origdeb/src/sections/sectables.c 2005-12-29 05:43:40.000000000 +0200
++++ dvbsnoop-1.4.50/src/sections/sectables.c 2010-01-19 13:59:07.000000000 +0200
+@@ -269,7 +269,7 @@ void decodeSI_packet (u_char *buf, int l
+ softcrc_fail = 0;
+
+ if (opt->soft_crc) {
+- u_long crc = crc32 ((char *)buf,len);
++ uint32_t crc = crc32 ((char *)buf,len);
+ if (crc) {
+ softcrc_fail = 1;
+ }