Bug 183219 - multimedia/rtmpdump won't work
multimedia/rtmpdump won't work
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Hiroki Sato
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-23 06:30 UTC by higemaniya
Modified: 2014-08-14 22:25 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (494 bytes, patch)
2013-10-23 06:30 UTC, higemaniya
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description higemaniya 2013-10-23 06:30:01 UTC
I can build rtmpdump-2.4.20130923 without error but it won't work:

RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: No application or playpath in URL!
WARNING: Ignoring SWF hash, supply also the swf size  with --swfsize
Connecting ...
Assertion failed: (digestLen == 32), function HMACsha256, file handshake.h, line 275.
Abort trap (core dumped)


I have also noticed that rtmpdump-2.4.20130923 build with old rtmpdump-2.4 package installed result build error. pkg_delete rtmpdump will work for this.


Regards,

Fix: This patch fixes the probrem for me:
Comment 1 Edwin Groothuis freebsd_committer 2013-10-23 06:30:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->hrs

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter freebsd_committer 2013-10-29 20:49:29 UTC
Author: hrs
Date: Tue Oct 29 20:49:22 2013
New Revision: 332001
URL: http://svnweb.freebsd.org/changeset/ports/332001

Log:
  Fix a build issue when security/openssl is installed.
  
  PR:	ports/183219, ports/183306

Modified:
  head/multimedia/rtmpdump/Makefile
  head/multimedia/rtmpdump/files/patch-librtmp-Makefile

Modified: head/multimedia/rtmpdump/Makefile
==============================================================================
--- head/multimedia/rtmpdump/Makefile	Tue Oct 29 20:47:32 2013	(r332000)
+++ head/multimedia/rtmpdump/Makefile	Tue Oct 29 20:49:22 2013	(r332001)
@@ -2,6 +2,7 @@
 
 PORTNAME=	rtmpdump
 PORTVERSION=	2.4.20130923
+PORTREVISION=	1
 CATEGORIES=	multimedia net
 MASTER_SITES=	LOCAL/hrs
 

Modified: head/multimedia/rtmpdump/files/patch-librtmp-Makefile
==============================================================================
--- head/multimedia/rtmpdump/files/patch-librtmp-Makefile	Tue Oct 29 20:47:32 2013	(r332000)
+++ head/multimedia/rtmpdump/files/patch-librtmp-Makefile	Tue Oct 29 20:49:22 2013	(r332001)
@@ -1,5 +1,5 @@
 --- librtmp/Makefile.orig	2013-10-07 03:52:05.000000000 +0900
-+++ librtmp/Makefile	2013-10-17 10:05:14.000000000 +0900
++++ librtmp/Makefile	2013-10-30 05:16:36.000000000 +0900
 @@ -1,19 +1,21 @@
  VERSION=v2.4
  
@@ -43,16 +43,18 @@
  LIB_POLARSSL=-lpolarssl $(LIBZ)
  PRIVATE_LIBS=$(LIBS_$(SYS))
  CRYPTO_LIB=$(LIB_$(CRYPTO)) $(PRIVATE_LIBS)
-@@ -74,7 +76,8 @@
+@@ -74,8 +76,9 @@
  
  DEF=-DRTMPDUMP_VERSION=\"$(VERSION)\" $(CRYPTO_DEF) $(XDEF)
  OPT=-O2
 -CFLAGS=-Wall $(XCFLAGS) $(INC) $(DEF) $(OPT) $(SO_DEF)
+-LDFLAGS=$(XLDFLAGS)
 +#CFLAGS=-Wall $(XCFLAGS) $(INC) $(DEF) $(OPT) $(SO_DEF)
-+CFLAGS=$(DEF) $(OPT) $(SO_DEF)
- LDFLAGS=$(XLDFLAGS)
++CFLAGS+=$(DEF) $(SO_DEF)
++#LDFLAGS=$(XLDFLAGS)
  
  
+ OBJS=rtmp.o log.o amf.o hashswf.o parseurl.o
 @@ -102,16 +105,18 @@
  	sed -e "s;@prefix@;$(prefix);" -e "s;@libdir@;$(libdir);" \
  		-e "s;@VERSION@;$(VERSION);" \
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"