From 24b78f21f17fb34063edcb064dc01a3c4130d6e3 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 18 Mar 2006 22:03:33 +0000 Subject: [PATCH] Added new modules, modularize them SVN-Revision: 3404 --- openwrt/package/openser/Config.in | 149 ++++++++++++++++-- openwrt/package/openser/Makefile | 29 +++- .../ipkg/openser-mod-avp-radius.control | 5 + .../ipkg/openser-mod-dispatcher.control | 5 + .../ipkg/openser-mod-diversion.control | 5 + .../ipkg/openser-mod-flatstore.control | 5 + .../openser/ipkg/openser-mod-gflags.control | 5 + .../ipkg/openser-mod-group-radius.control | 5 + .../openser/ipkg/openser-mod-group.control | 5 + .../openser/ipkg/openser-mod-msilo.control | 5 + .../openser/ipkg/openser-mod-options.control | 5 + .../openser/ipkg/openser-mod-pdt.control | 5 + .../ipkg/openser-mod-permissions.control | 5 + .../openser/ipkg/openser-mod-pike.control | 5 + .../ipkg/openser-mod-uac-redirect.control | 5 + .../openser/ipkg/openser-mod-uac.control | 5 + .../openser/ipkg/openser-mod-uri-db.control | 5 + .../ipkg/openser-mod-uri-radius.control | 5 + .../openser/ipkg/openser-mod-uri.control | 5 + 19 files changed, 247 insertions(+), 16 deletions(-) create mode 100644 openwrt/package/openser/ipkg/openser-mod-avp-radius.control create mode 100644 openwrt/package/openser/ipkg/openser-mod-dispatcher.control create mode 100644 openwrt/package/openser/ipkg/openser-mod-diversion.control create mode 100644 openwrt/package/openser/ipkg/openser-mod-flatstore.control create mode 100644 openwrt/package/openser/ipkg/openser-mod-gflags.control create mode 100644 openwrt/package/openser/ipkg/openser-mod-group-radius.control create mode 100644 openwrt/package/openser/ipkg/openser-mod-group.control create mode 100644 openwrt/package/openser/ipkg/openser-mod-msilo.control create mode 100644 openwrt/package/openser/ipkg/openser-mod-options.control create mode 100644 openwrt/package/openser/ipkg/openser-mod-pdt.control create mode 100644 openwrt/package/openser/ipkg/openser-mod-permissions.control create mode 100644 openwrt/package/openser/ipkg/openser-mod-pike.control create mode 100644 openwrt/package/openser/ipkg/openser-mod-uac-redirect.control create mode 100644 openwrt/package/openser/ipkg/openser-mod-uac.control create mode 100644 openwrt/package/openser/ipkg/openser-mod-uri-db.control create mode 100644 openwrt/package/openser/ipkg/openser-mod-uri-radius.control create mode 100644 openwrt/package/openser/ipkg/openser-mod-uri.control diff --git a/openwrt/package/openser/Config.in b/openwrt/package/openser/Config.in index 9bb743a9b4..4927d921e6 100644 --- a/openwrt/package/openser/Config.in +++ b/openwrt/package/openser/Config.in @@ -7,14 +7,6 @@ config BR2_PACKAGE_OPENSER Open SIP Express Router (OpenSER) is a high-performance, configurable, free SIP server. -config BR2_PACKAGE_OPENSER_MOD_MYSQL - tristate "openser-mod-mysql - MySQL support" - default m - select BR2_PACKAGE_LIBMYSQLCLIENT - select BR2_PACKAGE_OPENSER - help - Enable MySQL support - config BR2_PACKAGE_OPENSER_MOD_AUTH tristate "openser-mod-auth - Authentication support" default m @@ -38,6 +30,14 @@ config BR2_PACKAGE_OPENSER_MOD_AUTH_RADIUS help Authentication against RADIUS +config BR2_PACKAGE_OPENSER_MOD_AVP_RADIUS + tristate "openser-mod-avp-radius - AVP with RADIUS support" + default m + select BR2_PACKAGE_OPENSER + select BR2_PACKAGE_LIBRADIUSCLIENT_NG + help + Enable AVP with RADIUS support + config BR2_PACKAGE_OPENSER_MOD_AVPOPS tristate "openser-mod-avpops - AVP options support" default m @@ -45,6 +45,55 @@ config BR2_PACKAGE_OPENSER_MOD_AVPOPS help Enable AVP options support +config BR2_PACKAGE_OPENSER_MOD_DISPATCHER + tristate "openser-mod-dispatcher - dispatcher support" + default m + select BR2_PACKAGE_OPENSER + help + Enable dispatcher options support + +config BR2_PACKAGE_OPENSER_MOD_DIVERSION + tristate "openser-mod-diversion - diversion support" + default m + select BR2_PACKAGE_OPENSER + help + Enable diversion options support + +config BR2_PACKAGE_OPENSER_MOD_FLATSTORE + tristate "openser-mod-flatstore - flatstore support" + default m + select BR2_PACKAGE_OPENSER + help + Enable flatstore support + +config BR2_PACKAGE_OPENSER_MOD_GFLAGS + tristate "openser-mod-gflags - gflags support" + default m + select BR2_PACKAGE_OPENSER + help + Enable GFlags support + +config BR2_PACKAGE_OPENSER_MOD_GROUP + tristate "openser-mod-group - group support" + default m + select BR2_PACKAGE_OPENSER + help + Enable group support + +config BR2_PACKAGE_OPENSER_MOD_GROUP_RADIUS + tristate "openser-mod-group-radius - group with RADIUS support" + default m + select BR2_PACKAGE_OPENSER + help + Enable group with RADIUS support + +config BR2_PACKAGE_OPENSER_MOD_LCR + tristate "openser-mod-lcr - Least Cost Routing support" + default m + select BR2_PACKAGE_OPENSER + select BR2_PACKAGE_OPENSER_MOD_MYSQL + help + Enable Least Cost Routing support config BR2_PACKAGE_OPENSER_MOD_MEDIAPROXY tristate "openser-mod-mediaproxy - Mediaproxy support" @@ -53,13 +102,20 @@ config BR2_PACKAGE_OPENSER_MOD_MEDIAPROXY help Enable mediaproxy support -config BR2_PACKAGE_OPENSER_MOD_LCR - tristate "openser-mod-lcr - Least Cost Routing support" - default m - select BR2_PACKAGE_OPENSER - select BR2_PACKAGE_OPENSER_MOD_MYSQL - help - Enable Least Cost Routing support +config BR2_PACKAGE_OPENSER_MOD_MSILO + tristate "openser-mod-msilo - MSilo support" + default m + select BR2_PACKAGE_OPENSER + help + Enable msilo support + +config BR2_PACKAGE_OPENSER_MOD_MYSQL + tristate "openser-mod-mysql - MySQL support" + default m + select BR2_PACKAGE_LIBMYSQLCLIENT + select BR2_PACKAGE_OPENSER + help + Enable MySQL support config BR2_PACKAGE_OPENSER_MOD_NATHELPER tristate "openser-mod-nathelper - NAT helper support" @@ -68,6 +124,34 @@ config BR2_PACKAGE_OPENSER_MOD_NATHELPER help NAT helper support +config BR2_PACKAGE_OPENSER_MOD_OPTIONS + tristate "openser-mod-options - options support" + default m + select BR2_PACKAGE_OPENSER + help + Enable options support + +config BR2_PACKAGE_OPENSER_MOD_PDT + tristate "openser-mod-pdt - PDT support" + default m + select BR2_PACKAGE_OPENSER + help + Enable pdt support + +config BR2_PACKAGE_OPENSER_MOD_PERMISSIONS + tristate "openser-mod-permissions - Permissions support" + default m + select BR2_PACKAGE_OPENSER + help + Enable permissions support + +config BR2_PACKAGE_OPENSER_MOD_PIKE + tristate "openser-mod-pike - PIKE support" + default m + select BR2_PACKAGE_OPENSER + help + Enable pike support + config BR2_PACKAGE_OPENSER_MOD_SMS tristate "openser-mod-sms - SMS support" default m @@ -82,6 +166,41 @@ config BR2_PACKAGE_OPENSER_MOD_SPEEDDIAL help Speed Dial support +config BR2_PACKAGE_OPENSER_MOD_UAC + tristate "openser-mod-uac - UAC support" + default m + select BR2_PACKAGE_OPENSER + help + Enable UAC support + +config BR2_PACKAGE_OPENSER_MOD_UAC_REDIRECT + tristate "openser-mod-uac - UAC redirect support" + default m + select BR2_PACKAGE_OPENSER + help + Enable UAC redirect support + +config BR2_PACKAGE_OPENSER_MOD_URI + tristate "openser-mod-uri - URI support" + default m + select BR2_PACKAGE_OPENSER + help + Enable URI support + +config BR2_PACKAGE_OPENSER_MOD_URI_DB + tristate "openser-mod-uri-db - URI database support" + default m + select BR2_PACKAGE_OPENSER + help + Enable URI database support + +config BR2_PACKAGE_OPENSER_MOD_URI_RADIUS + tristate "openser-mod-uri-radius - URI with RADIUS support" + default m + select BR2_PACKAGE_OPENSER + help + Enable URI with RADIUS support + config BR2_PACKAGE_OPENSER_MOD_XLOG tristate "openser-mod-xlog - Logging support" default m diff --git a/openwrt/package/openser/Makefile b/openwrt/package/openser/Makefile index a94bc6b080..28d82dbaf3 100644 --- a/openwrt/package/openser/Makefile +++ b/openwrt/package/openser/Makefile @@ -34,13 +34,30 @@ $(eval $(call PKG_template,OPENSER_MOD_ACCOUNTING,openser-mod-acc,$(PKG_VERSION) $(eval $(call PKG_template,OPENSER_MOD_AUTH,openser-mod-auth,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_template,OPENSER_MOD_AUTH_DB,openser-mod-auth-db,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_template,OPENSER_MOD_AUTH_RADIUS,openser-mod-auth-radius,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,OPENSER_MOD_AVP_RADIUS,openser-mod-avp-radius,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_template,OPENSER_MOD_AVPOPS,openser-mod-avpops,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,OPENSER_MOD_DISPATCHER,openser-mod-dispatcher,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,OPENSER_MOD_DIVERSION,openser-mod-diversion,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,OPENSER_MOD_FLATSTORE,openser-mod-flatstore,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,OPENSER_MOD_GFLAGS,openser-mod-gflags,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,OPENSER_MOD_GROUP,openser-mod-group,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,OPENSER_MOD_GROUP_RADIUS,openser-mod-group-radius,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_template,OPENSER_MOD_LCR,openser-mod-lcr,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_template,OPENSER_MOD_MEDIAPROXY,openser-mod-mediaproxy,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,OPENSER_MOD_MSILO,openser-mod-msilo,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_template,OPENSER_MOD_MYSQL,openser-mod-mysql,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_template,OPENSER_MOD_NATHELPER,openser-mod-nathelper,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,OPENSER_MOD_OPTIONS,openser-mod-options,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,OPENSER_MOD_PDT,openser-mod-pdt,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,OPENSER_MOD_PERMISSIONS,openser-mod-permissions,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,OPENSER_MOD_PIKE,openser-mod-pike,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_template,OPENSER_MOD_SMS,openser-mod-sms,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) -$(eval $(call PKG_template,OPENSER_MOD_SPEEDDIAL,openser-mod-speeddial,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,OPENSER_MOD_UAC,openser-mod-uac,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,OPENSER_MOD_UAC_REDIRECT,openser-mod-uac-redirect,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,OPENSER_MOD_URI,openser-mod-uri,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,OPENSER_MOD_URI_DB,openser-mod-uri-db,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,OPENSER_MOD_URI_RADIUS,openser-mod-uri-radius,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,OPENSER_MOD_AUTH_RADIUS,openser-mod-auth-radius,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_template,OPENSER_MOD_XLOG,openser-mod-xlog,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_mod_template,OPENSER_MOD_ACCOUNTING,acc)) @@ -57,10 +74,20 @@ $(eval $(call PKG_mod_template,OPENSER_MOD_GROUP,group)) $(eval $(call PKG_mod_template,OPENSER_MOD_GROUP_RADIUS,group_radius)) $(eval $(call PKG_mod_template,OPENSER_MOD_LCR,lcr)) $(eval $(call PKG_mod_template,OPENSER_MOD_MEDIAPROXY,mediaproxy)) +$(eval $(call PKG_mod_template,OPENSER_MOD_MSILO,msilo)) $(eval $(call PKG_mod_template,OPENSER_MOD_MYSQL,mysql)) $(eval $(call PKG_mod_template,OPENSER_MOD_NATHELPER,nathelper)) +$(eval $(call PKG_mod_template,OPENSER_MOD_OPTIONS,options)) +$(eval $(call PKG_mod_template,OPENSER_MOD_PDT,pdt)) +$(eval $(call PKG_mod_template,OPENSER_MOD_PERMISSIONS,permissions)) +$(eval $(call PKG_mod_template,OPENSER_MOD_PIKE,pike)) $(eval $(call PKG_mod_template,OPENSER_MOD_SMS,sms)) $(eval $(call PKG_mod_template,OPENSER_MOD_SPEEDIAL,speeddial)) +$(eval $(call PKG_mod_template,OPENSER_MOD_UAC,uac)) +$(eval $(call PKG_mod_template,OPENSER_MOD_UAC_REDIRECT,uac_redirect)) +$(eval $(call PKG_mod_template,OPENSER_MOD_URI,uri)) +$(eval $(call PKG_mod_template,OPENSER_MOD_URI_DB,uri_db)) +$(eval $(call PKG_mod_template,OPENSER_MOD_URI_RADIUS,uri_radius)) $(eval $(call PKG_mod_template,OPENSER_MOD_XLOG,xlog)) # Select here the modules for the ipk package diff --git a/openwrt/package/openser/ipkg/openser-mod-avp-radius.control b/openwrt/package/openser/ipkg/openser-mod-avp-radius.control new file mode 100644 index 0000000000..1f0979791f --- /dev/null +++ b/openwrt/package/openser/ipkg/openser-mod-avp-radius.control @@ -0,0 +1,5 @@ +Package: openser-mod-avp-radius +Depends: openser +Section: net +Priority: optional +Description: avp_radius support for OpenSER diff --git a/openwrt/package/openser/ipkg/openser-mod-dispatcher.control b/openwrt/package/openser/ipkg/openser-mod-dispatcher.control new file mode 100644 index 0000000000..eabfd6d016 --- /dev/null +++ b/openwrt/package/openser/ipkg/openser-mod-dispatcher.control @@ -0,0 +1,5 @@ +Package: openser-mod-dispatcher +Depends: openser +Section: net +Priority: optional +Description: dispatcher support for OpenSER diff --git a/openwrt/package/openser/ipkg/openser-mod-diversion.control b/openwrt/package/openser/ipkg/openser-mod-diversion.control new file mode 100644 index 0000000000..bcf4011473 --- /dev/null +++ b/openwrt/package/openser/ipkg/openser-mod-diversion.control @@ -0,0 +1,5 @@ +Package: openser-mod-diversion +Depends: openser +Section: net +Priority: optional +Description: diversion support for OpenSER diff --git a/openwrt/package/openser/ipkg/openser-mod-flatstore.control b/openwrt/package/openser/ipkg/openser-mod-flatstore.control new file mode 100644 index 0000000000..96e0835c11 --- /dev/null +++ b/openwrt/package/openser/ipkg/openser-mod-flatstore.control @@ -0,0 +1,5 @@ +Package: openser-mod-flatstore +Depends: openser +Section: net +Priority: optional +Description: flatstore support for OpenSER diff --git a/openwrt/package/openser/ipkg/openser-mod-gflags.control b/openwrt/package/openser/ipkg/openser-mod-gflags.control new file mode 100644 index 0000000000..ce99494348 --- /dev/null +++ b/openwrt/package/openser/ipkg/openser-mod-gflags.control @@ -0,0 +1,5 @@ +Package: openser-mod-gflags +Depends: openser +Section: net +Priority: optional +Description: gflags support for OpenSER diff --git a/openwrt/package/openser/ipkg/openser-mod-group-radius.control b/openwrt/package/openser/ipkg/openser-mod-group-radius.control new file mode 100644 index 0000000000..bb5fbed30b --- /dev/null +++ b/openwrt/package/openser/ipkg/openser-mod-group-radius.control @@ -0,0 +1,5 @@ +Package: openser-mod-group-radius +Depends: openser +Section: net +Priority: optional +Description: group_radius support for OpenSER diff --git a/openwrt/package/openser/ipkg/openser-mod-group.control b/openwrt/package/openser/ipkg/openser-mod-group.control new file mode 100644 index 0000000000..b7c1130db9 --- /dev/null +++ b/openwrt/package/openser/ipkg/openser-mod-group.control @@ -0,0 +1,5 @@ +Package: openser-mod-group +Depends: openser +Section: net +Priority: optional +Description: group support for OpenSER diff --git a/openwrt/package/openser/ipkg/openser-mod-msilo.control b/openwrt/package/openser/ipkg/openser-mod-msilo.control new file mode 100644 index 0000000000..215701e99c --- /dev/null +++ b/openwrt/package/openser/ipkg/openser-mod-msilo.control @@ -0,0 +1,5 @@ +Package: openser-mod-msilo +Depends: openser +Section: net +Priority: optional +Description: msilo support for OpenSER diff --git a/openwrt/package/openser/ipkg/openser-mod-options.control b/openwrt/package/openser/ipkg/openser-mod-options.control new file mode 100644 index 0000000000..b94da0be4a --- /dev/null +++ b/openwrt/package/openser/ipkg/openser-mod-options.control @@ -0,0 +1,5 @@ +Package: openser-mod-options +Depends: openser +Section: net +Priority: optional +Description: options support for OpenSER diff --git a/openwrt/package/openser/ipkg/openser-mod-pdt.control b/openwrt/package/openser/ipkg/openser-mod-pdt.control new file mode 100644 index 0000000000..953929110d --- /dev/null +++ b/openwrt/package/openser/ipkg/openser-mod-pdt.control @@ -0,0 +1,5 @@ +Package: openser-mod-pdt +Depends: openser +Section: net +Priority: optional +Description: pdt support for OpenSER diff --git a/openwrt/package/openser/ipkg/openser-mod-permissions.control b/openwrt/package/openser/ipkg/openser-mod-permissions.control new file mode 100644 index 0000000000..302abdb995 --- /dev/null +++ b/openwrt/package/openser/ipkg/openser-mod-permissions.control @@ -0,0 +1,5 @@ +Package: openser-mod-permissions +Depends: openser +Section: net +Priority: optional +Description: permissions support for OpenSER diff --git a/openwrt/package/openser/ipkg/openser-mod-pike.control b/openwrt/package/openser/ipkg/openser-mod-pike.control new file mode 100644 index 0000000000..c8a2111209 --- /dev/null +++ b/openwrt/package/openser/ipkg/openser-mod-pike.control @@ -0,0 +1,5 @@ +Package: openser-mod-pike +Depends: openser +Section: net +Priority: optional +Description: pike support for OpenSER diff --git a/openwrt/package/openser/ipkg/openser-mod-uac-redirect.control b/openwrt/package/openser/ipkg/openser-mod-uac-redirect.control new file mode 100644 index 0000000000..9a4785f995 --- /dev/null +++ b/openwrt/package/openser/ipkg/openser-mod-uac-redirect.control @@ -0,0 +1,5 @@ +Package: openser-mod-uac-redirect +Depends: openser +Section: net +Priority: optional +Description: uac_redirect support for OpenSER diff --git a/openwrt/package/openser/ipkg/openser-mod-uac.control b/openwrt/package/openser/ipkg/openser-mod-uac.control new file mode 100644 index 0000000000..957bbaaa1c --- /dev/null +++ b/openwrt/package/openser/ipkg/openser-mod-uac.control @@ -0,0 +1,5 @@ +Package: openser-mod-uac +Depends: openser +Section: net +Priority: optional +Description: uac support for OpenSER diff --git a/openwrt/package/openser/ipkg/openser-mod-uri-db.control b/openwrt/package/openser/ipkg/openser-mod-uri-db.control new file mode 100644 index 0000000000..a48560babf --- /dev/null +++ b/openwrt/package/openser/ipkg/openser-mod-uri-db.control @@ -0,0 +1,5 @@ +Package: openser-mod-uri-db +Depends: openser +Section: net +Priority: optional +Description: uri_db support for OpenSER diff --git a/openwrt/package/openser/ipkg/openser-mod-uri-radius.control b/openwrt/package/openser/ipkg/openser-mod-uri-radius.control new file mode 100644 index 0000000000..55f1b2a915 --- /dev/null +++ b/openwrt/package/openser/ipkg/openser-mod-uri-radius.control @@ -0,0 +1,5 @@ +Package: openser-mod-uri-radius +Depends: openser +Section: net +Priority: optional +Description: uri_radius support for OpenSER diff --git a/openwrt/package/openser/ipkg/openser-mod-uri.control b/openwrt/package/openser/ipkg/openser-mod-uri.control new file mode 100644 index 0000000000..ab9e33d986 --- /dev/null +++ b/openwrt/package/openser/ipkg/openser-mod-uri.control @@ -0,0 +1,5 @@ +Package: openser-mod-uri +Depends: openser +Section: net +Priority: optional +Description: uri support for OpenSER -- 2.30.2