[OpenWrt-Devel] Extending OpenWrt telephony maintainers by a new member

2017-12-06 Thread Jiri Slachta
Dear OpenWrt owners,

I am writing to draw your attention to my proposal of extending
openwrt-telephony maintainers by Sebastian Kemper <sebastian...@gmx.net>
(@micmac1). He has proven himself through the time and he helped me a lot
with fixing and stabilizing the openwrt telephony repository to the current
state.

I would be grateful if you could add him among other openwrt-telephony
maintainers. 

I look forward to your reply.

Kind Regards,
Jiri Slachta



signature.asc
Description: OpenPGP digital signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH 3/5] elfutils: import package from packages.git

2015-05-19 Thread Jiri Slachta
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

AFAIK, the packages.git located at git.openwrt.org/packages.git is oldpackages 
repository
that does not have any use in current trunk and releases after Barrier Breaker.

@see http://git.openwrt.org/?p=openwrt.git;a=blob;f=feeds.conf.default;hb=HEAD

If there is PKG_MAINTAINER declared in package Makefile, you should be 
contacting the person
first before you make any contribution to packages repository at github or to 
openwrt repository.

There is no synchronization with oldpackages repository.

All of this was explained by Steven Barth before Barrier Breaker was released:

https://lists.openwrt.org/pipermail/openwrt-devel/2014-June/025810.html

Kind regards,
Jiri Slachta

Dne 19.5.2015 v 03:43 Luiz Angelo Daros de Luca napsal(a):
 I'm curious, as current elfutils packager, how I should play in this import?
 
 Should this package be removed from package.git (but there is no PR for it)?
 
 Or will it be periodically synchronized with packages.git?
 
 Also, as I'm not a core developer, maybe it would be better to a core 
 developer to take its maintainance.
 
 Regards,
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJVWu1XAAoJECilMVBDttCPxtMQAL9fLzpG73yaWMaM4xxb26Mm
oqv8elnP5IhHTa4JhsjhQFmSEepzhgRo8zunrZwJ8uaq+oAvL2mKzk+ndoPEFmzG
sp9fsVqJOC5GsgZFYNYzUnEM5xlvVPvPKgKrjVgKCFbzx7DtMcCFyPQEs96U+3dU
q8lB5qiFLnjMo0jIVN1gsszInWhKwJEtnKuuRj4PHf4qWXIYpbjnlVXYW4gyeeh0
9YLI8QvLDC19aQ6cZZjb2jH4tmvqL3V0k21CfU3u5bpx5MiZ/mo+4HsxnpW4oHS7
SNGc1kqJj0fOCcVICwFQS8w0xPYnJY1gZnVAbDFna6FKjMKt76UePCtjtHew6/0A
JQuavQrriOSWuhRFTe3/TIt7N4qpFwbaR1s2plqNtm6fPUPkuScMbJUIxzTRYwZo
lg4dhOYojZvC59QeXh/RA7BPKOKj0XfJgvBebdfOfCPXnMXUuzMIlfh3mRrGVpo3
K3eFVwZY04C69HrIBCM5VG55Ji8WnE6m6oN9Q0eSu48/1gLSkqA/ar9UajxkPUs8
xOypeB2yi3LyHMP2YyFF1+wa438xh1E8TaJTA2xsqBnPR2sneYjViyzUp9CCHAjk
frCyo1YYscfddKu/UqgL9Wjai17YvhDippuAE9oBW2JnCZ/0ezsZfkOniUIy2+wZ
2809Oi0V5tWy7vb2Bmw8
=CX79
-END PGP SIGNATURE-
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [Patch] [packages] new package dansguardian

2015-01-18 Thread Jiri Slachta
Hello Hanno,

openwrt-devel mailing list is intended to be used for patches against
the base OpenWrt repository. The packages repository has been moved
to github where all changes are merged as pull requests. 

See the statement about the transition to github:
https://forum.openwrt.org/viewtopic.php?id=51078

The new packages repository is located here:
http://github.com/openwrt/packages

Kind regards,
Jiri Slachta

Dne 18.1.2015 v 12:45 hanno napsal(a):
 Moved new version 2.12.03 from oldpackages to packages as request by Felix
 Fietkau
 
 Signed-off-by: Hanno Schupp hanno.sch...@gmail.com
 ---
 diff -uprN ../trunk/feeds/packages/net/dansguardian/Makefile 
 ./feeds/packages/net/dansguardian/Makefile
 --- ../trunk/feeds/packages/net/dansguardian/Makefile 1970-01-01 
 12:00:00.0 +1200
 +++ ./feeds/packages/net/dansguardian/Makefile2015-01-06 
 15:56:14.017306000 +1300
 @@ -0,0 +1,62 @@
 +#
 +# Copyright (C) 2008-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:=dansguardian
 +PKG_VERSION:=2.12.0.3
 +PKG_RELEASE:=1
 +
 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 +PKG_SOURCE_URL:=http://sourceforge.net/projects/dansguardian/files/
 +PKG_MD5SUM:=2a88d0392cd28eaec02b7ee727b2e253
 +
 +PKG_INSTALL:=1
 +
 +include $(INCLUDE_DIR)/uclibc++.mk
 +include $(INCLUDE_DIR)/package.mk
 +
 +define Package/dansguardian
 +  SECTION:=net
 +  DEPENDS:=+libpthread $(CXX_DEPENDS) +zlib
 +  CATEGORY:=Network
 +  SUBMENU:=Web Servers/Proxies
 +  TITLE:=DansGuardian
 +  URL:=http://dansguardian.org
 +endef
 +
 +define Package/dansguardian/conffiles
 +/etc/dansguardian/dansguardian.conf
 +endef
 +
 +CONFIGURE_VARS += \
 + INCLUDES= \
 + CXXFLAGS=CXXFLAGS -fno-rtti  \
 + LIBS=-lpthread \
 +
 +define Build/Configure
 + $(call Build/Configure/Default,\
 + --disable-clamav \
 + --with-sysconfsubdir=dansguardian \
 + --with-proxyuser=root \
 + --with-proxygroup=root \
 + --disable-pcre \
 + )
 +endef
 +
 +define Package/dansguardian/install
 + $(INSTALL_DIR) $(1)/usr/sbin
 + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dansguardian $(1)/usr/sbin/
 + $(INSTALL_DIR) $(1)/etc
 + $(CP) $(PKG_INSTALL_DIR)/etc/dansguardian $(1)/etc/
 + $(INSTALL_DIR) $(1)/usr/share/dansguardian
 + $(INSTALL_BIN) 
 $(PKG_INSTALL_DIR)/usr/share/dansguardian/transparent1x1.gif 
 $(1)/usr/share/dansguardian/
 + $(INSTALL_DIR) $(1)/usr/share/dansguardian/languages/ukenglish
 + $(CP) $(PKG_INSTALL_DIR)/usr/share/dansguardian/languages/ukenglish/* 
 $(1)/usr/share/dansguardian/languages/ukenglish/
 +endef
 +
 +$(eval $(call BuildPackage,dansguardian))
 diff -uprN 
 ../trunk/feeds/packages/net/dansguardian/patches/001-include_dir.patch 
 ./feeds/packages/net/dansguardian/patches/001-include_dir.patch
 --- ../trunk/feeds/packages/net/dansguardian/patches/001-include_dir.patch
 1970-01-01 12:00:00.0 +1200
 +++ ./feeds/packages/net/dansguardian/patches/001-include_dir.patch   
 2015-01-06 08:08:58.494773000 +1300
 @@ -0,0 +1,29 @@
 +--- a/configure
  b/configure
 +@@ -861,7 +861,7 @@ sysconfdir='${prefix}/etc'
 + sharedstatedir='${prefix}/com'
 + localstatedir='${prefix}/var'
 + includedir='${prefix}/include'
 +-oldincludedir='/usr/include'
 ++oldincludedir='${prefix}/usr/include'
 + docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 + infodir='${datarootdir}/info'
 + htmldir='${docdir}'
 +@@ -6317,7 +6317,7 @@ $as_echo_n checking for zlib...  6; 
 + # Check whether --with-zlib was given.
 + if test ${with_zlib+set} = set; then
 +   withval=$with_zlib;  # check for header  func (in library) in given 
 prefix
 +-CPPFLAGS=${CPPFLAGS} -I${withval}/include
 ++CPPFLAGS=${CPPFLAGS}
 + if test x$staticzlib = xtrue; then
 + LIBS=-Bstatic -L${withval} -lz -Bdynamic ${LIBS}
 + else
 +@@ -10042,7 +10042,7 @@ _ACEOF
 + if test ${with_libiconv+set} = set; then
 +   withval=$with_libiconv;  # check for header  func (in library) in given 
 prefix
 + if test x$withval != x; then
 +-CPPFLAGS=${CPPFLAGS} -I${withval}/include
 ++CPPFLAGS=${CPPFLAGS}
 + LIBS=-L${withval}/lib -liconv ${LIBS}
 + else
 + LIBS=-liconv ${LIBS}
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH 1/1] package: contrib: add smstools3 package

2014-12-20 Thread Jiri Slachta
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Gerald,

I would recommend you to resend the patch to the openwrt packages repository on
github as a pull request.

Please follow the Contributing Guidelines[1] for packages in OpenWrt package 
repository. In your Makefile the PKG_MAINTAINER is not defined and the 
PKG_RELEASE 
should be reset to 1 since the package Makefile is at its initial version.

Kind regards,
Jiri Slachta

[1] https://github.com/openwrt/packages/blob/master/CONTRIBUTING.md

Dne 21.12.2014 v 08:09 Gerald Kerma napsal(a):
 Add smstools3 package from http://smstools3.kekekasvi.com/
 
 Signed-off-by: Gerald Kerma drea...@doukki.net
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJUlnssAAoJECilMVBDttCPrJsP/1zyIQpfHeqj2Ieas9xl9gSd
dtdeN5GRteir8Tc+o/yf2eKJV0B3XqPiI0bGkJnMyRWPr7SzPlE7dlaZso7w8pHR
DK+4e07D6exmRXri0iEpRW1o4tdEQd/Xs+xm8BxWAXSTqJULZpnA414arZFvcnoT
whljSET6T2+TEMD3w5+jJMs6wnmxPM97Dxd9rxKmOmBGaDYfIWkkGSpMM30XYt0z
ZMqXwqYwM5awjh+AaGtc/PWzOVZUvAyo5e1kURred5eAfzm2SPwfQH2oNyv023dR
MeAXoZloq7QGn8b0qzLyStVU/F7NmsJA0tKHaYZJ3Nme0j54aCr+T3GXnkzjwBCR
YCDXUefIKsMmeMJeCknpBGKCWivYud8gIGM7+DzPiFCTVxET8yBkLqlRahOTuWyM
FMogk90CllHt236mrEeeFYfPTJsQSVjXO/zzvbHzYJKLW1dyGNPoLW9GufoubatN
xXFxJ+aW/NVUi0TKtxBEpkkPNhkRW1Z/FFNqb7By6S+4lTiRiXvJQlDOVft/6bvR
aUan169Xz32eGiNf4wP3G0DPfIytgKUmcdIzx78kxXiN5GYH9/8NU9DKXR4D1LId
BUbRPlVaC41p5KV76uTt94TN3z4kjDGwry7SiAoSbprPsSSRE4n6E5XAZrGyLQn7
fHLpFuNX27z+6iWDpOYy
=ei6Z
-END PGP SIGNATURE-
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Subject: [PATCH] [package] Check port state on new call to avoid previous call ending

2014-12-15 Thread Jiri Slachta
Hello Roberto,

thank you for your contribution. You seem to have swapped the original and 
modified
source file while diffing it, but this is a not a big deal. I will test your 
change 
during this week and merge it if it works.

Next time please create pull request against the github telephony repository 
located
here https://github.com/openwrt/telephony

Thank you,
Jiri

Dne 16.12.2014 v 01:35 Roberto Ruiz napsal(a):
 From: Roberto Ruiz robertoenla...@gmail.com 
 mailto:robertoenla...@gmail.com
 
 When there is an Asterisk 1.8 VoIP conversation using a FXS port, and a 
 second call is received, the first conversation turns imposible because the 
 other person can´t hear you. The problem start when the Asterisk dialplan 
 command Dial(TAPI/1TAPI/2,60) is executed. It calls function 
 ast_lantiq_requester, defined on chan_lantiq.c, and this function creates a 
 new channel without check if the port is in use. This patch modify the 
 function to test if there is a call using the port and, if yes, a new channel 
 won´t be created in that port.
 Signed-off-by: Roberto Ruiz robertoenla...@gmail.com 
 mailto:robertoenla...@gmail.com
 ---
 --- 
 trunk/feeds/telephony/net/asterisk-1.8.x/src-lantiq/channels/chan_lantiq.c.orig
 2014-12-15 18:26:17.053726654 +0100
 +++ 
 trunk/feeds/telephony/net/asterisk-1.8.x/src-lantiq/channels/chan_lantiq.c
 2014-12-15 18:31:16.529050559 +0100
 @@ -758,16 +758,6 @@ static struct ast_channel * ast_lantiq_r
   */
  port_id -= 1;
  
 -/* check if port is in use */
 -struct lantiq_pvt *pvt = iflist[port_id];
 -if (pvt-owner != NULL){
 -ast_verbose(VERBOSE_PREFIX_3 Request to create new channel on 
 port_id %i, but port is in use. Channel not created.\n, port_id);
 -ast_verbose(VERBOSE_PREFIX_3 Port state:%s.\n, 
 state_string(pvt-channel_state));
 -*cause = AST_CAUSE_USER_BUSY;
 -ast_mutex_unlock(iflock);
 -return NULL;
 -}
 -
  chan = lantiq_channel(AST_STATE_DOWN, port_id, NULL, NULL);
  
  ast_mutex_unlock(iflock);
 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [BB] feeds.conf.default: telephony repository is now on github

2014-12-11 Thread Jiri Slachta

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 feeds.conf.default | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/feeds.conf.default b/feeds.conf.default
index 4e6627b..7dfc9a8 100644
--- a/feeds.conf.default
+++ b/feeds.conf.default
@@ -1,7 +1,7 @@
 src-git packages https://github.com/openwrt/packages.git;for-14.07
 src-git luci https://github.com/openwrt/luci.git;luci-0.12
 src-git routing https://github.com/openwrt-routing/packages.git;for-14.07
-src-git telephony http://git.openwrt.org/feed/telephony.git;for-14.07
+src-git telephony http://github.com/openwrt/telephony.git;for-14.07
 src-git management https://github.com/openwrt-management/packages.git;for-14.07
 src-git oldpackages http://git.openwrt.org/14.07/packages.git
 #src-svn xwrt http://x-wrt.googlecode.com/svn/trunk/package
-- 
2.1.3
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] feeds.conf.default: telephony repository is now on github

2014-12-11 Thread Jiri Slachta

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 feeds.conf.default | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/feeds.conf.default b/feeds.conf.default
index 30b9eed..7053240 100644
--- a/feeds.conf.default
+++ b/feeds.conf.default
@@ -1,7 +1,7 @@
 src-git packages https://github.com/openwrt/packages.git
 src-git luci https://github.com/openwrt/luci.git
 src-git routing https://github.com/openwrt-routing/packages.git
-src-git telephony http://git.openwrt.org/feed/telephony.git
+src-git telephony http://github.com/openwrt/telephony.git
 src-git management https://github.com/openwrt-management/packages.git
 #src-git oldpackages http://git.openwrt.org/packages.git
 #src-svn xwrt http://x-wrt.googlecode.com/svn/trunk/package
-- 
2.1.3
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Having minor questions about trunk

2014-06-13 Thread Jiri Slachta
Hi,

this is a common disadvantage using trunk. If you would love to
avoid that behaviour, you should use stable release.

There are also several ways how to achieve the installation of
selected packages (in case if you do not want the freshest 
packages). You can download all packages and put them on another 
http server (like public folder in Dropbox service..). By changing
server in /etc/opkg.conf to your alternate server you can install 
any packages without having version mismatch.

It depends on you whether you want to have the latest packages
or you want to have freezed repository.

Kind regards,
Jiri

Dne 13.6.2014 22:19, Jonas Liepuonius napsal(a):
 Hello,
 
 I’m rather new here, but I got a few questions regarding the “trunk” version 
 of OpenWRT, the Barrier Breaker. I’m running it on my TP-Link TL-MR3040. So I 
 have enjoyed it since the install, everything seems so work, but I’m got a 
 few questions, because when I tried to install a kernel module a few days 
 later the install it didn’t work. It was because my kernel was out of date. 
 So I reflashed the firmware to the newest one and then everything was fine 
 again, but that keeps happening, my kernel gets “outdated” and the kernel 
 modules don’t compile. Is there a way to make this easy? Or do I need to 
 reflash the firmware everytime I need to install more kernel modules?
 
 Thanks,
 John
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
 



signature.asc
Description: OpenPGP digital signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][AA][packages] cyrus-sasl: add libtool to PKG_FIXUP

2014-05-11 Thread Jiri Slachta
This patch adds libtool to PKG_FIXUP variable. Without it
it complaints about version mismatch. It fixes #13196.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 libs/cyrus-sasl/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/cyrus-sasl/Makefile b/libs/cyrus-sasl/Makefile
index ca78de8..149fbb7 100644
--- a/libs/cyrus-sasl/Makefile
+++ b/libs/cyrus-sasl/Makefile
@@ -17,7 +17,7 @@ PKG_MD5SUM:=2eb0e48106f0e9cd8001e654f267ecbc
 
 PKG_BUILD_DEPENDS:=libopenssl
 
-PKG_FIXUP:=autoreconf
+PKG_FIXUP:=autoreconf libtool
 PKG_MACRO_PATHS:=cmulocal config ../cmulocal ../config
 PKG_AUTOMAKE_PATHS:=. saslauthd sasldb
 PKG_REMOVE_FILES:=aclocal.m4 saslauthd/aclocal.m4
-- 
1.9.1


---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][AA][packages] asterisk-chan-sccp-b: update to revision 5393

2014-05-11 Thread Jiri Slachta
This patch updates asterisk-chan-sccp-b module to revision 5393.
This update is required if asterisk18 gets updated to 1.8.27.0.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 net/asterisk-chan-sccp-b/Makefile  | 24 +-
 .../patches/200-register-file-version.patch| 19 -
 net/asterisk-chan-sccp-b/patches/300-stdarg.patch  | 10 -
 3 files changed, 14 insertions(+), 39 deletions(-)
 delete mode 100644 
net/asterisk-chan-sccp-b/patches/200-register-file-version.patch
 delete mode 100644 net/asterisk-chan-sccp-b/patches/300-stdarg.patch

diff --git a/net/asterisk-chan-sccp-b/Makefile 
b/net/asterisk-chan-sccp-b/Makefile
index 8201519..87406a0 100644
--- a/net/asterisk-chan-sccp-b/Makefile
+++ b/net/asterisk-chan-sccp-b/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2013 OpenWrt.org
+# Copyright (C) 2014 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -8,16 +8,18 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=asterisk18-chan-sccp-b
-PKG_REV=3004
-PKG_VERSION:=r$(PKG_REV)
-PKG_RELEASE:=2
+PKG_REV:=5393
+PKG_VERSION:=4.1r$(PKG_REV)
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=http://svn.code.sf.net/p/chan-sccp-b/code/trunk
+PKG_SOURCE_URL:=http://svn.code.sf.net/p/chan-sccp-b/code/branches/V4.1
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_VERSION:=$(PKG_REV)
 PKG_SOURCE_PROTO:=svn
 
+PKG_FIXUP:=autoreconf -fi
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/asterisk18-chan-sccp-b
@@ -26,7 +28,8 @@ define Package/asterisk18-chan-sccp-b
   CATEGORY:=Network
   TITLE:=SCCP channel provider for asterisk
   URL:=http://chan-sccp-b.sourceforge.net/
-  DEPENDS:= asterisk18 +libltdl
+  DEPENDS:=asterisk18 +libltdl
+  MAINTAINER:=Jiri Slachta slac...@cesnet.cz
 endef
 
 define Package/asterisk18-chan-sccp-b/description
@@ -34,12 +37,13 @@ define Package/asterisk18-chan-sccp-b/description
  by asterisk by default.
 endef
 
-CONFIGURE_ARGS += \
-   --with-asterisk=$(STAGING_DIR)/usr/include/asterisk-1.8
+define Build/Configure
+   $(call 
Build/Configure/Default,--with-asterisk=$(STAGING_DIR)/usr/include/asterisk-1.8)
+endef
 
 define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
-   CFLAGS=$(CFLAGS) -DLOW_MEMORY \
+   CFLAGS=$(CFLAGS) -I$(PKG_BUILD_DIR)/src -DLOW_MEMORY \
DESTDIR=$(PKG_INSTALL_DIR) \
all install
 endef
@@ -50,7 +54,7 @@ endef
 
 define Package/asterisk18-chan-sccp-b/install
$(INSTALL_DIR) $(1)/etc/asterisk
-   $(INSTALL_BIN)  ./files/sccp.openwrt.conf $(1)/etc/asterisk/sccp.conf
+   $(CP)  ./files/sccp.openwrt.conf $(1)/etc/asterisk/sccp.conf
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_sccp.so 
$(1)/usr/lib/asterisk/modules/
 endef
diff --git a/net/asterisk-chan-sccp-b/patches/200-register-file-version.patch 
b/net/asterisk-chan-sccp-b/patches/200-register-file-version.patch
deleted file mode 100644
index 81ca9d3..000
--- a/net/asterisk-chan-sccp-b/patches/200-register-file-version.patch
+++ /dev/null
@@ -1,19 +0,0 @@
 a/src/chan_sccp.h
