On Mon, Jan 05, 2015 at 03:01:15PM +0000, Stuart Henderson wrote:
> On 2015/01/05 15:52, Bruno Flueckiger wrote:
> > On 04.01.2015 23:09, Landry Breuil wrote:
> > >
> > >With what provider did you tested it, was it rtp only or also rtsp ? i
> > >might be interested in that, if it allows one to simplify the mess that
> > >is streaming multiple channels at the same time to different clients...
> > >Also, a port would be welcome :)
> > >
> > >Landry
> >
> > I've tested it with IPTV from Swisscom (http://www.swisscom.ch). AFAIK
> > they don't make use of RTSP. The streams are delivered by RTP. Every
> > stream from Swisscom has a different multicast IP, so I guess there is no
> > need for RTSP on their side.
> >
> > I start the work on the port. Might take some time to complete because I
> > first have to read the porting guide in depth ;)
> >
> > Bruno
> >
>
> Here's a bit to get you started because they use weird naming:
>
> V= 1.0.23-9
> DISTNAME= udpxy.$V
> EXTRACT_SUFX= -prod.tar.gz
> PKGNAME= udpxy-${V:S/-/./}
> WRKDIST= ${WRKDIR}/udpxy-$V
>
> You'll need to use gmake, and I suggest writing your own do-install
> rather than patching upstream's install target to work (in this case
> it's a simple target and unlikely to change much in future) - look
> for other examples using do-install in the ports tree to crib from.
There's no need for patching nor do-install.
Just use:
USE_GMAKE= Yes
MAKE_FLAGS= GZIP=/usr/bin/gzip
FAKE_FLAGS= INSTALLROOT=${WRKINST}/${PREFIX} \
MANPAGE_DIR=${WRKINST}/${PREFIX}/man/man1
--
Antoine