Import reSIProcate stack, repro, and reTurn 1.12.0

The reSIProcate components, particularly the SIP stack, are in use in both
commercial and open-source products. The project is dedicated to maintaining a
complete, correct, and commercially usable implementation of SIP and a few
related protocols.

repro is an open-source, free SIP server which provides SIP proxy, registrar,
redirect, and identity services.

reTurn is a highly efficient C++ open-source STUN/TURN server and client
library. It is an implementation of the latest STUN/TURN RFCs: RFC5389 (STUN),
and RFC5766 (TURN).

OK sthen@
This commit is contained in:
feinerer 2020-05-29 21:41:23 +00:00
parent 203e26fd66
commit dc2c24d771
15 changed files with 964 additions and 0 deletions

View File

@ -0,0 +1,112 @@
# $OpenBSD: Makefile,v 1.1.1.1 2020/05/29 21:41:23 feinerer Exp $
COMMENT-main = reSIProcate SIP stack
COMMENT-repro = reSIProcate SIP proxy/registrar server
COMMENT-return = reSIProcate STUN/TURN client and server
V = 1.12.0
DISTNAME = resiprocate-${V}
PKGNAME-main = resiprocate-${V}
PKGNAME-repro = resiprocate-repro-${V}
PKGNAME-return = resiprocate-return-${V}
SHARED_LIBS += dum 0.0
SHARED_LIBS += reTurnClient 0.0
SHARED_LIBS += reTurnCommon 0.0
SHARED_LIBS += repro 0.0
SHARED_LIBS += resip 0.0
SHARED_LIBS += rutil 0.0
CATEGORIES = telephony
HOMEPAGE = https://www.resiprocate.org
MAINTAINER = Ingo Feinerer <feinerer@logic.at>
# Vovida (BSD like)
# https://github.com/resiprocate/resiprocate/blob/master/COPYING
PERMIT_PACKAGE = Yes
WANTLIB-main += ${COMPILER_LIBCXX} cares crypto ffi gmp gnutls hogweed
WANTLIB-main += iconv idn2 intl m nettle p11-kit radcli ssl tasn1 unistring
WANTLIB-repro += ${WANTLIB-main} c db_cxx dum mariadb pq resip rutil z
WANTLIB-return += ${WANTLIB-main} boost_system c rutil
MASTER_SITES = https://www.resiprocate.org/files/pub/reSIProcate/releases/
DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \
resiprocate-contrib-${V}${EXTRACT_SUFX}
COMPILER = base-clang ports-gcc
BUILD_DEPENDS = devel/gperf
LIB_DEPENDS-main = net/libcares \
net/radcli
LIB_DEPENDS-repro = ${BUILD_PKGPATH},-main=${V} \
databases/db/v4 \
databases/mariadb \
databases/postgresql
LIB_DEPENDS-return = ${BUILD_PKGPATH},-main=${V} \
devel/boost
USE_GMAKE = Yes
LIBTOOL_FLAGS = --tag=disable-static
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --disable-static \
--enable-dtls \
--enable-ipv6 \
--with-c-ares \
--with-mysql \
--with-popt \
--with-postgresql \
--with-radcli \
--with-ssl
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/db4 \
-I${LOCALBASE}/include/postgresql \
-I${WRKSRC}/contrib/asio/include \
-I${WRKSRC}/contrib/cajun/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${LOCALBASE}/lib/db4"
MULTI_PACKAGES = -main -repro -return
PSEUDO_FLAVORS = no_repro no_return
FLAVOR ?=
.include <bsd.port.arch.mk>
.if ${BUILD_PACKAGES:M-repro}
CONFIGURE_ARGS += --enable-repro-plugins \
--with-repro
.endif
.if ${BUILD_PACKAGES:M-return}
CONFIGURE_ARGS += --with-return
.endif
post-extract:
mv ${WRKDIR}/contrib ${WRKSRC}
post-install:
.if ${BUILD_PACKAGES:M-repro}
${INSTALL_DATA_DIR} ${PREFIX}/share/{doc,examples}/resiprocate/repro
${INSTALL_DATA} ${WRKSRC}/repro/{README*,create*_reprodb.sql} \
${PREFIX}/share/doc/resiprocate/repro
${SUBST_DATA} ${WRKSRC}/repro/repro.config \
${PREFIX}/share/examples/resiprocate/repro/repro.config
${INSTALL_DATA} ${WRKSRC}/repro/users.txt \
${PREFIX}/share/examples/resiprocate/repro
rm ${PREFIX}/lib/resiprocate/repro/plugins/*.la
.endif
.if ${BUILD_PACKAGES:M-return}
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/resiprocate/reTurn
${SUBST_DATA} ${WRKSRC}/reTurn/reTurnServer.config \
${PREFIX}/share/examples/resiprocate/reTurn/reTurnServer.config
${INSTALL_DATA} ${WRKSRC}/reTurn/users.txt \
${PREFIX}/share/examples/resiprocate/reTurn
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
SHA256 (resiprocate-1.12.0.tar.gz) = BGgmUD08hoKuDkIQGyj5A8X5iCNfH/Spjb+5Bm0NPUk=
SHA256 (resiprocate-contrib-1.12.0.tar.gz) = yHErF7Jv2VipUr/0qEnQDjGA+NA70L8wBrknyl/Ugh4=
SIZE (resiprocate-1.12.0.tar.gz) = 10646545
SIZE (resiprocate-contrib-1.12.0.tar.gz) = 15134960

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-configure,v 1.1.1.1 2020/05/29 21:41:23 feinerer Exp $
Follow OpenBSD shared library naming scheme
Index: configure
--- configure.orig
+++ configure
@@ -2573,7 +2573,6 @@ SO_RELEASE=`echo $PACKAGE_VERSION | cut -f1,2 -d.`
#LIBTOOL_VERSION_RELEASE="-version-info 0:0:0 -release @SO_RELEASE@"
-LIBTOOL_VERSION_RELEASE="-release $SO_RELEASE"

View File

@ -0,0 +1,90 @@
$OpenBSD: patch-reTurn_reTurnServer_config,v 1.1.1.1 2020/05/29 21:41:23 feinerer Exp $
Index: reTurn/reTurnServer.config
--- reTurn/reTurnServer.config.orig
+++ reTurn/reTurnServer.config
@@ -84,10 +84,10 @@ LoggingType = file
SyslogFacility = LOG_DAEMON
# Logging level: NONE|CRIT|ERR|WARNING|INFO|DEBUG|STACK
-LoggingLevel = DEBUG
+LoggingLevel = WARNING
# Log Filename
-LogFilename = reTurnServer.log
+LogFilename = /var/log/reTurnServer/reTurnServer.log
# Log file Max Size
LogFileMaxLines = 50000
@@ -98,15 +98,15 @@ LogFileMaxLines = 50000
########################################################
# Must be true or false, default = false, not supported on Windows
-Daemonize = false
+Daemonize = true
# On UNIX it is normal to create a PID file
# if unspecified, no attempt will be made to create a PID file
#PidFile = /var/run/reTurnServer/reTurnServer.pid
# UNIX account information to run process as
-#RunAsUser = return
-#RunAsGroup = return
+RunAsUser = _return
+RunAsGroup = _return
########################################################
@@ -132,7 +132,7 @@ AuthenticationRealm = reTurn
#
# This file format is interchangeable with TurnServer.org's user database
#
-UserDatabaseFile = users.txt
+UserDatabaseFile = ${SYSCONFDIR}/reTurn/users.txt
# Hashed passwords in the user database file
# This option specifies whether the passwords are plain text
@@ -150,7 +150,7 @@ UserDatabaseFile = users.txt
#
# you can issue a command such as:
#
-# echo -n bob:example.org:foobar | md5sum
+# echo -n bob:example.org:foobar | md5
#
# WARNING: the hashing scheme prevents recovery of the plain text
# password. However, H(A1) hash values must still be kept
@@ -158,7 +158,7 @@ UserDatabaseFile = users.txt
# Therefore, the user database file should always be readable
# only by the reTurn process and no other regular users.
#
-UserDatabaseHashedPasswords = false
+UserDatabaseHashedPasswords = true
# How frequently to check the user database file for changes
# Set to 0 to only load the file once at startup
@@ -207,14 +207,14 @@ MaxAllocationLifetime = 3600
# certificates should also be appened to this file.
# The private key may optionally be included in this file
# or in a separate key file specified by TlsServerPrivateKeyFilename
-TlsServerCertificateFilename = server.pem
+TlsServerCertificateFilename = ${SYSCONFDIR}/reTurn/server.pem
# TLS Server Private Key Filename (loaded from working directory)
# The PEM formated file that contains the private key of the certificate
# that will be presented to clients connecting over TLS.
# If not specified, reTurn will also try to find the private key
# in the file specified by TlsServerCertificateFilename
-TlsServerPrivateKeyFilename = server.key
+TlsServerPrivateKeyFilename = ${SYSCONFDIR}/reTurn/server.key
# TLS temporary Diffie-Hellman parameters file (loaded from working directory)
# It's strongly recommended to generated own Diffie-Hellman parameters with
@@ -222,7 +222,7 @@ TlsServerPrivateKeyFilename = server.key
#
# openssl dhparam -outform PEM -out dh2048.pem 2048
#
-TlsTempDhFilename = dh2048.pem
+TlsTempDhFilename = ${SYSCONFDIR}/reTurn/dh2048.pem
# TLS server private key certificate password required to read
# from PEM file. Leave blank if key is not encrypted.

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-reTurn_users_txt,v 1.1.1.1 2020/05/29 21:41:23 feinerer Exp $
Index: reTurn/users.txt
--- reTurn/users.txt.orig
+++ reTurn/users.txt
@@ -18,4 +18,4 @@
#
# Comments can be inserted by starting a line with #
#
-test:1234:reTurn:authorized
+#test:1234:reTurn:authorized

View File

@ -0,0 +1,101 @@
$OpenBSD: patch-repro_repro_config,v 1.1.1.1 2020/05/29 21:41:23 feinerer Exp $
Index: repro/repro.config
--- repro/repro.config.orig
+++ repro/repro.config
@@ -11,16 +11,16 @@
# Note: Logging to cout can negatively effect performance.
# When repro is placed into production 'file' or
# 'syslog' should be used.
-LoggingType = cout
+LoggingType = file
# For syslog, also specify the facility, default is LOG_DAEMON
SyslogFacility = LOG_DAEMON
# Logging level: NONE|CRIT|ERR|WARNING|INFO|DEBUG|STACK
-LogLevel = INFO
+LogLevel = WARNING
# Log Filename. This setting is only applicable when LoggingType is set to file.
-LogFilename = repro.log
+LogFilename = /var/log/repro/repro.log
# Log file Max Bytes. This setting is only applicable when LoggingType is set to file.
LogFileMaxBytes = 5242880
@@ -172,7 +172,7 @@ TLSUseEmailAsSIP = false
#
# openssl dhparam -outform PEM -out dh2048.pem 2048
#
-TlsDHParamsFilename = dh2048.pem
+TlsDHParamsFilename = ${SYSCONFDIR}/repro/dh2048.pem
# Alternate and more flexible method to specify transports to bind to. If specified here
# then IPAddress, and port settings above are ignored.
@@ -212,8 +212,8 @@ TlsDHParamsFilename = dh2048.pem
# Transport3Interface = 192.168.1.106:5061
# Transport3Type = TLS
# Transport3TlsDomain = sipdomain.com
-# Transport3TlsCertificate = /etc/ssl/crt/sipdomain.com.crt
-# Transport3TlsPrivateKey = /etc/ssl/private/sipdomain.com.key
+# Transport3TlsCertificate = ${SYSCONFDIR}/repro/sipdomain.com.crt
+# Transport3TlsPrivateKey = ${SYSCONFDIR}/repro/sipdomain.com.key
# Transport3TlsPrivateKeyPassPhrase = password
# Transport3TlsClientVerification = Mandatory
# Transport3RecordRouteUri = sip:h1.sipdomain.com;transport=TLS
@@ -266,12 +266,12 @@ HttpAdminRealm = repro
#
# user = admin
# realm = the value from HttpAdminRealm
-# HA1 = `echo -n user:realm:password | md5sum`
+# HA1 = `echo -n user:realm:password | md5`
#
# You can use the htdigest utility from Apache to create and
# manage this file
#
-HttpAdminUserFile = users.txt
+HttpAdminUserFile = ${SYSCONFDIR}/repro/users.txt
# Comma separated list of IP addresses used for binding the Command Server listeners.
# If left blank it will bind to all adapters.
@@ -327,7 +327,7 @@ EnablePublicationReplication = true
# The default is determined at build time depending upon the
# target environment and the installation prefix passed to
# the configure script
-#PluginDirectory = /usr/lib/repro/plugins
+#PluginDirectory = ${LOCALBASE}/lib/repro/plugins
# List of plugins to load (comma-separated list)
# These are the names of the plugins and not the full filenames
@@ -345,11 +345,11 @@ EnablePublicationReplication = true
# the specified user
# If neither option is specified, then no attempt will be made
# to call setuid/setgid (there is no default value)
-#RunAsUser = repro
-#RunAsGroup = repro
+RunAsUser = _repro
+RunAsGroup = _repro
# Must be true or false, default = false, not supported on Windows
-Daemonize = false
+Daemonize = true
# On UNIX it is normal to create a PID file
# if unspecified, no attempt will be made to create a PID file
@@ -398,6 +398,7 @@ Daemonize = false
#CAFile = /etc/ssl/certs/ca-certificates.crt
# Uncomment for Fedora, Red Hat, CentOS:
#CAFile = /etc/pki/tls/cert.pem
+CAFile = /etc/ssl/cert.pem
# Certificates in this location have to match one of the filename
# patterns expected by the legacy reSIProcate SSL code:
@@ -465,7 +466,7 @@ DefaultDatabase = 1
# Defines a BerkeleyDB storing the files in Database1Path:
Database1Type = BerkeleyDB
-Database1Path = ./
+Database1Path = /var/db/repro
# Alternatively, define an SQL database
#

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-repro_users_txt,v 1.1.1.1 2020/05/29 21:41:23 feinerer Exp $
Index: repro/users.txt
--- repro/users.txt.orig
+++ repro/users.txt
@@ -1,2 +1,2 @@
# default user admin with password admin
-admin:repro:587c67fddee5b46eef47c36d93016965
+#admin:repro:587c67fddee5b46eef47c36d93016965

View File

@ -0,0 +1,4 @@
The reSIProcate components, particularly the SIP stack, are in use in both
commercial and open-source products. The project is dedicated to maintaining a
complete, correct, and commercially usable implementation of SIP and a few
related protocols.

View File

@ -0,0 +1,2 @@
repro is an open-source, free SIP server which provides SIP proxy, registrar,
redirect, and identity services.

View File

@ -0,0 +1,3 @@
reTurn is a highly efficient C++ open-source STUN/TURN server and client
library. It is an implementation of the latest STUN/TURN RFCs: RFC5389 (STUN),
and RFC5766 (TURN).

View File

@ -0,0 +1,406 @@
@comment $OpenBSD: PLIST-main,v 1.1.1.1 2020/05/29 21:41:23 feinerer Exp $
include/resip/
include/resip/dum/
include/resip/dum/AppDialog.hxx
include/resip/dum/AppDialogSet.hxx
include/resip/dum/AppDialogSetFactory.hxx
include/resip/dum/BaseCreator.hxx
include/resip/dum/BaseSubscription.hxx
include/resip/dum/BaseUsage.hxx
include/resip/dum/CertMessage.hxx
include/resip/dum/ChallengeInfo.hxx
include/resip/dum/ClientAuthExtension.hxx
include/resip/dum/ClientAuthManager.hxx
include/resip/dum/ClientInviteSession.hxx
include/resip/dum/ClientOutOfDialogReq.hxx
include/resip/dum/ClientPagerMessage.hxx
include/resip/dum/ClientPublication.hxx
include/resip/dum/ClientRegistration.hxx
include/resip/dum/ClientSubscription.hxx
include/resip/dum/ClientSubscriptionFunctor.hxx
include/resip/dum/ContactInstanceRecord.hxx
include/resip/dum/DefaultServerReferHandler.hxx
include/resip/dum/DestroyUsage.hxx
include/resip/dum/Dialog.hxx
include/resip/dum/DialogEventHandler.hxx
include/resip/dum/DialogEventInfo.hxx
include/resip/dum/DialogEventStateManager.hxx
include/resip/dum/DialogId.hxx
include/resip/dum/DialogSet.hxx
include/resip/dum/DialogSetHandler.hxx
include/resip/dum/DialogSetId.hxx
include/resip/dum/DialogUsage.hxx
include/resip/dum/DialogUsageManager.hxx
include/resip/dum/DumCommand.hxx
include/resip/dum/DumDecrypted.hxx
include/resip/dum/DumException.hxx
include/resip/dum/DumFeature.hxx
include/resip/dum/DumFeatureChain.hxx
include/resip/dum/DumFeatureMessage.hxx
include/resip/dum/DumHelper.hxx
include/resip/dum/DumProcessHandler.hxx
include/resip/dum/DumShutdownHandler.hxx
include/resip/dum/DumThread.hxx
include/resip/dum/DumTimeout.hxx
include/resip/dum/EncryptionRequest.hxx
include/resip/dum/EventDispatcher.hxx
include/resip/dum/ExternalMessageBase.hxx
include/resip/dum/ExternalMessageHandler.hxx
include/resip/dum/ExternalTimer.hxx
include/resip/dum/Handle.hxx
include/resip/dum/HandleException.hxx
include/resip/dum/HandleManager.hxx
include/resip/dum/Handled.hxx
include/resip/dum/Handles.hxx
include/resip/dum/HttpGetMessage.hxx
include/resip/dum/HttpProvider.hxx
include/resip/dum/IdentityHandler.hxx
include/resip/dum/InMemoryRegistrationDatabase.hxx
include/resip/dum/InMemorySyncPubDb.hxx
include/resip/dum/InMemorySyncRegDb.hxx
include/resip/dum/InviteDialogs.hxx
include/resip/dum/InviteSession.hxx
include/resip/dum/InviteSessionCreator.hxx
include/resip/dum/InviteSessionHandler.hxx
include/resip/dum/KeepAliveManager.hxx
include/resip/dum/KeepAliveTimeout.hxx
include/resip/dum/MasterProfile.hxx
include/resip/dum/MergedRequestKey.hxx
include/resip/dum/MergedRequestRemovalCommand.hxx
include/resip/dum/NetworkAssociation.hxx
include/resip/dum/NonDialogUsage.hxx
include/resip/dum/OutOfDialogHandler.hxx
include/resip/dum/OutOfDialogReqCreator.hxx
include/resip/dum/OutgoingEvent.hxx
include/resip/dum/PagerMessageCreator.hxx
include/resip/dum/PagerMessageHandler.hxx
include/resip/dum/Postable.hxx
include/resip/dum/Profile.hxx
include/resip/dum/PublicationCreator.hxx
include/resip/dum/PublicationHandler.hxx
include/resip/dum/PublicationPersistenceManager.hxx
include/resip/dum/RADIUSServerAuthManager.hxx
include/resip/dum/RedirectHandler.hxx
include/resip/dum/RedirectManager.hxx
include/resip/dum/RefCountedDestroyer.hxx
include/resip/dum/RegistrationCreator.hxx
include/resip/dum/RegistrationHandler.hxx
include/resip/dum/RegistrationPersistenceManager.hxx
include/resip/dum/RemoteCertStore.hxx
include/resip/dum/RequestValidationHandler.hxx
include/resip/dum/ServerAuthManager.hxx
include/resip/dum/ServerInviteSession.hxx
include/resip/dum/ServerOutOfDialogReq.hxx
include/resip/dum/ServerPagerMessage.hxx
include/resip/dum/ServerPublication.hxx
include/resip/dum/ServerRegistration.hxx
include/resip/dum/ServerSubscription.hxx
include/resip/dum/ServerSubscriptionFunctor.hxx
include/resip/dum/SubscriptionCreator.hxx
include/resip/dum/SubscriptionHandler.hxx
include/resip/dum/SubscriptionPersistenceManager.hxx
include/resip/dum/SubscriptionState.hxx
include/resip/dum/TargetCommand.hxx
include/resip/dum/TlsPeerAuthManager.hxx
include/resip/dum/TlsPeerIdentityInfoMessage.hxx
include/resip/dum/UsageUseException.hxx
include/resip/dum/UserAuthInfo.hxx
include/resip/dum/UserProfile.hxx
include/resip/dum/WsCookieAuthManager.hxx
include/resip/dum/ssl/
include/resip/dum/ssl/EncryptionManager.hxx
include/resip/stack/
include/resip/stack/AbandonServerTransaction.hxx
include/resip/stack/AddTransport.hxx
include/resip/stack/Aor.hxx
include/resip/stack/ApiCheck.hxx
include/resip/stack/ApiCheckList.hxx
include/resip/stack/ApplicationMessage.hxx
include/resip/stack/ApplicationSip.hxx
include/resip/stack/Auth.hxx
include/resip/stack/BasicDomainMatcher.hxx
include/resip/stack/BasicNonceHelper.hxx
include/resip/stack/BranchParameter.hxx
include/resip/stack/CSeqCategory.hxx
include/resip/stack/CallId.hxx
include/resip/stack/CancelClientInviteTransaction.hxx
include/resip/stack/CancelableTimerQueue.hxx
include/resip/stack/Compression.hxx
include/resip/stack/Connection.hxx
include/resip/stack/ConnectionBase.hxx
include/resip/stack/ConnectionManager.hxx
include/resip/stack/ConnectionTerminated.hxx
include/resip/stack/Contents.hxx
include/resip/stack/ContentsFactory.hxx
include/resip/stack/ContentsFactoryBase.hxx
include/resip/stack/Cookie.hxx
include/resip/stack/CpimContents.hxx
include/resip/stack/DataParameter.hxx
include/resip/stack/DateCategory.hxx
include/resip/stack/DeprecatedDialog.hxx
include/resip/stack/DialogInfoContents.hxx
include/resip/stack/Dispatcher.hxx
include/resip/stack/DnsInterface.hxx
include/resip/stack/DnsResult.hxx
include/resip/stack/DnsResultMessage.hxx
include/resip/stack/DomainMatcher.hxx
include/resip/stack/DtlsMessage.hxx
include/resip/stack/DtmfPayloadContents.hxx
include/resip/stack/Embedded.hxx
include/resip/stack/EnableFlowTimer.hxx
include/resip/stack/EventStackThread.hxx
include/resip/stack/ExistsOrDataParameter.hxx
include/resip/stack/ExistsParameter.hxx
include/resip/stack/ExpiresCategory.hxx
include/resip/stack/ExtendedDomainMatcher.hxx
include/resip/stack/ExtensionHeader.hxx
include/resip/stack/ExtensionParameter.hxx
include/resip/stack/ExternalBodyContents.hxx
include/resip/stack/FloatParameter.hxx
include/resip/stack/GenericContents.hxx
include/resip/stack/GenericPidfContents.hxx
include/resip/stack/GenericUri.hxx
include/resip/stack/HEPSipMessageLoggingHandler.hxx
include/resip/stack/HeaderFieldValue.hxx
include/resip/stack/HeaderFieldValueList.hxx
include/resip/stack/HeaderHash.hxx
include/resip/stack/HeaderTypes.hxx
include/resip/stack/Headers.hxx
include/resip/stack/Helper.hxx
include/resip/stack/IntegerCategory.hxx
include/resip/stack/IntegerParameter.hxx
include/resip/stack/InternalTransport.hxx
include/resip/stack/InteropHelper.hxx
include/resip/stack/InterruptableStackThread.hxx
include/resip/stack/InvalidContents.hxx
include/resip/stack/InvokeAfterSocketCreationFunc.hxx
include/resip/stack/KeepAliveMessage.hxx
include/resip/stack/KeepAlivePong.hxx
include/resip/stack/LazyParser.hxx
include/resip/stack/MarkListener.hxx
include/resip/stack/Message.hxx
include/resip/stack/MessageDecorator.hxx
include/resip/stack/MessageFilterRule.hxx
include/resip/stack/MessageWaitingContents.hxx
include/resip/stack/MethodHash.hxx
include/resip/stack/MethodTypes.hxx
include/resip/stack/Mime.hxx
include/resip/stack/MsgHeaderScanner.hxx
include/resip/stack/MultipartAlternativeContents.hxx
include/resip/stack/MultipartMixedContents.hxx
include/resip/stack/MultipartRelatedContents.hxx
include/resip/stack/MultipartSignedContents.hxx
include/resip/stack/NameAddr.hxx
include/resip/stack/NonceHelper.hxx
include/resip/stack/OctetContents.hxx
include/resip/stack/Parameter.hxx
include/resip/stack/ParameterHash.hxx
include/resip/stack/ParameterTypeEnums.hxx
include/resip/stack/ParameterTypes.hxx
include/resip/stack/ParserCategories.hxx
include/resip/stack/ParserCategory.hxx
include/resip/stack/ParserContainer.hxx
include/resip/stack/ParserContainerBase.hxx
include/resip/stack/Pidf.hxx
include/resip/stack/Pkcs7Contents.hxx
include/resip/stack/Pkcs8Contents.hxx
include/resip/stack/PlainContents.hxx
include/resip/stack/PollStatistics.hxx
include/resip/stack/PrivacyCategory.hxx
include/resip/stack/QValue.hxx
include/resip/stack/QValueParameter.hxx
include/resip/stack/QuotedDataParameter.hxx
include/resip/stack/RAckCategory.hxx
include/resip/stack/RemoveTransport.hxx
include/resip/stack/RequestLine.hxx
include/resip/stack/Rlmi.hxx
include/resip/stack/RportParameter.hxx
include/resip/stack/SERNonceHelper.hxx
include/resip/stack/SdpContents.hxx
include/resip/stack/SecurityAttributes.hxx
include/resip/stack/SecurityTypes.hxx
include/resip/stack/SendData.hxx
include/resip/stack/ShutdownMessage.hxx
include/resip/stack/SipConfigParse.hxx
include/resip/stack/SipFrag.hxx
include/resip/stack/SipMessage.hxx
include/resip/stack/SipStack.hxx
include/resip/stack/StackThread.hxx
include/resip/stack/StartLine.hxx
include/resip/stack/StatelessHandler.hxx
include/resip/stack/StatisticsHandler.hxx
include/resip/stack/StatisticsManager.hxx
include/resip/stack/StatisticsMessage.hxx
include/resip/stack/StatusLine.hxx
include/resip/stack/StringCategory.hxx
include/resip/stack/Symbols.hxx
include/resip/stack/TcpBaseTransport.hxx
include/resip/stack/TcpConnectState.hxx
include/resip/stack/TcpConnection.hxx
include/resip/stack/TcpTransport.hxx
include/resip/stack/TerminateFlow.hxx
include/resip/stack/TimeAccumulate.hxx
include/resip/stack/TimerMessage.hxx
include/resip/stack/TimerQueue.hxx
include/resip/stack/Token.hxx
include/resip/stack/TokenOrQuotedStringCategory.hxx
include/resip/stack/TransactionController.hxx
include/resip/stack/TransactionControllerThread.hxx
include/resip/stack/TransactionMap.hxx
include/resip/stack/TransactionMessage.hxx
include/resip/stack/TransactionState.hxx
include/resip/stack/TransactionTerminated.hxx
include/resip/stack/TransactionUser.hxx
include/resip/stack/TransactionUserMessage.hxx
include/resip/stack/Transport.hxx
include/resip/stack/TransportFailure.hxx
include/resip/stack/TransportSelector.hxx
include/resip/stack/TransportSelectorThread.hxx
include/resip/stack/TransportThread.hxx
include/resip/stack/TuIM.hxx
include/resip/stack/TuSelector.hxx
include/resip/stack/Tuple.hxx
include/resip/stack/TupleMarkManager.hxx
include/resip/stack/UInt32Category.hxx
include/resip/stack/UInt32Parameter.hxx
include/resip/stack/UdpTransport.hxx
include/resip/stack/UnknownHeaderType.hxx
include/resip/stack/UnknownParameter.hxx
include/resip/stack/UnknownParameterType.hxx
include/resip/stack/Uri.hxx
include/resip/stack/ValueFifo.hxx
include/resip/stack/Via.hxx
include/resip/stack/WarningCategory.hxx
include/resip/stack/Worker.hxx
include/resip/stack/WorkerThread.hxx
include/resip/stack/WsBaseTransport.hxx
include/resip/stack/WsConnection.hxx
include/resip/stack/WsConnectionBase.hxx
include/resip/stack/WsConnectionValidator.hxx
include/resip/stack/WsCookieContext.hxx
include/resip/stack/WsCookieContextFactory.hxx
include/resip/stack/WsDecorator.hxx
include/resip/stack/WsFrameExtractor.hxx
include/resip/stack/WsTransport.hxx
include/resip/stack/X509Contents.hxx
include/resip/stack/ZeroOutStatistics.hxx
include/resip/stack/ssl/
include/resip/stack/ssl/DtlsTransport.hxx
include/resip/stack/ssl/MacSecurity.hxx
include/resip/stack/ssl/Security.hxx
include/resip/stack/ssl/TlsBaseTransport.hxx
include/resip/stack/ssl/TlsConnection.hxx
include/resip/stack/ssl/TlsTransport.hxx
include/resip/stack/ssl/WinSecurity.hxx
include/resip/stack/ssl/WssConnection.hxx
include/resip/stack/ssl/WssTransport.hxx
include/rutil/
include/rutil/AbstractFifo.hxx
include/rutil/AndroidLogger.hxx
include/rutil/AsyncBool.hxx
include/rutil/AsyncID.hxx
include/rutil/AsyncProcessHandler.hxx
include/rutil/BaseException.hxx
include/rutil/CircularBuffer.hxx
include/rutil/Coders.hxx
include/rutil/Condition.hxx
include/rutil/ConfigParse.hxx
include/rutil/CongestionManager.hxx
include/rutil/ConsumerFifoBuffer.hxx
include/rutil/CountStream.hxx
include/rutil/Data.hxx
include/rutil/DataException.hxx
include/rutil/DataStream.hxx
include/rutil/DigestStream.hxx
include/rutil/DinkyPool.hxx
include/rutil/DnsUtil.hxx
include/rutil/FdPoll.hxx
include/rutil/FdSetIOObserver.hxx
include/rutil/Fifo.hxx
include/rutil/FileSystem.hxx
include/rutil/FiniteFifo.hxx
include/rutil/GeneralCongestionManager.hxx
include/rutil/GenericIPAddress.hxx
include/rutil/GenericTimerQueue.hxx
include/rutil/HashMap.hxx
include/rutil/HeapInstanceCounter.hxx
include/rutil/Inserter.hxx
include/rutil/IntrusiveListElement.hxx
include/rutil/KeyValueStore.hxx
include/rutil/Lock.hxx
include/rutil/Lockable.hxx
include/rutil/Log.hxx
include/rutil/Logger.hxx
include/rutil/MD5Stream.hxx
include/rutil/Mutex.hxx
include/rutil/NetNs.hxx
include/rutil/ParseBuffer.hxx
include/rutil/ParseException.hxx
include/rutil/Poll.hxx
include/rutil/PoolBase.hxx
include/rutil/ProducerFifoBuffer.hxx
include/rutil/RADIUSDigestAuthenticator.hxx
include/rutil/RWMutex.hxx
include/rutil/Random.hxx
include/rutil/RecursiveMutex.hxx
include/rutil/ResipAssert.h
include/rutil/SelectInterruptor.hxx
include/rutil/ServerProcess.hxx
include/rutil/Sha1.hxx
include/rutil/SharedCount.hxx
include/rutil/SharedPtr.hxx
include/rutil/Socket.hxx
include/rutil/StlPoolAllocator.hxx
include/rutil/Subsystem.hxx
include/rutil/SysLogBuf.hxx
include/rutil/SysLogStream.hxx
include/rutil/ThreadIf.hxx
include/rutil/Time.hxx
include/rutil/TimeLimitFifo.hxx
include/rutil/Timer.hxx
include/rutil/TransportType.hxx
include/rutil/WinCompat.hxx
include/rutil/WinLeakCheck.hxx
include/rutil/XMLCursor.hxx
include/rutil/compat.hxx
include/rutil/dns/
include/rutil/dns/AresCompat.hxx
include/rutil/dns/AresDns.hxx
include/rutil/dns/DnsAAAARecord.hxx
include/rutil/dns/DnsCnameRecord.hxx
include/rutil/dns/DnsHandler.hxx
include/rutil/dns/DnsHostRecord.hxx
include/rutil/dns/DnsNaptrRecord.hxx
include/rutil/dns/DnsResourceRecord.hxx
include/rutil/dns/DnsSrvRecord.hxx
include/rutil/dns/DnsStub.hxx
include/rutil/dns/ExternalDns.hxx
include/rutil/dns/ExternalDnsFactory.hxx
include/rutil/dns/LocalDns.hxx
include/rutil/dns/QueryTypes.hxx
include/rutil/dns/RRCache.hxx
include/rutil/dns/RRFactory.hxx
include/rutil/dns/RRList.hxx
include/rutil/dns/RROverlay.hxx
include/rutil/dns/RRVip.hxx
include/rutil/hep/
include/rutil/hep/HepAgent.hxx
include/rutil/hep/ResipHep.hxx
include/rutil/resipfaststreams.hxx
include/rutil/ssl/
include/rutil/ssl/OpenSSLInit.hxx
include/rutil/ssl/SHA1Stream.hxx
include/rutil/stun/
include/rutil/stun/Stun.hxx
include/rutil/stun/Udp.hxx
include/rutil/vmd5.hxx
include/rutil/vthread.hxx
include/rutil/wince/
include/rutil/wince/WceCompat.hxx
lib/libdum.la
@lib lib/libdum.so.${LIBdum_VERSION}
lib/libresip.la
@lib lib/libresip.so.${LIBresip_VERSION}
lib/librutil.la
@lib lib/librutil.so.${LIBrutil_VERSION}
lib/resiprocate/

View File

@ -0,0 +1,122 @@
@comment $OpenBSD: PLIST-repro,v 1.1.1.1 2020/05/29 21:41:23 feinerer Exp $
@newgroup _repro:855
@newuser _repro:855:855:daemon:repro user:/var/db/repro:/sbin/nologin
@extraunexec rm -f /var/db/repro/*
@extraunexec rm -f /var/log/repro/*
@rcscript ${RCDIR}/repro
include/repro/
include/repro/AbstractDb.hxx
include/repro/AccountingCollector.hxx
include/repro/Ack200DoneMessage.hxx
include/repro/AclStore.hxx
include/repro/AsyncProcessor.hxx
include/repro/AsyncProcessorMessage.hxx
include/repro/AsyncProcessorWorker.hxx
include/repro/AuthenticatorFactory.hxx
include/repro/BasicWsConnectionValidator.hxx
include/repro/BerkeleyDb.hxx
include/repro/CommandServer.hxx
include/repro/CommandServerThread.hxx
include/repro/ConfigStore.hxx
include/repro/FilterStore.hxx
include/repro/ForkControlMessage.hxx
include/repro/HttpBase.hxx
include/repro/HttpConnection.hxx
include/repro/MySqlDb.hxx
include/repro/OutboundTarget.hxx
include/repro/PersistentMessageQueue.hxx
include/repro/Plugin.hxx
include/repro/PostgreSqlDb.hxx
include/repro/Processor.hxx
include/repro/ProcessorChain.hxx
include/repro/ProcessorMessage.hxx
include/repro/Proxy.hxx
include/repro/ProxyConfig.hxx
include/repro/QValueTarget.hxx
include/repro/RRDecorator.hxx
include/repro/RegSyncClient.hxx
include/repro/RegSyncServer.hxx
include/repro/RegSyncServerThread.hxx
include/repro/Registrar.hxx
include/repro/ReproAuthenticatorFactory.hxx
include/repro/ReproRADIUSServerAuthManager.hxx
include/repro/ReproRunner.hxx
include/repro/ReproServerAuthManager.hxx
include/repro/ReproTlsPeerAuthManager.hxx
include/repro/ReproVersion.hxx
include/repro/RequestContext.hxx
include/repro/ResponseContext.hxx
include/repro/RouteStore.hxx
include/repro/SiloStore.hxx
include/repro/SqlDb.hxx
include/repro/StaticRegStore.hxx
include/repro/Store.hxx
include/repro/Target.hxx
include/repro/TimerCMessage.hxx
include/repro/TlsPeerIdentityInfo.hxx
include/repro/TlsPeerIdentityStore.hxx
include/repro/UserAuthGrabber.hxx
include/repro/UserInfoMessage.hxx
include/repro/UserStore.hxx
include/repro/WebAdmin.hxx
include/repro/WebAdminThread.hxx
include/repro/XmlRpcConnection.hxx
include/repro/XmlRpcServerBase.hxx
include/repro/monkeys/
include/repro/monkeys/AmIResponsible.hxx
include/repro/monkeys/CertificateAuthenticator.hxx
include/repro/monkeys/ConstantLocationMonkey.hxx
include/repro/monkeys/CookieAuthenticator.hxx
include/repro/monkeys/DigestAuthenticator.hxx
include/repro/monkeys/GeoProximityTargetSorter.hxx
include/repro/monkeys/GruuMonkey.hxx
include/repro/monkeys/IsTrustedNode.hxx
include/repro/monkeys/LocationServer.hxx
include/repro/monkeys/MessageSilo.hxx
include/repro/monkeys/OutboundTargetHandler.hxx
include/repro/monkeys/QValueTargetHandler.hxx
include/repro/monkeys/RADIUSAuthenticator.hxx
include/repro/monkeys/RecursiveRedirect.hxx
include/repro/monkeys/RequestFilter.hxx
include/repro/monkeys/SimpleStaticRoute.hxx
include/repro/monkeys/SimpleTargetHandler.hxx
include/repro/monkeys/StaticRoute.hxx
include/repro/monkeys/StrictRouteFixup.hxx
include/repro/reproInfo.hxx
include/repro/stateAgents/
include/repro/stateAgents/CertPublicationHandler.hxx
include/repro/stateAgents/CertServer.hxx
include/repro/stateAgents/CertSubscriptionHandler.hxx
include/repro/stateAgents/PresencePublicationHandler.hxx
include/repro/stateAgents/PresenceServer.hxx
include/repro/stateAgents/PresenceSubscriptionHandler.hxx
include/repro/stateAgents/PrivateKeyPublicationHandler.hxx
include/repro/stateAgents/PrivateKeySubscriptionHandler.hxx
lib/librepro.la
@lib lib/librepro.so.${LIBrepro_VERSION}
lib/resiprocate/repro/
lib/resiprocate/repro/plugins/
@so lib/resiprocate/repro/plugins/libexample.so
@man man/man8/repro.8
@man man/man8/reprocmd.8
@bin sbin/queuetostream
@bin sbin/repro
@bin sbin/reprocmd
share/doc/resiprocate/
share/doc/resiprocate/repro/
share/doc/resiprocate/repro/README_MySQL.txt
share/doc/resiprocate/repro/README_PostgreSQL.txt
share/doc/resiprocate/repro/create_mysql_reprodb.sql
share/doc/resiprocate/repro/create_postgresql_reprodb.sql
share/examples/resiprocate/repro/
@sample ${SYSCONFDIR}/repro/
share/examples/resiprocate/repro/repro.config
@sample ${SYSCONFDIR}/repro/repro.config
share/examples/resiprocate/repro/users.txt
@mode 640
@group _repro
@sample ${SYSCONFDIR}/repro/users.txt
@mode 0750
@owner _repro
@sample /var/log/repro/
@sample /var/db/repro/

View File

@ -0,0 +1,65 @@
@comment $OpenBSD: PLIST-return,v 1.1.1.1 2020/05/29 21:41:23 feinerer Exp $
@newgroup _return:856
@newuser _return:856:856:daemon:reTurnServer user:/var/empty:/sbin/nologin
@extraunexec rm -f /var/log/reTurnServer/*
@rcscript ${RCDIR}/reTurnServer
include/reTurn/
include/reTurn/AsyncSocketBase.hxx
include/reTurn/AsyncSocketBaseHandler.hxx
include/reTurn/AsyncTcpSocketBase.hxx
include/reTurn/AsyncTlsSocketBase.hxx
include/reTurn/AsyncUdpSocketBase.hxx
include/reTurn/ChannelManager.hxx
include/reTurn/ConnectionManager.hxx
include/reTurn/DataBuffer.hxx
include/reTurn/ReTurnConfig.hxx
include/reTurn/ReTurnSubsystem.hxx
include/reTurn/RemotePeer.hxx
include/reTurn/RequestHandler.hxx
include/reTurn/StunAuth.hxx
include/reTurn/StunMessage.hxx
include/reTurn/StunTuple.hxx
include/reTurn/TcpConnection.hxx
include/reTurn/TcpServer.hxx
include/reTurn/TlsConnection.hxx
include/reTurn/TlsServer.hxx
include/reTurn/TurnAllocation.hxx
include/reTurn/TurnAllocationKey.hxx
include/reTurn/TurnAllocationManager.hxx
include/reTurn/TurnManager.hxx
include/reTurn/TurnPermission.hxx
include/reTurn/UdpRelayServer.hxx
include/reTurn/UdpServer.hxx
include/reTurn/UserAuthData.hxx
include/reTurn/client/
include/reTurn/client/ErrorCode.hxx
include/reTurn/client/TurnAsyncSocket.hxx
include/reTurn/client/TurnAsyncSocketHandler.hxx
include/reTurn/client/TurnAsyncTcpSocket.hxx
include/reTurn/client/TurnAsyncTlsSocket.hxx
include/reTurn/client/TurnAsyncUdpSocket.hxx
include/reTurn/client/TurnSocket.hxx
include/reTurn/client/TurnTcpSocket.hxx
include/reTurn/client/TurnTlsSocket.hxx
include/reTurn/client/TurnUdpSocket.hxx
include/reTurn/reTurnServer.hxx
lib/libreTurnClient.la
@lib lib/libreTurnClient.so.${LIBreTurnClient_VERSION}
lib/libreTurnCommon.la
@lib lib/libreTurnCommon.so.${LIBreTurnCommon_VERSION}
lib/resiprocate/reTurnServer/
lib/resiprocate/reTurnServer/psql-user-extract
@man man/man8/reTurnServer.8
@bin sbin/reTurnServer
share/examples/resiprocate/
share/examples/resiprocate/reTurn/
@sample ${SYSCONFDIR}/reTurn/
share/examples/resiprocate/reTurn/reTurnServer.config
@sample ${SYSCONFDIR}/reTurn/reTurnServer.config
share/examples/resiprocate/reTurn/users.txt
@mode 640
@group _return
@sample ${SYSCONFDIR}/reTurn/users.txt
@mode 0750
@owner _return
@sample /var/log/reTurnServer/

View File

@ -0,0 +1,10 @@
#!/bin/ksh
#
# $OpenBSD: reTurnServer.rc,v 1.1.1.1 2020/05/29 21:41:23 feinerer Exp $
daemon="${TRUEPREFIX}/sbin/reTurnServer"
daemon_flags="${SYSCONFDIR}/reTurn/reTurnServer.config"
. /etc/rc.d/rc.subr
rc_cmd $1

View File

@ -0,0 +1,10 @@
#!/bin/ksh
#
# $OpenBSD: repro.rc,v 1.1.1.1 2020/05/29 21:41:23 feinerer Exp $
daemon="${TRUEPREFIX}/sbin/repro"
daemon_flags="${SYSCONFDIR}/repro/repro.config"
. /etc/rc.d/rc.subr
rc_cmd $1