aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-11-07 13:20:57 +0800
committerijliao <ijliao@FreeBSD.org>2003-11-07 13:20:57 +0800
commit0e9c77de1c989c22732094dfefc50261fc5a376b (patch)
treed1c7de3ac23d8f49080c346db383df5979dda897
parent46b1c1f50b19726e930e031d4cc4f177c2bac9cf (diff)
downloadfreebsd-ports-gnome-0e9c77de1c989c22732094dfefc50261fc5a376b.tar.gz
freebsd-ports-gnome-0e9c77de1c989c22732094dfefc50261fc5a376b.tar.zst
freebsd-ports-gnome-0e9c77de1c989c22732094dfefc50261fc5a376b.zip
add partysip 2.0.3
An implementation of a SIP proxy server
-rw-r--r--net/Makefile1
-rw-r--r--net/partysip/Makefile30
-rw-r--r--net/partysip/distinfo1
-rw-r--r--net/partysip/files/patch-ltmain.sh15
-rw-r--r--net/partysip/files/patch-ppldns.c88
-rw-r--r--net/partysip/pkg-descr12
-rw-r--r--net/partysip/pkg-plist46
7 files changed, 193 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 44efdf33d24c..bfa9068cb0e4 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -508,6 +508,7 @@
SUBDIR += pancho
SUBDIR += papaya
SUBDIR += papaya-plugins
+ SUBDIR += partysip
SUBDIR += passlogd
SUBDIR += pathchar
SUBDIR += pchar
diff --git a/net/partysip/Makefile b/net/partysip/Makefile
new file mode 100644
index 000000000000..5ecb0ed99beb
--- /dev/null
+++ b/net/partysip/Makefile
@@ -0,0 +1,30 @@
+# ex:ts=8
+# Ports collection makefile for: partysip
+# Date Created: Mar 27, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= partysip
+PORTVERSION= 2.0.3
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SAVANNAH}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= An implementation of a SIP proxy server
+
+BUILD_DEPENDS= pthread-config:${PORTSDIR}/devel/pth
+LIB_DEPENDS= osip2.2:${PORTSDIR}/net/libosip2 \
+ gdbm.3:${PORTSDIR}/databases/gdbm
+RUN_DEPENDS= pthread-config:${PORTSDIR}/devel/pth
+
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+CONFIGURE_ARGS= --enable-pth=yes --with-db=gdbm
+INSTALLS_SHLIB= yes
+
+.include <bsd.port.mk>
diff --git a/net/partysip/distinfo b/net/partysip/distinfo
new file mode 100644
index 000000000000..1a8a000ca6dc
--- /dev/null
+++ b/net/partysip/distinfo
@@ -0,0 +1 @@
+MD5 (partysip-2.0.3.tar.gz) = bda48c15c1943a7856077b58c140af0f
diff --git a/net/partysip/files/patch-ltmain.sh b/net/partysip/files/patch-ltmain.sh
new file mode 100644
index 000000000000..9f19e774be9f
--- /dev/null
+++ b/net/partysip/files/patch-ltmain.sh
@@ -0,0 +1,15 @@
+--- scripts/ltmain.sh.orig Fri Nov 7 13:15:21 2003
++++ scripts/ltmain.sh Fri Nov 7 13:15:34 2003
+@@ -5457,10 +5457,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false ; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/net/partysip/files/patch-ppldns.c b/net/partysip/files/patch-ppldns.c
new file mode 100644
index 000000000000..bbec4b303641
--- /dev/null
+++ b/net/partysip/files/patch-ppldns.c
@@ -0,0 +1,88 @@
+--- ppl/unix/ppldns.c.orig Mon Sep 29 00:20:45 2003
++++ ppl/unix/ppldns.c Fri Nov 7 13:10:55 2003
+@@ -295,40 +295,40 @@
+
+
+ #if defined(__NetBSD__) || defined(__OpenBSD__) ||\
+- defined(OLD_NAMESER) || defined(__FreeBSD__)
++ defined(OLD_NAMESER)
+ type = _get_short (cp);
+ cp += sizeof (u_short);
+-#elif defined(__APPLE_CC__)
++#elif defined(__APPLE_CC__) || defined(__FreeBSD__)
+ GETSHORT(type, cp);
+ #else
+ NS_GET16 (type, cp);
+ #endif
+
+ #if defined(__NetBSD__) || defined(__OpenBSD__) ||\
+- defined(OLD_NAMESER) || defined(__FreeBSD__)
++ defined(OLD_NAMESER)
+ aclass = _get_short (cp);
+ cp += sizeof (u_short);
+-#elif defined(__APPLE_CC__)
++#elif defined(__APPLE_CC__) || defined(__FreeBSD__)
+ GETSHORT(aclass, cp);
+ #else
+ NS_GET16 (aclass, cp);
+ #endif
+
+ #if defined(__NetBSD__) || defined(__OpenBSD__) ||\
+- defined(OLD_NAMESER) || defined(__FreeBSD__)
++ defined(OLD_NAMESER)
+ ttl = _get_long (cp);
+ cp += sizeof (u_long);
+-#elif defined(__APPLE_CC__)
++#elif defined(__APPLE_CC__) || defined(__FreeBSD__)
+ GETLONG(ttl, cp);
+ #else
+ NS_GET32 (ttl, cp);
+ #endif
+
+ #if defined(__NetBSD__) || defined(__OpenBSD__) ||\
+- defined(OLD_NAMESER) || defined(__FreeBSD__)
++ defined(OLD_NAMESER)
+ dlen = _get_short (cp);
+ cp += sizeof (u_short);
+-#elif defined(__APPLE_CC__)
++#elif defined(__APPLE_CC__) || defined(__FreeBSD__)
+ GETSHORT(dlen, cp);
+ #else
+ NS_GET16 (dlen, cp);
+@@ -340,30 +340,30 @@
+ continue;
+ }
+ #if defined(__NetBSD__) || defined(__OpenBSD__) ||\
+- defined(OLD_NAMESER) || defined(__FreeBSD__)
++ defined(OLD_NAMESER)
+ pref = _get_short (cp);
+ cp += sizeof (u_short);
+-#elif defined(__APPLE_CC__)
++#elif defined(__APPLE_CC__) || defined(__FreeBSD__)
+ GETSHORT(pref, cp);
+ #else
+ NS_GET16 (pref, cp);
+ #endif
+
+ #if defined(__NetBSD__) || defined(__OpenBSD__) ||\
+- defined(OLD_NAMESER) || defined(__FreeBSD__)
++ defined(OLD_NAMESER)
+ weight = _get_short (cp);
+ cp += sizeof (u_short);
+-#elif defined(__APPLE_CC__)
++#elif defined(__APPLE_CC__) || defined(__FreeBSD__)
+ GETSHORT(weight, cp);
+ #else
+ NS_GET16 (weight, cp);
+ #endif
+
+ #if defined(__NetBSD__) || defined(__OpenBSD__) ||\
+- defined(OLD_NAMESER) || defined(__FreeBSD__)
++ defined(OLD_NAMESER)
+ port = _get_short (cp);
+ cp += sizeof (u_short);
+-#elif defined(__APPLE_CC__)
++#elif defined(__APPLE_CC__) || defined(__FreeBSD__)
+ GETSHORT(port, cp);
+ #else
+ NS_GET16 (port, cp);
diff --git a/net/partysip/pkg-descr b/net/partysip/pkg-descr
new file mode 100644
index 000000000000..d7fe138f4601
--- /dev/null
+++ b/net/partysip/pkg-descr
@@ -0,0 +1,12 @@
+Partysip is an implementation of a SIP proxy server. SIP stands for the
+Session Initiation Protocol and is described by the rfc2543 (soon to be
+deprecated by latest revisions). SIP is a open standard replacement from
+IETF for H323.
+
+Partysip is a modular application where some capabilities are added and
+removed through plugins. The program comes with several GPL plugins. At
+this step, partysip and its plugins could be used as a 'SIP registrar',
+a 'SIP redirect server' and a 'SIP statefull proxy server'. (stateless
+capabilities have been removed)
+
+WWW: http://www.partysip.org/
diff --git a/net/partysip/pkg-plist b/net/partysip/pkg-plist
new file mode 100644
index 000000000000..d04c41cb8738
--- /dev/null
+++ b/net/partysip/pkg-plist
@@ -0,0 +1,46 @@
+bin/partysip
+bin/partysip-config
+bin/psp_users
+etc/partysip/partysip.conf
+@dirrm etc/partysip
+include/partysip/osip_msg.h
+include/partysip/partysip.h
+include/partysip/psp_config.h
+include/partysip/psp_macros.h
+include/partysip/psp_nat.h
+include/partysip/psp_plug.h
+include/partysip/psp_req.h
+include/partysip/psp_utils.h
+include/ppl/ppl.h
+include/ppl/ppl_dbm.h
+include/ppl/ppl_dns.h
+include/ppl/ppl_dso.h
+include/ppl/ppl_getopt.h
+include/ppl/ppl_init.h
+include/ppl/ppl_md5.h
+include/ppl/ppl_pipe.h
+include/ppl/ppl_socket.h
+include/ppl/ppl_time.h
+include/ppl/ppl_uinfo.h
+@dirrm include/partysip
+@dirrm include/ppl
+lib/libppl.a
+lib/libppl.so
+lib/libppl.so.2
+lib/partysip/libpsp_auth.a
+lib/partysip/libpsp_auth.so
+lib/partysip/libpsp_filter.a
+lib/partysip/libpsp_filter.so
+lib/partysip/libpsp_ls_localdb.a
+lib/partysip/libpsp_ls_localdb.so
+lib/partysip/libpsp_ls_sfull.a
+lib/partysip/libpsp_ls_sfull.so
+lib/partysip/libpsp_ls_static.a
+lib/partysip/libpsp_ls_static.so
+lib/partysip/libpsp_rgstrar.a
+lib/partysip/libpsp_rgstrar.so
+lib/partysip/libpsp_syntax.a
+lib/partysip/libpsp_syntax.so
+lib/partysip/libpsp_udp.a
+lib/partysip/libpsp_udp.so
+@dirrm lib/partysip