diff options
| author | Jiri Slachta | 2015-01-15 07:07:33 +0000 |
|---|---|---|
| committer | Jiri Slachta | 2015-01-15 07:07:33 +0000 |
| commit | 369780190b7d9589942def128f7d20f90457b602 (patch) | |
| tree | ba654ca9dbcbe0a6898ec5d4a20f6d77073a1285 | |
| parent | bcd034c2682c11df636e78887376d23ac8076561 (diff) | |
| download | telephony-369780190b7d9589942def128f7d20f90457b602.tar.gz | |
kamailio-4.x: update to 4.2.2
This commit deals with the update of kamailio to version 4.2.2 and
also fixes the mechanism for module inclusion. Instead of building
all modules by default only selected modules are built.
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
| -rw-r--r-- | net/kamailio-4.x/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/net/kamailio-4.x/Makefile b/net/kamailio-4.x/Makefile index 41acc5c..7feb2dd 100644 --- a/net/kamailio-4.x/Makefile +++ b/net/kamailio-4.x/Makefile @@ -8,21 +8,18 @@ include $(TOPDIR)/rules.mk PKG_NAME:=kamailio4 -PKG_VERSION:=4.2.1 -PKG_RELEASE:=3 +PKG_VERSION:=4.2.2 +PKG_RELEASE:=1 PKG_SOURCE_URL:=http://www.kamailio.org/pub/kamailio/$(PKG_VERSION)/src/ PKG_SOURCE:=kamailio-$(PKG_VERSION)$(PKG_VARIANT)_src.tar.gz -PKG_MD5SUM:=c2bccebd88156bf02957468e36dda648 +PKG_MD5SUM:=844e6d44ffb374763eb395d8f1477ec7 PKG_USE_MIPS16:=0 PKG_LICENSE:=GPL-2.0+ PKG_LICENSE_FILES:=COPYING PKG_MAINTAINER:=Jiri Slachta <slachta@cesnet.cz> -INCL_MODULES:= -KAM_MODULES:= - include $(INCLUDE_DIR)/nls.mk include $(INCLUDE_DIR)/package.mk @@ -96,16 +93,15 @@ define BuildKamailio4Module DEPENDS:=kamailio4 $(4) endef - define Package/kamailio4-mod-$(subst _,-,$(1))/description -This package provides support for $(3) in Kamailio. - endef - define Package/kamailio4-mod-$(subst _,-,$(1))/install $(call Package/kamailio4/install/module,$$(1),$(1)) $(foreach d,$(5),$(call Package/kamailio4/install/dbfiles,$$(1),$(d));) endef +ifneq ($(CONFIG_PACKAGE_kamailio4-mod-$(1)),) INCL_MODULES+=$(1) +endif + KAM_MODULES+=kamailio4-mod-$(subst _,-,$(1)) endef |