-+++ b/src/chan_sccp.h
-@@ -127,15 +127,7 @@ extern C {
- #define CHECK_LEAKS()
- #endif
- 
--#define SCCP_FILE_VERSION(file, version) \
--  static void __attribute__((constructor)) __register_file_version(void) \
--  { \
--  pbx_register_file_version(file, version); \
--  } \
--  static void __attribute__((destructor)) __unregister_file_version(void) 
\
--  { \
--  pbx_unregister_file_version(file); \
--  }
-+#define SCCP_FILE_VERSION(file, version) 
- 
- #define DEV_ID_LOG(x) x ? x-id : SCCP
- 
diff --git a/net/asterisk-chan-sccp-b/patches/300-stdarg.patch 
b/net/asterisk-chan-sccp-b/patches/300-stdarg.patch
deleted file mode 100644
index be91ed7..000
--- a/net/asterisk-chan-sccp-b/patches/300-stdarg.patch
+++ /dev/null
@@ -1,10 +0,0 @@
 a/src/chan_sccp.h
-+++ b/src/chan_sccp.h
-@@ -32,6 +32,7 @@ extern C {
- #include common.h
- #include poll.h
- #include asterisk/compiler.h
-+#include stdarg.h
- #include asterisk/lock.h
- #include asterisk/abstract_jb.h
- 
-- 
1.9.1
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][AA][packages] asterisk: update package to 1.8.27.0

2014-05-11 Thread Jiri Slachta
This patch backports asterisk18 package from trunk to AA. It updates
asterisk to version 1.8.27.0 and it fixes broken call data records 
subpackage.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 net/asterisk-1.8.x/Makefile| 126 +
 net/asterisk-1.8.x/files/asterisk.init |  37 --
 net/asterisk-1.8.x/patches/500-nres.patch  |   2 +-
 net/asterisk-1.8.x/patches/600-CVE-2012-2186.patch |  10 --
 4 files changed, 130 insertions(+), 45 deletions(-)
 delete mode 100644 net/asterisk-1.8.x/patches/600-CVE-2012-2186.patch

diff --git a/net/asterisk-1.8.x/Makefile b/net/asterisk-1.8.x/Makefile
index 6c769cc..4707cc9 100644
--- a/net/asterisk-1.8.x/Makefile
+++ b/net/asterisk-1.8.x/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2008-2012 OpenWrt.org
+# Copyright (C) 2014 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=asterisk18
-PKG_VERSION:=1.8.10.1
-PKG_RELEASE:=2
+PKG_VERSION:=1.8.27.0
+PKG_RELEASE:=1
 
 PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk/releases/
-PKG_MD5SUM:=415738d347b9037cbe5f8bfbe66843de
+PKG_MD5SUM:=8861a5ff91cf4252f485b2a049d1c317
 
 PKG_BUILD_DIR=$(BUILD_DIR)/asterisk-$(PKG_VERSION)
 
@@ -34,7 +34,6 @@ define Package/asterisk18/Default/description
  equipment using relatively inexpensive hardware.
 endef
 
-
 define Package/asterisk18
 $(call Package/asterisk18/Default)
   TITLE:=Complete open source PBX, v1.8x
@@ -95,7 +94,7 @@ endef
 define Package/asterisk18-cdr
 $(call Package/asterisk18/Default)
   TITLE:=CDR support
-  DEPENDS:= asterisk18 @BROKEN
+  DEPENDS:= asterisk18
 endef
 
 define Package/asterisk18-cdr/description
@@ -104,6 +103,18 @@ $(call Package/asterisk18/Default/description)
  Asterisk.
 endef
 
+define Package/asterisk18-pgsql
+$(call Package/asterisk18/Default)
+  TITLE:=PostgreSQL support
+  DEPENDS:= asterisk18 +libpq
+endef
+
+define Package/asterisk18-pgsql/description
+$(call Package/asterisk18/Default/description)
+ This package provides PostgreSQL support to
+ Asterisk.
+endef
+
 define Package/asterisk18-res-musiconhold
 $(call Package/asterisk18/Default)
   TITLE:=MOH support
@@ -234,6 +245,28 @@ $(call Package/asterisk18/Default/description)
  This package provides the channel chan_lantiq support to Asterisk.
 endef
 
+define Package/asterisk18-odbc
+$(call Package/asterisk18/Default)
+  TITLE:=ODBC support
+  DEPENDS:= asterisk18 +libpthread +libc +unixodbc
+endef
+
+define Package/asterisk18-odbc/description
+$(call Package/asterisk18/Default/description)
+ This package provides ODBC support for Asterisk.
+endef
+
+define Package/asterisk18-pbx-lua
+$(call Package/asterisk18/Default)
+  TITLE:=Lua support
+  DEPENDS:= asterisk18 +libpthread +libc +liblua
+endef
+
+define Package/asterisk18-pbx-lua/description
+$(call Package/asterisk18/Default/description)
+ This package provides Lua resources for Asterisk.
+endef
+
 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-app-meetme),)
   CONFIGURE_ARGS+= \
--with-dahdi=$(STAGING_DIR)/usr
@@ -244,23 +277,28 @@ endif
 
 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-chan-gtalk),)
   CONFIGURE_ARGS+= \
-   --with-gnutls=$(STAGING_DIR)/usr \
--with-iksemel=$(STAGING_DIR)/usr
   SITE_VARS+= \
-   ac_cv_lib_iksemel_iks_start_sasl=yes \
-   ac_cv_lib_gnutls_gnutls_bye=yes
+   ac_cv_lib_iksemel_iks_start_sasl=yes
 else
   CONFIGURE_ARGS+= \
-   --without-gnutls \
--without-iksemel
 endif
 
 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-curl),)
   CONFIGURE_ARGS+= \
-   --with-curl=$(STAGING_DIR)/usr
+   --with-libcurl=$(STAGING_DIR)/usr
+else
+  CONFIGURE_ARGS+= \
+   --without-libcurl
+endif
+
+ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-pgsql),)
+  CONFIGURE_ARGS+= \
+   --with-postgres=$(STAGING_DIR)/usr
 else
   CONFIGURE_ARGS+= \
-   --without-curl
+   --without-postgres
 endif
 
 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-mysql),)
@@ -295,25 +333,30 @@ else
--without-srtp
 endif
 
+ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-pbx-lua),)
+  CONFIGURE_ARGS+= \
+   --with-lua=$(STAGING_DIR)/usr
+  TARGET_LDFLAGS+=-ldl -lcrypt
+else
+  CONFIGURE_ARGS+= \
+   --without-lua
+endif
+
 CONFIGURE_ARGS+= \
--without-curses \
--with-gsm=internal \
--without-cap \
-   --without-gtk \
--without-gtk2 \
--without-isdnnet \
-   --without-kde \
--without-misdn \
--without-nbs \
--with-ncurses=$(STAGING_DIR)/usr \
--without-netsnmp \
--without-newt \
-   --without-odbc \
--without-ogg \
--without-osptk \
--with-popt=$(STAGING_DIR)/usr \
--without-pri \
-   --without-qt \
--without-radius \
--without-sdl \
--without-suppserv \
@@ -450,9 +493,7 @@ define

[OpenWrt-Devel] [PATCH][AA][packages] kamailio3: update to version 3.3.7

2014-05-11 Thread Jiri Slachta
This patch updates kamailio3 to version 3.3.7. It also adds heavily used
rtpproxy module which is missing in AA. This patch is a backport from trunk
to AA.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 net/kamailio3/Makefile| 58 ---
 net/kamailio3/patches/100-cross_compile.patch |  6 +--
 2 files changed, 27 insertions(+), 37 deletions(-)

diff --git a/net/kamailio3/Makefile b/net/kamailio3/Makefile
index 1702545..f11a27a 100644
--- a/net/kamailio3/Makefile
+++ b/net/kamailio3/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2012 OpenWrt.org
+# Copyright (C) 2014 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -8,12 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=kamailio3
-PKG_VERSION:=3.3.0
+PKG_VERSION:=3.3.7
 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:=c5261066b5c8b617b6a9408679ad514f
+PKG_MD5SUM:=519d1dfbddf7dbead3a020321582d471
+PKG_USE_MIPS16:=0
 
 INCL_MODULES:=
 KAM_MODULES:=
@@ -30,12 +31,13 @@ define Package/kamailio3/Default
   CATEGORY:=Network
   SUBMENU:=Telephony
   URL:=http://www.kamailio.org/
+  MAINTAINER:=Jiri Slachta slac...@cesnet.cz
   DEPENDS:=$(ICONV_DEPENDS) +libncurses +libpthread +libreadline
 endef
 
 define Package/kamailio3
 $(call Package/kamailio3/Default)
-  TITLE:=Mature and flexible open source SIP server version 3.x
+  TITLE:=Mature and flexible open source SIP server, v3.3.x
   MENU:=1
 endef
 
@@ -128,8 +130,7 @@ define BuildPlugin
 
   define Package/kamailio3-mod-$(1)/install
[ -z $(2) ] || $(INSTALL_DIR) $$(1)/usr/lib/kamailio/$(6)
-   $(CP) $(PKG_INSTALL_DIR)/usr/lib/kamailio/$(6)/$(2).so \
-   $$(1)/usr/lib/kamailio/$(6)/ ;
+   $(CP) $(PKG_INSTALL_DIR)/usr/lib/kamailio/$(6)/$(2).so 
$$(1)/usr/lib/kamailio/$(6)/
   endef
 
   INCL_MODULES+=$(2)
@@ -212,6 +213,7 @@ $(eval $(call BuildPlugin,registrar,registrar,SIP 
Registrar,usrloc,,modules_k))
 $(eval $(call BuildPlugin,rls,rls,Resource List Server,presence pua 
tm,+libxml2,modules_k))
 $(eval $(call BuildPlugin,rr,rr,Record-Route and Route,,,modules_k))
 $(eval $(call BuildPlugin,rtimer,rtimer,Routing Timer,,,modules_k))
+$(eval $(call BuildPlugin,rtpproxy,rtpproxy,RTP proxy,tm,,modules))
 $(eval $(call BuildPlugin,sanity,sanity,SIP sanity checks,sl,,modules))
 #$(eval $(call BuildPlugin,seas,seas,SIP Express Application 
Server,tm,,modules_k))
 $(eval $(call BuildPlugin,sipcapture,sipcapture,SIP capture module,,,modules))
@@ -239,43 +241,33 @@ $(eval $(call BuildPlugin,xlog,xlog,Advanced 
logger,,,modules_k))
 $(eval $(call BuildPlugin,xmpp,xmpp,SIP-to-XMPP 
Gateway,tm,+libexpat,modules_k))
 
 PKG_MAKE_ARGS:= \
-   cfg-dir=/etc/kamailio/ \
-   bin-dir=/usr/sbin/ \
-   data-dir=/var/lib/kamailio/ \
-   lib-dir=/usr/lib/kamailio/ \
-   modules-dir=/usr/lib/kamailio/modules/ \
+   prefix=/ \
+   cfg_dir=/etc/kamailio/ \
+   bin_dir=/usr/sbin/ \
+   data_dir=/var/lib/kamailio/ \
+   lib_dir=/usr/lib/kamailio/ \
+   modules_dir=/usr/lib/kamailio/ \
include_modules=$(INCL_MODULES) \
-   $(KAM3_EXTRA_ARGS) \
-   TLS_HOOKS=1 extra_defs=-DUSE_PTHREAD_MUTEX  \
+   cfg_target:=/etc/kamailio/ \
+   TLS_HOOKS=1 \
+   extra_defs=-DUSE_PTHREAD_MUTEX  \
CFLAGS=$(TARGET_CFLAGS) \
-   ISSMP=no \
LOCALBASE=$(STAGING_DIR)/usr \
SYSBASE=$(STAGING_DIR)/usr \
PCREDEFS:=$(TARGET_CPPFLAGS) \
PCRELIBS:=$(TARGET_LDFLAGS) \
-   cfg_target:=/etc/kamailio/ \
-   PREFIX:=/usr \
-   prefix:=/usr quiet=verbose
+   CROSS_COMPILE=$(TARGET_CROSS) \
+   CC=$(TARGET_CC) \
+   ARCH=$(ARCH)  \
+   DESTDIR=$(PKG_INSTALL_DIR) \
+   quiet=verbose
 
 define Build/Compile
-   if ! [ -f $(PREBUILT_STAMP) ]; then echo $(MAKE) -C $(PKG_BUILD_DIR) 
$(PKG_MAKE_ARGS) \
-   CC=$(TARGET_CC) \
-   ARCH=$(ARCH)  \
-   EXTRA_LIBS=-L$(STAGING_DIR)/usr/lib/ \
-   all  touch $(PREBUILT_STAMP); \
-   fi
$(MAKE) -C $(PKG_BUILD_DIR) $(PKG_MAKE_ARGS) \
-   CC=$(TARGET_CC) \
-   ARCH=$(ARCH)  \
-   DESTDIR=$(PKG_INSTALL_DIR) \
-   prefix=/ \
-   install-cfg
+   EXTRA_LIBS=-L$(STAGING_DIR)/usr/lib/ \
+   all
$(MAKE) -C $(PKG_BUILD_DIR) $(PKG_MAKE_ARGS) \
-   CC=$(TARGET_CC) \
-   ARCH=$(ARCH)  \
-   DESTDIR=$(PKG_INSTALL_DIR) \
-   prefix=/usr \
-   install-bin install-modules-all install-utils
+   install
 endef
 
 $(eval $(call BuildPackage,kamailio3))
diff --git a/net/kamailio3/patches/100-cross_compile.patch 
b/net/kamailio3/patches/100-cross_compile.patch
index 963a607..a4ee4d8 100644
--- a/net/kamailio3/patches

Re: [OpenWrt-Devel] [PATCH v1] x86_64 kernel config - add ATA drivers to boot vmware images

2014-03-26 Thread Jiri Slachta
Hi,

almost the same patch submitted a while ago was rejected. I do not think your 
patch will be accepted, see:

http://patchwork.openwrt.org/patch/4832/

Jiri

On March 26, 2014 6:16:44 PM CET, Darren Lissimore darren.lissim...@gmail.com 
wrote:

I needed to add the ATA drivers to the defalut x86_64 kernel config to
get the 
VMware disk images booting. 

Tested and verified functioning on VMware Workstation 9.0.3 . 

diff --git a/target/linux/x86_64/config-default
b/target/linux/x86_64/config-
default
index ad27973..76922a7 100644
--- a/target/linux/x86_64/config-default
+++ b/target/linux/x86_64/config-default
@@ -61,7 +61,9 @@ CONFIG_ARCH_WANT_FRAME_POINTERS=y
 CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
 # CONFIG_ASUS_LAPTOP is not set
 CONFIG_ATA=y
-# CONFIG_ATA_SFF is not set
+CONFIG_ATA_GENERIC=y
+CONFIG_ATA_PIIX=y
+CONFIG_ATA_SFF=y
 CONFIG_AUDIT_ARCH=y
 CONFIG_BINFMT_MISC=y
 CONFIG_BLK_DEV_SD=y

Signed-off-by: Darren Lissimore darren.lissim...@gmail.com
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

-- 
Odesláno z mého telefonu s Androidem pomocí pošty K-9 Mail. Omluvte prosím moji 
stručnost.___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][toolchain] uClibc: Fix threaded use of res_ functions.

2013-12-28 Thread Jiri Slachta
This patch moves res_init() back above #undef _res. It fixes dns resolving 
issue in OpenWrt
(uClibc related - OpenWrt ticket #11929). It is a backport from uClibc master.

Further details are there:
http://git.uclibc.org/uClibc/commit/libc/inet/resolv.c?id=20b69920b299585265eb100d0b67e1097ccb1092

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 ...35-inet_fix_threaded_use_of_res_functions.patch |  126 
 1 file changed, 126 insertions(+)
 create mode 100644 
toolchain/uClibc/patches-0.9.33.2/135-inet_fix_threaded_use_of_res_functions.patch

diff --git 
a/toolchain/uClibc/patches-0.9.33.2/135-inet_fix_threaded_use_of_res_functions.patch
 
b/toolchain/uClibc/patches-0.9.33.2/135-inet_fix_threaded_use_of_res_functions.patch
new file mode 100644
index 000..4c23141
--- /dev/null
+++ 
b/toolchain/uClibc/patches-0.9.33.2/135-inet_fix_threaded_use_of_res_functions.patch
@@ -0,0 +1,126 @@
+--- a/libc/inet/resolv.c
 b/libc/inet/resolv.c
+@@ -3536,6 +3536,61 @@
+   return 0;
+ }
+ 
++static unsigned int
++res_randomid(void)
++{
++  return 0x  getpid();
++}
++
++/* Our res_init never fails (always returns 0) */
++int
++res_init(void)
++{
++  /*
++   * These three fields used to be statically initialized.  This made
++   * it hard to use this code in a shared library.  It is necessary,
++   * now that we're doing dynamic initialization here, that we preserve
++   * the old semantics: if an application modifies one of these three
++   * fields of _res before res_init() is called, res_init() will not
++   * alter them.  Of course, if an application is setting them to
++   * _zero_ before calling res_init(), hoping to override what used
++   * to be the static default, we can't detect it and unexpected results
++   * will follow.  Zero for any of these fields would make no sense,
++   * so one can safely assume that the applications were already getting
++   * unexpected results.
++   *
++   * _res.options is tricky since some apps were known to diddle the bits
++   * before res_init() was first called. We can't replicate that semantic
++   * with dynamic initialization (they may have turned bits off that are
++   * set in RES_DEFAULT).  Our solution is to declare such applications
++   * broken.  They could fool us by setting RES_INIT but none do (yet).
++   */
++
++  __UCLIBC_MUTEX_LOCK(__resolv_lock);
++
++  if (!_res.retrans)
++  _res.retrans = RES_TIMEOUT;
++  if (!_res.retry)
++  _res.retry = 4;
++  if (!(_res.options  RES_INIT))
++  _res.options = RES_DEFAULT;
++
++  /*
++   * This one used to initialize implicitly to zero, so unless the app
++   * has set it to something in particular, we can randomize it now.
++   */
++  if (!_res.id)
++  _res.id = res_randomid();
++
++  __UCLIBC_MUTEX_UNLOCK(__resolv_lock);
++
++  __res_vinit(_res, 1);
++  __res_sync = res_sync_func;
++
++  return 0;
++}
++libc_hidden_def(res_init)
++
+ static void
+ __res_iclose(void)
+ {
+@@ -3608,61 +3663,6 @@
+ # endif
+ #endif /* !__UCLIBC_HAS_THREADS__ */
+ 
+-static unsigned int
+-res_randomid(void)
+-{
+-  return 0x  getpid();
+-}
+-
+-/* Our res_init never fails (always returns 0) */
+-int
+-res_init(void)
+-{
+-  /*
+-   * These three fields used to be statically initialized.  This made
+-   * it hard to use this code in a shared library.  It is necessary,
+-   * now that we're doing dynamic initialization here, that we preserve
+-   * the old semantics: if an application modifies one of these three
+-   * fields of _res before res_init() is called, res_init() will not
+-   * alter them.  Of course, if an application is setting them to
+-   * _zero_ before calling res_init(), hoping to override what used
+-   * to be the static default, we can't detect it and unexpected results
+-   * will follow.  Zero for any of these fields would make no sense,
+-   * so one can safely assume that the applications were already getting
+-   * unexpected results.
+-   *
+-   * _res.options is tricky since some apps were known to diddle the bits
+-   * before res_init() was first called. We can't replicate that semantic
+-   * with dynamic initialization (they may have turned bits off that are
+-   * set in RES_DEFAULT).  Our solution is to declare such applications
+-   * broken.  They could fool us by setting RES_INIT but none do (yet).
+-   */
+-
+-  __UCLIBC_MUTEX_LOCK(__resolv_lock);
+-
+-  if (!_res.retrans)
+-  _res.retrans = RES_TIMEOUT;
+-  if (!_res.retry)
+-  _res.retry = 4;
+-  if (!(_res.options  RES_INIT))
+-  _res.options = RES_DEFAULT;
+-
+-  /*
+-   * This one used to initialize implicitly to zero, so unless the app
+-   * has set it to something in particular, we can

[OpenWrt-Devel] [PATCH][toolchain] uClibc: make res_init() thread safe

2013-12-28 Thread Jiri Slachta

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 .../136-inet_make_res_init_thread_safe.patch   |   55 
 1 file changed, 55 insertions(+)
 create mode 100644 
toolchain/uClibc/patches-0.9.33.2/136-inet_make_res_init_thread_safe.patch

diff --git 
a/toolchain/uClibc/patches-0.9.33.2/136-inet_make_res_init_thread_safe.patch 
b/toolchain/uClibc/patches-0.9.33.2/136-inet_make_res_init_thread_safe.patch
new file mode 100644
index 000..e23b083
--- /dev/null
+++ b/toolchain/uClibc/patches-0.9.33.2/136-inet_make_res_init_thread_safe.patch
@@ -0,0 +1,55 @@
+--- a/libc/inet/resolv.c
 b/libc/inet/resolv.c
+@@ -3432,6 +3432,7 @@ static void res_sync_func(void)
+*/
+ }
+ 
++/* has to be called under __resolv_lock */
+ static int
+ __res_vinit(res_state rp, int preinit)
+ {
+@@ -3440,7 +3441,6 @@ __res_vinit(res_state rp, int preinit)
+   int m = 0;
+ #endif
+ 
+-  __UCLIBC_MUTEX_LOCK(__resolv_lock);
+   __close_nameservers();
+   __open_nameservers();
+ 
+@@ -3532,7 +3532,6 @@ __res_vinit(res_state rp, int preinit)
+ 
+   rp-options |= RES_INIT;
+ 
+-  __UCLIBC_MUTEX_UNLOCK(__resolv_lock);
+   return 0;
+ }
+ 
+@@ -3582,11 +3582,11 @@ res_init(void)
+   if (!_res.id)
+   _res.id = res_randomid();
+ 
+-  __UCLIBC_MUTEX_UNLOCK(__resolv_lock);
+-
+   __res_vinit(_res, 1);
+   __res_sync = res_sync_func;
+ 
++  __UCLIBC_MUTEX_UNLOCK(__resolv_lock);
++
+   return 0;
+ }
+ libc_hidden_def(res_init)
+@@ -3687,7 +3687,11 @@ struct __res_state *__resp = _res;
+ int
+ res_ninit(res_state statp)
+ {
+-  return __res_vinit(statp, 0);
++  int ret;
++  __UCLIBC_MUTEX_LOCK(__resolv_lock);
++  ret = __res_vinit(statp, 0);
++  __UCLIBC_MUTEX_UNLOCK(__resolv_lock);
++  return ret;
+ }
+ 
+ #endif /* L_res_init */
+--
+cgit v0.9.1
-- 
1.7.9.5
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][toolchain] uClibc: Fix lookup with DNS search in multi-threaded application.

2013-12-28 Thread Jiri Slachta

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 .../137-inet_fix_threaded_res_init.patch   |   12 
 1 file changed, 12 insertions(+)
 create mode 100644 
toolchain/uClibc/patches-0.9.33.2/137-inet_fix_threaded_res_init.patch

diff --git 
a/toolchain/uClibc/patches-0.9.33.2/137-inet_fix_threaded_res_init.patch 
b/toolchain/uClibc/patches-0.9.33.2/137-inet_fix_threaded_res_init.patch
new file mode 100644
index 000..d40f28d
--- /dev/null
+++ b/toolchain/uClibc/patches-0.9.33.2/137-inet_fix_threaded_res_init.patch
@@ -0,0 +1,12 @@
+--- a/libc/inet/resolv.c
 b/libc/inet/resolv.c
+@@ -3581,6 +3581,7 @@ res_init(void)
+   if (!_res.id)
+   _res.id = res_randomid();
+ 
++  __res_sync = NULL;
+   __res_vinit(_res, 1);
+   __res_sync = res_sync_func;
+ 
+--
+cgit v0.9.1
-- 
1.7.9.5
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Patches for uClibc

2013-12-28 Thread Jiri Slachta
Hello,

please consider three previous patches as a patchset. Those patches were 
backported from uClibc
master which fixes DNS hangups etc.. 

The patchset:
http://patchwork.openwrt.org/patch/4650/
http://patchwork.openwrt.org/patch/4649/
http://patchwork.openwrt.org/patch/4648/

Further details are there:
http://lists.uclibc.org/pipermail/uclibc/2013-August/047885.html

Those changes were accepted and merged into uClibc master:
http://git.uclibc.org/uClibc/commit/libc/inet/resolv.c?id=1c8d287e58a3199213b5533136a7a04c8eb231bb
http://git.uclibc.org/uClibc/commit/libc/inet/resolv.c?id=ecc7aee9a0eb4f9fbdf4dc2972e8c6361e531b6a
http://git.uclibc.org/uClibc/commit/libc/inet/resolv.c?id=20b69920b299585265eb100d0b67e1097ccb1092

I would be happy if at least the patch #4648 at patchwork would be accepted, it 
fixes 17 months
opened ticket #11929 - https://dev.openwrt.org/ticket/11929

