Date: Wed, 16 Jun 2010 12:11:46 +0900 From: Takefu <takefu@airport.fm> To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, hrs@FreeBSD.org Subject: Re: ports/147353: [UPDATE] multimedia/rtmpdump: update to 2.2e Message-ID: <4C1840F2.50608@airport.fm> In-Reply-To: <201006030410.o534A21U094036@freefall.freebsd.org> References: <201006030410.o534A21U094036@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Fix 6.x-RELEASE which I was able to compile Add To choose the encryption library openssl polarssl gnutls Note 6.x-RELEASE and choose one encryption at rtmps/https note that does not support. --- rtmpdump-2.2e_2nd.diff begins here --- diff -rubN /usr/ports/multimedia/rtmpdump/Makefile multimedia/rtmpdump/Makefile --- /usr/ports/multimedia/rtmpdump/Makefile 2010-05-25 13:11:47.000000000 +0900 +++ multimedia/rtmpdump/Makefile 2010-06-16 11:46:06.000000000 +0900 @@ -5,31 +5,51 @@ # $FreeBSD: ports/multimedia/rtmpdump/Makefile,v 1.5 2010/05/24 20:46:56 hrs Exp $ PORTNAME= rtmpdump -PORTVERSION= 2.2d +PORTVERSION= 2.2e CATEGORIES= multimedia net MASTER_SITES= http://rtmpdump.mplayerhq.hu/download/ -EXTRACT_SUFX= .tgz MAINTAINER= hrs@FreeBSD.org COMMENT= A tool to download RTMP streams -USE_GMAKE= yes -ALL_TARGET= posix - MAN1= rtmpdump.1 MAN8= rtmpgw.8 PLIST_FILES= bin/rtmpdump bin/rtmpgw bin/rtmpsrv bin/rtmpsuck PORTDOCS= ChangeLog README -.include <bsd.port.pre.mk> +OPTIONS= OPENSSL "USE_OPENSSL" off\ + POLARSSL "USE_POLARSSL" off\ + GNUTLS "USE_GNUTLS" off + +.include <bsd.port.options.mk> .if ${OSVERSION} < 700000 -BROKEN= does not compile on 6.X +MAKE_ARGS= CRYPTO= XDEF=-DNO_SSL +.endif +.if defined(WITH_OPENSSL) +BUILD_DEPENDS+= openssl>=0.9.8:${PORTSDIR}/security/openssl +MAKE_ARGS= CRYPTO=OPENSSL +WITH_OPENSSL_PORT= yes +.endif +.if defined(WITH_POLARSSL) +BUILD_DEPENDS+= ${LOCALBASE}/include/polarssl/net.h:${PORTSDIR}/security/polarssl +MAKE_ARGS= CRYPTO=POLARSSL .endif +.if defined(WITH_GNUTLS) +LIB_DEPENDS+= gnutls.40:${PORTSDIR}/security/gnutls +MAKE_ARGS= CRYPTO=GNUTLS +.endif +RUN_DEPENDS+= ${BUILD_DEPENDS} +.if ${OSVERSION} >= 700000 +WITH_OPENSSL_BASE= yes +.endif +MAKE_ENV= XCFLAGS=-I${PREFIX}/include XLDFLAGS=-L${PREFIX}/lib + +.include <bsd.port.pre.mk> do-install: - cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PLIST_FILES:S,^bin/,,} \ + @cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PLIST_FILES:S,^bin/,,} \ ${PREFIX}/bin \ && ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1 \ && ${INSTALL_MAN} ${MAN8} ${MAN1PREFIX}/man/man8 @@ -37,7 +57,7 @@ post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} + @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif .include <bsd.port.post.mk> diff -rubN /usr/ports/multimedia/rtmpdump/distinfo multimedia/rtmpdump/distinfo --- /usr/ports/multimedia/rtmpdump/distinfo 2010-05-25 13:11:47.000000000 +0900 +++ multimedia/rtmpdump/distinfo 2010-06-03 11:31:17.000000000 +0900 @@ -1,3 +1,3 @@ -MD5 (rtmpdump-2.2d.tgz) = f12086283002c27e0fa11e33e83b7647 -SHA256 (rtmpdump-2.2d.tgz) = a5660fed0b66e36fb7727b9492d5fe210b87acb6f7b493eb52ac91fbeac84c70 -SIZE (rtmpdump-2.2d.tgz) = 118309 +MD5 (rtmpdump-2.2e.tar.gz) = 10681c2fe41194a97d508d0e6bbfe74f +SHA256 (rtmpdump-2.2e.tar.gz) = 15f984a8a084137b46a19c48e90f62be088c383edfad9804690842e55ef5a6b5 +SIZE (rtmpdump-2.2e.tar.gz) = 123742 --- rtmpdump-2.2e_2nd.diff ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C1840F2.50608>