debian/0000755000000000000000000000000011747360225007175 5ustar debian/compat0000644000000000000000000000000211721151222010356 0ustar 7 debian/patches/0000755000000000000000000000000011746512403010620 5ustar debian/patches/0001-nonlinux.patch0000644000000000000000000000357011746512403014076 0ustar Description: Add POLLRDHUP on architectures which don't define it. From: http://bugs.debian.org/660139 --- multicat.c | 4 ++++ util.c | 11 ++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) --- multicat.orig/multicat.c +++ multicat/multicat.c @@ -42,6 +42,10 @@ #include #include +#ifndef POLLRDHUP +#define POLLRDHUP 0 +#endif + #include #include --- multicat.orig/util.c +++ multicat/util.c @@ -214,6 +214,7 @@ void real_Sleep( uint64_t i_delay ) *****************************************************************************/ static int GetInterfaceIndex( const char *psz_name ) { +#ifndef __FreeBSD__ int i_fd; struct ifreq ifr; @@ -235,6 +236,9 @@ static int GetInterfaceIndex( const char close( i_fd ); return ifr.ifr_ifindex; +#else + return 0; +#endif } /***************************************************************************** @@ -568,6 +572,7 @@ normal_bind: if ( bind_addr.ss.ss_family == AF_INET && IN_MULTICAST( ntohl(bind_addr.sin.sin_addr.s_addr)) ) { +#ifdef IP_ADD_SOURCE_MEMBERSHIP /* unavailable on GNU Hurd */ if ( connect_addr.ss.ss_family != AF_UNSPEC ) { /* Source-specific multicast */ @@ -586,7 +591,10 @@ normal_bind: &connect_addr ); exit(EXIT_FAILURE); } - else if ( i_bind_if_index ) + else +#endif +#ifndef __FreeBSD__ + if ( i_bind_if_index ) { /* Linux-specific interface-bound multicast */ struct ip_mreqn imr; @@ -603,6 +611,7 @@ normal_bind: exit(EXIT_FAILURE); } else +#endif { /* Regular multicast */ struct ip_mreq imr; debian/patches/series0000644000000000000000000000002411721151271012024 0ustar 0001-nonlinux.patch debian/rules0000755000000000000000000000010511721151222010234 0ustar #!/usr/bin/make -f # -*- makefile -*- export PREFIX=/usr %: dh $@ debian/docs0000644000000000000000000000000711721151222010030 0ustar README debian/control0000644000000000000000000000216311746512570010603 0ustar Source: multicat Section: video Priority: optional Maintainer: Debian Multimedia Maintainers Uploaders: Alessio Treglia , Rémi Duraffort Build-Depends: debhelper (>= 7), libbitstream-dev Standards-Version: 3.9.3 Homepage: http://www.videolan.org/projects/multicat.html Vcs-Git: git://git.debian.org/git/pkg-multimedia/multicat.git Vcs-Browser: http://git.debian.org/?p=pkg-multimedia/multicat.git Package: multicat Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: Set of tools for multicast and transport stream manipulation The multicat package contains a set of tools designed to easily and efficiently manipulate multicast streams in general, and MPEG-2 Transport Streams (ISO/IEC 13818-1) in particular. . The multicat suite of applications is very lightweight and designed to operate in tight environments. Memory and CPU usages are kept to a minimum, and they feature only one thread of execution. . The package contain fives programs: multicat, ingests, offsets, aggregartp and desaggregartp. debian/multicat.manpages0000644000000000000000000000013711721151222012520 0ustar debian/aggregartp.1 debian/desaggregartp.1 debian/ingests.1 debian/multicat.1 debian/offsets.1 debian/offsets.10000644000000000000000000000164711721151222010723 0ustar .TH Offsets "1" "August 23, 2010" "Multicat 1.0" .SH NAME offsets \- Manipulate auxiliary files created by ingests .SH SYNOPSIS .B affsets <27 MHz timestamp> .SH DESCRIPTION Offsets is a companion application for multicat, to manipulate auxiliary files. Given an offset in time from the beginning of the file, it returns the offset of the position in number of packets. .SH SEE ALSO .BR aggregartp (1). .BR desaggregartp (1). .BR ingests (1). .BR multicat (1), .br Read the README file for more information about the configuration of offsets. .SH AUTHOR offsets was written by Christophe Massiot. .SH LICENCE This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. .PP This manual page was written by Rémi Duraffort , for the Debian project (and may be used by others). debian/desaggregartp.10000644000000000000000000000254611721151222012070 0ustar .TH Desaggregartp "1" "August 23, 2010" "Multicat 1.0" .SH NAME desaggregartp \- Reorders incoming packets and reconstitutes the original RTP stream. .SH SYNOPSIS .B desaggregartp [\fI-i \fR] [\fI-t \fR] [\fI-b \fR] [\fI-U\fR] [\fI-m \fR] ... [\fI\fR] .SH DESCRIPTION Desaggregartp is the companion software of aggregartp. It rorders incoming packets and reconstitutes the original RTP stream. .SH ITEMS Host format \fB[[:]][@[]]\fR .SH OPTIONS \fB\-b\fR buffer length in ms .TP .B \-h Show summary of options .TP \fB\-i\fR Real time priority .TP \fB\-m\fR Specify the MTU .TP \fB\-t\fR TTL of the packets send by aggregartp .TP .B \-U Strip RTP header .SH SEE ALSO .BR aggregartp (1). .BR ingests (1). .BR multicat (1), .BR offsets (1). .br Read the README file for more information about the configuration of desaggregartp. .SH AUTHOR desaggregartp was written by Christophe Massiot. .SH LICENCE This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. .PP This manual page was written by Rémi Duraffort , for the Debian project (and may be used by others). debian/changelog0000644000000000000000000000234711747360225011055 0ustar multicat (2.0-3) unstable; urgency=low * Extend 0001-nonlinux.patch with patches suggested by upstream. Thanks to Christophe Massiot. * Build on Linux only for now. * Update debian/copyright to the machine-readable format. * Bump Standards. -- Alessio Treglia Mon, 30 Apr 2012 02:44:24 +0200 multicat (2.0-2) unstable; urgency=low * Attempt to fix FTBFS on non-Linux architectures by defining POLLRDHUP as 0 on kfreebsd,hurd. (Closes: #660139) -- Alessio Treglia Wed, 22 Feb 2012 12:38:08 +0100 multicat (2.0-1) unstable; urgency=low [ Rémi Duraffort ] * Ignore some files. * Some patches to add a missing license and fix some typos. * Update the changelog. * Add a DEP-3 header to the patches. * Add Vcs-Git and Vcs-Browser. * Update the changelog. [ Alessio Treglia ] * New upstream release. * Delete all patches, they are now unnecessary. * Add libbitstream-dev to Build-Depends. * Update copyright file. * Bump Standards. -- Alessio Treglia Wed, 15 Feb 2012 16:11:54 +0100 multicat (1.0-1) unstable; urgency=low * Initial release (Closes: #594122) -- Rémi Duraffort Sun, 23 Aug 2010 21:34:01 +0100 debian/aggregartp.10000644000000000000000000000257011721151222011371 0ustar .TH Aggregartp "1" "August 23, 2010" "Multicat 1.0" .SH NAME aggregartp \- Splits a single RTP stream to several contribution links with load balancing. .SH SYNOPSIS .B aggregartp [\fI-i \fR] [\fI-t \fR] [\fI-o\fR] [\fI-o \fR] [\fI-U\fR] [\fI-m \fR] @ [\fI,\fR] ... [\fI,\fR] .SH DESCRIPTION Aggregartp split a single RTP stream to several contributions links with load balancing. .SH ITEMS Host format \fB[[:]][@[]]\fR .SH OPTIONS .B \-h Show summary of options .TP \fB\-i\fR Real time priority .TP \fB\-m\fR Specify the MTU .TP \fB\-o\fR RTP SSRC .TP \fB\-t\fR TTL of the packets send by aggregartp .TP .B \-U Prepend RTP header .TP .B \-w Overwrite RTP timestamps .SH SEE ALSO .BR desaggregartp (1). .BR ingests (1). .BR multicat (1), .BR offsets (1). .br Read the README file for more information about the configuration of aggregartp. .SH AUTHOR aggregartp was written by Christophe Massiot. .SH LICENCE This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. .PP This manual page was written by Rémi Duraffort , for the Debian project (and may be used by others). debian/gbp.conf0000644000000000000000000000007311721151222010577 0ustar [git-buildpackage] pristine-tar = True compression = bzip2 debian/copyright0000644000000000000000000000225411746512627011137 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Multicat Upstream-Contact: Christophe Massiot Source: http://downloads.videolan.org/pub/videolan/multicat/ Files: * Copyright: 2004, 2009, 2011 VideoLAN License: GPL-2+ Files: debian/* Copyright: 2012 Alessio Treglia 2010 Rémi Duraffort License: GPL-2+ License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Comment: You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/source/0000755000000000000000000000000011721151222010460 5ustar debian/source/format0000644000000000000000000000001411721151222011666 0ustar 3.0 (quilt) debian/ingests.10000644000000000000000000000225111721151222010716 0ustar .TH Ingests "1" "August 23, 2010" "Multicat 1.0" .SH NAME ingests \- Build an auxiliary file for multicat .SH SYNOPSIS .B ingests \fI-p \fR [\fI-m \fR]>\fR] .SH DESCRIPTION Ingests is a companion application designed to manipulate TS files. It reads the PCR values of the file, and builds the auxiliary file that is necessary for multicat. The combination of ingests and multicat makes a simple and efficient TS file streamer. .SH OPTIONS \fB\-m\fR Size of the payload .TP .B \-h Show summary of options .TP \fB\-m\fR Size of the payload .TP \fB\-p\fR PCR PID to use .SH SEE ALSO .BR aggregartp (1). .BR desaggregartp (1). .BR multicat (1), .BR offsets (1). .br Read the README file for more information about the configuration of ingests. .SH AUTHOR ingests was written by Christophe Massiot. .SH LICENCE This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. .PP This manual page was written by Rémi Duraffort , for the Debian project (and may be used by others). debian/watch0000644000000000000000000000017111721151222010210 0ustar version=3 http://download.videolan.org/pub/videolan/multicat/([\d][\d\.]+[a-z]?)/multicat-([\d][\d\.]+[a-z]?)\.tar\.bz2 debian/multicat.10000644000000000000000000000441411721151222011067 0ustar .TH Multicat "1" "August 23, 2010" "Multicat 1.0" .SH NAME multicat \- Multicast equivalent of Netcat .SH SYNOPSIS .B multicat [\fI-i \fR] [\fI-t \fR] [\fI-p \fR] [\fI-s \fR] [\fI-n \fR] [\fI-d