Thank you so much!
Jiri
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Patches for uClibc

2013-12-28 Thread Jiri Slachta
Hi!

 
 This cover-letter is nice, but 2 of the patches miss a proper
 changelog - pointing at least to the upstream commit-id.
 As an example Linux-stable [1].
 A new uClibc 0.9.33.x is overdue...

So what should I do? Should I wait for next uClibc release or just resend those 
patches with upstream commit-id and with description?

 
 - Sedat -
 

Thank you,
Jiri
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages] libssh2: update to 1.4.3

2013-12-28 Thread Jiri Slachta
This patch updates libssh2 to version 1.4.3 and also adds its
pkgconfig file to pkgconfig path.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 libs/libssh2/Makefile |8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/libs/libssh2/Makefile b/libs/libssh2/Makefile
index 01f538f..4410cd3 100644
--- a/libs/libssh2/Makefile
+++ b/libs/libssh2/Makefile
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libssh2
-PKG_VERSION:=1.4.2
+PKG_VERSION:=1.4.3
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.libssh2.org/download
-PKG_MD5SUM:=42e2b3796ac07fc1dbafc7abcc002cd3
+PKG_MD5SUM:=071004c60c5d6f90354ad1b701013a0b
 
 PKG_INSTALL:=1
 
@@ -28,7 +28,7 @@ define Package/libssh2
 endef
 
 define Package/libssh2/description
-   libssh2 is a client-side C library implementing the SSH2 protocol
+ libssh2 is a client-side C library implementing the SSH2 protocol.
 endef
 
 TARGET_CFLAGS += $(FPIC)
@@ -40,8 +40,10 @@ CONFIGURE_ARGS += \
 define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(INSTALL_DIR) $(1)/usr/lib
+   $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libssh2.so* $(1)/usr/lib/
+   $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libssh2.pc 
$(1)/usr/lib/pkgconfig/
 endef
 
 define Package/libssh2/install
-- 
1.7.9.5
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages] re: update to version 0.4.6

2013-12-26 Thread Jiri Slachta

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 libs/re/Makefile |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libs/re/Makefile b/libs/re/Makefile
index dc1a943..8210ae1 100644
--- a/libs/re/Makefile
+++ b/libs/re/Makefile
@@ -9,12 +9,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=re
-PKG_VERSION:=0.4.3
+PKG_VERSION:=0.4.6
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.creytiv.com/pub
-PKG_MD5SUM:=fce784a2de2c0e32c687d8fe47c8245e
+PKG_MD5SUM:=45e89a95e27537e5c9d5e566bb49ee90
 
 include $(INCLUDE_DIR)/package.mk
 
-- 
1.7.9.5


---
Tato zpráva neobsahuje viry ani jiný škodlivý kód - avast! Antivirus je aktivní.
http://www.avast.com
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH][packages] rem: update to version 0.4.6

2013-12-26 Thread Jiri Slachta
There is a little mistake in the email subject. I am updating librem to version 
0.4.4. ;-)
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] YATE 5.0.0 fails to build because PHP5 doesn't build

2013-11-16 Thread Jiri Slachta
PHP seems to be as a mandatory dependency for yate. If there is no possibility 
to enable/disable php then it should be added among other dependencies of the 
main yate package.

I am going to resolve this issue within this weekend.

Jiri

Jo-Philipp Wich j...@openwrt.org napsal(a):
Selected how? Through menuconfig?

~ Jow





___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

-- 
Odesláno z mého telefonu s Androidem pomocí pošty K-9 Mail. Omluvte prosím moji 
stručnost.___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] [packages] zabbix: update to 2.2.0

2013-11-15 Thread Jiri Slachta
This patch updates zabbix to version 2.2.0. This patch also fixes the
autostart of agentd daemon which could not start with default cfg
because of the nonexistence of /etc/zabbix_agentd.conf.d directory.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 admin/zabbix/Makefile  |4 ++--
 admin/zabbix/patches/001-cross_compile.patch   |2 +-
 .../patches/002-fix-res_send-on-uclibc.patch   |6 +++---
 admin/zabbix/patches/002-uclibc_loadavg.patch  |   11 +--
 .../zabbix/patches/010-change-agentd-config.patch  |   10 +-
 5 files changed, 16 insertions(+), 17 deletions(-)

diff --git a/admin/zabbix/Makefile b/admin/zabbix/Makefile
index 5ee8425..6183c4f 100644
--- a/admin/zabbix/Makefile
+++ b/admin/zabbix/Makefile
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=zabbix
-PKG_VERSION:=2.0.8
+PKG_VERSION:=2.2.0
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/zabbix
-PKG_MD5SUM:=8fef9e6f499295211dd9b2a9db96464b
+PKG_MD5SUM:=caec9b3b744dac0b171c0c6b0c240b69
 
 PKG_INSTALL:=1
 
diff --git a/admin/zabbix/patches/001-cross_compile.patch 
b/admin/zabbix/patches/001-cross_compile.patch
index 8716e84..780e618 100644
--- a/admin/zabbix/patches/001-cross_compile.patch
+++ b/admin/zabbix/patches/001-cross_compile.patch
@@ -1,6 +1,6 @@
 --- a/configure.in 2012-06-21 21:32:23.707912790 +
 +++ b/configure.in 2012-06-21 21:33:36.213554564 +
-@@ -802,25 +802,8 @@
+@@ -804,25 +804,8 @@
  
  dnl Check for %qu format (FreeBSD 4.x)
  dnl FreeBSD 4.x does not support %llu
diff --git a/admin/zabbix/patches/002-fix-res_send-on-uclibc.patch 
b/admin/zabbix/patches/002-fix-res_send-on-uclibc.patch
index 3190659..a5fb677 100644
--- a/admin/zabbix/patches/002-fix-res_send-on-uclibc.patch
+++ b/admin/zabbix/patches/002-fix-res_send-on-uclibc.patch
@@ -1,6 +1,6 @@
 --- a/configure.in 2013-02-14 18:29:28.145419003 +0100
 +++ b/configure.in 2013-02-14 18:28:42.873418092 +0100
-@@ -149,6 +149,10 @@
+@@ -151,6 +151,10 @@
AC_MSG_ERROR([Unable to do DNS lookups (libresolv check failed)])
  fi
  LIBS=${LIBS} ${RESOLV_LIBS}
@@ -13,7 +13,7 @@
  dnl *   *
 --- a/src/libs/zbxsysinfo/common/net.c 2012-06-21 19:49:46.610567432 +
 +++ b/src/libs/zbxsysinfo/common/net.c 2012-06-21 19:50:35.816628541 +
-@@ -418,6 +418,7 @@
+@@ -421,6 +421,7 @@
  #else /* not _WINDOWS */
res_init(); /* initialize always, settings might have changed */
  
@@ -21,7 +21,7 @@
if (-1 == (res = res_mkquery(QUERY, zone, C_IN, type, NULL, 0, NULL, 
buf, sizeof(buf
return SYSINFO_RET_FAIL;
  
-@@ -436,6 +437,11 @@
+@@ -439,6 +440,11 @@
_res.retry = retry;
  
res = res_send(buf, res, answer.buffer, sizeof(answer.buffer));
diff --git a/admin/zabbix/patches/002-uclibc_loadavg.patch 
b/admin/zabbix/patches/002-uclibc_loadavg.patch
index 6effabb..66e93ca 100644
--- a/admin/zabbix/patches/002-uclibc_loadavg.patch
+++ b/admin/zabbix/patches/002-uclibc_loadavg.patch
@@ -1,10 +1,9 @@
 a/src/libs/zbxsysinfo/linux/cpu.c  2013-02-12 12:27:22.0 +0100
-+++ b/src/libs/zbxsysinfo/linux/cpu.c  2013-02-14 18:38:02.517429349 +0100
-@@ -21,6 +21,45 @@
+--- zabbix-2.2.0/src/libs/zbxsysinfo/linux/cpu.c   2013-11-12 
07:07:26.0 +0100
 zabbix-new/src/libs/zbxsysinfo/linux/cpu.c 2013-11-15 10:38:45.638488128 
+0100
+@@ -21,6 +21,44 @@
  #include sysinfo.h
  #include stats.h
  
-+
 +/* uclibc and dietlibc do not have this junk -ReneR */
 +#if defined (__UCLIBC__) || defined (__dietlibc__)
 +static int getloadavg (double loadavg[], int nelem)
@@ -43,6 +42,6 @@
 +}
 +#endif
 +
- int   SYSTEM_CPU_NUM(const char *cmd, const char *param, unsigned flags, 
AGENT_RESULT *result)
+ int   SYSTEM_CPU_NUM(AGENT_REQUEST *request, AGENT_RESULT *result)
  {
-   chartmp[16];
+   char*type;
diff --git a/admin/zabbix/patches/010-change-agentd-config.patch 
b/admin/zabbix/patches/010-change-agentd-config.patch
index 58424e9..57ff815 100644
--- a/admin/zabbix/patches/010-change-agentd-config.patch
+++ b/admin/zabbix/patches/010-change-agentd-config.patch
@@ -24,7 +24,7 @@
  ### Option: LogFileSize
  # Maximum size of log file in MB.
  # 0 - disable automatic log rotation.
-@@ -105,6 +99,7 @@ Server=127.0.0.1
+@@ -104,6 +98,7 @@ Server=127.0.0.1
  # Range: 0-100
  # Default:
  # StartAgents=3
@@ -32,7 +32,7 @@
  
  # Active checks related
  
-@@ -120,8 +115,6 @@ Server=127.0.0.1
+@@ -119,8 +114,6 @@ Server=127.0.0.1
  # Default:
  # ServerActive=
  
@@ -41,7 +41,7 @@
  ### Option: Hostname
  # Unique, case sensitive hostname.
  # Required for active checks and must match hostname as configured on the 
server.
-@@ -131,8 +124,6 @@ ServerActive=127.0.0.1
+@@ -130,8 +123,6 @@ ServerActive=127.0.0.1
  # Default:
  # Hostname=
  
@@ -50,12 +50,12 @@
  ### Option: HostnameItem
  # Item used

Re: [OpenWrt-Devel] [PATCH] [packages] yate: Bump to version 5.0.0

2013-11-06 Thread Jiri Slachta
Done.

Dne 6.11.2013 10:02, Robert Högberg napsal(a):
 No problem. As you say, it works today so this is just minor stuff.
 
 While we're talking about minor stuff.. The list of modules is almost
 sorted, but not quite (I put javascript module in wrong place and
 there are other modules which are misplaced). If you make changes to
 the Makefile and are up to it, it would be beautiful with a sorted
 list :-)
 
 /Robert
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] [packages] yate: Bump to version 5.0.0

2013-11-05 Thread Jiri Slachta
Hello Robert,

I have tested and applied your both patches within a single commit
(commit id 743bca6d7c382bf5b2a48de96612bd761760dfaf) to telephony
repository with minor changes.

I added more configure options to cover optional functions and removed
the zaptel stuff at all.

Thank you!
Jiri
Dne 4.11.2013 18:45, Robert Högberg napsal(a):
 This patch updates yate to version 5.0.0.
 
 SIP functionality has been tested successfully on ar71xx.
 
 Tested-by: Robert Högberg robert.hogb...@gmail.com
 Signed-off-by: Robert Högberg robert.hogb...@gmail.com
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages] libpam: remove autoreconf call from configure macro

2013-10-24 Thread Jiri Slachta
Hello, 

I am not so experienced with autoreconf, but the following patch
fixes the package breakage which can be seen in buildbot logs. 
Autoreconf call is also specified in PKG_FIXUP variable.

Jiri
---
Remove autoreconf call from configure macro, it is called already 
via PKG_FIXUP. With the autoreconf call from configure macro it
breaks the build.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 libs/libpam/Makefile |2 --
 1 file changed, 2 deletions(-)

diff --git a/libs/libpam/Makefile b/libs/libpam/Makefile
index bbfa9d8..9b4f8c0 100644
--- a/libs/libpam/Makefile
+++ b/libs/libpam/Makefile
@@ -30,13 +30,11 @@ endef
 
 define Package/libpam/description
Linux-PAM is a free implementation of the following DCE-RFC from 
Sunsoft. 
-
 endef
 
 TARGET_CFLAGS += $(FPIC)
 
 define Build/Configure
-   (cd $(PKG_BUILD_DIR); autoreconf -v -f --install || exit 1)
$(call Build/Configure/Default, \
--enable-shared \
--enable-static \
-- 
1.7.9.5
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages] tiff: disable linking to liblzma

2013-10-24 Thread Jiri Slachta
This package requires liblzma as dependency if liblzma is selected. 
This patch disables linking to liblzma in its configure script.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 libs/tiff/Makefile |1 +
 1 file changed, 1 insertion(+)

diff --git a/libs/tiff/Makefile b/libs/tiff/Makefile
index ca31f39..e4af56e 100644
--- a/libs/tiff/Makefile
+++ b/libs/tiff/Makefile
@@ -63,6 +63,7 @@ define Build/Configure
--enable-cxx, \
--disable-cxx \
) \
+   --disable-lzma \
--enable-ccitt \
--enable-packbits \
--enable-lzw \
-- 
1.7.9.5
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][AA][packages] siproxd: fix typo in variable name in init script

2013-10-17 Thread Jiri Slachta

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 net/siproxd/files/siproxd.init |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/siproxd/files/siproxd.init b/net/siproxd/files/siproxd.init
index 4ecdfbb..1ad6e0f 100644
--- a/net/siproxd/files/siproxd.init
+++ b/net/siproxd/files/siproxd.init
@@ -128,7 +128,7 @@ start_instance() {
echo ua_string = $ua_string  $siproxd_conf_prefix$cfg
echo use_rport = $use_rport  $siproxd_conf_prefix$cfg
if [ -n $outbound_proxy_host ]; then
-   echo oubound_proxy_host = $outbound_proxy_host  
$siproxd_conf_prefix$cfg
+   echo outbound_proxy_host = $outbound_proxy_host  
$siproxd_conf_prefix$cfg
fi
if [ -n $outbound_proxy_port ]; then
echo outbound_proxy_port = $outbound_proxy_port  
$siproxd_conf_prefix$cfg
-- 
1.7.9.5
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Fwd: [PATCH][packages] ser2net: Update to version 2.9.1

2013-10-13 Thread Jiri Slachta
Dne 12.10.2013 16:12, Yegor Yefremov napsal(a):
 On Sat, Oct 12, 2013 at 3:59 PM, Jiapeng Li gaplee...@gmail.com wrote:
 Thank you, Yegor.
 Need i cancel the patch i sent?
 
 Gabor Juhos will decide, how to proceed further.
 
 Yegor
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
 

I marked the second patch as superseded by the first patch. 
There is no need to cancel it.

Jiri
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH v2][packages] bird: Update to 1.3.11 and fix build issues

2013-10-06 Thread Jiri Slachta
Hello,

I have got two comments.

Dne 6.10.2013 18:34, Álvaro Fernández Rojas napsal(a):
 bird doesn't build succesfully on latest trunk and openwrt is using an old 
 version.
 
 Configs were moved:
 bird4: /etc/bird4.conf - /etc/config/bird4
 bird6: /etc/bird6.conf - /etc/config/bird6

Please correct me if I am wrong but those configuration files does not have UCI 
syntax (according to your 
patch and current files in git/svn repo in trunk). As far as I know 
/etc/config/ is dedicated for configuration
files with UCI syntax.

 
 ftp://bird.network.cz/pub/bird/bird-1.3.11.tar.gz needs to be added to 
 http://downloads.openwrt.org/sources/

Mirroring package does not make sense if your patch is applied against trunk. 
This would mean that you
would have to mirror all tarballs for all changes that will be done through the 
time. I would suggest
extending PKG_SOURCE_URL variable by the another mirror to this tarball. 
Mirroring packages to 
http://downloads.openwrt.org/sources does make sense for releases, not for 
moving targets.

Kind regards,
Jiri Slachta
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] [packages] zabbix: update to version 2.0.8

2013-09-16 Thread Jiri Slachta

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 admin/zabbix/Makefile |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/admin/zabbix/Makefile b/admin/zabbix/Makefile
index 176b4be..5ee8425 100644
--- a/admin/zabbix/Makefile
+++ b/admin/zabbix/Makefile
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=zabbix
-PKG_VERSION:=2.0.6
+PKG_VERSION:=2.0.8
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/zabbix
-PKG_MD5SUM:=f7261987731dd74b58cb1da890655ddc
+PKG_MD5SUM:=8fef9e6f499295211dd9b2a9db96464b
 
 PKG_INSTALL:=1
 
-- 
1.7.9.5
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] add reSIProcate (SIP proxy and TURN server) package

2013-09-02 Thread Jiri Slachta
Hello Daniel,

I have tested your resiprocate package at that time you submitted it and it 
worked. If you will send your patch again, I can approve those packages which 
does not belong to telephony repository by adding Tested-by: and 
Reviewed-by lines since it has been already reviewed and tested. If libasio 
will be merged to packages repository, I will push your reSIProcate package to 
telephony repository. It is an OK from me.

However when you resend your patch, I will test it one more time, but that 
should not take a long time.

Regards,
Jiri

Daniel Pocock dan...@pocock.com.au napsal(a):


Hi Jiri,

Can you please let me know if you had time to look at this?  Do I need
to change anything else to have this merged into OpenWRT?

There will be a new reSIProcate release in the next few weeks and if I
need to make any upstream fixes please let me know

Regards,

Daniel

On 14/05/13 20:49, Daniel Pocock wrote:
 On 11/05/13 13:33, Jiri Slachta wrote:
 Hello Daniel,

 I will take a look at this. Would you mind to find out, if there are
any
 updates related to this app in upstream? I'll do some tests and if
it's
 The asio version 1.4.8 is the latest - they also have a 1.5.3 dev
 release, but it is not for production use and apps like reSIProcate
are
 not tested with it.

 The latest reSIProcate PKG_VERSION is 1.8.8 - it should work with the
 same patch

 The telephony repository is fine for reSIProcate, the asio package is
a
 general purpose development lib and belongs with things like boost
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel

-- 
Odesláno z mého telefonu s Androidem pomocí pošty K-9 Mail. Omluvte prosím mou 
stručnost.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] [target][x86][base-files] change /dev/console to tty to fix job control

2013-08-04 Thread Jiri Slachta
Job control is turned off because it cannot obtain controlling terminal on 
/dev/console, so it is impossible to do any job control operation behind
real x86 device (keyboard+monitor or virtualized). 

This patch switches /dev/console to tty devices for ash on x86 generic target.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 target/linux/x86/base-files/etc/inittab |4 
 1 file changed, 4 insertions(+)
 create mode 100644 target/linux/x86/base-files/etc/inittab

diff --git a/target/linux/x86/base-files/etc/inittab 
b/target/linux/x86/base-files/etc/inittab
new file mode 100644
index 000..ca90fd8
--- /dev/null
+++ b/target/linux/x86/base-files/etc/inittab
@@ -0,0 +1,4 @@
+::sysinit:/etc/init.d/rcS S boot
+::shutdown:/etc/init.d/rcS K shutdown
+ttyS0::askfirst:/bin/ash --login
+tty1::askfirst:/bin/ash --login
-- 
1.7.9.5
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages] update zabbix to version 2.0.7

2013-08-04 Thread Jiri Slachta
Update zabbix to version 2.0.7

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 admin/zabbix/Makefile |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/admin/zabbix/Makefile b/admin/zabbix/Makefile
index dff0e25..176b4be 100644
--- a/admin/zabbix/Makefile
+++ b/admin/zabbix/Makefile
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=zabbix
-PKG_VERSION:=2.0.6
+PKG_VERSION:=2.0.7
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/zabbix
-PKG_MD5SUM:=f7261987731dd74b58cb1da890655ddc
+PKG_MD5SUM:=0e86f37e3acecc1e0b618af14edc5346
 
 PKG_INSTALL:=1
 
-- 
1.7.9.5
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 1/3][packages] reiserfsprogs: add missing dependency - libuuid

2013-07-25 Thread Jiri Slachta
This patch adds missing libuuid dependency for reiserfsprogs. 
Without it the package fails to install because of missing
dependency to libuuid.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 utils/reiserfsprogs/Makefile |1 +
 1 file changed, 1 insertion(+)

diff --git a/utils/reiserfsprogs/Makefile b/utils/reiserfsprogs/Makefile
index 228b687..593e56f 100644
--- a/utils/reiserfsprogs/Makefile
+++ b/utils/reiserfsprogs/Makefile
@@ -25,6 +25,7 @@ define Package/reiserfsprogs
   CATEGORY:=Utilities
   SUBMENU:=Filesystem
   TITLE:=ReiserFS filesystems utilities
+  DEPENDS:=+libuuid
   URL:=http://www.namesys.com/
 endef
 
-- 
1.7.9.5
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 3/3][packages] ntfsprogs: add missing dependency - libuuid

2013-07-25 Thread Jiri Slachta
This patch adds missing libuuid dependency for ntfsprogs. 
Without it the package fails to install because of missing
dependency to libuuid.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 utils/ntfsprogs/Makefile |1 +
 1 file changed, 1 insertion(+)

diff --git a/utils/ntfsprogs/Makefile b/utils/ntfsprogs/Makefile
index 78ae9f6..86fe223 100644
--- a/utils/ntfsprogs/Makefile
+++ b/utils/ntfsprogs/Makefile
@@ -27,6 +27,7 @@ define Package/ntfsprogs
   CATEGORY:=Utilities
   SUBMENU:=Filesystem
   TITLE:=Linux-NTFS
+  DEPENDS:=+libuuid
   URL:=http://www.linux-ntfs.org/
   MAINTAINER:=Gianluigi Tiesi sher...@netfarm.it
 endef
-- 
1.7.9.5
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages] sox update to version 14.4.1

2013-07-25 Thread Jiri Slachta
Update package sox to version 14.4.1.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 sound/sox/Makefile |8 +-
 sound/sox/patches/001-cross_compile.patch  |8 +-
 sound/sox/patches/010-fix_uclibc_build_issue.patch |   17 ++-
 sound/sox/patches/020-ffmpeg-0.11.patch|  129 
 4 files changed, 143 insertions(+), 19 deletions(-)
 create mode 100644 sound/sox/patches/020-ffmpeg-0.11.patch

diff --git a/sound/sox/Makefile b/sound/sox/Makefile
index 614ae3b..8ebec72 100644
--- a/sound/sox/Makefile
+++ b/sound/sox/Makefile
@@ -9,18 +9,16 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=sox
-PKG_VERSION:=14.4.0
+PKG_VERSION:=14.4.1
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=@SF/sox
-PKG_MD5SUM:=813807c6d6fcd4b0af5c995e61f46687
+PKG_MD5SUM:=ff9ca6aca972549de0e80e8e30ed379c
 
 PKG_LICENSE:=LGPLv2.1 GPLv2
 PKG_LICENSE_FILES:=COPYING LICENSE.LGPL LICENSE.GPL
 
-PKG_FIXUP:=autoreconf
-
 PKG_INSTALL:=1
 
 include $(INCLUDE_DIR)/package.mk
@@ -28,8 +26,6 @@ include $(INCLUDE_DIR)/package.mk
 TARGET_LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
 
-# NOTE: libflac is out of date for 8.09's freeze and can't be compiled in
-
 define Package/sox
   SECTION:=sound
   CATEGORY:=Sound
