Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 7 commits
  • 13 files changed
  • 1 commit comment
  • 1 contributor
View
28 telephony/libosip2/Makefile
@@ -0,0 +1,28 @@
+# $OpenBSD: Makefile,v 1.8 2010/10/19 07:43:05 espie Exp $
+
+COMMENT= GNU oSIP library
+
+DISTNAME= libosip2-3.5.0
+SHARED_LIBS= osip2 4.0 \
+ osipparser2 4.0
+
+CATEGORIES= telephony devel
+
+HOMEPAGE= http://www.gnu.org/software/osip/
+
+# LGPLv2.1+
+PERMIT_PACKAGE_CDROM= Yes
+PERMIT_PACKAGE_FTP= Yes
+PERMIT_DISTFILES_CDROM= Yes
+PERMIT_DISTFILES_FTP= Yes
+
+MASTER_SITES= ${MASTER_SITE_GNU:=osip/}
+
+USE_LIBTOOL= Yes
+USE_GROFF = Yes
+
+CONFIGURE_STYLE=gnu
+CONFIGURE_ARGS= --disable-debug \
+ --enable-test
+
+.include <bsd.port.mk>
View
5 telephony/libosip2/distinfo
@@ -0,0 +1,5 @@
+MD5 (libosip2-3.5.0.tar.gz) = dpFUb2szSdEAB/war/D04A==
+RMD160 (libosip2-3.5.0.tar.gz) = fAGToaJapbEjUuethYv+d+yPgpY=
+SHA1 (libosip2-3.5.0.tar.gz) = JFtXLG7ecPnN34U7WX4giL4ogTo=
+SHA256 (libosip2-3.5.0.tar.gz) = 3ZVdqiTZzi3mcJuME+fATrw6+orAlNahWgKgdb5xmpE=
+SIZE (libosip2-3.5.0.tar.gz) = 597632
View
7 telephony/libosip2/pkg/DESCR
@@ -0,0 +1,7 @@
+oSIP provides a SIP stack with a limited set of features common to
+any kind of SIP Agents. Thus oSIP is not oriented towards any
+particular implementations and can be used for implementing SIP
+End-Point, Proxy or any kind of more specific SIP Agent such as
+B2BUA.
+
+Documentation is only available online.
View
3  telephony/libosip2/pkg/PFRAG.shared
@@ -0,0 +1,3 @@
+@comment $OpenBSD: PFRAG.shared,v 1.2 2005/12/26 13:13:46 steven Exp $
+@lib lib/libosip2.so.${LIBosip2_VERSION}
+@lib lib/libosipparser2.so.${LIBosipparser2_VERSION}
View
55 telephony/libosip2/pkg/PLIST
@@ -0,0 +1,55 @@
+@comment $OpenBSD: PLIST,v 1.2 2008/06/13 03:33:06 brad Exp $
+%%SHARED%%
+include/osip2/
+include/osip2/osip.h
+include/osip2/osip_condv.h
+include/osip2/osip_dialog.h
+include/osip2/osip_fifo.h
+include/osip2/osip_mt.h
+include/osip2/osip_time.h
+include/osipparser2/
+include/osipparser2/headers/
+include/osipparser2/headers/osip_accept.h
+include/osipparser2/headers/osip_accept_encoding.h
+include/osipparser2/headers/osip_accept_language.h
+include/osipparser2/headers/osip_alert_info.h
+include/osipparser2/headers/osip_allow.h
+include/osipparser2/headers/osip_authentication_info.h
+include/osipparser2/headers/osip_authorization.h
+include/osipparser2/headers/osip_call_id.h
+include/osipparser2/headers/osip_call_info.h
+include/osipparser2/headers/osip_contact.h
+include/osipparser2/headers/osip_content_disposition.h
+include/osipparser2/headers/osip_content_encoding.h
+include/osipparser2/headers/osip_content_length.h
+include/osipparser2/headers/osip_content_type.h
+include/osipparser2/headers/osip_cseq.h
+include/osipparser2/headers/osip_error_info.h
+include/osipparser2/headers/osip_from.h
+include/osipparser2/headers/osip_header.h
+include/osipparser2/headers/osip_mime_version.h
+include/osipparser2/headers/osip_proxy_authenticate.h
+include/osipparser2/headers/osip_proxy_authentication_info.h
+include/osipparser2/headers/osip_proxy_authorization.h
+include/osipparser2/headers/osip_record_route.h
+include/osipparser2/headers/osip_route.h
+include/osipparser2/headers/osip_to.h
+include/osipparser2/headers/osip_via.h
+include/osipparser2/headers/osip_www_authenticate.h
+include/osipparser2/osip_body.h
+include/osipparser2/osip_const.h
+include/osipparser2/osip_headers.h
+include/osipparser2/osip_list.h
+include/osipparser2/osip_md5.h
+include/osipparser2/osip_message.h
+include/osipparser2/osip_parser.h
+include/osipparser2/osip_port.h
+include/osipparser2/osip_uri.h
+include/osipparser2/sdp_message.h
+lib/libosip2.a
+lib/libosip2.la
+lib/libosipparser2.a
+lib/libosipparser2.la
+lib/pkgconfig/
+lib/pkgconfig/libosip2.pc
+@man man/man1/osip.1
View
41 telephony/siproxd/Makefile
@@ -0,0 +1,41 @@
+# $OpenBSD: Makefile,v 1.6 2010/11/20 19:56:47 espie Exp $
+
+COMMENT= proxy/masquerading daemon for the SIP protocol
+
+DISTNAME= siproxd-0.8.1
+CATEGORIES= telephony net
+
+HOMEPAGE= http://siproxd.sourceforge.net/
+
+MAINTAINER= Mathieu Sauve-Frankel <msf@openbsd.org>
+
+# GPL
+PERMIT_PACKAGE_CDROM= Yes
+PERMIT_PACKAGE_FTP= Yes
+PERMIT_DISTFILES_CDROM= Yes
+PERMIT_DISTFILES_FTP= Yes
+
+WANTLIB= c osip2 osipparser2 pthread
+
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=siproxd/}
+
+CONFIGURE_STYLE=gnu
+
+LIB_DEPENDS= telephony/libosip2
+
+DOCDIR= ${PREFIX}/share/doc/siproxd
+EXDIR= ${PREFIX}/share/examples/siproxd
+SUBST_VARS= PREFIX
+
+pre-build:
+ ${SUBST_CMD} ${WRKSRC}/doc/siproxd.conf.example
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKDIST}/doc/FAQ ${DOCDIR}
+ ${INSTALL_DATA} ${WRKDIST}/doc/KNOWN_BUGS ${DOCDIR}
+ ${INSTALL_DATA_DIR} ${EXDIR}
+ ${INSTALL_DATA} ${WRKDIST}/doc/siproxd.conf.example ${EXDIR}
+ ${INSTALL_DATA} ${WRKDIST}/doc/siproxd_passwd.cfg ${EXDIR}
+
+.include <bsd.port.mk>
View
5 telephony/siproxd/distinfo
@@ -0,0 +1,5 @@
+MD5 (siproxd-0.8.1.tar.gz) = Gm+dE66y1lA3XJo0asbLrw==
+RMD160 (siproxd-0.8.1.tar.gz) = rC8+xA5Tnmn6gB/Fbmvm/VdqNXA=
+SHA1 (siproxd-0.8.1.tar.gz) = YibuBLbwCAuzI8tzZO11jRy8u6E=
+SHA256 (siproxd-0.8.1.tar.gz) = 3y3wT69b20mAy9/VUWpHiY/EfKHrwsYoqkgwWyCgna0=
+SIZE (siproxd-0.8.1.tar.gz) = 833170
View
41 telephony/siproxd/patches/patch-doc_siproxd_conf_example
@@ -0,0 +1,41 @@
+$OpenBSD: patch-doc_siproxd_conf_example,v 1.1 2006/11/27 11:16:50 msf Exp $
+--- doc/siproxd.conf.example.orig Mon Jun 20 16:25:27 2011
++++ doc/siproxd.conf.example Sat Sep 10 21:54:04 2011
+@@ -78,8 +78,8 @@ silence_log = 1
+ # Secure Enviroment settings:
+ # user: uid/gid to switch to after startup
+ # chrootjail: path to chroot to (chroot jail)
+-user = nobody
+-#chrootjail = /var/lib/siproxd/
++user = _siproxd
++chrootjail = /var/siproxd/
+
+ ######################################################################
+ # Memory settings
+@@ -100,7 +100,7 @@ user = nobody
+ # the specified directory path does exist!
+ # Note: If running in chroot jail, this path starts relative
+ # to the jail.
+-registration_file = /var/lib/siproxd/siproxd_registrations
++registration_file = siproxd_registrations
+
+ ######################################################################
+ # Automatically save current registrations every 'n' seconds
+@@ -113,7 +113,7 @@ autosave_registrations = 300
+ # This file holds the PID of the main thread of siproxd.
+ # Note: If running in chroot jail, this path starts relative
+ # to the jail.
+-pid_file = /var/run/siproxd/siproxd.pid
++pid_file = siproxd.pid
+
+ ######################################################################
+ # global switch to control the RTP proxy behaviour
+@@ -323,7 +323,7 @@ debug_port = 0
+ # the processing order is given by the load order.
+ #
+ # plugin_dir: MUST be terminated with '/'
+-plugindir=/usr/lib/siproxd/
++plugindir=${PREFIX}/lib/siproxd/
+ #
+ # List of plugins to load. MUST use the .la file extension!
+ #load_plugin=plugin_demo.la
View
12 telephony/siproxd/patches/patch-src_Makefile_in
@@ -0,0 +1,12 @@
+$OpenBSD: patch-src_Makefile_in,v 1.2 2006/11/27 11:16:50 msf Exp $
+--- src/Makefile.in.orig Sun Jul 10 15:57:51 2011
++++ src/Makefile.in Sat Sep 10 21:19:58 2011
+@@ -705,7 +705,7 @@ uninstall-am: uninstall-info-am uninstall-pkglibLTLIBR
+ # count BUILDs - each time increment by one and define the
+ # C macro BUILDNO. bind it to a file everybody includes (log.h)
+ #
+-log.h: increment_build
++log.h:
+
+ increment_build:
+ @echo "incrementing BUILD number"
View
8 telephony/siproxd/pkg/DESCR
@@ -0,0 +1,8 @@
+Siproxd is a proxy/masquerading daemon for the SIP protocol. It
+handles registrations of SIP clients on a private IP network and
+performs rewriting of the SIP message bodies to make SIP connections
+work via an masquerading firewall (NAT). It allows SIP software
+clients (like kphone, linphone) or SIP hardware clients (Voice over
+IP phones which are SIP-compatible, such as those from Cisco,
+Grandstream or Snom) to work behind an IP masquerading firewall or
+NAT router.
View
9 telephony/siproxd/pkg/PFRAG.shared
@@ -0,0 +1,9 @@
+@comment $OpenBSD$
+lib/siproxd/plugin_defaulttarget.so
+lib/siproxd/plugin_demo.so
+lib/siproxd/plugin_fix_bogus_via.so
+lib/siproxd/plugin_logcall.so
+lib/siproxd/plugin_prefix.so
+lib/siproxd/plugin_regex.so
+lib/siproxd/plugin_shortdial.so
+lib/siproxd/plugin_stun.so
View
35 telephony/siproxd/pkg/PLIST
@@ -0,0 +1,35 @@
+@comment $OpenBSD: PLIST,v 1.3 2007/05/31 15:51:23 aanriot Exp $
+@newgroup _siproxd:574
+@newuser _siproxd:574:574:daemon:SIP proxy:/var/empty:/sbin/nologin
+%%SHARED%%
+lib/siproxd/
+lib/siproxd/plugin_defaulttarget.a
+lib/siproxd/plugin_defaulttarget.la
+lib/siproxd/plugin_demo.a
+lib/siproxd/plugin_demo.la
+lib/siproxd/plugin_fix_bogus_via.a
+lib/siproxd/plugin_fix_bogus_via.la
+lib/siproxd/plugin_logcall.a
+lib/siproxd/plugin_logcall.la
+lib/siproxd/plugin_prefix.a
+lib/siproxd/plugin_prefix.la
+lib/siproxd/plugin_regex.a
+lib/siproxd/plugin_regex.la
+lib/siproxd/plugin_shortdial.a
+lib/siproxd/plugin_shortdial.la
+lib/siproxd/plugin_stun.a
+lib/siproxd/plugin_stun.la
+@bin sbin/siproxd
+share/doc/siproxd/
+share/doc/siproxd/FAQ
+share/doc/siproxd/KNOWN_BUGS
+share/examples/siproxd/
+share/examples/siproxd/siproxd.conf.example
+@sample ${SYSCONFDIR}/siproxd.conf
+share/examples/siproxd/siproxd_passwd.cfg
+@sample ${SYSCONFDIR}/siproxd_passwd.cfg
+@mode 0770
+@owner root
+@group _siproxd
+@sample /var/siproxd/
+@rcscript ${RCDIR}/siproxd
View
10 telephony/siproxd/pkg/siproxd.rc
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# $OpenBSD$
+
+daemon="${TRUEPREFIX}/sbin/siproxd"
+daemon_user="_siproxd"
+
+. /etc/rc.d/rc.subr
+
+rc_cmd $1

Showing you all comments on commits in this comparison.

@lteo
Collaborator

This somewhat trivial update is here to help me work on updating telephony/siproxd

Something went wrong with that request. Please try again.