diff --git a/libs/opal/Makefile b/libs/opal/Makefile new file mode 100644 index 0000000..80e6e0f --- /dev/null +++ b/libs/opal/Makefile @@ -0,0 +1,69 @@ +# +# Copyright (C) 2006-2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=opal +PKG_VERSION:=3.2.1 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.bz2 +PKG_SOURCE_URL:=@SF/opalvoip +PKG_MD5SUM:=405ba3b03ec706b6e6f873de340937e2 + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/libopal + SECTION:=libs + CATEGORY:=Libraries + DEPENDS:=+ptlib +libstdcpp + TITLE:=Open Phone Abstraction Library + URL:=http://www.opalvoip.org/ +endef + +define Package/libopal/description + Open Phone Abstraction Library, implementation of the ITU H.323 + teleconferencing protocol, and successor of the openh323 library. It + supports not only the H.323 protocol but also SIP and IAX2. +endef + +TARGET_CFLAGS += $(FPIC) + +CONFIGURE_ARGS += \ + --enable-audio \ + --disable-video \ + --enable-sip \ + --enable-h323 \ + --disable-iax \ + --disable-h224 \ + --disable-h450 \ + --disable-h460 \ + --disable-ivr \ + --disable-rfc4175 \ + --disable-versioncheck \ + --disable-theora \ + --enable-localgsm + +CONFIGURE_VARS += \ + PTLIBDIR="$(BUILD_DIR)/ptlib" \ + PTLIBPLUGINDIR="$(BUILD_DIR)/ptlib/plugins/ptlib/" + CXXFLAGS="$(TARGET_CFLAGS)" \ + +MAKE_FLAGS += \ + CFLAGS="$(TARGET_CFLAGS)" \ + CCFLAGS="$(TARGET_CFLAGS)" \ + PTLIBDIR="$(BUILD_DIR)/ptlib" \ + PTLIBPLUGINDIR="$(BUILD_DIR)/ptlib/plugins/ptlib/" \ + optnoshared + +define Build/InstallDev + ln -sf $(PKG_NAME)_$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME) +endef + +$(eval $(call BuildPackage,libopal)) diff --git a/libs/opal/patches/010-fix-gcc_4_3-compile.patch b/libs/opal/patches/010-fix-gcc_4_3-compile.patch new file mode 100644 index 0000000..15d80b4 --- /dev/null +++ b/libs/opal/patches/010-fix-gcc_4_3-compile.patch @@ -0,0 +1,25 @@ +diff --git a/plugins/video/common/trace.cxx b/plugins/video/common/trace.cxx +index 7262478..de641af 100644 +--- a/plugins/video/common/trace.cxx ++++ b/plugins/video/common/trace.cxx +@@ -30,6 +30,7 @@ + /*****************************************************************************/ + + #include "trace.h" ++#include + + #ifdef __MACOSX__ + #include +diff --git a/plugins/video/H.263-ffmpeg/h263ffmpeg.cxx b/plugins/video/H.263-ffmpeg/h263ffmpeg.cxx +index 4a17b2c..a2f051c 100644 +--- a/plugins/video/H.263-ffmpeg/h263ffmpeg.cxx ++++ b/plugins/video/H.263-ffmpeg/h263ffmpeg.cxx +@@ -54,6 +54,8 @@ + #define _CRT_NONSTDC_NO_WARNINGS + #define _CRT_SECURE_NO_DEPRECATE + #include ++#include ++#include + + #include + #ifdef _WIN32 diff --git a/libs/openh323/Makefile b/libs/openh323/Makefile new file mode 100644 index 0000000..da1e985 --- /dev/null +++ b/libs/openh323/Makefile @@ -0,0 +1,49 @@ +# +# Copyright (C) 2006-2007 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=openh323 +PKG_VERSION:=cvs-20051230 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://trash.uid0.hu/openwrt/ +PKG_MD5SUM:=ba1ffd45016f533bec2bb1539b78e43a + +PKG_BUILD_DEPENDS:=pwlib + +include $(INCLUDE_DIR)/package.mk + +define Package/libopenh323 + SECTION:=libs + CATEGORY:=Libraries + TITLE:=OpenH323 library + URL:=http://openh323.sourceforge.net/ +endef + +TARGET_CFLAGS += $(FPIC) + +CONFIGURE_ARGS += \ + --enable-minsize \ + --enable-audio \ + --disable-video \ + --enable-localspeex \ + +CONFIGURE_VARS += \ + CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti" \ + +MAKE_FLAGS += \ + CFLAGS="$(TARGET_CFLAGS) $(FPIC)" \ + CCFLAGS="$(TARGET_CFLAGS) $(FPIC)" \ + optnoshared + +define Build/InstallDev + ln -sf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME) +endef + +$(eval $(call BuildPackage,libopenh323)) diff --git a/libs/openh323/patches/001-configure.patch b/libs/openh323/patches/001-configure.patch new file mode 100644 index 0000000..04ed8c5 --- /dev/null +++ b/libs/openh323/patches/001-configure.patch @@ -0,0 +1,122 @@ +--- openh323-cvs-20051230.orig/configure 2005-08-30 03:12:38.000000000 +0200 ++++ openh323-cvs-20051230/configure 2005-12-30 11:29:57.000000000 +0100 +@@ -3080,10 +3080,10 @@ + if eval "test \"\${$as_ac_File+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- test "$cross_compiling" = yes && +- { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 +-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} +- { (exit 1); exit 1; }; } ++# test "$cross_compiling" = yes && ++# { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 ++#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} ++# { (exit 1); exit 1; }; } + if test -r "${PWLIBDIR}/version.h"; then + eval "$as_ac_File=yes" + else +@@ -3104,10 +3104,10 @@ + if eval "test \"\${$as_ac_File+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- test "$cross_compiling" = yes && +- { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 +-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} +- { (exit 1); exit 1; }; } ++# test "$cross_compiling" = yes && ++# { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 ++#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} ++# { (exit 1); exit 1; }; } + if test -r "${OPENH323DIR}/../pwlib/version.h"; then + eval "$as_ac_File=yes" + else +@@ -3129,10 +3129,10 @@ + if eval "test \"\${$as_ac_File+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- test "$cross_compiling" = yes && +- { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 +-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} +- { (exit 1); exit 1; }; } ++# test "$cross_compiling" = yes && ++# { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 ++#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} ++# { (exit 1); exit 1; }; } + if test -r "${HOME}/pwlib/include/ptlib.h"; then + eval "$as_ac_File=yes" + else +@@ -3153,10 +3153,10 @@ + if test "${ac_cv_file__usr_local_include_ptlib_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- test "$cross_compiling" = yes && +- { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 +-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} +- { (exit 1); exit 1; }; } ++# test "$cross_compiling" = yes && ++# { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 ++#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} ++# { (exit 1); exit 1; }; } + if test -r "/usr/local/include/ptlib.h"; then + ac_cv_file__usr_local_include_ptlib_h=yes + else +@@ -3215,10 +3215,10 @@ + if test "${ac_cv_file__usr_include_ptlib_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- test "$cross_compiling" = yes && +- { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 +-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} +- { (exit 1); exit 1; }; } ++# test "$cross_compiling" = yes && ++# { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 ++#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} ++# { (exit 1); exit 1; }; } + if test -r "/usr/include/ptlib.h"; then + ac_cv_file__usr_include_ptlib_h=yes + else +@@ -3985,10 +3985,10 @@ + if test "${ac_cv_file__usr_local_include_ffmpeg_avcodec_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- test "$cross_compiling" = yes && +- { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 +-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} +- { (exit 1); exit 1; }; } ++# test "$cross_compiling" = yes && ++# { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 ++#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} ++# { (exit 1); exit 1; }; } + if test -r "/usr/local/include/ffmpeg/avcodec.h"; then + ac_cv_file__usr_local_include_ffmpeg_avcodec_h=yes + else +@@ -4193,10 +4193,10 @@ + if test "${ac_cv_file__usr_local_lib_libvich263_so+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- test "$cross_compiling" = yes && +- { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 +-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} +- { (exit 1); exit 1; }; } ++# test "$cross_compiling" = yes && ++# { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 ++#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} ++# { (exit 1); exit 1; }; } + if test -r "/usr/local/lib/libvich263.so"; then + ac_cv_file__usr_local_lib_libvich263_so=yes + else +@@ -4219,10 +4219,10 @@ + if test "${ac_cv_file__usr_local_include_vich263_encoder_h263_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- test "$cross_compiling" = yes && +- { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 +-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} +- { (exit 1); exit 1; }; } ++# test "$cross_compiling" = yes && ++# { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 ++#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} ++# { (exit 1); exit 1; }; } + if test -r "/usr/local/include/vich263/encoder-h263.h"; then + ac_cv_file__usr_local_include_vich263_encoder_h263_h=yes + else diff --git a/libs/ptlib/Makefile b/libs/ptlib/Makefile new file mode 100644 index 0000000..f8b8380 --- /dev/null +++ b/libs/ptlib/Makefile @@ -0,0 +1,107 @@ +# +# Copyright (C) 2006-2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. + +include $(TOPDIR)/rules.mk + +PKG_NAME:=ptlib +PKG_VERSION:=2.10.9 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=@SF/opalvoip +PKG_MD5SUM:= + +include $(INCLUDE_DIR)/package.mk + +define Package/ptlib + SECTION:=libs + CATEGORY:=Libraries + DEPENDS:=+libexpat + TITLE:=Portable Tools library + URL:=http://www.opalvoip.org/ +endef + +define Package/ptlib/description + PTLib is a moderately large class library that has its genesis many years ago as + PWLib (portable Windows Library), a method to product applications to run on both + Microsoft Windows and Unix X-Windows systems. It also was to have a Macintosh port + as well but that never eventuated. The parts of the library relating to GUI + functions have long been removed as other class libraries such as wxWidgets were + much more advanced. +endef + +TARGET_CFLAGS += $(FPIC) + +CONFIGURE_ARGS += \ + --enable-minsize \ + --enable-opal \ + --enable-internalregex \ + --enable-audio \ + --disable-alsa \ + --disable-asn \ + --disable-avc \ + --enable-configfile \ + --disable-dc \ + --disable-dtmf \ + --enable-expat \ + --disable-ftp \ + --disable-http \ + --disable-httpsvc \ + --disable-jabber \ + --disable-odbc \ + --disable-openldap \ + --disable-openssl \ + --disable-oss \ + --disable-pipechan \ + --disable-plugins \ + --disable-pop3smtp \ + --disable-remconn \ + --enable-resolver \ + --enable-qos \ + --disable-sasl \ + --disable-sdl \ + --disable-serial \ + --disable-shm-video \ + --disable-snmp \ + --disable-soap \ + --disable-socks \ + --enable-stun \ + --disable-telnet \ + --disable-tts \ + --disable-v4l \ + --disable-v4l2 \ + --disable-bsdvideo \ + --disable-video \ + --disable-vxml \ + --enable-wavfile \ + --disable-xmlrpc \ + +CONFIGURE_VARS += \ + CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti" \ + +CONFIGURE_CMD = ./configure + +define Build/Configure/Default + (cd $(PKG_BUILD_DIR)/$(CONFIGURE_PATH)/$(strip $(3)); \ + if [ -x $(CONFIGURE_CMD) ]; then \ + $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/$(3)/ && \ + $(CONFIGURE_VARS) \ + $(2) \ + $(CONFIGURE_CMD) \ + $(CONFIGURE_ARGS) \ + $(1); \ + fi; \ + ) +endef + +MAKE_FLAGS += optnoshared + +define Build/InstallDev + ln -sf $(PKG_NAME)_$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME) + $(SED) 's|//\(#include \)|\1|' $(PKG_BUILD_DIR)/include/ptlib.h +endef + +$(eval $(call BuildPackage,ptlib)) diff --git a/libs/ptlib/patches/010-fix-gcc_4_3-compile.patch b/libs/ptlib/patches/010-fix-gcc_4_3-compile.patch new file mode 100644 index 0000000..c764ca1 --- /dev/null +++ b/libs/ptlib/patches/010-fix-gcc_4_3-compile.patch @@ -0,0 +1,12 @@ +diff -urN ptlib-2.10.9/src/ptclib/socks.cxx ptlib-2.10.9.new/src/ptclib/socks.cxx +--- ptlib-2.10.9/src/ptclib/socks.cxx 2012-11-26 11:44:52.000000000 +0100 ++++ ptlib-2.10.9.new/src/ptclib/socks.cxx 2012-12-11 15:55:41.320940496 +0100 +@@ -34,6 +34,8 @@ + + #include + ++#include ++ + #define new PNEW + + #define SOCKS_VERSION_4 ((BYTE)4) diff --git a/libs/ptlib/patches/020-uclibc-res_nsearch.patch b/libs/ptlib/patches/020-uclibc-res_nsearch.patch new file mode 100644 index 0000000..f644350 --- /dev/null +++ b/libs/ptlib/patches/020-uclibc-res_nsearch.patch @@ -0,0 +1,14 @@ +diff -Naur ptlib-2.10.4.orig/src/ptclib/pdns.cxx ptlib-2.10.4/src/ptclib/pdns.cxx +--- ptlib-2.10.4.orig/src/ptclib/pdns.cxx 2012-03-12 13:34:10.000000000 -0400 ++++ ptlib-2.10.4/src/ptclib/pdns.cxx 2012-03-12 13:35:05.000000000 -0400 +@@ -37,6 +37,10 @@ + #include + #include + ++#if defined(__UCLIBC__) ++ #undef P_HAS_RES_NINIT ++#endif ++ + #define new PNEW + + #define USE_RESOLVER_CACHING 1 diff --git a/libs/pwlib/Makefile b/libs/pwlib/Makefile new file mode 100644 index 0000000..84e4f3e --- /dev/null +++ b/libs/pwlib/Makefile @@ -0,0 +1,90 @@ +# +# Copyright (C) 2006-2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=pwlib +PKG_VERSION:=1.11.1 +PKG_RELEASE:=2 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=ftp://peternixon.net/pub/voxgratia +PKG_MD5SUM:=e1102dfd2608e3a117a2e016d0db53e3 + +PKG_BUILD_DIR:=$(BUILD_DIR)/pwlib-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/pwlib + SECTION:=libs + CATEGORY:=Libraries + TITLE:=Portable Windows library + URL:=http://www.voxgratia.org/ +endef + +define Package/pwlib/description + PWLib is a moderately large class library that was created as a method to + produce applications that run on both Microsoft Windows and the X Window + System. +endef + +TARGET_CFLAGS += $(FPIC) -fpermissive + +CONFIGURE_ARGS += \ + --enable-minsize \ + --enable-openh323 \ + --enable-opal \ + --disable-internalregex \ + --disable-plugins \ + --enable-audio \ + --disable-alsa \ + --enable-asn \ + --disable-avc \ + --disable-dc \ + --disable-dtmf \ + --disable-expat \ + --disable-ftp \ + --enable-http \ + --disable-httpsvc \ + --disable-jabber \ + --disable-openldap \ + --disable-openssl \ + --disable-oss \ + --disable-pipechan \ + --disable-pop3smtp \ + --disable-remconn \ + --disable-resolver \ + --disable-qos \ + --disable-sasl \ + --disable-sdl \ + --disable-serial \ + --disable-shm-video \ + --disable-snmp \ + --disable-soap \ + --disable-socks \ + --enable-stun \ + --disable-telnet \ + --disable-tts \ + --disable-v4l \ + --disable-v4l2 \ + --disable-bsdvideo \ + --disable-video \ + --disable-vxml \ + --disable-wavfile \ + --disable-xmlrpc \ + +CONFIGURE_VARS += \ + STDCXXFLAGS="$(TARGET_CFLAGS) -fno-builtin" \ + +MAKE_FLAGS += optnoshared + +define Build/InstallDev + ln -sf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME) + $(SED) 's|//\(#include \)|\1|' $(PKG_BUILD_DIR)/include/ptlib.h +endef + +$(eval $(call BuildPackage,pwlib)) diff --git a/libs/pwlib/patches/002-lib_mak.patch b/libs/pwlib/patches/002-lib_mak.patch new file mode 100644 index 0000000..43018bd --- /dev/null +++ b/libs/pwlib/patches/002-lib_mak.patch @@ -0,0 +1,11 @@ +--- pwlib-cvs-20051227/make/lib.mak.orig 2005-09-25 12:51:23.000000000 +0200 ++++ pwlib-cvs-20051227/make/lib.mak 2005-12-30 01:18:21.000000000 +0100 +@@ -201,7 +201,7 @@ + LDSOOPTS += -Wl,--kill-at + else + ifneq ($(OSTYPE),Darwin) +- LDSOOPTS += -Wl,-soname,$(LIB_SONAME) ++ LDSOOPTS += -soname,$(LIB_SONAME) + endif + endif + LD = $(CPLUS) diff --git a/asterisk-1.8.x-chan-sccp-b/Makefile b/net/asterisk-1.8.x-chan-sccp-b/Makefile similarity index 100% rename from asterisk-1.8.x-chan-sccp-b/Makefile rename to net/asterisk-1.8.x-chan-sccp-b/Makefile diff --git a/asterisk-1.8.x-chan-sccp-b/files/sccp.openwrt.conf b/net/asterisk-1.8.x-chan-sccp-b/files/sccp.openwrt.conf similarity index 100% rename from asterisk-1.8.x-chan-sccp-b/files/sccp.openwrt.conf rename to net/asterisk-1.8.x-chan-sccp-b/files/sccp.openwrt.conf diff --git a/asterisk-1.8.x/Makefile b/net/asterisk-1.8.x/Makefile similarity index 100% rename from asterisk-1.8.x/Makefile rename to net/asterisk-1.8.x/Makefile diff --git a/asterisk-1.8.x/files/asterisk.default b/net/asterisk-1.8.x/files/asterisk.default similarity index 100% rename from asterisk-1.8.x/files/asterisk.default rename to net/asterisk-1.8.x/files/asterisk.default diff --git a/asterisk-1.8.x/files/asterisk.init b/net/asterisk-1.8.x/files/asterisk.init similarity index 100% rename from asterisk-1.8.x/files/asterisk.init rename to net/asterisk-1.8.x/files/asterisk.init diff --git a/asterisk-1.8.x/patches/100-build_tools-iconv.patch b/net/asterisk-1.8.x/patches/100-build_tools-iconv.patch similarity index 100% rename from asterisk-1.8.x/patches/100-build_tools-iconv.patch rename to net/asterisk-1.8.x/patches/100-build_tools-iconv.patch diff --git a/asterisk-1.8.x/patches/200-addons-defaultenable.patch b/net/asterisk-1.8.x/patches/200-addons-defaultenable.patch similarity index 100% rename from asterisk-1.8.x/patches/200-addons-defaultenable.patch rename to net/asterisk-1.8.x/patches/200-addons-defaultenable.patch diff --git a/asterisk-1.8.x/patches/500-nres.patch b/net/asterisk-1.8.x/patches/500-nres.patch similarity index 100% rename from asterisk-1.8.x/patches/500-nres.patch rename to net/asterisk-1.8.x/patches/500-nres.patch diff --git a/asterisk-1.8.x/patches/600-CVE-2012-2186.patch b/net/asterisk-1.8.x/patches/600-CVE-2012-2186.patch similarity index 100% rename from asterisk-1.8.x/patches/600-CVE-2012-2186.patch rename to net/asterisk-1.8.x/patches/600-CVE-2012-2186.patch diff --git a/asterisk-1.8.x/src-lantiq/channels/chan_lantiq.c b/net/asterisk-1.8.x/src-lantiq/channels/chan_lantiq.c similarity index 100% rename from asterisk-1.8.x/src-lantiq/channels/chan_lantiq.c rename to net/asterisk-1.8.x/src-lantiq/channels/chan_lantiq.c diff --git a/asterisk-1.8.x/src-lantiq/configs/lantiq.conf.sample b/net/asterisk-1.8.x/src-lantiq/configs/lantiq.conf.sample similarity index 100% rename from asterisk-1.8.x/src-lantiq/configs/lantiq.conf.sample rename to net/asterisk-1.8.x/src-lantiq/configs/lantiq.conf.sample diff --git a/asterisk-11.x-chan-dongle/Makefile b/net/asterisk-11.x-chan-dongle/Makefile similarity index 100% rename from asterisk-11.x-chan-dongle/Makefile rename to net/asterisk-11.x-chan-dongle/Makefile diff --git a/asterisk-11.x-chan-sccp-b/Makefile b/net/asterisk-11.x-chan-sccp-b/Makefile similarity index 100% rename from asterisk-11.x-chan-sccp-b/Makefile rename to net/asterisk-11.x-chan-sccp-b/Makefile diff --git a/asterisk-11.x-chan-sccp-b/files/sccp.openwrt.conf b/net/asterisk-11.x-chan-sccp-b/files/sccp.openwrt.conf similarity index 100% rename from asterisk-11.x-chan-sccp-b/files/sccp.openwrt.conf rename to net/asterisk-11.x-chan-sccp-b/files/sccp.openwrt.conf diff --git a/asterisk-11.x/Makefile b/net/asterisk-11.x/Makefile similarity index 100% rename from asterisk-11.x/Makefile rename to net/asterisk-11.x/Makefile diff --git a/asterisk-11.x/files/asterisk.default b/net/asterisk-11.x/files/asterisk.default similarity index 100% rename from asterisk-11.x/files/asterisk.default rename to net/asterisk-11.x/files/asterisk.default diff --git a/asterisk-11.x/files/asterisk.init b/net/asterisk-11.x/files/asterisk.init similarity index 100% rename from asterisk-11.x/files/asterisk.init rename to net/asterisk-11.x/files/asterisk.init diff --git a/asterisk-11.x/patches/001-pjproject-change-configure-args.patch b/net/asterisk-11.x/patches/001-pjproject-change-configure-args.patch similarity index 100% rename from asterisk-11.x/patches/001-pjproject-change-configure-args.patch rename to net/asterisk-11.x/patches/001-pjproject-change-configure-args.patch diff --git a/asterisk-11.x/patches/010-asterisk-configure-undef-res-ninit.patch b/net/asterisk-11.x/patches/010-asterisk-configure-undef-res-ninit.patch similarity index 100% rename from asterisk-11.x/patches/010-asterisk-configure-undef-res-ninit.patch rename to net/asterisk-11.x/patches/010-asterisk-configure-undef-res-ninit.patch diff --git a/asterisk-11.x/patches/020-asterisk-enable-default-modules.patch b/net/asterisk-11.x/patches/020-asterisk-enable-default-modules.patch similarity index 100% rename from asterisk-11.x/patches/020-asterisk-enable-default-modules.patch rename to net/asterisk-11.x/patches/020-asterisk-enable-default-modules.patch diff --git a/baresip/Makefile b/net/baresip/Makefile similarity index 100% rename from baresip/Makefile rename to net/baresip/Makefile diff --git a/baresip/files/baresip.init b/net/baresip/files/baresip.init similarity index 100% rename from baresip/files/baresip.init rename to net/baresip/files/baresip.init diff --git a/baresip/patches/100-videodev-compat.patch b/net/baresip/patches/100-videodev-compat.patch similarity index 100% rename from baresip/patches/100-videodev-compat.patch rename to net/baresip/patches/100-videodev-compat.patch diff --git a/freeswitch/Makefile b/net/freeswitch/Makefile similarity index 100% rename from freeswitch/Makefile rename to net/freeswitch/Makefile diff --git a/freeswitch/files/freeswitch.config b/net/freeswitch/files/freeswitch.config similarity index 100% rename from freeswitch/files/freeswitch.config rename to net/freeswitch/files/freeswitch.config diff --git a/freeswitch/files/freeswitch.default b/net/freeswitch/files/freeswitch.default similarity index 100% rename from freeswitch/files/freeswitch.default rename to net/freeswitch/files/freeswitch.default diff --git a/freeswitch/files/freeswitch.hotplug b/net/freeswitch/files/freeswitch.hotplug similarity index 100% rename from freeswitch/files/freeswitch.hotplug rename to net/freeswitch/files/freeswitch.hotplug diff --git a/freeswitch/files/freeswitch.init b/net/freeswitch/files/freeswitch.init similarity index 100% rename from freeswitch/files/freeswitch.init rename to net/freeswitch/files/freeswitch.init diff --git a/freeswitch/patches/000-build-openwrt_rules.mk.patch b/net/freeswitch/patches/000-build-openwrt_rules.mk.patch similarity index 100% rename from freeswitch/patches/000-build-openwrt_rules.mk.patch rename to net/freeswitch/patches/000-build-openwrt_rules.mk.patch diff --git a/freeswitch/patches/001-build-modules_conf_in.patch b/net/freeswitch/patches/001-build-modules_conf_in.patch similarity index 100% rename from freeswitch/patches/001-build-modules_conf_in.patch rename to net/freeswitch/patches/001-build-modules_conf_in.patch diff --git a/freeswitch/patches/002-configure_in.patch b/net/freeswitch/patches/002-configure_in.patch similarity index 100% rename from freeswitch/patches/002-configure_in.patch rename to net/freeswitch/patches/002-configure_in.patch diff --git a/freeswitch/patches/003-Makefile.am.patch b/net/freeswitch/patches/003-Makefile.am.patch similarity index 100% rename from freeswitch/patches/003-Makefile.am.patch rename to net/freeswitch/patches/003-Makefile.am.patch diff --git a/freeswitch/patches/100-libs-esl-Makefile.patch b/net/freeswitch/patches/100-libs-esl-Makefile.patch similarity index 100% rename from freeswitch/patches/100-libs-esl-Makefile.patch rename to net/freeswitch/patches/100-libs-esl-Makefile.patch diff --git a/freeswitch/patches/101-libs-spandsp-src-spandsp-fast_convert_h.patch b/net/freeswitch/patches/101-libs-spandsp-src-spandsp-fast_convert_h.patch similarity index 100% rename from freeswitch/patches/101-libs-spandsp-src-spandsp-fast_convert_h.patch rename to net/freeswitch/patches/101-libs-spandsp-src-spandsp-fast_convert_h.patch diff --git a/freeswitch/patches/103-libs-spandsp-src-t4_rx_c.patch b/net/freeswitch/patches/103-libs-spandsp-src-t4_rx_c.patch similarity index 100% rename from freeswitch/patches/103-libs-spandsp-src-t4_rx_c.patch rename to net/freeswitch/patches/103-libs-spandsp-src-t4_rx_c.patch diff --git a/freeswitch/patches/104-libs-spandsp-src-t4_tx_c.patch b/net/freeswitch/patches/104-libs-spandsp-src-t4_tx_c.patch similarity index 100% rename from freeswitch/patches/104-libs-spandsp-src-t4_tx_c.patch rename to net/freeswitch/patches/104-libs-spandsp-src-t4_tx_c.patch diff --git a/freeswitch/patches/105-libs-xmlrpc-c-config_mk_in.patch b/net/freeswitch/patches/105-libs-xmlrpc-c-config_mk_in.patch similarity index 100% rename from freeswitch/patches/105-libs-xmlrpc-c-config_mk_in.patch rename to net/freeswitch/patches/105-libs-xmlrpc-c-config_mk_in.patch diff --git a/freeswitch/patches/106-libs-xmlrpc-c-lib-expat-gennmtab-Makefile.patch b/net/freeswitch/patches/106-libs-xmlrpc-c-lib-expat-gennmtab-Makefile.patch similarity index 100% rename from freeswitch/patches/106-libs-xmlrpc-c-lib-expat-gennmtab-Makefile.patch rename to net/freeswitch/patches/106-libs-xmlrpc-c-lib-expat-gennmtab-Makefile.patch diff --git a/freeswitch/patches/107-libs-libzrtp-include-zrtp_config_h.patch b/net/freeswitch/patches/107-libs-libzrtp-include-zrtp_config_h.patch similarity index 100% rename from freeswitch/patches/107-libs-libzrtp-include-zrtp_config_h.patch rename to net/freeswitch/patches/107-libs-libzrtp-include-zrtp_config_h.patch diff --git a/freeswitch/patches/200-src-include-timerfd_wrap_h.patch b/net/freeswitch/patches/200-src-include-timerfd_wrap_h.patch similarity index 100% rename from freeswitch/patches/200-src-include-timerfd_wrap_h.patch rename to net/freeswitch/patches/200-src-include-timerfd_wrap_h.patch diff --git a/freeswitch/patches/202-src-mod-codecs-mod_opus-Makefile.patch b/net/freeswitch/patches/202-src-mod-codecs-mod_opus-Makefile.patch similarity index 100% rename from freeswitch/patches/202-src-mod-codecs-mod_opus-Makefile.patch rename to net/freeswitch/patches/202-src-mod-codecs-mod_opus-Makefile.patch diff --git a/freeswitch/patches/203-src-mod-codecs-mod_silk-Makefile.patch b/net/freeswitch/patches/203-src-mod-codecs-mod_silk-Makefile.patch similarity index 100% rename from freeswitch/patches/203-src-mod-codecs-mod_silk-Makefile.patch rename to net/freeswitch/patches/203-src-mod-codecs-mod_silk-Makefile.patch diff --git a/freeswitch/patches/204-src-mod-directories-mod_ldap-Makefile.patch b/net/freeswitch/patches/204-src-mod-directories-mod_ldap-Makefile.patch similarity index 100% rename from freeswitch/patches/204-src-mod-directories-mod_ldap-Makefile.patch rename to net/freeswitch/patches/204-src-mod-directories-mod_ldap-Makefile.patch diff --git a/freeswitch/patches/205-src-mod-endpoints-mod_gsmopen-Makefile.patch b/net/freeswitch/patches/205-src-mod-endpoints-mod_gsmopen-Makefile.patch similarity index 100% rename from freeswitch/patches/205-src-mod-endpoints-mod_gsmopen-Makefile.patch rename to net/freeswitch/patches/205-src-mod-endpoints-mod_gsmopen-Makefile.patch diff --git a/freeswitch/patches/206-src-mod-event_handlers-mod_snmp-Makefile.patch b/net/freeswitch/patches/206-src-mod-event_handlers-mod_snmp-Makefile.patch similarity index 100% rename from freeswitch/patches/206-src-mod-event_handlers-mod_snmp-Makefile.patch rename to net/freeswitch/patches/206-src-mod-event_handlers-mod_snmp-Makefile.patch diff --git a/freeswitch/patches/207-src-mod-xml_int-mod_xml_ldap-Makefile.patch b/net/freeswitch/patches/207-src-mod-xml_int-mod_xml_ldap-Makefile.patch similarity index 100% rename from freeswitch/patches/207-src-mod-xml_int-mod_xml_ldap-Makefile.patch rename to net/freeswitch/patches/207-src-mod-xml_int-mod_xml_ldap-Makefile.patch diff --git a/freeswitch/patches/208-src-mod-xml_int-mod_xml_rpc-Makefile.patch b/net/freeswitch/patches/208-src-mod-xml_int-mod_xml_rpc-Makefile.patch similarity index 100% rename from freeswitch/patches/208-src-mod-xml_int-mod_xml_rpc-Makefile.patch rename to net/freeswitch/patches/208-src-mod-xml_int-mod_xml_rpc-Makefile.patch diff --git a/freeswitch/patches/209-src-mod-codecs-mod_isac-typedefs_h.patch b/net/freeswitch/patches/209-src-mod-codecs-mod_isac-typedefs_h.patch similarity index 100% rename from freeswitch/patches/209-src-mod-codecs-mod_isac-typedefs_h.patch rename to net/freeswitch/patches/209-src-mod-codecs-mod_isac-typedefs_h.patch diff --git a/freeswitch/patches/210-src-mod-endpoints-mod_dingaling-Makefile.patch b/net/freeswitch/patches/210-src-mod-endpoints-mod_dingaling-Makefile.patch similarity index 100% rename from freeswitch/patches/210-src-mod-endpoints-mod_dingaling-Makefile.patch rename to net/freeswitch/patches/210-src-mod-endpoints-mod_dingaling-Makefile.patch diff --git a/kamailio-1.5.x/Makefile b/net/kamailio-1.5.x/Makefile similarity index 100% rename from kamailio-1.5.x/Makefile rename to net/kamailio-1.5.x/Makefile diff --git a/kamailio-1.5.x/files/kamailio.default b/net/kamailio-1.5.x/files/kamailio.default similarity index 100% rename from kamailio-1.5.x/files/kamailio.default rename to net/kamailio-1.5.x/files/kamailio.default diff --git a/kamailio-1.5.x/files/kamailio.init b/net/kamailio-1.5.x/files/kamailio.init similarity index 100% rename from kamailio-1.5.x/files/kamailio.init rename to net/kamailio-1.5.x/files/kamailio.init diff --git a/kamailio-1.5.x/patches/005-config_h.patch b/net/kamailio-1.5.x/patches/005-config_h.patch similarity index 100% rename from kamailio-1.5.x/patches/005-config_h.patch rename to net/kamailio-1.5.x/patches/005-config_h.patch diff --git a/kamailio-1.5.x/patches/007-modules_build.patch b/net/kamailio-1.5.x/patches/007-modules_build.patch similarity index 100% rename from kamailio-1.5.x/patches/007-modules_build.patch rename to net/kamailio-1.5.x/patches/007-modules_build.patch diff --git a/kamailio-3.3.x/Makefile b/net/kamailio-3.3.x/Makefile similarity index 100% rename from kamailio-3.3.x/Makefile rename to net/kamailio-3.3.x/Makefile diff --git a/kamailio-3.3.x/files/kamailio.default b/net/kamailio-3.3.x/files/kamailio.default similarity index 100% rename from kamailio-3.3.x/files/kamailio.default rename to net/kamailio-3.3.x/files/kamailio.default diff --git a/kamailio-3.3.x/files/kamailio.init b/net/kamailio-3.3.x/files/kamailio.init similarity index 100% rename from kamailio-3.3.x/files/kamailio.init rename to net/kamailio-3.3.x/files/kamailio.init diff --git a/kamailio-3.3.x/patches/100-cross_compile.patch b/net/kamailio-3.3.x/patches/100-cross_compile.patch similarity index 100% rename from kamailio-3.3.x/patches/100-cross_compile.patch rename to net/kamailio-3.3.x/patches/100-cross_compile.patch diff --git a/kamailio-4.0.x/Makefile b/net/kamailio-4.0.x/Makefile similarity index 100% rename from kamailio-4.0.x/Makefile rename to net/kamailio-4.0.x/Makefile diff --git a/kamailio-4.0.x/files/kamailio.default b/net/kamailio-4.0.x/files/kamailio.default similarity index 100% rename from kamailio-4.0.x/files/kamailio.default rename to net/kamailio-4.0.x/files/kamailio.default diff --git a/kamailio-4.0.x/files/kamailio.init b/net/kamailio-4.0.x/files/kamailio.init similarity index 100% rename from kamailio-4.0.x/files/kamailio.init rename to net/kamailio-4.0.x/files/kamailio.init diff --git a/kamailio-4.0.x/patches/001-mod-json-fix-library-name.patch b/net/kamailio-4.0.x/patches/001-mod-json-fix-library-name.patch similarity index 100% rename from kamailio-4.0.x/patches/001-mod-json-fix-library-name.patch rename to net/kamailio-4.0.x/patches/001-mod-json-fix-library-name.patch diff --git a/kamailio-4.0.x/patches/002-mod-jsonrpc-fix-library-name.patch b/net/kamailio-4.0.x/patches/002-mod-jsonrpc-fix-library-name.patch similarity index 100% rename from kamailio-4.0.x/patches/002-mod-jsonrpc-fix-library-name.patch rename to net/kamailio-4.0.x/patches/002-mod-jsonrpc-fix-library-name.patch diff --git a/miax/Makefile b/net/miax/Makefile similarity index 100% rename from miax/Makefile rename to net/miax/Makefile diff --git a/miax/patches/001-cross.patch b/net/miax/patches/001-cross.patch similarity index 100% rename from miax/patches/001-cross.patch rename to net/miax/patches/001-cross.patch diff --git a/openser/Makefile b/net/openser/Makefile similarity index 100% rename from openser/Makefile rename to net/openser/Makefile diff --git a/openser/patches/001-openser_cfg.patch b/net/openser/patches/001-openser_cfg.patch similarity index 100% rename from openser/patches/001-openser_cfg.patch rename to net/openser/patches/001-openser_cfg.patch diff --git a/openser/patches/002-sc.patch b/net/openser/patches/002-sc.patch similarity index 100% rename from openser/patches/002-sc.patch rename to net/openser/patches/002-sc.patch diff --git a/openser/patches/003-makefile_defs.patch b/net/openser/patches/003-makefile_defs.patch similarity index 100% rename from openser/patches/003-makefile_defs.patch rename to net/openser/patches/003-makefile_defs.patch diff --git a/openser/patches/004-cfg_lex.patch b/net/openser/patches/004-cfg_lex.patch similarity index 100% rename from openser/patches/004-cfg_lex.patch rename to net/openser/patches/004-cfg_lex.patch diff --git a/openser/patches/005-config_h.patch b/net/openser/patches/005-config_h.patch similarity index 100% rename from openser/patches/005-config_h.patch rename to net/openser/patches/005-config_h.patch diff --git a/openser/patches/006-sc_dbtext.patch b/net/openser/patches/006-sc_dbtext.patch similarity index 100% rename from openser/patches/006-sc_dbtext.patch rename to net/openser/patches/006-sc_dbtext.patch diff --git a/openser/patches/007-modules_build.patch b/net/openser/patches/007-modules_build.patch similarity index 100% rename from openser/patches/007-modules_build.patch rename to net/openser/patches/007-modules_build.patch diff --git a/opensips/Makefile b/net/opensips/Makefile similarity index 100% rename from opensips/Makefile rename to net/opensips/Makefile diff --git a/opensips/files/opensips.default b/net/opensips/files/opensips.default similarity index 100% rename from opensips/files/opensips.default rename to net/opensips/files/opensips.default diff --git a/opensips/files/opensips.init b/net/opensips/files/opensips.init similarity index 100% rename from opensips/files/opensips.init rename to net/opensips/files/opensips.init diff --git a/opensips/patches/001-no_rej.patch b/net/opensips/patches/001-no_rej.patch similarity index 100% rename from opensips/patches/001-no_rej.patch rename to net/opensips/patches/001-no_rej.patch diff --git a/opensips/patches/005-config_h.patch b/net/opensips/patches/005-config_h.patch similarity index 100% rename from opensips/patches/005-config_h.patch rename to net/opensips/patches/005-config_h.patch diff --git a/opensips/patches/007-modules_build.patch b/net/opensips/patches/007-modules_build.patch similarity index 100% rename from opensips/patches/007-modules_build.patch rename to net/opensips/patches/007-modules_build.patch diff --git a/pcapsipdump/Makefile b/net/pcapsipdump/Makefile similarity index 100% rename from pcapsipdump/Makefile rename to net/pcapsipdump/Makefile diff --git a/pcapsipdump/patches/001-cross_compile.patch b/net/pcapsipdump/patches/001-cross_compile.patch similarity index 100% rename from pcapsipdump/patches/001-cross_compile.patch rename to net/pcapsipdump/patches/001-cross_compile.patch diff --git a/pcapsipdump/patches/002-elif_else_replacement.patch b/net/pcapsipdump/patches/002-elif_else_replacement.patch similarity index 100% rename from pcapsipdump/patches/002-elif_else_replacement.patch rename to net/pcapsipdump/patches/002-elif_else_replacement.patch diff --git a/restund/Makefile b/net/restund/Makefile similarity index 100% rename from restund/Makefile rename to net/restund/Makefile diff --git a/restund/files/restund.init b/net/restund/files/restund.init similarity index 100% rename from restund/files/restund.init rename to net/restund/files/restund.init diff --git a/rtpproxy/Makefile b/net/rtpproxy/Makefile similarity index 100% rename from rtpproxy/Makefile rename to net/rtpproxy/Makefile diff --git a/sipp/Makefile b/net/sipp/Makefile similarity index 100% rename from sipp/Makefile rename to net/sipp/Makefile diff --git a/siproxd/Makefile b/net/siproxd/Makefile similarity index 100% rename from siproxd/Makefile rename to net/siproxd/Makefile diff --git a/siproxd/files/siproxd.config b/net/siproxd/files/siproxd.config similarity index 100% rename from siproxd/files/siproxd.config rename to net/siproxd/files/siproxd.config diff --git a/siproxd/files/siproxd.init b/net/siproxd/files/siproxd.init similarity index 100% rename from siproxd/files/siproxd.init rename to net/siproxd/files/siproxd.init diff --git a/siproxd/patches/010-fix-bogus-libltdl-dependency.patch b/net/siproxd/patches/010-fix-bogus-libltdl-dependency.patch similarity index 100% rename from siproxd/patches/010-fix-bogus-libltdl-dependency.patch rename to net/siproxd/patches/010-fix-bogus-libltdl-dependency.patch diff --git a/sipsak/Makefile b/net/sipsak/Makefile similarity index 100% rename from sipsak/Makefile rename to net/sipsak/Makefile diff --git a/sipsak/patches/001-ssp.patch b/net/sipsak/patches/001-ssp.patch similarity index 100% rename from sipsak/patches/001-ssp.patch rename to net/sipsak/patches/001-ssp.patch diff --git a/sipsak/patches/002-no_cares_ruli.patch b/net/sipsak/patches/002-no_cares_ruli.patch similarity index 100% rename from sipsak/patches/002-no_cares_ruli.patch rename to net/sipsak/patches/002-no_cares_ruli.patch diff --git a/smap/Makefile b/net/smap/Makefile similarity index 100% rename from smap/Makefile rename to net/smap/Makefile diff --git a/smap/patches/00-fix-broadcast.patch b/net/smap/patches/00-fix-broadcast.patch similarity index 100% rename from smap/patches/00-fix-broadcast.patch rename to net/smap/patches/00-fix-broadcast.patch diff --git a/smap/patches/01-add-tecom-supported-header.patch b/net/smap/patches/01-add-tecom-supported-header.patch similarity index 100% rename from smap/patches/01-add-tecom-supported-header.patch rename to net/smap/patches/01-add-tecom-supported-header.patch diff --git a/smap/patches/02-segfault-and-toofast-bugfixes.patch b/net/smap/patches/02-segfault-and-toofast-bugfixes.patch similarity index 100% rename from smap/patches/02-segfault-and-toofast-bugfixes.patch rename to net/smap/patches/02-segfault-and-toofast-bugfixes.patch diff --git a/yate/Makefile b/net/yate/Makefile similarity index 100% rename from yate/Makefile rename to net/yate/Makefile diff --git a/yate/patches/100-add_dn_skipname_missing_from_many_libresolv.patch b/net/yate/patches/100-add_dn_skipname_missing_from_many_libresolv.patch similarity index 100% rename from yate/patches/100-add_dn_skipname_missing_from_many_libresolv.patch rename to net/yate/patches/100-add_dn_skipname_missing_from_many_libresolv.patch