diff --git a/sound/sox/patches/001-cross_compile.patch 
b/sound/sox/patches/001-cross_compile.patch
index 2d7fe5d..7996ece 100644
--- a/sound/sox/patches/001-cross_compile.patch
+++ b/sound/sox/patches/001-cross_compile.patch
@@ -9,10 +9,10 @@
  
  play rec: sox$(EXEEXT)
if test $(PLAYRECLINKS) = yes; then \
 a/src/Makefile.in
-+++ b/src/Makefile.in
-@@ -2849,7 +2849,7 @@ uninstall-am: uninstall-binPROGRAMS unin
-   uninstall-pkglibLTLIBRARIES
+--- sox-14.4.1/src/Makefile.in
 sox-14.4.1/src/Makefile.in
+@@ -2904,7 +2904,7 @@
+   uninstall-libLTLIBRARIES uninstall-pkglibLTLIBRARIES
  
  
 -all: sox$(EXEEXT) play rec soxi sox_sample_test$(EXEEXT) example0$(EXEEXT) 
example1$(EXEEXT) example2$(EXEEXT) example3$(EXEEXT) example4$(EXEEXT) 
example5$(EXEEXT)
diff --git a/sound/sox/patches/010-fix_uclibc_build_issue.patch 
b/sound/sox/patches/010-fix_uclibc_build_issue.patch
index 410d295..06454cd 100644
--- a/sound/sox/patches/010-fix_uclibc_build_issue.patch
+++ b/sound/sox/patches/010-fix_uclibc_build_issue.patch
@@ -1,20 +1,19 @@
 a/src/formats.c
-+++ b/src/formats.c
-@@ -408,7 +408,7 @@ static void UNUSED rewind_pipe(FILE * fp
+--- sox-14.4.1.orig/src/formats.c
 sox-14.4.1/src/formats.c
+@@ -409,7 +409,7 @@ static void UNUSED rewind_pipe(FILE * fp
  #if defined _FSTDIO || defined _NEWLIB_VERSION || defined __APPLE__
-   fp-_p -= AUTO_DETECT_SIZE;
-   fp-_r += AUTO_DETECT_SIZE;
+   fp-_p -= PIPE_AUTO_DETECT_SIZE;
+   fp-_r += PIPE_AUTO_DETECT_SIZE;
 -#elif defined __GLIBC__
 +#elif defined __GLIBC__  ! defined __UCLIBC__
fp-_IO_read_ptr = fp-_IO_read_base;
- #elif defined _MSC_VER || defined __MINGW_H || defined _ISO_STDIO_ISO_H
+ #elif defined _MSC_VER || defined _WIN32 || defined _WIN64 || defined 
_ISO_STDIO_ISO_H
fp-_ptr = fp-_base;
-@@ -416,7 +416,7 @@ static void UNUSED rewind_pipe(FILE * fp
+@@ -417,7 +417,6 @@ static void UNUSED rewind_pipe(FILE * fp
/* To fix this #error, either simply remove the #error line and live without
 * file-type detection with pipes, or add support for your compiler in the
-* lines above.  Test with cat monkey.au | ./sox --info - */
+* lines above.  Test with cat monkey.wav | ./sox --info - */
 -  #error FIX NEEDED HERE
-+/*  #error FIX NEEDED HERE */
#define NO_REWIND_PIPE
(void)fp;
  #endif
diff --git a/sound/sox/patches/020-ffmpeg-0.11.patch 
b/sound/sox/patches/020-ffmpeg-0.11.patch
new file mode 100644
index 000..61f6e23
--- /dev/null
+++ b/sound/sox/patches/020-ffmpeg-0.11.patch
@@ -0,0 +1,129 @@
+--- a/configure
 b/configure
+@@ -15825,9 +15825,9 @@
+   cat confdefs.h _ACEOF
+ #define `$as_echo HAVE_$ac_header | $as_tr_cpp` 1
+ _ACEOF
+- { $as_echo $as_me:${as_lineno-$LINENO}: checking for av_open_input_file in 
-lavformat 5
+-$as_echo_n checking for av_open_input_file in -lavformat...  6; }
+-if ${ac_cv_lib_avformat_av_open_input_file+:} false; then :
++ { $as_echo $as_me:${as_lineno-$LINENO}: checking for avformat_open_input in 
-lavformat 5
++$as_echo_n checking for avformat_open_input in -lavformat...  6; }
++if ${ac_cv_lib_avformat_avformat_open_input+:} false; then :
+   $as_echo_n (cached)  6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+@@ -15841,27 +15841,27 @@
+ #ifdef __cplusplus
+ extern C
+ #endif
+-char av_open_input_file ();
++char avformat_open_input ();
+ int
+ main ()
+ {
+-return av_open_input_file ();
++return avformat_open_input ();
+   ;
+   return 0;
+ }
+ _ACEOF
+ if ac_fn_c_try_link $LINENO; then :
+-  ac_cv_lib_avformat_av_open_input_file=yes
++  ac_cv_lib_avformat_avformat_open_input=yes
+ else
+-  ac_cv_lib_avformat_av_open_input_file=no
++  ac_cv_lib_avformat_avformat_open_input=no
+ fi

Re: [OpenWrt-Devel] snort - Package snort is missing dependencies for the following libraries: libuuid.so.1

2013-07-11 Thread Jiri Slachta
Dne 11.7.2013 11:46, Remzi AKYÜZ napsal(a):
 Hi,
 ...

Hi,

I've already sent a patch for this - http://patchwork.openwrt.org/patch/3776/ . 
It's not accepted yet.

Jiri

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Just a thought - informing maintainers about broken packages

2013-06-30 Thread Jiri Slachta
Hello everyone,

I just wanted to raise a question about informing maintainers about their 
broken packages. As we already know, the buildbots stores compile logs for 
broken packages at http://buildbot.openwrt.org:8010/broken_packages/. If those 
logs would not be accessible, I wouldn't know that some of my packages are not 
(configurable||compilable||installable) (I always compile a subset of OpenWrt 
packages repository). 

Here is my thought:
- if the maintainer variable is set, the buildbot should create a ticket in 
openwrt trac and inform maintainer about that
- if the maintainer variable is not set, a ticket should be created
or 
- the maintainer should be informed, if the maintainer variable is set.

The only thing that bothers me is that this solution will fill trac with 
duplicit reports and spam maintainers about broken packages several times.

What do you think?

Jiri
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages] snort: fix dependencies

2013-06-23 Thread Jiri Slachta
snort: fix dependencies - add libuuid as dependency
Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: net/snort/Makefile
===
--- net/snort/Makefile  (revision 37019)
+++ net/snort/Makefile  (working copy)
@@ -26,7 +26,7 @@
   SUBMENU:=Firewall
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:=+libpcap +libpcre +libdnet +libdaq +libpthread +zlib
+  DEPENDS:=+libpcap +libpcre +libdnet +libdaq +libpthread +libuuid +zlib
   TITLE:=Lightweight Network Intrusion Detection System
   URL:=http://www.snort.org/
 endef
@@ -62,7 +62,7 @@
 
 define Package/snort-pgsql
   $(call Package/snort/Default)
-  DEPENDS+= +libpq
+  DEPENDS+= +libpq +libuuid
   TITLE+= (PostgreSQL)
   VARIANT:=pgsql
 endef
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages] libs: move opal, openh323, ptlib and pwlib to telephony repository

2013-06-21 Thread Jiri Slachta
Move opal, openh323, ptlib and pwlib to telephony repository. 

Please delete those empty files and directories after applying this patch:
diffstat: 
 opal/Makefile   |   69 ---
 opal/patches/010-fix-gcc_4_3-compile.patch  |   25 -
 openh323/Makefile   |   49 ---
 openh323/patches/001-configure.patch|  122 
 ptlib/Makefile  |  107 
 ptlib/patches/010-fix-gcc_4_3-compile.patch |   12 --
 ptlib/patches/020-uclibc-res_nsearch.patch  |   14 ---
 pwlib/Makefile  |   90 
 pwlib/patches/002-lib_mak.patch |   11 --
 9 files changed, 499 deletions(-)

Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: libs/pwlib/patches/002-lib_mak.patch
===
--- libs/pwlib/patches/002-lib_mak.patch(revision 36983)
+++ libs/pwlib/patches/002-lib_mak.patch(working copy)
@@ -1,11 +0,0 @@
 pwlib-cvs-20051227/make/lib.mak.orig   2005-09-25 12:51:23.0 
+0200
-+++ pwlib-cvs-20051227/make/lib.mak2005-12-30 01:18:21.0 +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)
Index: libs/pwlib/Makefile
===
--- libs/pwlib/Makefile (revision 36983)
+++ libs/pwlib/Makefile (working copy)
@@ -1,90 +0,0 @@
-# 
-# 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 ptlib/sound.h\)|\1|' 
$(PKG_BUILD_DIR)/include/ptlib.h
-endef
-
-$(eval $(call BuildPackage,pwlib))
Index: libs/opal/Makefile
===
--- libs/opal/Makefile  (revision 36983)
+++ libs/opal/Makefile  (working copy)
@@ -1,69 +0,0 @@
-#
-# 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

[OpenWrt-Devel] [PATCH][packages] libre: update to 0.4.3

2013-06-02 Thread Jiri Slachta
libre: update to 0.4.3

Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: libs/re/Makefile
===
--- libs/re/Makefile(revision 36817)
+++ libs/re/Makefile(working copy)
@@ -1,5 +1,5 @@
 # 
-# Copyright (C) 2010-2011 OpenWrt.org
+# Copyright (C) 2013 OpenWrt.org
 # Copyright (C) 2010 Alfred E. Heggestad
 #
 # This is free software, licensed under the GNU General Public License v2.
@@ -9,12 +9,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=re
-PKG_VERSION:=0.4.1
+PKG_VERSION:=0.4.3
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.creytiv.com/pub
-PKG_MD5SUM:=cff9e0d2bfec09c84e316faaf202809b
+PKG_MD5SUM:=fce784a2de2c0e32c687d8fe47c8245e
 
 include $(INCLUDE_DIR)/package.mk
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages] librem: update to 0.4.3

2013-06-02 Thread Jiri Slachta
librem: update to 0.4.3

Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: libs/rem/Makefile
===
--- libs/rem/Makefile   (revision 36817)
+++ libs/rem/Makefile   (working copy)
@@ -1,5 +1,5 @@
 # 
-# Copyright (C) 2010-2011 OpenWrt.org
+# Copyright (C) 2013 OpenWrt.org
 # Copyright (C) 2010 Alfred E. Heggestad
 #
 # This is free software, licensed under the GNU General Public License v2.
@@ -9,12 +9,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=rem
-PKG_VERSION:=0.4.1
+PKG_VERSION:=0.4.3
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.creytiv.com/pub
-PKG_MD5SUM:=bfac8837974e911bd4d4017a8f1ce39b
+PKG_MD5SUM:=c44bf87118b19464621fe459d69853d1
 
 include $(INCLUDE_DIR)/package.mk
 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages][admin] zabbix: update to 2.0.6

2013-05-27 Thread Jiri Slachta
Update zabbix to version 2.0.6.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: admin/zabbix/Makefile
===
--- admin/zabbix/Makefile   (revision 36731)
+++ admin/zabbix/Makefile   (working copy)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=zabbix
-PKG_VERSION:=2.0.5
+PKG_VERSION:=2.0.6
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/zabbix
-PKG_MD5SUM:=0c0721c31889b63bce9aa556bcb927e8
+PKG_MD5SUM:=f7261987731dd74b58cb1da890655ddc
 
 PKG_INSTALL:=1
 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][AA][packages-12.09]asterisk-chan-sccp-b: fix PKG_SOURCE_URL, URL, maintainer and dependency

2013-05-18 Thread Jiri Slachta
packages-12.09: This patch fixes asterisk-chan-sccp-b dependency that breaks 
asterisk18 menu in openwrt menuconfig, fixes SVN repo URL (HTTP 404 error), 
project URL (also HTTP error 404) and removes package maintainer variable.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: net/asterisk-chan-sccp-b/Makefile
===
--- net/asterisk-chan-sccp-b/Makefile   (revision 36655)
+++ net/asterisk-chan-sccp-b/Makefile   (working copy)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2011 OpenWrt.org
+# Copyright (C) 2013 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -10,10 +10,10 @@
 PKG_NAME:=asterisk18-chan-sccp-b
 PKG_REV=3004
 PKG_VERSION:=r$(PKG_REV)
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://chan-sccp-b.svn.sourceforge.net/svnroot/chan-sccp-b/trunk
+PKG_SOURCE_URL:=http://svn.code.sf.net/p/chan-sccp-b/code/trunk
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_VERSION:=$(PKG_REV)
 PKG_SOURCE_PROTO:=svn
@@ -25,9 +25,8 @@
   SECTION:=net
   CATEGORY:=Network
   TITLE:=SCCP channel provider for asterisk
-  URL:=http://chan-sccp-b.net.sourceforge.net/
-  MAINTAINER:=Hans Zandbelt hans.zandb...@gmail.com
-  DEPENDS:=+asterisk18 +libltdl
+  URL:=http://chan-sccp-b.sourceforge.net/
+  DEPENDS:= asterisk18 +libltdl
 endef
 
 define Package/asterisk18-chan-sccp-b/description
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Question about pulling out the latest revision of sources for openwrt tagged sources

2013-05-16 Thread Jiri Slachta
Hello everyone,

I would love to start an open discussion.

There is a little issue with checking out the latest revision of sources for 
package asteriskXX-chan-sccp-b. Those sources are OpenWrt tagged, so it should 
consist of stable sources to be compiled. Even if those sources are 
release-candidate, they are more stable and functional than every previous 
stable release that was released to this date. Once the stable release will be 
rolled out, the package variables will be switched to tarball.

Package freeswitch does the same, except the one thing - it pulls the latest 
HEAD revision if it's told to pull it out (CONFIG_FS_...), otherwise it pulls 
out the default revision. I would love to do the opposite - to always pull the 
latest revision. (see 
http://git.nanl.de/?p=openwrt/telephony.git;a=blob;f=freeswitch/Makefile )

Is it acceptable to always check out the latest revision, or should we stick 
with specific revision? What do you think about that?

PKG_REV=$(shell svn info 
'https://svn.code.sf.net/p/chan-sccp-b/code/tags/openwrt' | sed -En 
's/^Revision: (.+)/\1/p' | head -n1)
PKG_VERSION:=4.1r$(PKG_REV)

Thank you for your ideas!

Jiri
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] [package] asterisk-11.x-chan-sccp-b initial creation (against git packages repository)

2013-05-14 Thread Jiri Slachta
Dne 11.5.2013 19:18, Diederik de Groot napsal(a):
 This patch includes new Makefile for chan-sccp-b V4.1-RC1 compiled against 
 the asterisk-11.x package (based on previous work for 
 asterisk-1.8-chan-sccp-b package). 
 
 Signed-off-by: Diederik de Groot ddegr...@users.sourceforge.net

Applied! I shortened your commit message and slightly modified your Makefile.

Otherwise, thank you! 
Jiri
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] [package] asterisk-chan-sccp-b update to revision 4631 (chan-sccp-b V4.1 RC1)

2013-05-14 Thread Jiri Slachta
Dne 11.5.2013 16:04, Diederik de Groot napsal(a):
 This patch includes Makefile changes for chan-sccp-b V4.1-RC1 compiled 
 against the asterisk-1.8.x package.
 
 Signed-off-by: Diederik de Groot ddegr...@users.sourceforge.net

Applied! I shortened your commit message and slightly modified Makefile. I also 
moved asterisk-chan-sccp-b to asterisk-1.8.x-chan-sccp-b because of the 
existence asterisk-11.x-chan-sccp-b package to preserve naming convention.

Otherwise, thank you! 
Jiri
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] add reSIProcate (SIP proxy and TURN server) package

2013-05-11 Thread Jiri Slachta

Hello Daniel,

I will take a look at this. Would you mind to find out, if there are any 
updates related to this app in upstream? I'll do some tests and if it's 
ok, I will push it into telephony repository (related to telephony 
packages).


Jiri

Dne 11.5.2013 9:53, Daniel Pocock napsal(a):



Hi,

I'm just following up on this again to see how the reSIProcate and asio
packages will be accepted in OpenWRT?

Regards,

Daniel



On 06/12/12 13:08, Daniel Pocock wrote:



Hi,

I'm just following up on this patch submission to see if it will be
accepted into OpenWRT?

I notice the db47 package has been updated, but the other dependency
(asio) is also still pending.

Regards,

Daniel



On 21/09/12 22:48, Daniel Pocock wrote:




I've packaged the reSIProcate SIP stack (shared library), repro
proxy and reTurn, the ICE/STUN/TURN server.  Please find the
Makefile and related artifacts attached




Benefits to OpenWRT:



This provides a comprehensive platform for true federated VoIP
from OpenWRT, thanks to the following: - repro has a built-in web
interface and no database dependency, so it highly suitable for a
router - repro provides strong mutual TLS authentication - reTurn
provides robust and efficient NAT traversal for RTP streams




Dependencies:



This depends on my previous patches today, for building the C++
support for db47, and also adding libasio package




Testing:



I've tested the binaries on a TP-Link TL-WR1043ND with 32MB RAM
and 8MB flash.  This seems to be the bare minimum amount of flash
for the combination of reSIProcate + openssl + libdb + other
dependencies http://wiki.openwrt.org/toh/tp-link/tl-wr1043nd




More info on reSIProcate:



http://www.resiprocate.org/



and a quick start HowTo guide for federated VoIP with reSIProcte:



http://www.opentelecoms.org/federated-voip-quick-start-howto





___ openwrt-devel
mailing list openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-05-02 Thread Jiri Slachta
Hello Valent,

strace shows system calls used by program. I think there is nothing wrong with 
openssl package, package Makefile is just not yet fully adapted to work with 
openssl engines (imho it is compile time issue). It needs to be rewritten a 
little.

Jiri
Dne 2.5.2013 8:10, valent.turko...@gmail.com napsal(a):
 
 What do strace logs show? How long ago were engines removed from
 openssl? Did upstream change some things that introduces bugs in
 openwrt?
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel
 

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Empty directories left from r36485

2013-04-30 Thread Jiri Slachta
Hello,

changes made in https://dev.openwrt.org/changeset/36485 left empty directories. 

Please, delete following empty directories:

packages/net/asterisk-1.8.x
packages/net/asterisk-11.x
packages/net/asterisk-chan-sccp-b
packages/net/kamailio
packages/net/kamailio3
packages/net/miax
packages/net/openser
packages/net/opensips
packages/net/pcapsipdump
packages/net/restund
packages/net/rtpproxy
packages/net/sipp
packages/net/siproxd
packages/net/sipsak
packages/net/smap
packages/net/yate

Jiri
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Anyone working on having libpri, dahdi-linux and dahdi-tools on openwrt

2013-04-30 Thread Jiri Slachta
Hello,

there is always an interest for things like that. Please, share your current 
work and I (at least) will take a look at it.

Jiri

Ming-Ching Tiew mct...@yahoo.com napsal(a):

I tried the asterisk 11 feeds on the trunk.

Noticed that it does not have dahdi-linux, dahdi-tools and libpri.

Anyone currently working on or plan to work on these ?

I cook up some make files for it but because of limited knowledge on
the make files, the significance of various variables and directories,
it is not working. I could post my non-working makefiles if there is
interest.

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-04-30 Thread Jiri Slachta
Dne 30.4.2013 22:08, valent.turko...@gmail.com napsal(a):
 On Tue, Apr 30, 2013 at 9:36 PM, valent.turko...@gmail.com
 valent.turko...@gmail.com wrote:
 I had missed package with engines ;)
 Now I got images built correctly and installed on CF card.

 Can you or somebody else check out what is the issue?

 Please connect to:
 ssh r...@valentt.no-ip.org -p 22001 password is openwrt
 
 I see few connections, did anybody get debug logs?
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel
 

Hey,

the first thing I see is:

[8.341688] padlock_aes: Unknown symbol blkcipher_walk_done (err 0)
[8.360643] padlock_aes: Unknown symbol blkcipher_walk_virt (err 0)
[8.379562] padlock_aes: Unknown symbol crypto_blkcipher_type (err 0)

Could you try to enable package kmod-crypto-manager that enables 
CONFIG_CRYPTO_BLKCIPHER in kernel config and loads specific kernel modules? I 
actually do not know, where the problem is, but the uknown symbol error 
messages should disappear.

Jiri
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Maintenance of external packages

2013-04-26 Thread Jiri Slachta
Dne 25.4.2013 17:42, Guillermo Senna napsal(a):
 Hi,
 I wanted to ask what is the situation of packages inside feeds? Does this 
 list still receives patches for external packages?
 I ask this because faad2 library for example in AA still has an old Makefile 
 when there was Changeset 34527 made 5 months ago.
 Also, I would like to update the LIRC package and also make some changes to 
 the Makefile itself and submit it as a Patch. Where should I post such patch?
 
 Thank you.
 
 
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel
 

This mailing list works as usual and also receives patches for external 
packages. The reason why faad2 library in AA has the older version of Makefile 
is because of the development process. Once the branch is created from trunk, 
it mainly receives bugfixes until it is released, otherwise it will be in next 
release (it should appear in next revision of AA branch or future BB branch).

If you would love to make some changes, send them as usual to mailing list in 
according to https://dev.openwrt.org/wiki/SubmittingPatches . Dev's were kind 
of busy I suppose :-)

Jiri 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Force image package to be installed last?

2013-04-20 Thread Jiri Slachta
Dne 21.4.2013 2:24, Shawn Lewis napsal(a):
 Hi, I have a package that overrides files from other packages, and I build in 
 to my image. I'd like it to always be installed last, to ensure that it's 
 files are the ones that show up in the image.
 
 Currently in my package's Makefile I specify PKG_BUILD_DEPENDS for any 
 packages whose files I'm overriding. This doesn't seem to work for the 
 base-files package (my package ends up being built before base-files).
 
 I don't want to use the openwrt/files directory, as I want to be able to 
 opkg upgrade this package and get the new files.
 
 Any ideas on better ways to do this?
 
 Thanks,
 Shawn
 
 
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel
 

Hello Shawn,

that's quite a problem I suppose, but I might be wrong. :-) Handling the same 
files from two packages can't end up well. I would suggest to write a postinst 
and postrm script that would copy and restore your files the same way you would 
do in /install macro. Take a look at BuildPackage defines at:

http://wiki.openwrt.org/doc/devel/packages

Just a guess:

#Makefile
...
$(INSTALL_DIR) $(1)/etc/uci-defaults
$(INSTALL_DATA) \
./files/uci-defaults/my-preparation-script \
$(1)/etc/uci-defaults/
endef

define Package/mypackage/postinst
#!/bin/sh
[ -n $${IPKG_INSTROOT} ]  exit
. /lib/functions.sh
uci_apply_defaults
endef

# mypreparationscript
#!/bin/sh
if [ -f /path/original-file ]; then
mv /path/original-file /path/original-file.backup
fi
cp /path/your-file /path/original-file

and also the same for Package/prerm or Package/postrm that would do the 
opposite of it on package removal. Try that, it's quite fun.

~ Jiri
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] About kernel package dev

2013-04-19 Thread Jiri Slachta
Dne 19.4.2013 14:59, schk00 napsal(a):
 Hi OpenWRT Dev Team.
 
  /divI'm newbie openWRT developer and trying to do some practice with it.
 After looking up whole source of OpenWRT, I made a conclusion that my 
 practice needs kernel packages about Network(ex. kmod-ipt-core...). So I 
 found the way to download the source of these packages but failed to do it.
 Was my search ability awful? Or was it natural result?
 
 Is there any way for me to play with openwrt kernel packages? If so, Where 
 can I find their source codes?
 
 I'll be happy if you send me reply about these questions.
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel
 

Hello schk00,

in short - the whole OpenWrt is based on OpenWrt buildroot - a set of patches, 
Makefiles and configure files. Those elements just says how to compile 
toolchain for OpenWrt and how to compilebuild the whole OpenWrt image by 
compiled toolchain. There's no such kernel source codes, just patches and 
Makefiles which defines what should be in kernel config, how should compiler 
compile it, what should be included in OpenWrt image etc..

I would suggest to explore the whole OpenWrt platform first. Also the whole 
source codes and existing packages are good way to understand how OpenWrt 
works. Take a look at buildroot documentation:

(quite outdated, but minor things have been changed) - 
http://downloads.openwrt.org/docs/buildroot-documentation.html
(Developing section) - http://wiki.openwrt.org/doc/start

There are several macro definitions which should be used for package creation - 
Build/Configure, Build/Compile, Build/InstallDev, 
{Package,KernelPackage}/name/install. Those are a bit descriptive, what those 
really does. Take a look at existing packages, it really helps a lot!

Also, please take a look at:

(Creating packages for kernel modules) - 
http://wiki.openwrt.org/doc/devel/packages

This wiki article shows the exact way how to create a kernel package in both 
ways - the module from within the kernel source code or third-party kernel 
module.

Happy experimenting and discovering OpenWrt world!

~ Jiri






___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-04-06 Thread Jiri Slachta
I meant lack of hardware support for engine padlock. I should read my mail 
first before I send it.

Dne 6.4.2013 17:32, Jiri Slachta napsal(a):
 Hello Valent,
 
 I am sorry for late response. I am unable to locate the problem between 
 engine and openssl engine due to lack of hardware I use. I'd suggest at first 
 try stracing  to use gdb to debug and locate, what openssl needs to run with 
 engine libraries. I am not that experienced in debugging with gdb, so I can't 
 give you a hand in this. :-(
 
 If you can paste your log to pastebin and provide links to it, I am sure that 
 someone will take a look at it (at least I will).
 
 Jiri
 Dne 6.4.2013 10:13, valent.turko...@gmail.com napsal(a):
 Is there anything else that should be done to get padlock working?



 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel

 
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel
 

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-03-31 Thread Jiri Slachta
Hello Valent,

I think is not the openssl lib fault. If you take a look at:

 [  423.683985] padlock_sha: Fallback driver 'sha1' could not be loaded!
 [  423.703224] BUG: unable to handle kernel NULL pointer dereference at 
 0052
 [  423.713155] IP: [f8883103] init_module+0x9b3/0xb20 [cryptosoft]

It says that it can't load sha1 kernel module. I would recommend you to enable 
kmod-crypto-sha1 and kmod-crypto-sha256 in menuconfig and try it again.

Good luck with that. Do not hesitate to ask if you need any info.

Jiri


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] N810 support

2013-03-31 Thread Jiri Slachta
Hello Rural,

TI_OMAP24xx is marked as broken. Unless you want to play with it, please, 
remove the last broken word in FEATURES variable in Makefile located at 
target/linux/omap24xx/Makefile .

Jiri

Dne 31.3.2013 18:15, rural napsal(a):
 Ladies  Gentlemen,
 
 As far as I've understood, there once was an openwrt support for Nokia's N810.
 I thought I had finally found a replacement for the old maemo, but I've 
 surprinsingly not been able to find the TI OMAP-24xx target system, as per 
 the http://bues.ch/cms/hacking/n810-openwrt.html tutorial.
 The last messages I got about it spoke of a Nokia N810 not broken and 
 Nokia N810 rebirth.
 Am I missing something ?
 
 Thanks for your time.
 
 Rural
 
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages] asterisk-11.x : update to 11.2.2

2013-03-28 Thread Jiri Slachta

Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: feeds/packages/net/asterisk-11.x/Makefile
===
--- net/asterisk-11.x/Makefile  (revision 36134)
+++ net/asterisk-11.x/Makefile  (working copy)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=asterisk11
-PKG_VERSION:=11.2.1
+PKG_VERSION:=11.2.2
 PKG_RELEASE:=1
 
 PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk/releases/
-PKG_MD5SUM:=b82a82e5adfff0383769e923bfb54c56
+PKG_MD5SUM:=3e7a732949b3f0bae6500d41eb19f1df
 
 PKG_BUILD_DIR=$(BUILD_DIR)/asterisk-$(PKG_VERSION)
 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH][packages] asterisk-11.x : update to 11.2.2

2013-03-28 Thread Jiri Slachta
Hello,

at the moment when I was preparing a patch for asterisk there was 11.2.2 
version available. After few hours the version 11.3.0 became available. I am 
currently building and testing the latest 11.3.0 version to verify its 
functionality. 

Within a sec I will prepare a new patchset.

Jiri
Dne 28.3.2013 21:59, Chirag Chhatriwala napsal(a):
 On Thu, Mar 28, 2013 at 10:32 AM, Jiri Slachta slac...@cesnet.cz 
 mailto:slac...@cesnet.cz wrote:
 
 
 Signed-off-by: Jiri Slachta slac...@cesnet.cz mailto:slac...@cesnet.cz
 Index: feeds/packages/net/asterisk-11.x/Makefile
 ===
 --- net/asterisk-11.x/Makefile  (revision 36134)
 +++ net/asterisk-11.x/Makefile  (working copy)
 @@ -8,12 +8,12 @@
  include $(TOPDIR)/rules.mk http://rules.mk
 
  PKG_NAME:=asterisk11
 -PKG_VERSION:=11.2.1
 +PKG_VERSION:=11.2.2
  PKG_RELEASE:=1
 
  PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
  
 PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk/releases/
 -PKG_MD5SUM:=b82a82e5adfff0383769e923bfb54c56 
 http://downloads.asterisk.org/pub/telephony/asterisk/releases/ 
 -PKG_MD5SUM:=b82a82e5adfff0383769e923bfb54c56
 +PKG_MD5SUM:=3e7a732949b3f0bae6500d41eb19f1df
 
  PKG_BUILD_DIR=$(BUILD_DIR)/asterisk-$(PKG_VERSION)
 
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org mailto:openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel
 
 
 
 Jiri,
 
 I would suggest patching the OpenWRT's asterisk11 package to 11.3.0 (which is 
 released today), instead of the 11.2.2 (which was released yesterday).
 Excerpt from the change log which address a known problem with google voice 
 calling which is included in 11.3.0 (but not in 11.2.2):
 
 
 2013-01-11 23:04 + [r378917]  Joshua Colp jc...@digium.com 
 mailto:jc...@digium.com
 
   * res/res_xmpp.c: Retain XMPP filters across reconnections so
 external modules continue to function as expected. Previously if
 an XMPP client reconnected any filters added by an external
 module were lost. This issue exhibited itself with chan_motif not
 receiving and reacting to Jingle signaling. (closes issue
 ASTERISK-20916) Reported by: kuj
 
 
 If I'm not mistaken, there may be a small change may be required to one of 
 your patchfiles for 11.3.0 to compile to one of your patch files(it is fairly 
 straightforward).
 
 
 
 
 regards,
 
 
 
 Chirag
 
 
 
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel
 

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages] asterisk-11.x : update to 11.3.0

2013-03-28 Thread Jiri Slachta
Within last two days there were two versions of asterisk-11.x released. The 
changelog of the latest version mostly brings bugfixes for ConfBridge, resolves 
deadlocks between pending CDR and batch CDR locks, prevents DoS in HTTP server 
and prevents buffer overflow through H.264 negotiation.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: net/asterisk-11.x/patches/010-asterisk-configure-undef-res-ninit.patch
===
--- net/asterisk-11.x/patches/010-asterisk-configure-undef-res-ninit.patch  
(revision 36140)
+++ net/asterisk-11.x/patches/010-asterisk-configure-undef-res-ninit.patch  
(working copy)
@@ -1,12 +1,11 @@
 --- a/configure
 +++ b/configure
-@@ -24043,9 +24043,6 @@ $as_echo $ac_try_echo) 5
-   { $as_echo $as_me:$LINENO: result: yes 5
+@@ -16353,7 +16353,7 @@
+   { $as_echo $as_me:${as_lineno-$LINENO}: result: yes 5
  $as_echo yes 6; }
  
--cat confdefs.h \_ACEOF
--#define HAVE_RES_NINIT 1
--_ACEOF
+-$as_echo #define HAVE_RES_NINIT 1 confdefs.h
++#$as_echo #define HAVE_RES_NINIT 1 confdefs.h
  
-   { $as_echo $as_me:$LINENO: checking for library containing 
res_9_ndestroy 5
+   { $as_echo $as_me:${as_lineno-$LINENO}: checking for library 
containing res_9_ndestroy 5
  $as_echo_n checking for library containing res_9_ndestroy...  6; }
Index: net/asterisk-11.x/Makefile
===
--- net/asterisk-11.x/Makefile  (revision 36134)
+++ net/asterisk-11.x/Makefile  (working copy)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=asterisk11
-PKG_VERSION:=11.2.1
+PKG_VERSION:=11.3.0
 PKG_RELEASE:=1
 
 PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk/releases/
-PKG_MD5SUM:=b82a82e5adfff0383769e923bfb54c56
+PKG_MD5SUM:=e80bd74335994d856f732237a4a5bc5f
 
 PKG_BUILD_DIR=$(BUILD_DIR)/asterisk-$(PKG_VERSION)
 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages][v2] asterisk-11.x : update to 11.3.0

2013-03-28 Thread Jiri Slachta
The changelog for the latest version of asterisk mostly brings bugfixes for 
ConfBridge, resolves deadlocks between pending CDR and batch CDR locks, 
prevents DoS in HTTP server and prevents buffer overflow through H.264 
negotiation.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: net/asterisk-11.x/patches/010-asterisk-configure-undef-res-ninit.patch
===
--- net/asterisk-11.x/patches/010-asterisk-configure-undef-res-ninit.patch  
(revision 36140)
+++ net/asterisk-11.x/patches/010-asterisk-configure-undef-res-ninit.patch  
(working copy)
@@ -1,12 +1,10 @@
 --- a/configure
 +++ b/configure
-@@ -24043,9 +24043,6 @@ $as_echo $ac_try_echo) 5
-   { $as_echo $as_me:$LINENO: result: yes 5
+@@ -16353,7 +16353,6 @@
+   { $as_echo $as_me:${as_lineno-$LINENO}: result: yes 5
  $as_echo yes 6; }
  
--cat confdefs.h \_ACEOF
--#define HAVE_RES_NINIT 1
--_ACEOF
+-$as_echo #define HAVE_RES_NINIT 1 confdefs.h
  
-   { $as_echo $as_me:$LINENO: checking for library containing 
res_9_ndestroy 5
+   { $as_echo $as_me:${as_lineno-$LINENO}: checking for library 
containing res_9_ndestroy 5
  $as_echo_n checking for library containing res_9_ndestroy...  6; }
Index: net/asterisk-11.x/Makefile
===
--- net/asterisk-11.x/Makefile  (revision 36134)
+++ net/asterisk-11.x/Makefile  (working copy)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=asterisk11
-PKG_VERSION:=11.2.1
+PKG_VERSION:=11.3.0
 PKG_RELEASE:=1
 
 PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk/releases/
-PKG_MD5SUM:=b82a82e5adfff0383769e923bfb54c56
+PKG_MD5SUM:=e80bd74335994d856f732237a4a5bc5f
 
 PKG_BUILD_DIR=$(BUILD_DIR)/asterisk-$(PKG_VERSION)
 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Lost password to patchwork.openwrt.org

2013-03-24 Thread Jiri Slachta
Hello everyone!

I just found out that I forgot/lost my password to patchwork.openwrt.org. Is it 
possible to reset my password or delete my account entirely to be recreated 
again? Who should I contact to reset my password? There is not any option to 
reset it via patchwork, so that is why I am asking.

I am so sorry for all those troubles. Thank you for your willingness to 
understand my situation - almost all of my passwords to all sites are lost. :-(

~ Jiri Slachta
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages][v2] add kamailio4 package

2013-03-22 Thread Jiri Slachta
Add kamailio4 package. The main improvements are - complete SER integration, 
new transport layer (Websocket - not yet as a package due to missing library 
libunistring), brand new modules and extensions and improved support for 
embedded systems.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: net/kamailio4/Makefile
===
--- net/kamailio4/Makefile  (revision 0)
+++ net/kamailio4/Makefile  (revision 0)
@@ -0,0 +1,251 @@
+#
+# Copyright (C) 2013 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:=kamailio4
+PKG_VERSION:=4.0.0
+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:=1f26e115370dbfb90dc6869553a9af6d
+
+INCL_MODULES:=
+KAM_MODULES:=
+
+include $(INCLUDE_DIR)/nls.mk
+include $(INCLUDE_DIR)/package.mk
+
+TARGET_CFLAGS += $(FPIC)
+PREBUILT_STAMP=$(STAGING_DIR)/stamp/.$(PKG_NAME)_prebuilt
+TAR_CMD:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components 1 $(TAR_OPTIONS)
+
+define Package/kamailio4/Default
+  SECTION:=net
+  CATEGORY:=Network
+  SUBMENU:=Telephony
+  URL:=http://www.kamailio.org/
+  DEPENDS:=$(ICONV_DEPENDS) +libncurses +libpthread +libreadline +libxml2
+endef
+
+define Package/kamailio4
+$(call Package/kamailio4/Default)
+  TITLE:=Mature and flexible open source SIP server, v4.0.x
+  MENU:=1
+endef
+
+define Package/kamailio4/conffiles
+/etc/default/kamailio
+/etc/kamailio/kamailio.cfg
+/etc/kamailio/kamailio-advanced.cfg
+/etc/kamailio/dictionary.kamailio
+/etc/kamailio/tls.cfg
+endef
+
+define Package/kamailio4-tools
+$(call Package/kamailio4/Default)
+  TITLE:=Kamailio4 control tools
+  DEPENDS:=kamailio4 +bash
+endef
+
+define Package/kamailio4-tools/conffiles
+/etc/kamailio/kamctlrc
+endef
+
+define Package/kamailio4/install
+   $(INSTALL_DIR) $(1)/usr/sbin
+   $(INSTALL_BIN) \
+   $(PKG_INSTALL_DIR)/usr/sbin/{kamailio,kamcmd} \
+   $(1)/usr/sbin/
+   $(INSTALL_DIR) $(1)/usr/lib/kamailio/modules
+   $(INSTALL_BIN) \
+   $(PKG_INSTALL_DIR)/usr/lib/kamailio/lib*.so* \
+   $(1)/usr/lib/kamailio/
+   $(INSTALL_DIR) $(1)/etc/kamailio
+   $(CP) \
+   $(PKG_INSTALL_DIR)/usr/etc/kamailio/*{kamailio,tls}* \
+   $(1)/etc/kamailio/
+   $(INSTALL_DIR) $(1)/etc/default
+   $(CP) \
+   ./files/kamailio.default \
+   $(1)/etc/default/kamailio
+   $(INSTALL_DIR) $(1)/etc/init.d
+   $(INSTALL_BIN) \
+   ./files/kamailio.init \
+   $(1)/etc/init.d/kamailio
+endef
+
+define Package/kamailio4-tools/install
+   $(INSTALL_DIR) $(1)/etc/kamailio
+   $(CP) \
+   $(PKG_BUILD_DIR)/utils/kamctl/kamctlrc \
+   $(1)/etc/kamailio/
+   $(INSTALL_DIR) $(1)/usr/sbin
+   $(CP) \
+   $(PKG_INSTALL_DIR)/usr/sbin/kam{ctl,dbctl} \
+   $(1)/usr/sbin/
+   $(INSTALL_DIR) $(1)/usr/lib/kamailio
+   $(CP) \
+   $(PKG_INSTALL_DIR)/usr/lib/kamailio/kamctl \
+   $(1)/usr/lib/kamailio/
+endef
+
+define BuildPlugin
+  define Package/kamailio4-mod-$(1)
+$$(call Package/kamailio4/Default)
+TITLE:= kamailio4 $(3) module
+DEPENDS:=kamailio4 $$(foreach m,$(4),+kamailio4-mod-$$m) $(5)
+  endef
+
+  define Package/kamailio4-mod-$(1)/install
+   $(INSTALL_DIR) $$(1)/usr/lib/kamailio/modules
+   $(CP) $(PKG_INSTALL_DIR)/usr/lib/kamailio/modules/$(2).so \
+   $$(1)/usr/lib/kamailio/modules/ ;
+  endef
+
+  INCL_MODULES+=$(2)
+  KAM_MODULES+=kamailio4-mod-$(1)
+endef
+
+$(eval $(call BuildPlugin,acc,acc,Accounting,tm,))
+$(eval $(call BuildPlugin,acc-radius,acc_radius,Accounting for RADIUS 
backend,acc,+libradiusclient-ng))
+$(eval $(call BuildPlugin,alias-db,alias_db,Database-backend 
aliases,db-sqlite,))
+$(eval $(call BuildPlugin,auth,auth,Authentication Framework,,))
+$(eval $(call BuildPlugin,auth-db,auth_db,Database-backend authentication,auth 
db-sqlite,))
+$(eval $(call BuildPlugin,auth-diameter,auth_diameter,Diameter-backend 
authentication,sl,))
+$(eval $(call BuildPlugin,auth-radius,auth_radius,RADIUS-backend 
authentication,auth,+libradiusclient-ng))
+$(eval $(call BuildPlugin,avpops,avpops,AVP operation,,))
+$(eval $(call BuildPlugin,benchmark,benchmark,Config benchmark,,))
+$(eval $(call BuildPlugin,cfgutils,cfgutils,Config utilities,,))
+$(eval $(call BuildPlugin,cfg-db,cfg_db,Load core and module parameters from 
database,db-sqlite,))
+$(eval $(call BuildPlugin,cfg-rpc,cfg_rpc,Update core and module parameters at 
runtime via RPC interface,,))
+$(eval $(call BuildPlugin,corex,corex,Legacy functions,,))
+$(eval $(call BuildPlugin,ctl,ctl,BINRPC transport interface,,))
+$(eval $(call BuildPlugin,db-flatstore,db_flatstore

[OpenWrt-Devel] [PATCH][packages][1/4][v2] mediaproxy: add python-gnutls package

2013-03-22 Thread Jiri Slachta
Add python-gnutls package. This package is a prerequisite for mediaproxy 
package. This package provides a high level object oriented wrapper around 
libgnutls.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: lang/python-gnutls/Makefile
===
--- lang/python-gnutls/Makefile (revision 0)
+++ lang/python-gnutls/Makefile (revision 0)
@@ -0,0 +1,50 @@
+#
+# Copyright (C) 2013 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:=python-gnutls
+PKG_VERSION:=1.2.4
+PKG_RELEASE:=1
+PKG_MD5SUM:=e3536c421291a791869d875a41dcb26a
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://pypi.python.org/packages/source/p/python-gnutls/
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+$(call include_mk, python-package.mk)
+
+define Package/python-gnutls
+  SECTION:=lang-python
+  CATEGORY:=Languages
+  SUBMENU:=Python
+  TITLE:=python-gnutls
+  URL:=http://ag-projects.com/
+  DEPENDS:=+python +libgnutls +libgnutls-extra
+endef
+
+define Package/python-gnutls/description
+This package provides a high level object oriented wrapper around libgnutls, 
+as well as low level bindings to the GNUTLS types and functions via ctypes. 
+The high level wrapper hides the details of accessing the GNUTLS library via 
+ctypes behind a set of classes that encapsulate GNUTLS sessions, certificates 
+and credentials and expose them to python applications using a simple API. 
+endef
+
+define Build/Compile
+   $(call Build/Compile/PyMod,,install --prefix=/usr 
--root=$(PKG_INSTALL_DIR))
+endef
+
+define Package/python-gnutls/install
+   $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)/
+   $(CP) \
+   $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
+   $(1)$(PYTHON_PKG_DIR)/
+endef
+
+$(eval $(call BuildPackage,python-gnutls))
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages][2/4][v2] mediaproxy: add python-application package

2013-03-22 Thread Jiri Slachta
Add python-application package. This package is a prerequisite for mediaproxy 
package. It is a collection of modules - process, python, configuration, log, 
debug and system module.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: lang/python-application/Makefile
===
--- lang/python-application/Makefile(revision 0)
+++ lang/python-application/Makefile(revision 0)
@@ -0,0 +1,46 @@
+#
+# Copyright (C) 2013 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:=python-application
+PKG_VERSION:=1.4.0
+PKG_RELEASE:=1
+PKG_MD5SUM:=2c1ec745f512ffd5892b0dd415074834
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://pypi.python.org/packages/source/p/python-application/
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+$(call include_mk, python-package.mk)
+
+define Package/python-application
+  SECTION:=lang-python
+  CATEGORY:=Languages
+  SUBMENU:=Python
+  TITLE:=python-application
+  URL:=http://ag-projects.com/
+  DEPENDS:=+python
+endef
+
+define Package/python-application/description
+Collection of modules that are useful when building python applications - 
process, python, configuration, log, debug and system module.
+endef
+
+define Build/Compile
+   $(call Build/Compile/PyMod,,install --prefix=/usr 
--root=$(PKG_INSTALL_DIR))
+endef
+
+define Package/python-application/install
+   $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)/
+   $(CP) \
+   $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
+   $(1)$(PYTHON_PKG_DIR)/
+endef
+
+$(eval $(call BuildPackage,python-application))
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages][3/4][v2] mediaproxy: add python-thor package

2013-03-22 Thread Jiri Slachta
Add python-thor package. This package is a prerequisite for mediaproxy package. 
Thor is a Python library for evented IO.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: lang/python-thor/patches/001-fix-setup.patch
===
--- lang/python-thor/patches/001-fix-setup.patch(revision 0)
+++ lang/python-thor/patches/001-fix-setup.patch(revision 0)
@@ -0,0 +1,29 @@
+--- a/setup.py
 b/setup.py
+@@ -1,17 +1,16 @@
+ #!/usr/bin/env python
+ 
+ from distutils.core import setup
+-import thor
+ 
+ setup(
+   name = 'thor',
+-  version = thor.__version__,
++  version = '0.2',
+   description = 'Simple Event-Driven IO for Python',
+   author = 'Mark Nottingham',
+   author_email = 'm...@mnot.net',
+   url = 'http://github.com/mnot/thor/',
+   download_url = \
+-'http://github.com/mnot/thor/tarball/thor-%s' % thor.__version__,
++'http://github.com/mnot/thor/tarball/thor-0.2',
+   packages = ['thor', 'thor.http'],
+   provides = ['thor'],
+   long_description=open(README.rst).read(),
+@@ -26,4 +25,4 @@
+ 'Topic :: Internet :: WWW/HTTP :: HTTP Servers',
+ 'Topic :: Software Development :: Libraries :: Python Modules',
+   ]
+-)
+\ No newline at end of file
++)
Index: lang/python-thor/Makefile
===
--- lang/python-thor/Makefile   (revision 0)
+++ lang/python-thor/Makefile   (revision 0)
@@ -0,0 +1,47 @@
+#
+# Copyright (C) 2013 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:=python-thor
+PKG_VERSION:=0.2
+PKG_RELEASE:=1
+PKG_MD5SUM:=3380df71ece247bb346babff3987eefa
+
+PKG_SOURCE:=thor-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://pypi.python.org/packages/source/t/thor/
+PKG_BUILD_DIR:=$(BUILD_DIR)/thor-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+$(call include_mk, python-package.mk)
+
+define Package/python-thor
+  SECTION:=lang-python
+  CATEGORY:=Languages
+  SUBMENU:=Python
+  TITLE:=python-thor
+  URL:=https://github.com/mnot/python-thor
+  DEPENDS:=+python +pyopenssl
+endef
+
+define Package/python-thor/description
+Thor is a Python library for evented IO.
+endef
+
+define Build/Compile
+   $(call Build/Compile/PyMod,,install --prefix=/usr 
--root=$(PKG_INSTALL_DIR))
+endef
+
+define Package/python-thor/install
+   $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)/
+   $(CP) \
+   $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
+   $(1)$(PYTHON_PKG_DIR)/
+endef
+
+$(eval $(call BuildPackage,python-thor))
+
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages][4/4][v2] mediaproxy: add mediaproxy package

2013-03-22 Thread Jiri Slachta
Add mediaproxy package. MediaProxy is a media relay for RTP/RTCP and UDP 
streams that works in tandem with OpenSIPS/Kamailio to provide NAT traversal 
capability for media streams from SIP user agents located behind NAT. 

Mediaproxy depends on packages python-thor, python-application and 
python-gnutls. Without them mediaproxy cannot be submitted.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: net/mediaproxy/Makefile
===
--- net/mediaproxy/Makefile (revision 0)
+++ net/mediaproxy/Makefile (revision 0)
@@ -0,0 +1,118 @@
+#
+# Copyright (C) 2013 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:=mediaproxy
+PKG_VERSION:=2.5.2
+PKG_RELEASE:=2
+PKG_MD5SUM:=840de8f52e656991be728c15ec30bb5e
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://download.ag-projects.com/MediaProxy/
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+$(call include_mk, python-package.mk)
+
+define Package/mediaproxy-common
+  SUBMENU:=Telephony
+  SECTION:=net
+  CATEGORY:=Network
+  TITLE:=mediaproxy-common
+  URL:=http://mediaproxy.ag-projects.com/
+  DEPENDS:=+python +python-application +python-cjson +python-gnutls \
+   +python-thor +zope-interface +twisted +twisted-names \
+   +libnetfilter-conntrack +libip4tc
+endef
+
+define Package/mediaproxy-dispatcher
+  SUBMENU:=Telephony
+  SECTION:=net
+  CATEGORY:=Network
+  TITLE:=mediaproxy-dispatcher
+  URL:=http://mediaproxy.ag-projects.com/
+  DEPENDS:=+mediaproxy-common
+endef
+
+define Package/mediaproxy-relay
+  SUBMENU:=Telephony
+  SECTION:=net
+  CATEGORY:=Network
+  TITLE:=mediaproxy-relay
+  URL:=http://mediaproxy.ag-projects.com/
+  DEPENDS:=+mediaproxy-common
+endef
+
+define Package/mediaproxy/description
+MediaProxy is a media relay for RTP/RTCP and UDP streams that works in tandem 
with OpenSIPS 
+to provide NAT traversal capability for media streams from SIP user agents 
located behind NAT.
+MediaProxy supports ICE negotiation by behaving like a TURN relay candidate 
and the policy can 
+be controlled from OpenSIPS configuration.
+endef
+
+define Package/mediaproxy-common/description
+$(call Package/mediaproxy/description)
+This package includes files common to all MediaProxy packages.
+endef
+
+define Package/mediaproxy-dispatcher/description
+$(call Package/mediaproxy/description)
+This package provides the Mediaproxy dispatcher.
+endef
+
+define Package/mediaproxy-relay/description
+$(call Package/mediaproxy/description)
+This package provides the Mediaproxy relay.
+endef
+
+define Build/Compile
+   $(call Build/Compile/PyMod,,build)
+   $(call Build/Compile/PyMod,,install --prefix=/usr 
--root=$(PKG_INSTALL_DIR))
+endef
+
+define Package/mediaproxy-common/install
+   $(INSTALL_DIR) $(1)/etc/mediaproxy
+   $(CP) \
+   $(PKG_BUILD_DIR)/config.ini.sample \
+   $(1)/etc/mediaproxy/config.ini
+   $(INSTALL_DIR) $(1)/etc/mediaproxy/tls
+   $(INSTALL_DIR) $(1)/etc/mediaproxy/radius
+   $(CP) \
+   $(PKG_BUILD_DIR)/radius/dictionary \
+   $(1)/etc/mediaproxy/dictionary
+   $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)/
+   $(CP) \
+   $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
+   $(1)$(PYTHON_PKG_DIR)/
+endef
+
+define Package/mediaproxy-dispatcher/install
+   $(INSTALL_DIR) $(1)/etc/init.d
+   $(INSTALL_BIN) \
+   ./files/mediaproxy-dispatcher.init \
+   $(1)/etc/init.d/mediaproxy-dispatcher
+   $(INSTALL_DIR) $(1)/usr/bin
+   $(INSTALL_BIN) \
+   $(PKG_INSTALL_DIR)/usr/bin/media-dispatcher \
+   $(1)/usr/bin/
+endef
+
+define Package/mediaproxy-relay/install
+   $(INSTALL_DIR) $(1)/etc/init.d
+   $(INSTALL_BIN) \
+   ./files/mediaproxy-relay.init \
+   $(1)/etc/init.d/mediaproxy-relay
+   $(INSTALL_DIR) $(1)/usr/bin
+   $(INSTALL_BIN) \
+   $(PKG_INSTALL_DIR)/usr/bin/media-relay \
+   $(1)/usr/bin/
+endef
+
+$(eval $(call BuildPackage,mediaproxy-common))
+$(eval $(call BuildPackage,mediaproxy-dispatcher))
+$(eval $(call BuildPackage,mediaproxy-relay))
Index: net/mediaproxy/files/mediaproxy-dispatcher.init
===
--- net/mediaproxy/files/mediaproxy-dispatcher.init (revision 0)
+++ net/mediaproxy/files/mediaproxy-dispatcher.init (revision 0)
@@ -0,0 +1,29 @@
+#!/bin/sh /etc/rc.common
+#
+# Copyright (C) 2013 OpenWrt.org
+#
+### BEGIN INIT INFO
+# Provides:  mediaproxy-dispatcher init functions
+### END INIT INFO
+
+START=99
+DEST=
+APP=media-dispatcher
+DEFAULT=$DEST/etc/default/$APP
+OPTIONS=
+BIN_FILE=$DEST/usr/bin/$APP
+PID_FILE=$DEST/var/run/$APP/$APP.pid
+
+start() {
+start-stop-daemon -S -x

Re: [OpenWrt-Devel] [PATCH] [packages] Add asterisk-chan-dongle package (v.2)

2013-03-22 Thread Jiri Slachta
Seems to be ok, compiles ok, module loads in asterisk as well. Because I do not 
have any Huawei dongle, I cannot test it. 

Next time please follow naming convention for the folder of this package 
Makefile (because of the existence asterisk18 and asterisk11 package). Also 
please do a patch inside of a packages repository (the beginning of a patch 
should look like --- net/asterisk11-chan-dongle/Makefile) - it makes applying 
of those patches much easier.

Otherwise it seems legit to me. :-)

Reviewed-by: Jiri Slachta slac...@cesnet.cz
Dne 21.3.2013 16:17, Infactum napsal(a):
 Patch adds chan_dongle Asterisk 11 channel driver for Huawei UMTS/3G USB 
 modems (dongles).
 
 Signed-off-by: Yegor Ivanov infac...@gmail.com

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages][1/4] mediaproxy: add python-gnutls package

2013-03-18 Thread Jiri Slachta
Add python-gnutls package. This package is a prerequisite for mediaproxy 
package. This package provides a high level object oriented wrapper around 
libgnutls.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: lang/python-gnutls/Makefile
===
--- lang/python-gnutls/Makefile (revision 0)
+++ lang/python-gnutls/Makefile (revision 0)
@@ -0,0 +1,50 @@
+#
+# Copyright (C) 2013 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:=python-gnutls
+PKG_VERSION:=1.2.4
+PKG_RELEASE:=1
+PKG_MD5SUM:=e3536c421291a791869d875a41dcb26a
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://pypi.python.org/packages/source/p/python-gnutls/
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+$(call include_mk, python-package.mk)
+
+define Package/python-gnutls
+  SECTION:=lang-python
+  CATEGORY:=Languages
+  SUBMENU:=Python
+  TITLE:=python-gnutls
+  URL:=http://ag-projects.com/
+  DEPENDS:=+python +libgnutls +libgnutls-extra
+endef
+
+define Package/python-gnutls/description
+This package provides a high level object oriented wrapper around libgnutls, 
+as well as low level bindings to the GNUTLS types and functions via ctypes. 
+The high level wrapper hides the details of accessing the GNUTLS library via 
+ctypes behind a set of classes that encapsulate GNUTLS sessions, certificates 
+and credentials and expose them to python applications using a simple API. 
+endef
+
+define Build/Compile
+   $(call Build/Compile/PyMod,,install --prefix=/usr 
--root=$(PKG_INSTALL_DIR))
+endef
+
+define Package/python-gnutls/install
+   $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)/
+   $(CP) \
+   $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
+   $(1)$(PYTHON_PKG_DIR)/
+endef
+
+$(eval $(call BuildPackage,python-gnutls))
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages][2/4] mediaproxy: add python-application package

2013-03-18 Thread Jiri Slachta
Add python-application package. This package is a prerequisite for mediaproxy 
package. It is a collection of modules - process, python, configuration, log, 
debug and system module.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: lang/python-application/Makefile
===
--- lang/python-application/Makefile(revision 0)
+++ lang/python-application/Makefile(revision 0)
@@ -0,0 +1,46 @@
+#
+# Copyright (C) 2013 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:=python-application
+PKG_VERSION:=1.4.0
+PKG_RELEASE:=1
+PKG_MD5SUM:=2c1ec745f512ffd5892b0dd415074834
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://pypi.python.org/packages/source/p/python-application/
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+$(call include_mk, python-package.mk)
+
+define Package/python-application
+  SECTION:=lang-python
+  CATEGORY:=Languages
+  SUBMENU:=Python
+  TITLE:=python-application
+  URL:=http://ag-projects.com/
+  DEPENDS:=+python
+endef
+
+define Package/python-application/description
+Collection of modules that are useful when building python applications - 
process, python, configuration, log, debug and system module.
+endef
+
+define Build/Compile
+   $(call Build/Compile/PyMod,,install --prefix=/usr 
--root=$(PKG_INSTALL_DIR))
+endef
+
+define Package/python-application/install
+   $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)/
+   $(CP) \
+   $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
+   $(1)$(PYTHON_PKG_DIR)/
+endef
+
+$(eval $(call BuildPackage,python-application))
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages][4/4] mediaproxy: add mediaproxy package

2013-03-18 Thread Jiri Slachta
Add mediaproxy package. MediaProxy is a media relay for RTP/RTCP and UDP 
streams that works in tandem with OpenSIPS/Kamailio to provide NAT traversal 
capability for media streams from SIP user agents located behind NAT. 

Mediaproxy depends on packages python-thor, python-application and 
python-gnutls. Without them mediaproxy cannot be submitted.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: net/mediaproxy/patches/001-mediaproxy-modprobe-replacement.patch
===
--- net/mediaproxy/patches/001-mediaproxy-modprobe-replacement.patch
(revision 0)
+++ net/mediaproxy/patches/001-mediaproxy-modprobe-replacement.patch
(revision 0)
@@ -0,0 +1,22 @@
+--- mediaproxy-2.5.2/media-relay
 mediaproxy-2.5.2/media-relay
+@@ -7,6 +7,10 @@
+ 
+ from __future__ import with_statement
+ 
++def runCommand(cmd):
++  p = subprocess.Popen(cmd,stdout=subprocess.PIPE,stderr=subprocess.PIPE)
++  p.wait()
++  return p.stdout.readlines()
+ 
+ if __name__ == __main__:
+ import errno
+@@ -44,7 +48,7 @@
+ sys.exit(1)
+ 
+ try:
+-subprocess.call(['modprobe', 'ip_tables'], env={'PATH': 
'/usr/sbin:/sbin:/usr/bin:/bin'})
++subprocess.call(['insmod', 
'/lib/modules/'+str(runCommand([uname,-r]))+'/ip_tables.ko'], env={'PATH': 
'/usr/sbin:/sbin:/usr/bin:/bin'})
+ except OSError, e:
+ log.fatal(Cannot start %s: failed to load the ip_tables kernel 
module: %s % (fullname, e))
+ sys.exit(1)
Index: net/mediaproxy/Makefile
===
--- net/mediaproxy/Makefile (revision 0)
+++ net/mediaproxy/Makefile (revision 0)
@@ -0,0 +1,118 @@
+#
+# Copyright (C) 2013 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:=mediaproxy
+PKG_VERSION:=2.5.2
+PKG_RELEASE:=2
+PKG_MD5SUM:=840de8f52e656991be728c15ec30bb5e
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://download.ag-projects.com/MediaProxy/
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+$(call include_mk, python-package.mk)
+
+define Package/mediaproxy-common
+  SUBMENU:=Telephony
+  SECTION:=net
+  CATEGORY:=Network
+  TITLE:=mediaproxy-common
+  URL:=http://mediaproxy.ag-projects.com/
+  DEPENDS:=+python +python-application +python-cjson +python-gnutls \
+   +python-thor +zope-interface +twisted +twisted-names \
+   +libnetfilter-conntrack +libip4tc
+endef
+
+define Package/mediaproxy-dispatcher
+  SUBMENU:=Telephony
+  SECTION:=net
+  CATEGORY:=Network
+  TITLE:=mediaproxy-dispatcher
+  URL:=http://mediaproxy.ag-projects.com/
+  DEPENDS:=+mediaproxy-common
+endef
+
+define Package/mediaproxy-relay
+  SUBMENU:=Telephony
+  SECTION:=net
+  CATEGORY:=Network
+  TITLE:=mediaproxy-relay
+  URL:=http://mediaproxy.ag-projects.com/
+  DEPENDS:=+mediaproxy-common   
+endef
+
+define Package/mediaproxy/description
+MediaProxy is a media relay for RTP/RTCP and UDP streams that works in tandem 
with OpenSIPS 
+to provide NAT traversal capability for media streams from SIP user agents 
located behind NAT.
+MediaProxy supports ICE negotiation by behaving like a TURN relay candidate 
and the policy can 
+be controlled from OpenSIPS configuration.
+endef
+
+define Package/mediaproxy-common/description
+$(call Package/mediaproxy/description)
+This package includes files common to all MediaProxy packages.
+endef
+
+define Package/mediaproxy-dispatcher/description
+$(call Package/mediaproxy/description)
+This package provides the Mediaproxy dispatcher.
+endef
+
+define Package/mediaproxy-relay/description
+$(call Package/mediaproxy/description)
+This package provides the Mediaproxy relay.
+endef
+
+define Build/Compile
+   $(call Build/Compile/PyMod,,build)
+   $(call Build/Compile/PyMod,,install --prefix=/usr 
--root=$(PKG_INSTALL_DIR))
+endef
+
+define Package/mediaproxy-common/install
+   $(INSTALL_DIR) $(1)/etc/mediaproxy
+   $(CP) \
+   $(PKG_BUILD_DIR)/config.ini.sample \
+   $(1)/etc/mediaproxy/config.ini
+   $(INSTALL_DIR) $(1)/etc/mediaproxy/tls
+   $(INSTALL_DIR) $(1)/etc/mediaproxy/radius
+   $(CP) \
+   $(PKG_BUILD_DIR)/radius/dictionary \
+   $(1)/etc/mediaproxy/dictionary
+   $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)/
+   $(CP) \
+   $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
+   $(1)$(PYTHON_PKG_DIR)/
+endef
+
+define Package/mediaproxy-dispatcher/install
+   $(INSTALL_DIR) $(1)/etc/init.d
+   $(INSTALL_BIN) \
+   ./files/mediaproxy-dispatcher.init \
+   $(1)/etc/init.d/mediaproxy-dispatcher
+   $(INSTALL_DIR) $(1)/usr/bin
+   $(INSTALL_BIN) \
+   $(PKG_INSTALL_DIR)/usr/bin/media-dispatcher \
+   $(1)/usr/bin/
+endef
+
+define

[OpenWrt-Devel] [PATCH][packages][3/4] mediaproxy: add python-thor package

2013-03-18 Thread Jiri Slachta
Add python-thor package. This package is a prerequisite for mediaproxy package. 
Thor is a Python library for evented IO.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: lang/python-thor/patches/001-check-ssl.patch
===
--- lang/python-thor/patches/001-check-ssl.patch(revision 0)
+++ lang/python-thor/patches/001-check-ssl.patch(revision 0)
@@ -0,0 +1,29 @@
+--- a/setup.py
 b/setup.py
+@@ -1,17 +1,16 @@
+ #!/usr/bin/env python
+ 
+ from distutils.core import setup
+-import thor
+ 
+ setup(
+   name = 'thor',
+-  version = thor.__version__,
++  version = '0.2',
+   description = 'Simple Event-Driven IO for Python',
+   author = 'Mark Nottingham',
+   author_email = 'm...@mnot.net',
+   url = 'http://github.com/mnot/thor/',
+   download_url = \
+-'http://github.com/mnot/thor/tarball/thor-%s' % thor.__version__,
++'http://github.com/mnot/thor/tarball/thor-0.1.1',
+   packages = ['thor', 'thor.http'],
+   provides = ['thor'],
+   long_description=open(README.rst).read(),
+@@ -26,4 +25,4 @@
+ 'Topic :: Internet :: WWW/HTTP :: HTTP Servers',
+ 'Topic :: Software Development :: Libraries :: Python Modules',
+   ]
+-)
+\ No newline at end of file
++)
Index: lang/python-thor/Makefile
===
--- lang/python-thor/Makefile   (revision 0)
+++ lang/python-thor/Makefile   (revision 0)
@@ -0,0 +1,47 @@
+#
+# Copyright (C) 2013 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:=python-thor
+PKG_VERSION:=0.2
+PKG_RELEASE:=1
+PKG_MD5SUM:=3380df71ece247bb346babff3987eefa
+
+PKG_SOURCE:=thor-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://pypi.python.org/packages/source/t/thor/
+PKG_BUILD_DIR:=$(BUILD_DIR)/thor-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+$(call include_mk, python-package.mk)
+
+define Package/python-thor
+  SECTION:=lang-python
+  CATEGORY:=Languages
+  SUBMENU:=Python
+  TITLE:=python-thor
+  URL:=https://github.com/mnot/python-thor
+  DEPENDS:=+python +pyopenssl
+endef
+
+define Package/python-thor/description
+Thor is a Python library for evented IO.
+endef
+
+define Build/Compile
+   $(call Build/Compile/PyMod,,install --prefix=/usr 
--root=$(PKG_INSTALL_DIR))
+endef
+
+define Package/python-thor/install
+   $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)/
+   $(CP) \
+   $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
+   $(1)$(PYTHON_PKG_DIR)/
+endef
+
+$(eval $(call BuildPackage,python-thor))
+
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Patchwork seems to be dead (Internal server error - 500)

2013-03-18 Thread Jiri Slachta
Hello everyone,

just to let you know, patchwork.openwrt.org seems to be dead - Internal server 
error - http status code 500.

Jiri
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] Kamailio3 - version bump

2013-03-16 Thread Jiri Slachta
Bump the kamailio3 package to the latest 3.x version.
Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: net/kamailio3/Makefile
===
--- net/kamailio3/Makefile  (revision 36055)
+++ net/kamailio3/Makefile  (working copy)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=kamailio3
-PKG_VERSION:=3.3.3
+PKG_VERSION:=3.3.4
 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:=98c082b70048d2e9a9c4acfaa6cf556d
+PKG_MD5SUM:=24d6a0c852d49791f7e0d0694e128d43
 
 INCL_MODULES:=
 KAM_MODULES:=
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] curl-polarssl - how to commit?

2013-03-16 Thread Jiri Slachta
Hello Fabian,

just split your patch into a series of patches. Just take a look at:

https://dev.openwrt.org/wiki/SubmittingPatches

and follow those hints and instructions. These are very helpful. There is 
everything you need to know about submitting patches to OpenWrt mailing list. 

You can also get inspired by real patches located at 
http://patchwork.openwrt.org - there are several patches that represents patch 
series, like as:

[OpenWrt-Devel,v2,2/2,packages] systemd-udev: enable libgudev compilation by 
default
[OpenWrt-Devel,v2,1/2,packages] systemd-udev: new package with latest udev from 
systemd

Regards,
Jiri Slachta
Dne 16.3.2013 17:23, Fabian Zimmermann napsal(a):
 Hi,
 
 i'm currently playing around with openwrt on by DIR-615 H1. I need/want 
 openvpn and curl with SSL-support, but because of only 4MB Flash, I tried to 
 avoid full openssl-support.
 
 I was able to patch current curl-feed to support polarssl, but I had to patch 
 polarssl and curl packages. How is the correct way to handle such 
 double-patches?
 
 If there are any chances to get this patches productive, I would change the 
 curl-patch to allow activation of polarssl-support by config-option.
 
 Thanks a lot,
 
 Fabian Zimmermann
 
 
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel
 

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages] add Kamailio4 package

2013-03-16 Thread Jiri Slachta
Add kamailio4 package. The main improvements are - complete SER integration, 
new transport layer (Websocket - not yet as a package due to missing library 
libunistring), brand new modules and extensions and improved support for 
embedded systems.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
---
 Makefile   |  285 +
 files/kamailio.default |   13 ++
 files/kamailio.init|   15 ++
 3 files changed, 313 insertions(+)
Index: net/kamailio-4.x/Makefile
===
--- net/kamailio-4.x/Makefile   (revision 0)
+++ net/kamailio-4.x/Makefile   (revision 0)
@@ -0,0 +1,285 @@
+#
+# Copyright (C) 2013 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:=kamailio4
+PKG_VERSION:=4.0.0
+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:=1f26e115370dbfb90dc6869553a9af6d
+
+INCL_MODULES:=
+KAM_MODULES:=
+
+include $(INCLUDE_DIR)/nls.mk
+include $(INCLUDE_DIR)/package.mk
+
+TARGET_CFLAGS += $(FPIC)
+PREBUILT_STAMP=$(STAGING_DIR)/stamp/.$(PKG_NAME)_prebuilt
+TAR_CMD:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components 1 $(TAR_OPTIONS)
+
+define Package/kamailio4/Default
+  SECTION:=net
+  CATEGORY:=Network
+  SUBMENU:=Telephony
+  URL:=http://www.kamailio.org/
+  DEPENDS:=$(ICONV_DEPENDS) +libncurses +libpthread +libreadline +libxml2
+endef
+
+define Package/kamailio4
+$(call Package/kamailio4/Default)
+  TITLE:=Mature and flexible open source SIP server, v4.0.x
+  MENU:=1
+endef
+
+define Package/kamailio4-example
+$(call Package/kamailio4/Default)
+  TITLE:=Kamailio4 example config
+  DEPENDS:=kamailio4 \
+   +kamailio4-mod-acc \
+   +kamailio4-mod-maxfwd \
+   +kamailio4-mod-mi-fifo \
+   +kamailio4-mod-pv \
+   +kamailio4-mod-registrar \
+   +kamailio4-mod-rr \
+   +kamailio4-mod-sl \
+   +kamailio4-mod-siputils \
+   +kamailio4-mod-textops \
+   +kamailio4-mod-tm \
+   +kamailio4-mod-uri-db \
+   +kamailio4-mod-usrloc \
+   +kamailio4-mod-xlog \
+   +kamailio4-mod-ldap \
+   +kamailio4-mod-domain \
+   +kamailio4-tools 
+endef
+
+define Package/kamailio4-example/conffiles
+/etc/default/kamailio
+/etc/kamailio/kamailio.cfg
+/etc/kamailio/kamailio-advanced.cfg
+/etc/kamailio/dictionary.kamailio
+endef
+
+define Package/kamailio4-tools
+$(call Package/kamailio4/Default)
+  TITLE:=Kamailio4 control tools
+  DEPENDS:=kamailio4 +bash
+endef
+
+define Package/kamailio4-tools/conffiles
+/etc/kamailio/kamctlrc
+endef
+
+define Package/kamailio4/install
+   $(INSTALL_DIR) $(1)/usr/sbin
+   $(INSTALL_BIN) \
+   $(PKG_INSTALL_DIR)/usr/sbin/kamailio \
+   $(1)/usr/sbin/
+   $(INSTALL_BIN) \
+   $(PKG_INSTALL_DIR)/usr/sbin/kamcmd \
+   $(1)/usr/sbin/
+   $(INSTALL_DIR) $(1)/usr/lib/kamailio/modules
+   $(INSTALL_BIN) \
+   $(PKG_INSTALL_DIR)/usr/lib/kamailio/lib*.so* \
+   $(1)/usr/lib/kamailio/
+endef
+
+define Package/kamailio4-example/install
+   $(INSTALL_DIR) $(1)/etc/kamailio
+   $(CP) \
+   $(PKG_INSTALL_DIR)/usr/etc/kamailio/{kamailio,tls}*.cfg \
+   $(1)/etc/kamailio/
+   $(CP) \
+   $(PKG_INSTALL_DIR)/usr/etc/kamailio/dictionary.kamailio \
+   $(1)/etc/kamailio/
+   $(CP) \
+   $(PKG_INSTALL_DIR)/usr/etc/kamailio/kamailio-selfsigned* \
+   $(1)/etc/kamailio/
+   $(INSTALL_DIR) $(1)/etc/default
+   $(CP) \
+   ./files/kamailio.default \
+   $(1)/etc/default/kamailio
+   $(INSTALL_DIR) $(1)/etc/init.d
+   $(INSTALL_BIN) \
+   ./files/kamailio.init \
+   $(1)/etc/init.d/kamailio
+endef
+
+define Package/kamailio4-tools/install
+   $(INSTALL_DIR) $(1)/etc/kamailio
+   $(CP) \
+   $(PKG_BUILD_DIR)/utils/kamctl/kamctlrc \
+   $(1)/etc/kamailio/
+   $(INSTALL_DIR) $(1)/usr/sbin
+   $(CP) \
+   $(PKG_INSTALL_DIR)/usr/sbin/kam{ctl,dbctl} \
+   $(1)/usr/sbin/
+   $(INSTALL_DIR) $(1)/usr/lib/kamailio
+   $(CP) \
+   $(PKG_INSTALL_DIR)/usr/lib/kamailio/kamctl \
+   $(1)/usr/lib/kamailio/
+endef
+
+define BuildPlugin
+  define Package/kamailio4-mod-$(1)
+$$(call Package/kamailio4/Default)
+TITLE:= kamailio4 $(3) module
+DEPENDS:=kamailio4 $$(foreach m,$(4),+kamailio4-mod-$$m) $(5)
+  endef
+
+  define Package/kamailio4-mod-$(1)/install
+   $(INSTALL_DIR) $$(1)/usr/lib/kamailio/modules
+   $(CP) $(PKG_INSTALL_DIR)/usr/lib/kamailio/modules/$(2).so \
+   $$(1)/usr/lib/kamailio/modules/ ;
+  endef
+
+  INCL_MODULES+=$(2)
+  KAM_MODULES+=kamailio4-mod-$(1

[OpenWrt-Devel] [PATCH][packages] sipp - version bump

2013-02-22 Thread Jiri Slachta
This patch bumps Sipp - the SIP generator - from version 3.1 to version 3.3. It 
tested with basic scenarios.
Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: feeds/packages/net/sipp/Makefile
===
--- feeds/packages/net/sipp/Makefile(revision 35706)
+++ feeds/packages/net/sipp/Makefile(working copy)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2013 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=sipp
-PKG_VERSION:=3.1
-PKG_RELEASE:=2
+PKG_VERSION:=3.3
+PKG_RELEASE:=1
 
-PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).src.tar.gz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/sipp
-PKG_MD5SUM:=452a6f88f2d314dbb2f44e318a60982b
+PKG_MD5SUM:=8c1d513423f9dabee799e738b737e311
 
 include $(INCLUDE_DIR)/uclibc++.mk
 include $(INCLUDE_DIR)/package.mk
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages] MySQL - revert PKG_SOURCE_URL previous patch

2013-02-21 Thread Jiri Slachta
This patch reverts previous patch that fixes already fixed non-functional 
repos. MySQL archives repo is duplicit and planetmirror is offline.
Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: libs/mysql/Makefile
===
--- libs/mysql/Makefile (revision 35724)
+++ libs/mysql/Makefile (working copy)
@@ -14,8 +14,6 @@
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=\
-   http://downloads.mysql.com/archives/mysql-5.1/ \
-   http://mysql.planetmirror.com/Downloads/MySQL-5.1/ \
http://mysql.he.net/Downloads/MySQL-5.1/ \
http://www.linorg.usp.br/mysql/Downloads/MySQL-5.1/ \
http://www.mirrorservice.org/sites/ftp.mysql.com/Downloads/MySQL-5.1/ \
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] [packages] Fix lib mysql sources list

2013-02-18 Thread Jiri Slachta
Hello,

this issue with this patch was double fixed. In accepted patch below this issue 
was fixed also.

http://patchwork.openwrt.org/patch/3295/

I suggest reverting the MySQL Makefile to previous version, because the 
archives mirror does not contain the latest versions (5.1.68 is the latest one) 
and it's the slowest mirror. Archives mirror appears in PKG_SOURCE_URL twice. 

Fast mirrors should be in PKG_SOURCE_URL mentioned before archives mirror - if 
MySQL bumps to newer version, fast mirrors will be skipped (those does have 
only two last versions) and current version will be downloaded via archives 
mirror.

I am sorry for this little misunderstanding, I should have mentioned in 
accepted patch above that it's an improved version of this patch.

Thank you.

~ Jiri Slachta

Dne 18.2.2013 10:59, Florian Fainelli napsal(a):
 
 
 On 02/12/2013 05:49 PM, Infactum wrote:
 All source mirrors in current feed seems to be unavaliable. Patch adds
 official mysql repo.

 Signed-off-by: Yegor Ivanov infac...@gmail.com
 
 Applied in r35656, thanks!
 -- 
 Florian
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCHES][packages] Zabbix - version bump

2013-02-14 Thread Jiri Slachta
Zabbix version bump.
Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: admin/zabbix/Makefile
===
--- admin/zabbix/Makefile   (revision 35603)
+++ admin/zabbix/Makefile   (working copy)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006-2012 OpenWrt.org
+# Copyright (C) 2006-2013 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=zabbix
-PKG_VERSION:=2.0.3
+PKG_VERSION:=2.0.5
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/zabbix
-PKG_MD5SUM:=bef75dd149abc8a6da4adafc08eb61de
+PKG_MD5SUM:=0c0721c31889b63bce9aa556bcb927e8
 
 PKG_INSTALL:=1
 
Index: admin/zabbix/patches/002-uclibc_loadavg.patch
===
--- admin/zabbix/patches/002-uclibc_loadavg.patch   (revision 35603)
+++ admin/zabbix/patches/002-uclibc_loadavg.patch   (working copy)
@@ -1,7 +1,6 @@
-diff -urN zabbix-1.6/src/libs/zbxsysinfo/linux/cpu.c 
zabbix-1.6.new/src/libs/zbxsysinfo/linux/cpu.c
 zabbix-1.6/src/libs/zbxsysinfo/linux/cpu.c 2008-09-18 22:15:26.0 
+0200
-+++ zabbix-1.6.new/src/libs/zbxsysinfo/linux/cpu.c 2008-09-30 
19:32:54.0 +0200
-@@ -22,6 +22,45 @@
+--- a/src/libs/zbxsysinfo/linux/cpu.c  2013-02-12 12:27:22.0 +0100
 b/src/libs/zbxsysinfo/linux/cpu.c  2013-02-14 18:38:02.517429349 +0100
+@@ -21,6 +21,45 @@
  #include sysinfo.h
  #include stats.h
  
@@ -46,4 +45,4 @@
 +
  int   SYSTEM_CPU_NUM(const char *cmd, const char *param, unsigned flags, 
AGENT_RESULT *result)
  {
-   charmode[128];
+   chartmp[16];
Index: admin/zabbix/patches/002-fix-res_send-on-uclibc.patch
===
--- admin/zabbix/patches/002-fix-res_send-on-uclibc.patch   (revision 35603)
+++ admin/zabbix/patches/002-fix-res_send-on-uclibc.patch   (working copy)
@@ -1,7 +1,7 @@
 a/configure.in 2012-05-21 14:07:37.0 +
-+++ b/configure.in 2012-06-21 19:46:34.843662509 +
+--- a/configure.in 2013-02-14 18:29:28.145419003 +0100
 b/configure.in 2013-02-14 18:28:42.873418092 +0100
 @@ -149,6 +149,10 @@
-   AC_MSG_ERROR([Unable to DNS lookup functions ${found_resolv}])
+   AC_MSG_ERROR([Unable to do DNS lookups (libresolv check failed)])
  fi
  LIBS=${LIBS} ${RESOLV_LIBS}
 +AC_SEARCH_LIBS([res_mkquery], [], [AC_DEFINE([HAVE_RES_MKQUERY], 1, [Define 
if res_mkquery exists])])
Index: admin/zabbix/patches/001-cross_compile.patch
===
--- admin/zabbix/patches/001-cross_compile.patch(revision 35603)
+++ admin/zabbix/patches/001-cross_compile.patch(working copy)
@@ -1,6 +1,6 @@
 --- a/configure.in 2012-06-21 21:32:23.707912790 +
 +++ b/configure.in 2012-06-21 21:33:36.213554564 +
-@@ -806,25 +806,8 @@
+@@ -802,25 +802,8 @@
  
  dnl Check for %qu format (FreeBSD 4.x)
  dnl FreeBSD 4.x does not support %llu
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages] MySQL - version bump

2013-02-14 Thread Jiri Slachta
This patch bumps MySQL to latest version and also repairs missing/not working 
mirrors (planetmirror is offline and holywar.net does not provide mysql 
anymore). If a source package does not exist at mirror repo (they seem to keep 
the latest two versions at mysql repo), it uses the archives repo at last.
--
MySQL version bump to 5.1.68 and PKG_URL_SOURCE fix
Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: libs/mysql/Makefile
===
--- libs/mysql/Makefile (revision 35603)
+++ libs/mysql/Makefile (working copy)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006-2012 OpenWrt.org
+# Copyright (C) 2006-2013 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,17 +9,19 @@
 include $(INCLUDE_DIR)/uclibc++.mk
 
 PKG_NAME:=mysql
-PKG_VERSION:=5.1.66
-PKG_RELEASE:=7
+PKG_VERSION:=5.1.68
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=\
-   http://mysql.planetmirror.com/Downloads/MySQL-5.1/ \
http://mysql.he.net/Downloads/MySQL-5.1/ \
http://www.linorg.usp.br/mysql/Downloads/MySQL-5.1/ \
-   http://mysql.holywar.net/Downloads/MySQL-5.1/
-PKG_MD5SUM:=a43ffa58e3611e5a557feb745596aca3
+   http://www.mirrorservice.org/sites/ftp.mysql.com/Downloads/MySQL-5.1/ \
+   http://mirror.switch.ch/ftp/mirror/mysql/Downloads/MySQL-5.1/ \
+   http://downloads.mysql.com/archives/mysql-5.1/
 
+PKG_MD5SUM:=3a4a627d0865ce7660504728a15b0fb9
+
 PKG_BUILD_DEPENDS:=libncurses libreadline
 PKG_BUILD_PARALLEL:=1
 

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCHES][packages] Zabbix - version bump

2013-02-14 Thread Jiri Slachta
I am sorry for the wrong tag. It should be [PATCH] :-(

~ Jiri Slachta, CESNET, z.s.p.o.

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] [packages] Add asterisk-chan-dongle package

2013-02-12 Thread Jiri Slachta
Hello,

comments below to improve your patch:

Dne 12.2.2013 17:42, Infactum napsal(a):
 Patch adds chan_dongle Asterisk 11 channel driver for Huawei UMTS/3G USB 
 modems (dongles).
 +
 +WITH_ASTERISK=asterisk-11.2.1

Follow CFLAGS comment below - this variable is unnecessary. With each version 
bump this Makefile would need to be also updated. Solution below solves 
updating asterisk11 without letting this package being outdated by a simple 
version bump.

 +
 +include $(INCLUDE_DIR)/package.mk
 +
 +define Package/asterisk11-chan-dongle
 + SUBMENU:=Telephony
 + SECTION:=net
 + CATEGORY:=Network
 + URL:=http://www.asterisk.org/
 + MAINTAINER:=Hans Zandbelt hans.zandb...@gmail.com

I suppose that maintainer should add MAINTAINER variable himself. Currently 
Hans Zandbelt does not maintain asterisk package anymore, so this variable 
should not be set at all for this package.

 + DEPENDS:= asterisk11 +libiconv-full
 + TITLE:=Huawei UMTS 3G dongle support
 +endef
 +
 +define Package/asterisk11-chan-dongle/description
 + Asterisk channel driver for Huawei UMTS 3G dongle
 +endef

It would be nice to remove this indentation. If you take a look at the package 
description in the 'make menuconfig', there's unnecessary gap.

 +
 +MAKE_ARGS:= \
 + CC=$(TARGET_CC) \
 + LD=$(TARGET_CC) \
 + CFLAGS=$(TARGET_CFLAGS) -DASTERISK_VERSION_NUM=11 -DLOW_MEMORY 
 -D_XOPEN_SOURCE=600 $(TARGET_CPPFLAGS) 
 -I$(STAGING_DIR)/usr/lib/libiconv-full/include 
 -I$(BUILD_DIR)/$(WITH_ASTERISK)/include -DHAVE_CONFIG_H -I. -fPIC \

-I$(STAGING_DIR)/usr/include/asterisk-11/include/

 + LDFLAGS=$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/libiconv-full/lib 
 -liconv \
 + DESTDIR=$(PKG_INSTALL_DIR)/usr/lib/asterisk/modules
 +
 +define Build/Configure
 + $(call Build/Configure/Default, \
 + --with-asterisk=$(BUILD_DIR)/$(WITH_ASTERISK)/include \

--with-asterisk should point to STAGING_DIR - for package asterisk11 it should 
be (if you take a look at InstallDev macro at asterisk11's Makefile):

--with-asterisk=$(STAGING_DIR)/usr/include/asterisk-11/include/

~ Jiri Slachta
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages] asterisk11 - fix typo in CONFIGURE_ARGS

2013-02-10 Thread Jiri Slachta
This patch fixes typo in CONFIGURE_ARGS for package asterisk11-pbx-lua.
Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: net/asterisk-11.x/Makefile
===
--- net/asterisk-11.x/Makefile  (revision 35540)
+++ net/asterisk-11.x/Makefile  (working copy)
@@ -201,7 +201,7 @@
   TARGET_LDFLAGS+=-ldl -lcrypt
 else
   CONFIGURE_ARGS+= \
-   --without-pbx-lua
+   --without-lua
 endif
 
 EXTRA_CFLAGS+= $(TARGET_CPPFLAGS)
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCHv2][packages][net][telephony] Add asterisk11 package.

2013-01-31 Thread Jiri Slachta
Add asterisk11 package. LTS version of Asterisk has been recently released. 
This package is a bleeding-edge alternative to existing asterisk-1.8.x package.
Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: net/asterisk-11.x/files/asterisk.init
===
--- net/asterisk-11.x/files/asterisk.init   (revision 0)
+++ net/asterisk-11.x/files/asterisk.init   (revision 0)
@@ -0,0 +1,35 @@
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2013 OpenWrt.org
+
+. /lib/functions/service.sh
+
+START=99
+APP=asterisk
+OPTIONS=
+DEST=
+DEFAULT=$DEST/etc/default/$APP
+BIN_FILE=$DEST/usr/sbin/$APP
+PID_FILE=$DEST/var/run/$APP/$APP.pid
+
+start() {
+   [ -f $DEFAULT ]  . $DEFAULT
+   [ -d $DEST/var/run/asterisk ] || mkdir -p $DEST/var/run/asterisk
+   [ -d $DEST/var/log/asterisk ] || mkdir -p $DEST/var/log/asterisk
+   [ -d $DEST/var/spool/asterisk ] || mkdir -p $DEST/var/spool/asterisk
+   [ -d $DEST/var/lib ] || mkdir -p $DEST/var/lib
+   [ -h $DEST/var/lib/asterisk ] || ln -s /usr/lib/asterisk 
/var/lib/asterisk
+   [ -d $DEST/var/lib/asterisk/keys ] || mkdir -p 
$DEST/var/lib/asterisk/keys
+
+   SERVICE_PID_FILE=/var/run/asterisk/asterisk.pid \
+   service_start $BIN_FILE $OPTIONS
+}
+
+stop() {
+   SERVICE_PID_FILE=/var/run/asterisk/asterisk.pid \
+   service_stop $BIN_FILE
+}
+
+reload() {
+   SERVICE_PID_FILE=/var/run/asterisk/asterisk.pid \
+   service_reload $BIN_FILE
+}
Index: net/asterisk-11.x/files/asterisk.default
===
--- net/asterisk-11.x/files/asterisk.default(revision 0)
+++ net/asterisk-11.x/files/asterisk.default(revision 0)
@@ -0,0 +1,4 @@
+## startup options for /etc/init.d/asterisk
+
+ENABLE_ASTERISK=yes
+OPTIONS=
Index: net/asterisk-11.x/patches/020-asterisk-enable-default-modules.patch
===
--- net/asterisk-11.x/patches/020-asterisk-enable-default-modules.patch 
(revision 0)
+++ net/asterisk-11.x/patches/020-asterisk-enable-default-modules.patch 
(revision 0)
@@ -0,0 +1,33 @@
+--- a/addons/chan_mobile.c
 b/addons/chan_mobile.c
+@@ -27,7 +27,7 @@
+ 
+ /*** MODULEINFO
+   dependbluetooth/depend
+-  defaultenabledno/defaultenabled
++  defaultenabledyes/defaultenabled
+   support_levelextended/support_level
+  ***/
+ 
+--- a/addons/res_config_mysql.c
 b/addons/res_config_mysql.c
+@@ -24,7 +24,7 @@
+ 
+ /*** MODULEINFO
+   dependmysqlclient/depend
+-  defaultenabledno/defaultenabled
++  defaultenabledyes/defaultenabled
+   support_levelextended/support_level
+  ***/
+ 
+--- a/res/res_pktccops.c
 b/res/res_pktccops.c
+@@ -31,7 +31,7 @@
+  */
+ 
+ /*** MODULEINFO
+-defaultenabledno/defaultenabled
++defaultenabledyes/defaultenabled
+   support_levelextended/support_level
+  ***/
+ 
Index: 
net/asterisk-11.x/patches/000-pjlib-move-configure-compile-to-makefile.patch
===
--- 
net/asterisk-11.x/patches/000-pjlib-move-configure-compile-to-makefile.patch
(revision 0)
+++ 
net/asterisk-11.x/patches/000-pjlib-move-configure-compile-to-makefile.patch
(revision 0)
@@ -0,0 +1,22 @@
+--- a/res/Makefile
 b/res/Makefile
+@@ -70,14 +70,14 @@
+   $(MAKE) -C pjproject realclean
+   rm -f snmp/*.o snmp/*.i ael/*.o ael/*.i ais/*.o ais/*.i
+ 
+-pjproject/build.mak:
+-  cd pjproject  ./configure AR= CFLAGS=-fPIC  
--disable-floating-point --disable-sound --disable-oss --disable-speex-aec 
--disable-l16-codec --disable-gsm-codec --disable-g722-codec 
--disable-g7221-codec --disable-speex-codec --disable-ilbc-codec 
--disable-g711-codec
++#pjproject/build.mak:
++# cd pjproject  ./configure AR= CFLAGS=-fPIC  
--disable-floating-point --disable-sound --disable-oss --disable-speex-aec 
--disable-l16-codec --disable-gsm-codec --disable-g722-codec 
--disable-g7221-codec --disable-speex-codec --disable-ilbc-codec 
--disable-g711-codec
+ 
+ .PHONY : pjproject
+-pjproject: pjproject/build.mak
++#pjproject: pjproject/build.mak
+   # Make sure we always build pjproject with a single job.
+-  $(MAKE) -j1 -C pjproject dep
+-  $(MAKE) -j1 -C pjproject
++# $(MAKE) -j1 -C pjproject dep
++# $(MAKE) -j1 -C pjproject
+ 
+ include pjproject/build.mak
+ 
Index: net/asterisk-11.x/patches/010-asterisk-configure-undef-res-ninit.patch
===
--- net/asterisk-11.x/patches/010-asterisk-configure-undef-res-ninit.patch  
(revision 0)
+++ net/asterisk-11.x/patches/010-asterisk-configure-undef-res-ninit.patch  
(revision 0)
@@ -0,0 +1,11 @@
+--- a/configure
 b/configure
+@@ -24044,7 +24044,7 @@
+ $as_echo yes 6; }
+ 
+ cat confdefs.h \_ACEOF
+-#define HAVE_RES_NINIT 1
++//#define HAVE_RES_NINIT 1
+ _ACEOF
+ 
+   { $as_echo $as_me:$LINENO: checking

[OpenWrt-Devel] [PATCH][net][telephony] kamailio3 - version bump

2013-01-16 Thread Jiri Slachta
This patch updates kamailio3 to it's latest version
Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: net/kamailio3/Makefile
===
--- net/kamailio3/Makefile  (revision 35175)
+++ net/kamailio3/Makefile  (working copy)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2012 OpenWrt.org
+# Copyright (C) 2013 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=kamailio3
-PKG_VERSION:=3.3.0
+PKG_VERSION:=3.3.3
 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:=c5261066b5c8b617b6a9408679ad514f
+PKG_MD5SUM:=98c082b70048d2e9a9c4acfaa6cf556d
 
 INCL_MODULES:=
 KAM_MODULES:=
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][net][telephony] add asterisk11 package

2013-01-15 Thread Jiri Slachta
Asterisk 11 has been recently released. It's a new LTS version of current 
asterisk18 package. All macro's were rewritten to make packaging simplier and 
possible addition of new asterisk modules easier.

Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: net/asterisk-11.x/Makefile
===
--- net/asterisk-11.x/Makefile  (revision 0)
+++ net/asterisk-11.x/Makefile  (revision 0)
@@ -0,0 +1,386 @@
+#
+# Copyright (C) 2013 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:=asterisk11
+PKG_VERSION:=11.2.0
+PKG_RELEASE:=1
+
+PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk/releases/
+PKG_MD5SUM:=3d3da6016e3b238cd7ea3bf0df51403d
+
+PKG_BUILD_DIR=$(BUILD_DIR)/asterisk-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/asterisk11/install/module
+   $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
+   $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/*$(2).so* 
$(1)/usr/lib/asterisk/modules/
+endef
+
+define Package/asterisk11/install/conffile
+   $(INSTALL_DIR) $(1)/etc/asterisk
+   $(CP) $(PKG_INSTALL_DIR)/etc/asterisk/*$(2)* $(1)/etc/asterisk/
+endef
+
+define Package/asterisk11/install/lib
+   $(INSTALL_DIR) $(1)/usr/lib
+   $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/$(2).so* $(1)/usr/lib/
+endef
+
+define Package/asterisk11/install/sbin
+   $(INSTALL_DIR) $(1)/usr/sbin
+   $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/$(2) $(1)/usr/sbin/
+endef
+
+define Package/asterisk11/install/sounds
+   $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
+   $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/$(2) 
$(1)/usr/lib/asterisk/sounds/
+endef
+
+define BuildAsteriskModule
+  define Package/asterisk11-$(1)
+  $$(call Package/asterisk11/Default)
+TITLE:=$(2) support
+DEPENDS:= asterisk11 $(4)
+  endef
+
+  define Package/asterisk11-$(1)/conffiles
+$(5)
+  endef
+
+  define Package/asterisk11-$(1)/description
+  $$(call Package/asterisk11/Default/description)
+This package provides support $(3) in Asterisk.
+  endef
+
+  define Package/asterisk11-$(1)/install
+$(foreach c,$(6),$(call Package/asterisk11/install/conffile,$$(1),$(c));)
+$(foreach m,$(7),$(call Package/asterisk11/install/module,$$(1),$(m));)
+$(foreach s,$(8),$(call Package/asterisk11/install/sounds,$$(1),$(s));)
+  endef
+
+  $$(eval $$(call BuildPackage,asterisk11-$(1)))
+endef
+
+define Package/asterisk11/Default
+  SUBMENU:=Telephony
+  SECTION:=net
+  CATEGORY:=Network
+  URL:=http://www.asterisk.org/
+endef
+
+define Package/asterisk11/Default/description
+Asterisk is a complete PBX in software. It provides all of the features
+you would expect from a PBX and more. Asterisk does voice over IP in three
+protocols, and can interoperate with almost all standards-based telephony
+equipment using relatively inexpensive hardware.
+endef
+
+define Package/asterisk11
+$(call Package/asterisk11/Default)
+  TITLE:=Complete open source PBX, v11.x
+  MENU:=1
+  DEPENDS:=+libuuid +libopenssl +libncurses +libpopt +libpthread +libsqlite3 
+librt +zlib @!TARGET_avr32
+endef
+
+define Package/asterisk11/description
+$(call Package/asterisk11/Default/description)
+endef
+
+define Package/asterisk11/conffiles
+/etc/asterisk/asterisk.conf
+/etc/asterisk/acl.conf
+/etc/asterisk/ccss.conf
+/etc/asterisk/modules.conf
+/etc/asterisk/extconfig.conf
+/etc/asterisk/extensions.conf
+/etc/asterisk/features.conf
+/etc/asterisk/indications.conf
+/etc/asterisk/logger.conf
+/etc/asterisk/manager.conf
+/etc/asterisk/rtp.conf
+/etc/asterisk/sip.conf
+/etc/asterisk/sip_notify.conf
+/etc/asterisk/udptl.conf
+/etc/default/asterisk
+/etc/init.d/asterisk
+endef
+
+AST_CFG_FILES:= \
+   asterisk.conf acl.conf ccss.conf extconfig.conf extensions.conf 
features.conf indications.conf logger.conf manager.conf modules.conf \
+   rtp.conf sip_notify.conf sip.conf udptl.conf
+AST_EMB_MODULES:=\
+   app_dial app_echo app_macro app_playback codec_gsm codec_ulaw 
format_gsm format_pcm format_wav format_wav_gsm func_callerid \
+   func_logic func_strings func_timeout chan_sip chan_local pbx_config 
res_crypto res_http_websocket res_rtp_asterisk res_rtp_multicast
+
+define Package/asterisk11/install
+$(call Package/asterisk11/install/lib,$(1),libasteriskssl)
+$(call Package/asterisk11/install/sbin,$(1),asterisk)
+$(call Package/asterisk11/install/sbin,$(1),safe_asterisk)
+$(call Package/asterisk11/install/sbin,$(1),astgenkey)
+$(foreach m,$(AST_CFG_FILES),$(call 
Package/asterisk11/install/conffile,$(1),$(m));)
+$(foreach m,$(AST_EMB_MODULES),$(call 
Package/asterisk11/install/module,$(1),$(m));)
+   $(INSTALL_DIR) $(1)/etc/default
+   $(INSTALL_DATA) ./files/asterisk.default $(1)/etc/default/asterisk
+   $(INSTALL_DIR) $(1)/etc/init.d
+   $(INSTALL_BIN

Re: [OpenWrt-Devel] new package: openvpn-interface

2013-01-14 Thread Jiri Slachta
Hello Joachim :)

Dne 14.1.2013 10:53, Joachim Schlipper napsal(a):
 Is it possible for me to get svn write access
 for that package, so I can maintain the package in the future? Who is
 the one to talk to about that?

why don't you send a patch to mailing list according to SubmittingPatches guide 
( https://dev.openwrt.org/wiki/SubmittingPatches )? You do not need to have 
write access, and this practice is quite good - everyone can test your package 
before it's submitted and committed into OpenWrt repository (that's why someone 
can ack your patch before it is committed). Also you can watch status of your 
package on http://patchwork.openwrt.org .
 
 Best wishes
 Joachim
Regards,
Jiri


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] new package: openvpn-interface

2013-01-14 Thread Jiri Slachta
Hello Joachim

Dne 14.1.2013 12:20, Joachim Schlipper napsal(a):
 Hello Jiri,
 
 Thank you for your suggestion. I never considered it to be a patch
 because it doesn't change anything existing. As it is a whole new
 package I guessed it would not be a patch, but rethinking it after your
 comment leads me to the conclusion that I was wrong.
 It would just be a very long patch because of many different script
 files that are included. Is that a problem?

Just have a look at patchwork.openwrt.org and this guide I sent in previous 
mail - even if it's just a patch, consider everything you do as a change (from 
nothing to something). I also sent several packages and they were accepted. If 
your patch becomes too big, it's better to send it in an archive - so before 
submittion, I strongly recommend you follow this guide - 
https://dev.openwrt.org/wiki/SubmittingPatches - it really helps :)

 Best wishes
 Joachim
Regards,
Jiri

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages][lang] jamvm - PKG_MIRROR_MD5SUM does not match

2013-01-08 Thread Jiri Slachta
MD5SUM of a package jamvm located in openwrt mirror does not match the 
PKG_MIRROR_MD5SUM in the Makefile of jamvm package

Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: feeds/packages/lang/jamvm/Makefile
===
--- feeds/packages/lang/jamvm/Makefile  (revision 34959)
+++ feeds/packages/lang/jamvm/Makefile  (working copy)
@@ -16,7 +16,7 @@
 PKG_SOURCE_VERSION:=4617da717ecb05654ea5bb9572338061106a414d
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
-PKG_MIRROR_MD5SUM:=fd546a48f9e248d21d879664240892a1
+PKG_MIRROR_MD5SUM:=66a728a3cb8dad0e3773035c4049eb5f
 
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages][lib] GMP - version bump

2013-01-08 Thread Jiri Slachta
this patch updates gmp package from 5.0.5 to 5.1.0

Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: feeds/packages/libs/gmp/Makefile
===
--- feeds/packages/libs/gmp/Makefile(revision 34959)
+++ feeds/packages/libs/gmp/Makefile(working copy)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=gmp
-PKG_VERSION:=5.0.5
+PKG_VERSION:=5.1.0
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=ftp://ftp.gmplib.org/pub/$(PKG_NAME)-$(PKG_VERSION)/
-PKG_MD5SUM:=041487d25e9c230b0c42b106361055fe
+PKG_MD5SUM:=362cf515aff8dc240958ce47418e4c78
 
 PKG_BUILD_PARALLEL:=1
 PKG_INSTALL:=1
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [RFC][PATCH][v2] Asterisk 11 package

2013-01-04 Thread Jiri Slachta
Hello everyone,

I've made newer version of Asterisk package. Previous version located at 
http://patchwork.openwrt.org/patch/2898/ had some issues with crosscompiling 
Asterisk's SIP stack PJSIP. Current version should not suffer from incorrectly 
compiled PJSIP built inside the Asterisk.

I would really appreciate if anyone would love to review my latest patch that 
brings the latest LTS Asterisk11 version to OpenWrt. Also I would appreciate if 
anyone would love to test this package if it works on different platforms.

Thank you so much
Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: feeds/packages/net/asterisk-11.x/patches/100-build_tools-iconv.patch
===
--- feeds/packages/net/asterisk-11.x/patches/100-build_tools-iconv.patch
(revision 0)
+++ feeds/packages/net/asterisk-11.x/patches/100-build_tools-iconv.patch
(revision 0)
@@ -0,0 +1,11 @@
+--- a/build_tools/menuselect-deps.in
 b/build_tools/menuselect-deps.in
+@@ -18,7 +18,7 @@ GTK2=@PBX_GTK2@
+ H323=@PBX_H323@
+ HOARD=@PBX_HOARD@
+ ICAL=@PBX_ICAL@
+-ICONV=@PBX_ICONV@
++ICONV=0
+ IKSEMEL=@PBX_IKSEMEL@
+ IMAP_TK=@PBX_IMAP_TK@
+ IODBC=@PBX_IODBC@
Index: feeds/packages/net/asterisk-11.x/patches/500-nres.patch
===
--- feeds/packages/net/asterisk-11.x/patches/500-nres.patch (revision 0)
+++ feeds/packages/net/asterisk-11.x/patches/500-nres.patch (revision 0)
@@ -0,0 +1,11 @@
+--- a/configure
 b/configure
+@@ -24044,7 +24044,7 @@
+ $as_echo yes 6; }
+ 
+ cat confdefs.h \_ACEOF
+-#define HAVE_RES_NINIT 1
++//#define HAVE_RES_NINIT 1
+ _ACEOF
+ 
+   { $as_echo $as_me:$LINENO: checking for library containing 
res_9_ndestroy 5
Index: 
feeds/packages/net/asterisk-11.x/patches/600-cross-compile-check-pjproject.patch
===
--- 
feeds/packages/net/asterisk-11.x/patches/600-cross-compile-check-pjproject.patch
(revision 0)
+++ 
feeds/packages/net/asterisk-11.x/patches/600-cross-compile-check-pjproject.patch
(revision 0)
@@ -0,0 +1,89 @@
+--- a/res/pjproject/aconfigure
 b/res/pjproject/aconfigure
+@@ -2898,46 +2898,46 @@
+ ac_clean_files=$ac_clean_files conftest.out
+ # Check that the compiler produces executables we can run.  If not, either
+ # the compiler is broken, or we cross compile.
+-{ $as_echo $as_me:${as_lineno-$LINENO}: checking whether we are cross 
compiling 5
+-$as_echo_n checking whether we are cross compiling...  6; }
+-if test $cross_compiling != yes; then
+-  { { ac_try=$ac_link
+-case (($ac_try in
+-  *\* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+-  *) ac_try_echo=$ac_try;;
+-esac
+-eval ac_try_echo=\\$as_me:${as_lineno-$LINENO}: $ac_try_echo\
+-$as_echo $ac_try_echo; } 5
+-  (eval $ac_link) 25
+-  ac_status=$?
+-  $as_echo $as_me:${as_lineno-$LINENO}: \$? = $ac_status 5
+-  test $ac_status = 0; }
+-  if { ac_try='./conftest$ac_cv_exeext'
+-  { { case (($ac_try in
+-  *\* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+-  *) ac_try_echo=$ac_try;;
+-esac
+-eval ac_try_echo=\\$as_me:${as_lineno-$LINENO}: $ac_try_echo\
+-$as_echo $ac_try_echo; } 5
+-  (eval $ac_try) 25
+-  ac_status=$?
+-  $as_echo $as_me:${as_lineno-$LINENO}: \$? = $ac_status 5
+-  test $ac_status = 0; }; }; then
+-cross_compiling=no
+-  else
+-if test $cross_compiling = maybe; then
+-  cross_compiling=yes
+-else
+-  { { $as_echo $as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd': 5
+-$as_echo $as_me: error: in \`$ac_pwd': 2;}
+-as_fn_error cannot run C compiled programs.
+-If you meant to cross compile, use \`--host'.
+-See \`config.log' for more details. $LINENO 5; }
+-fi
+-  fi
+-fi
+-{ $as_echo $as_me:${as_lineno-$LINENO}: result: $cross_compiling 5
+-$as_echo $cross_compiling 6; }
++#{ $as_echo $as_me:${as_lineno-$LINENO}: checking whether we are cross 
compiling 5
++#$as_echo_n checking whether we are cross compiling...  6; }
++#if test $cross_compiling != yes; then
++#  { { ac_try=$ac_link
++#case (($ac_try in
++#  *\* | *\`* | *\\*) ac_try_echo=\$ac_try;;
++#  *) ac_try_echo=$ac_try;;
++#esac
++#eval ac_try_echo=\\$as_me:${as_lineno-$LINENO}: $ac_try_echo\
++#$as_echo $ac_try_echo; } 5
++#  (eval $ac_link) 25
++#  ac_status=$?
++#  $as_echo $as_me:${as_lineno-$LINENO}: \$? = $ac_status 5
++#  test $ac_status = 0; }
++#  if { ac_try='./conftest$ac_cv_exeext'
++#  { { case (($ac_try in
++#  *\* | *\`* | *\\*) ac_try_echo=\$ac_try;;
++#  *) ac_try_echo=$ac_try;;
++#esac
++#eval ac_try_echo=\\$as_me:${as_lineno-$LINENO}: $ac_try_echo\
++#$as_echo $ac_try_echo; } 5
++#  (eval $ac_try) 25
++#  ac_status=$?
++#  $as_echo $as_me:${as_lineno-$LINENO}: \$? = $ac_status 5
++#  test $ac_status = 0; }; }; then
++#cross_compiling=no
++#  else
++#if test $cross_compiling = maybe; then
++# cross_compiling=yes
++#else
++# { { $as_echo $as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd': 5
++#$as_echo $as_me: error

[OpenWrt-Devel] [PATCH][packages][admin] Zabbix - level up

2012-12-04 Thread Jiri Slachta
This patch updates Zabbix to it's latest version. Changelog consists of a huge 
set of bugfixes and a few small improvements.
Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: feeds/packages/admin/zabbix/Makefile
===
--- feeds/packages/admin/zabbix/Makefile(revision 33676)
+++ feeds/packages/admin/zabbix/Makefile(working copy)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=zabbix
-PKG_VERSION:=2.0.0
+PKG_VERSION:=2.0.3
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/zabbix
-PKG_MD5SUM:=d34d398beddee0eaa999789100cf74e3
+PKG_MD5SUM:=bef75dd149abc8a6da4adafc08eb61de
 
 PKG_INSTALL:=1
 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Status of Attitude Adjustement

2012-12-02 Thread Jiri Slachta
Dne 2.12.2012 18:42, Christian Gagneraud napsal(a):
 Hi,
 
 I'm planning to do a workshop at the Dublin hacker space.
 I know that Attitude Adjustment is not yet released, but i wonder if it is 
 stable enough, or if, instead, I should use Backfire 10.03.1.
 
 So far, the list of routers we want to update are:
 - Alpha networks R36
 - Linksys WRT54G2 V1
 - Linksys WAG354G V2
 
 Any comments welcome.
 
 Thanks,
 Chris
 
Hello Chris,

at least for those two Linksys boxes sticking with Backfire is recommended. I 
could not find any info about Alpha Networks R36, so I can't say how the AA 
will run on it. For devices with 16 MB RAM or slower CPU's (less than 200 MHz) 
is recommended to stick with Backfire.

Regards,
Jiri
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Status of Attitude Adjustement

2012-12-02 Thread Jiri Slachta
Dne 2.12.2012 20:43, Brian J. Murrell napsal(a):
 On 12-12-02 01:16 PM, Jiri Slachta wrote:

 Hello Chris,
 
 Hi Jiri,
 
Hello Brian,
 at least for those two Linksys boxes sticking with Backfire is recommended.
 
 I wonder what the rationale is for this recommendation.

I am just following those recommendations in AA beta announcement:

https://forum.openwrt.org/viewtopic.php?id=39117

The kernel 2.4 support has been dropped from Attitude Adjustment. Also I saw 
some users complaining about lack of memory on current trunk or AA on older 
devices.
 
 For devices with 16 MB RAM or slower CPU's (less than 200 MHz) is 
 recommended to stick with Backfire.
 
 What's consuming more RAM and CPU in AA when compared to Backfire --
 assuming one only runs the same set of services on both of them?
 

I think it's a rule that new functionality also raises minimal memory 
requirements. It's a recommendation for older devices to stick with backfire, 
but you can build an image on your own without services you do not need to fit 
in a small amount of memory. :-)

 Given this recommendation, will any of the buffbloat work that's been
 done (which raises the question about how much of the bufferbloat work
 is in AA) and still to be done be backported to Backfire?
 

I can't say. I don't know. :-(

 Cheers,
 b.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH][packages][telephony] asterisk - add pbx_lua module

2012-11-21 Thread Jiri Slachta
Hello,

this patch adds support for Lua resources in Asterisk. Asterisk-pbx-lua allows 
users to use the full power of lua to develop telephony applications using 
Asterisk. Lua dialplan configuration is done in the extensions.lua file.

Regards,
Jiri Slachta, CESNET, z.s.p.o.
Signed-off-by: Jiri Slachta slac...@cesnet.cz
Index: feeds/packages/net/asterisk-1.8.x/Makefile
===
--- feeds/packages/net/asterisk-1.8.x/Makefile  (revision 34287)
+++ feeds/packages/net/asterisk-1.8.x/Makefile  (working copy)
@@ -245,6 +245,17 @@
  This package provides ODBC support for Asterisk.
 endef
 
+define Package/asterisk18-pbx-lua
+$(call Package/asterisk18/Default)
+  TITLE:=Lua support
+  DEPENDS:= asterisk18 +libpthread +libc +liblua
+endef
+
+define Package/asterisk18-pbx-lua/description
+$(call Package/asterisk18/Default/description)
+ This package provides Lua resources for Asterisk.
+endef
+
 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-app-meetme),)
   CONFIGURE_ARGS+= \
--with-dahdi=$(STAGING_DIR)/usr
@@ -306,6 +317,15 @@
--without-srtp
 endif
 
+ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-pbx-lua),)
+  CONFIGURE_ARGS+= \
+   --with-lua=$(STAGING_DIR)/usr
+  TARGET_LDFLAGS+=-ldl -lcrypt
+else
+  CONFIGURE_ARGS+= \
+   --without-pbx-lua
+endif
+
 CONFIGURE_ARGS+= \
--without-curses \
--with-gsm=internal \
@@ -611,6 +631,13 @@
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/*odbc*.so 
$(1)/usr/lib/asterisk/modules/
 endef
 
+define Package/asterisk18-pbx-lua/install
+   $(INSTALL_DIR) $(1)/etc/asterisk
+   $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/extensions.lua 
$(1)/etc/asterisk/
+   $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
+   $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/pbx_lua.so 
$(1)/usr/lib/asterisk/modules/
+endef
+
 define Buildasterisk18ModuleTemplate
 
   define Package/asterisk18-$(subst _,-,$(1))
@@ -642,6 +669,7 @@
 $(eval $(call BuildPackage,asterisk18-chan-gtalk))
 $(eval $(call BuildPackage,asterisk18-chan-mobile))
 $(eval $(call BuildPackage,asterisk18-odbc))
+$(eval $(call BuildPackage,asterisk18-pbx-lua))
 $(eval $(call BuildPackage,asterisk18-res-fax))
 $(eval $(call BuildPackage,asterisk18-res-fax-spandsp))
 $(eval $(call BuildPackage,asterisk18-res-timing-timerfd))
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [RFC] add asterisk11 package

2012-11-18 Thread Jiri Slachta
Here comes my comments for my package:
Dne 17.11.2012 11:35, Jiri Slachta napsal(a):
 Hello,
 
 sorry for the duplicity.
 ...
 +AST_MODULES:=

This variable will be removed, it's not used

 +$(eval $(call BuildAsteriskModule,cdr,Provide CDR,Call Detail 
 Record,asterisk11 
 +PACKAGE_asterisk11-mysql:libmysqlclient,/etc/asterisk/cdr.conf 
 /etc/asterisk/cdr_custom.conf /etc/asterisk/cdr_manager.conf 
 /etc/asterisk/cdr_odbc.conf /etc/asterisk/cdr_pgsql.conf 
 /etc/asterisk/cdr_tds.conf,*cdr*,*cdr*,))

I suppose asterisk11-cdr should be split into several modules, there are cdr 
dependencies to mysql, postgres, sqlite - so I think basic cdr package with a 
few additional packages, e.g. asterisk11-cdr-mysql, should be ok.

One thing that bothers me, is quite huge number of asterisk packages. It would 
deserve more sectioning, like:

Add-ons --
Applicationg --
Bridging modules --
Channel Drivers --
PBX modules --
Utilities --
..

The last thing is to enable LOW MEMORY compile flag, it seems to be built 
without it.

I am all ears to any review, any comments to asterisk package. It's an 
essential package for IP telephony, so it would be nice to have the latest LTS 
version of it.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Asterisk11 - need a little help with testing package

2012-11-17 Thread Jiri Slachta
Hello everyone,

I've just ported the latest long term supported version of Asterisk package for 
OpenWrt (version 11.0.1). The package is not in the best shape, it needs a 
little polishing. Module macro's were rewritten, it's a little bit more 
modular, so everything except the core package is AsteriskModule and /Install 
macro is a bit more enhanceable - it means it can /Install anything if you 
write a proper /install/whatever macro for it. I am not submitting patch below 
as a proper patch to patchwork until I know it's completely tested and 
functional. Asterisk11 compiled well for generic ar71xx and x86.

I would like to ask you help me with reviewing my Makefile, other patches, init 
script and with functional testing my package on devices.

For those who are interested - Can I ask you for reviewing my Makefile, other 
patches, init script or with functional testing my package on devices? It's a 
little bigger package and if the package compiles well does not mean it works 
perfectly. I would appreciate any help.

The patch is located here:
http://suzelly.opf.slu.cz/~sla463/asterisk11.patch

Thank you for your time. :-)

Regards, 
Jiri Slachta, CESNET, z.s.p.o.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


  1   2   >