aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/mad_fcl/Makefile9
-rw-r--r--net/mad_fcl/distinfo4
-rw-r--r--net/mad_fcl/files/patch-Makefile58
-rw-r--r--net/mad_fcl/files/patch-sdplib_port__misc.c11
4 files changed, 18 insertions, 64 deletions
diff --git a/net/mad_fcl/Makefile b/net/mad_fcl/Makefile
index 07897b1b4f9..e139ca70af0 100644
--- a/net/mad_fcl/Makefile
+++ b/net/mad_fcl/Makefile
@@ -6,18 +6,19 @@
#
PORTNAME= mad_fcl
-PORTVERSION= 1.1
+PORTVERSION= 1.3
CATEGORIES= net ipv6
MASTER_SITES= http://www.atm.tut.fi/mad/download/
DISTNAME= ${PORTNAME}_v${PORTVERSION}_src
-MAINTAINER= Janos.Mohacsi@bsd.hu
+MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= FLUTE - File Delivery over Unidirectional Transport implementation
LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2
USE_GMAKE= yes
USE_REINPLACE= yes
+USE_OPENSSL= yes
CFLAGS+= ${PTHREAD_CFLAGS}
@@ -28,6 +29,10 @@ PLIST_FILES= bin/flute
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 500000
+BROKEN= "does not compile"
+.endif
+
.if ${OSVERSION} < 502120
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-alclib_defines.h
.endif
diff --git a/net/mad_fcl/distinfo b/net/mad_fcl/distinfo
index 7bd6d450c3a..d0c43409ec5 100644
--- a/net/mad_fcl/distinfo
+++ b/net/mad_fcl/distinfo
@@ -1,2 +1,2 @@
-MD5 (mad_fcl_v1.1_src.tar.gz) = 0a90c289df0dd1208b325a3171cf4154
-SIZE (mad_fcl_v1.1_src.tar.gz) = 151438
+MD5 (mad_fcl_v1.3_src.tar.gz) = 524e1f420c0484ac3af26c7db17e6cee
+SIZE (mad_fcl_v1.3_src.tar.gz) = 129137
diff --git a/net/mad_fcl/files/patch-Makefile b/net/mad_fcl/files/patch-Makefile
index a2facb4430e..e6ecfbaa2cf 100644
--- a/net/mad_fcl/files/patch-Makefile
+++ b/net/mad_fcl/files/patch-Makefile
@@ -1,9 +1,9 @@
$FreeBSD$
---- Makefile.orig Fri Jun 25 13:16:29 2004
-+++ Makefile Fri Jun 25 13:17:58 2004
-@@ -4,78 +4,78 @@
+--- Makefile.orig
++++ Makefile
+@@ -4,34 +4,34 @@
@echo "-------------------"
@echo "*** ALC library ***"
@echo "-------------------"
@@ -19,38 +19,6 @@ $FreeBSD$
+ mkdir lib; cd sdplib; gmake clean; gmake
@echo "done"
- nullfeclib ::
- @echo "-------------------"
- @echo "*** Null-FEC library ***"
- @echo "-------------------"
-- mkdir lib; cd nullfeclib; make clean; make
-+ mkdir lib; cd nullfeclib; gmake clean; gmake
- @echo "done"
-
- xorfeclib ::
- @echo "-------------------"
- @echo "*** Simple XOR FEC library ***"
- @echo "-------------------"
-- mkdir lib; cd xorfeclib; make clean; make
-+ mkdir lib; cd xorfeclib; gmake clean; gmake
- @echo "done"
-
- rsfeclib ::
- @echo "-------------------"
- @echo "*** Reed-Solomon FEC library ***"
- @echo "-------------------"
-- mkdir lib; cd rsfeclib; make clean; make
-+ mkdir lib; cd rsfeclib; gmake clean; gmake
- @echo "done"
-
- rlclib ::
- @echo "-------------------"
- @echo "*** RLC library ***"
- @echo "-------------------"
-- mkdir lib; cd rlclib; make clean; make
-+ mkdir lib; cd rlclib; gmake clean; gmake
- @echo "done"
-
flute ::
@echo "-------------------------"
@echo "*** flute application ***"
@@ -70,26 +38,6 @@ $FreeBSD$
@echo "----------------------------"
- cd sdplib; make clean
+ cd sdplib; gmake clean
- @echo "----------------------------"
- @echo "*** Cleaning Null-FEC library ***"
- @echo "----------------------------"
-- cd nullfeclib; make clean
-+ cd nullfeclib; gmake clean
- @echo "----------------------------"
- @echo "*** Cleaning Simple XOR FEC library ***"
- @echo "----------------------------"
-- cd nullfeclib; make clean
-+ cd nullfeclib; gmake clean
- @echo "----------------------------"
- @echo "*** Cleaning Reed-Solomon FEC library ***"
- @echo "----------------------------"
-- cd rsfeclib; make clean
-+ cd rsfeclib; gmake clean
- @echo "----------------------------"
- @echo "*** Cleaning RLC library ***"
- @echo "----------------------------"
-- cd rlclib; make clean
-+ cd rlclib; gmake clean
@echo "----------------------------------"
@echo "*** Cleaning flute application ***"
@echo "----------------------------------"
diff --git a/net/mad_fcl/files/patch-sdplib_port__misc.c b/net/mad_fcl/files/patch-sdplib_port__misc.c
index 3cff887c699..d62baedd1ba 100644
--- a/net/mad_fcl/files/patch-sdplib_port__misc.c
+++ b/net/mad_fcl/files/patch-sdplib_port__misc.c
@@ -1,8 +1,8 @@
$FreeBSD$
---- sdplib/port_misc.c.orig Fri Jun 25 13:29:37 2004
-+++ sdplib/port_misc.c Fri Jun 25 13:31:13 2004
+--- sdplib/port_misc.c.orig
++++ sdplib/port_misc.c
@@ -47,6 +47,7 @@
# include <sys/unistd.h>
#endif
@@ -11,13 +11,14 @@ $FreeBSD$
#if defined (HAVE_UNISTD_H)
# include <unistd.h>
#endif
-@@ -55,6 +56,9 @@
+@@ -54,6 +55,10 @@
+ #if defined (HAVE_SYSLOG_H)
# include <syslog.h>
#endif
-
++
+#include <sys/types.h>
+#include <sys/time.h>
+#define HAVE_SYS_SELECT_H
+
#if defined (HAVE_SYS_SELECT_H)
# include <sys/select.h>
- #endif