summaryrefslogtreecommitdiff
path: root/net/mad_fcl
diff options
context:
space:
mode:
Diffstat (limited to 'net/mad_fcl')
-rw-r--r--net/mad_fcl/Makefile4
-rw-r--r--net/mad_fcl/files/patch-alclib_linux__ssm.h32
-rw-r--r--net/mad_fcl/pkg-plist5
3 files changed, 36 insertions, 5 deletions
diff --git a/net/mad_fcl/Makefile b/net/mad_fcl/Makefile
index 85ca1ad80e0f..da4d81198f24 100644
--- a/net/mad_fcl/Makefile
+++ b/net/mad_fcl/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mad_fcl
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= http://www.atm.tut.fi/mad/download/
DISTNAME= ${PORTNAME}_v${PORTVERSION}_src
@@ -23,6 +24,9 @@ CFLAGS+= ${PTHREAD_CFLAGS}
DOC_FILES= fdt-example.xml flute-sdp-example.sdp
+PORTDOCS= ${DOC_FILES} README.TXT
+PLIST_FILES= bin/flute
+
pre-patch:
# Fixing the end-of-lines:
for f in `${FIND} ${WRKSRC}/.. -type f` ; do \
diff --git a/net/mad_fcl/files/patch-alclib_linux__ssm.h b/net/mad_fcl/files/patch-alclib_linux__ssm.h
new file mode 100644
index 000000000000..4a7d45a10470
--- /dev/null
+++ b/net/mad_fcl/files/patch-alclib_linux__ssm.h
@@ -0,0 +1,32 @@
+
+$FreeBSD$
+
+--- alclib/linux_ssm.h.orig Fri Jul 30 14:15:54 2004
++++ alclib/linux_ssm.h Mon Aug 2 11:50:48 2004
+@@ -33,12 +33,12 @@
+
+ struct ip_mreq_source {
+ struct in_addr imr_multiaddr; /* IP address of group */
+- struct in_addr imr_interface; /* IP address of interface */
+ struct in_addr imr_sourceaddr; /* IP address of source */
++ struct in_addr imr_interface; /* IP address of interface */
+ };
+
+-#define IP_ADD_SOURCE_MEMBERSHIP 39
+-#define IP_DROP_SOURCE_MEMBERSHIP 40
++#define IP_ADD_SOURCE_MEMBERSHIP 25
++#define IP_DROP_SOURCE_MEMBERSHIP 26
+
+ #endif
+
+@@ -54,8 +54,8 @@
+ struct sockaddr_storage gsr_source; /* source address */
+ };
+
+-#define MCAST_JOIN_SOURCE_GROUP 46
+-#define MCAST_LEAVE_SOURCE_GROUP 47
++#define MCAST_JOIN_SOURCE_GROUP 74
++#define MCAST_LEAVE_SOURCE_GROUP 75
+
+ #endif
+
diff --git a/net/mad_fcl/pkg-plist b/net/mad_fcl/pkg-plist
deleted file mode 100644
index 2638d5da41e3..000000000000
--- a/net/mad_fcl/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/flute
-%%PORTDOCS%%%%DOCSDIR%%/fdt-example.xml
-%%PORTDOCS%%%%DOCSDIR%%/flute-sdp-example.sdp
-%%PORTDOCS%%%%DOCSDIR%%/README.TXT
-%%PORTDOCS%%@dirrm %%DOCSDIR%%