[OpenWrt-Devel] [PATCH][include] Update CyaSSL library to last version 2.6.0

2013-05-05 Thread Massimo Vellucci
This patch update CyaSSL library to last version 2.6.0
Currently on the trunk version CyaSSL is version 1.6.5 stops to 2010.


you need to delete the folder patches no longer required

diff -r -u a/package/libs/cyassl/Makefile b/package/libs/cyassl/Makefile
--- a/package/libs/cyassl/Makefile  2013-03-21 08:08:18.0 +0100
+++ b/package/libs/cyassl/Makefile  2013-05-05 10:02:56.0 +0200
@@ -8,16 +8,14 @@
 include $(TOPDIR)/rules.mk

 PKG_NAME:=cyassl
-PKG_VERSION:=1.6.5
-PKG_RELEASE:=2
+PKG_VERSION:=2.6.0
+PKG_RELEASE:=1

 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
 PKG_SOURCE_URL:=http://www.yassl.com/
-PKG_MD5SUM:=98c2c6350acf1d089756a1de9ccb9903
+PKG_MD5SUM:=9c48fd4ab677c11b4612fb4eb15444d9

-PKG_FIXUP:=patch-libtool
 PKG_INSTALL:=1
-PKG_BUILD_PARALLEL:=1

 include $(INCLUDE_DIR)/package.mk

@@ -26,6 +24,7 @@
   SUBMENU:=SSL
   CATEGORY:=Libraries
   TITLE:=CyaSSL library
+  DEPENDS:=+libpthread
   URL:=http://www.yassl.com/
 endef

@@ -37,8 +36,11 @@
 TARGET_CFLAGS += $(FPIC)

 CONFIGURE_ARGS += \
-   --without-zlib \
-   --enable-singleThreaded
+   --enable-dtls \
+   --enable-static \
+   --enable-opensslextra \
+   --enable-singleThreaded \
+   --disable-examples

 define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
Only in a/package/libs/cyassl: patches



I tested the patch for x86 and mipsel target, compiled without warning.

Bye

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


Re: [OpenWrt-Devel] Buildslave nico destroys snapshot buildbot

2013-05-05 Thread Hannu Nyman

Nico is again failing svn updates, going through several platforms rapidly.

svn: Can't connect to host 'svn.openwrt.org': Connection timed out


That causes other buildslaves to site idle and many platforms remain unbuilt.

http://buildbot.openwrt.org:8010/buildslaves/nico
http://buildbot.openwrt.org:8010/one_line_per_build


In 25.3.2013 15:37, Mirko Vogt wrote:

On 03/25/2013 08:28 AM, Hannu Nyman wrote:

Updating feed 'luci' from
'http://svn.luci.subsignal.org/luci/trunk/contrib/package' ...
svn: OPTIONS of
'http://svn.luci.subsignal.org/luci/trunk/contrib/package': Could not
read status line: Connection timed out (http://svn.luci.subsignal.org)
failed.

Hey, thanks for reporting. The IP change of the slave caused this
trouble (however that one wasn't DNS related).
Should be fixed by now, running and producing valid images again.

   mirko



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


[OpenWrt-Devel] Fwd: [PATCH][include] Update CyaSSL library to last version 2.6.0

2013-05-05 Thread Massimo Vellucci
Sorry I made a big mistake, I attached the wrong patch. For x86 you need
to disable the PIC optimization otherwise you get an error at compile time.

diff -r -u a/package/libs/cyassl/Makefile b/package/libs/cyassl/Makefile
--- a/package/libs/cyassl/Makefile2013-03-21 08:08:18.0 +0100
+++ b/package/libs/cyassl/Makefile2013-05-05 10:27:06.0 +0200
@@ -8,16 +8,14 @@
 include $(TOPDIR)/rules.mk

 PKG_NAME:=cyassl
-PKG_VERSION:=1.6.5
-PKG_RELEASE:=2
+PKG_VERSION:=2.6.0
+PKG_RELEASE:=1

 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
 PKG_SOURCE_URL:=http://www.yassl.com/
-PKG_MD5SUM:=98c2c6350acf1d089756a1de9ccb9903
+PKG_MD5SUM:=9c48fd4ab677c11b4612fb4eb15444d9

-PKG_FIXUP:=patch-libtool
 PKG_INSTALL:=1
-PKG_BUILD_PARALLEL:=1

 include $(INCLUDE_DIR)/package.mk

@@ -37,8 +35,12 @@
 TARGET_CFLAGS += $(FPIC)

 CONFIGURE_ARGS += \
-   --without-zlib \
-   --enable-singleThreaded
+   --without-pic \
+   --enable-dtls \
+   --enable-static \
+   --enable-opensslextra \
+   --enable-singlethreaded \
+   --disable-examples

 define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include



I'm sorry again for the mistake
Massimo
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Buildslave nico destroys snapshot buildbot

2013-05-05 Thread Mirko Vogt
On 05/05/2013 12:48 PM, Hannu Nyman wrote:
 Nico is again failing svn updates, going through several platforms rapidly.
 
 svn: Can't connect to host 'svn.openwrt.org': Connection timed out
 
 
 That causes other buildslaves to site idle and many platforms remain
 unbuilt.
 
 http://buildbot.openwrt.org:8010/buildslaves/nico
 http://buildbot.openwrt.org:8010/one_line_per_build

Thanks - we noticed as well. We'll take care of that by

 - changing from svn to our git mirror
 - implement some monitoring

later today.

Sorry the inconveniences and thanks for reporting once again!

  mirko

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


Re: [OpenWrt-Devel] [PATCH] [packages] facter (second try)

2013-05-05 Thread Luka Perkov
On Sat, May 04, 2013 at 03:26:52PM -0700, Kyle Anderson wrote:
 This patch is for the facter utility which allows sysadmins to extract
 information from their systems.
 
 It is commonly used in conjunction with Puppet, which I will submit later.
 
 With this second attempt, I have OpenWrt support already accepted upstream
 in facter, so no additional patches are necessary, so that is cool.
 
 And of course this time the patch is actually submitted inline properly. :)
 
 Signed-off-by: Kyle Anderson k...@xkyle.com

Applied with minor changes in r36549. Thanks!

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


[OpenWrt-Devel] Compile target object instead of toolchain object

2013-05-05 Thread jonsm...@gmail.com
How do I compile a target object when there is a toolchain object of the
same name?

For example sed. I want it to make the target version, not the host
toolchain one.

jonsmirl@terra:/home/apps/openwrt$ make package/feeds/packages/sed/compile
V=s
make[1]: Entering directory `/home/apps/openwrt'
make[2]: Entering directory `/home/apps/openwrt/package/toolchain'



-- 
Jon Smirl
jonsm...@gmail.com
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel