2013-04-04 16:15:12 +00:00
#
2018-02-24 10:22:36 +00:00
# Copyright (C) 2014-2018 OpenWrt.org
2013-04-04 16:15:12 +00:00
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := siproxd
2017-06-19 03:37:16 +00:00
PKG_VERSION := 0.8.2
2018-11-25 14:15:27 +00:00
PKG_RELEASE := 5
2013-04-04 16:15:12 +00:00
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := @SF/siproxd
2017-07-10 09:50:44 +00:00
PKG_HASH := 526ce491b0cc189e2766c62432aff3ebb995e551d7261ea32c02a90c7bf7ccd0
2013-04-04 16:15:12 +00:00
PKG_FIXUP := autoreconf
PKG_INSTALL := 1
PKG_BUILD_PARALLEL := 1
2014-11-05 20:54:40 +00:00
PKG_LICENSE := GPL-2.0+
2014-11-04 15:00:37 +00:00
PKG_LICENSE_FILES := COPYING
2013-04-04 16:15:12 +00:00
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / s i p r o x d / D e f a u l t
SECTION:= net
CATEGORY:= Network
SUBMENU:= Telephony
URL:= http://siproxd.sourceforge.net/
e n d e f
d e f i n e P a c k a g e / s i p r o x d
$( call Package/siproxd/Default)
DEPENDS:= +libltdl +libpthread +libosip2
TITLE:= SIP ( Session Initiation Protocol) proxy
MENU:= 1
e n d e f
d e f i n e P a c k a g e / s i p r o x d / d e s c r i p t i o n
2018-11-25 14:08:35 +00:00
Siproxd is a proxy/masquerading daemon for the SIP protocol. Refer to https://openwrt.org/docs/guide-user/services/voip/siproxd for configuration details and examples.
2013-04-04 16:15:12 +00:00
e n d e f
d e f i n e P a c k a g e / s i p r o x d / c o n f f i l e s
/ e t c / c o n f i g / s i p r o x d
e n d e f
CONFIGURE_ARGS += \
--with-libosip-prefix= " $( STAGING_DIR) /usr " \
2018-02-24 10:22:36 +00:00
--disable-ltdl-convenience \
2013-04-04 16:15:12 +00:00
--disable-doc
MAKE_FLAGS += \
2018-02-24 10:22:36 +00:00
SUBDIRS = "src scripts contrib"
2013-04-04 16:15:12 +00:00
d e f i n e P a c k a g e / s i p r o x d / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/sbin
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/sbin/siproxd $( 1) /usr/sbin
$( INSTALL_DIR) $( 1) /etc/config
$( INSTALL_CONF) ./files/siproxd.config $( 1) /etc/config/siproxd
$( INSTALL_DIR) $( 1) /etc/init.d
$( INSTALL_BIN) ./files/siproxd.init $( 1) /etc/init.d/siproxd
e n d e f
d e f i n e B u i l d P l u g i n
2018-04-10 19:14:09 +00:00
define Package/siproxd-mod-$( subst _,-,$( 1) )
2013-04-04 16:15:12 +00:00
$$ ( call Package/siproxd/Default)
TITLE:= siproxd $( 1) plugin
DEPENDS:= siproxd
endef
2018-04-10 19:14:09 +00:00
define Package/siproxd-mod-$( subst _,-,$( 1) ) /install
2013-04-04 16:15:12 +00:00
$( INSTALL_DIR) $$ ( 1) /usr/lib/siproxd
2018-02-24 10:25:07 +00:00
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/lib/siproxd/plugin_$( 1) .so $$ ( 1) /usr/lib/siproxd
2013-04-04 16:15:12 +00:00
endef
2018-04-10 19:14:09 +00:00
$$ ( eval $$ ( call BuildPackage,siproxd-mod-$( subst _,-,$( 1) ) ) )
2013-04-04 16:15:12 +00:00
e n d e f
$( eval $ ( call BuildPackage ,siproxd ) )
2017-06-19 03:37:16 +00:00
$( eval $ ( call BuildPlugin ,codecfilter ) )
2013-04-04 16:15:12 +00:00
$( eval $ ( call BuildPlugin ,defaulttarget ) )
$( eval $ ( call BuildPlugin ,demo ) )
$( eval $ ( call BuildPlugin ,fix_bogus_via ) )
2017-06-19 03:37:16 +00:00
$( eval $ ( call BuildPlugin ,fix_DTAG ) )
$( eval $ ( call BuildPlugin ,fix_fbox_anoncall ) )
2013-04-04 16:15:12 +00:00
$( eval $ ( call BuildPlugin ,logcall ) )
$( eval $ ( call BuildPlugin ,prefix ) )
$( eval $ ( call BuildPlugin ,regex ) )
$( eval $ ( call BuildPlugin ,shortdial ) )
2017-06-19 03:37:16 +00:00
$( eval $ ( call BuildPlugin ,stripheader ) )
2013-04-04 16:15:12 +00:00
$( eval $ ( call BuildPlugin ,stun ) )
2017-06-19 03:37:16 +00:00
$( eval $ ( call BuildPlugin ,siptrunk ) )