aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/Makefile1
-rw-r--r--net/openpgm/Makefile48
-rw-r--r--net/openpgm/distinfo2
-rw-r--r--net/openpgm/pkg-descr24
-rw-r--r--net/openpgm/pkg-plist60
5 files changed, 135 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 48e6af884e19..4cbf05d310b0 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -482,6 +482,7 @@
SUBDIR += openntpd
SUBDIR += opennx
SUBDIR += openospfd
+ SUBDIR += openpgm
SUBDIR += openradius
SUBDIR += openser
SUBDIR += openslp
diff --git a/net/openpgm/Makefile b/net/openpgm/Makefile
new file mode 100644
index 000000000000..1c840051c7fa
--- /dev/null
+++ b/net/openpgm/Makefile
@@ -0,0 +1,48 @@
+# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
+# $FreeBSD$
+# Do not forget fix version openpgm in devel/libxs
+
+PORTNAME= openpgm
+PORTVERSION= 5.2.122
+CATEGORIES= net devel
+MASTER_SITES= GOOGLE_CODE
+DISTNAME= libpgm-${PORTVERSION}
+
+MAINTAINER= g.veniamin@googlemail.com
+COMMENT= Implementation of the PGM reliable multicast protocol
+
+LICENSE= LGPL3
+
+GNU_CONFIGURE= yes
+USE_BZIP2= yes
+USE_GNOME= gnomehack
+USE_LDCONFIG= yes
+USE_PERL5= yes
+USE_PYTHON= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}/openpgm/pgm
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+DOCS_DESC= Install documetation
+EXAMPLES_DESC= Install examples
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MEXAMPLES}
+PLIST_SUB+= EXAMPLES=""
+.else
+PLIST_SUB+= EXAMPLES="@comment "
+.endif
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/../doc/draft-ietf-rmt-bb-pgmcc-03.txt ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/../doc/rfc3208.txt ${DOCSDIR}
+.endif
+
+.if ${PORT_OPTIONS:MEXAMPLES}
+ ${MKDIR} ${EXAMPLESDIR}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} examples ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/openpgm/distinfo b/net/openpgm/distinfo
new file mode 100644
index 000000000000..6a1e6ef6df73
--- /dev/null
+++ b/net/openpgm/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libpgm-5.2.122.tar.bz2) = 2f6fcdad7fcf08368bce100db2598abdd57cb1e55869df68c0032a12ffe86d93
+SIZE (libpgm-5.2.122.tar.bz2) = 821143
diff --git a/net/openpgm/pkg-descr b/net/openpgm/pkg-descr
new file mode 100644
index 000000000000..d97cf386f17a
--- /dev/null
+++ b/net/openpgm/pkg-descr
@@ -0,0 +1,24 @@
+OpenPGM is an open source implementation of the Pragmatic General Multicast
+(PGM) specification in RFC 3208 available at www.ietf.org. PGM is a reliable
+and scalable multicast protocol that enables receivers to detect loss, request
+retransmission of lost data, or notify an application of unrecoverable loss.
+PGM is a receiver-reliable protocol, which means the receiver is responsible
+for ensuring all data is received, absolving the sender of reception
+responsibility. PGM runs over a best effort datagram service, currently OpenPGM
+uses IP multicast but could be implemented above switched fabrics such as
+InfiniBand.
+
+PGM is appropriate for applications that require duplicate-free multicast data
+delivery from multiple sources to multiple receivers. PGM does not support
+acknowledged delivery, nor does it guarantee ordering of packets from multiple
+senders.
+
+PGM is primarly used on internal networks to help integrate disparate systems
+through a common communication platform. A lack of IPv4 multicast-enabled
+infrastructure leads to limited capability for internet applications, IPv6
+promotes multicast to be a part of the core functionality of IP but may still
+be disabled on core routers. Support of Source-Specific Multicast (SSM) allows
+for improved WAN deployment by allowing end-point router filtering of unwanted
+source traffic
+
+WWW: http://code.google.com/p/openpgm/
diff --git a/net/openpgm/pkg-plist b/net/openpgm/pkg-plist
new file mode 100644
index 000000000000..fa16a3f97d66
--- /dev/null
+++ b/net/openpgm/pkg-plist
@@ -0,0 +1,60 @@
+include/pgm-5.2/pgm/atomic.h
+include/pgm-5.2/pgm/engine.h
+include/pgm-5.2/pgm/error.h
+include/pgm-5.2/pgm/gsi.h
+include/pgm-5.2/pgm/if.h
+include/pgm-5.2/pgm/in.h
+include/pgm-5.2/pgm/list.h
+include/pgm-5.2/pgm/macros.h
+include/pgm-5.2/pgm/mem.h
+include/pgm-5.2/pgm/messages.h
+include/pgm-5.2/pgm/msgv.h
+include/pgm-5.2/pgm/packet.h
+include/pgm-5.2/pgm/pgm.h
+include/pgm-5.2/pgm/skbuff.h
+include/pgm-5.2/pgm/socket.h
+include/pgm-5.2/pgm/time.h
+include/pgm-5.2/pgm/tsi.h
+include/pgm-5.2/pgm/types.h
+include/pgm-5.2/pgm/version.h
+include/pgm-5.2/pgm/winint.h
+include/pgm-5.2/pgm/wininttypes.h
+include/pgm-5.2/pgm/zinttypes.h
+lib/libpgm-5.2.so
+lib/libpgm-5.2.so.0
+lib/libpgm.a
+lib/libpgm.la
+lib/libpgm.so
+libdata/pkgconfig/openpgm-5.2.pc
+%%PORTDOCS%%%%DOCSDIR%%/draft-ietf-rmt-bb-pgmcc-03.txt
+%%PORTDOCS%%%%DOCSDIR%%/rfc3208.txt
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/SConscript
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/SConscript89
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/async.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/async.h
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/blocksyncrecv.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/daytime.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/enonblocksyncrecv.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/enonblocksyncrecvmsg.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/enonblocksyncrecvmsgv.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/getopt.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/getopt.h
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/heatmap.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/pgmdump.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/pgmping.cc
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/pgmrecv.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/pgmsend.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/pgmtop.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/ping.proto
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/pnonblocksyncrecv.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/purinrecv.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/purinrecvcc.cc
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/purinsend.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/purinsendcc.cc
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/shortcakerecv.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/snonblocksyncrecv.c
+%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%/examples
+%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm include/pgm-5.2/pgm
+@dirrm include/pgm-5.2