Re: [OpenWrt-Devel] [PATCH] dnsmasq: add config option for ra_names

2013-07-14 Thread Dominique Martinet
Signed-off-by: Dominique Martinet asmad...@codewreck.org
---

I posted this quite a while ago:
Dominique Martinet wrote on Fri, Jul 06, 2012 :
 ra_names is a feature introduced in dnsmasq 2.61, which is why I changed
 the rules to build something newer (and figured I might as well take it
 to 62)
 Basically, it:
  - does router-advertisment (not dhcpv6)
  - when it gets a request for RA, it looks up if there is an active ipv4
  lease for the same host via its MAC address, and if there is it adds
  the to-be ipv6 to the local dns (assuming the host will take the dns)
  - when it gets a dhcpv4 release it takes off the ipv6 dns record as
  well
 
 (since RA is stateless and doesn't give the host name, I couldn't figure
 any better way without dhcpv6; I was about to hack something (with a
 very large axe and radvd) when I found out they've done it already :D)
 
 There are also modes for router-advertisment only which I haven't looked
 at, and a dhcpv6 client implementation that I didn't try yet either.
 
 
 The option I added is in the dhcp field, a ra_name option with the
 prefix to announce in RAs, i.e.
 
 config dhcp 'lan'
   option interface 'lan'
   option ra_names '2001:dead:beef::'
 
 
 (Note: it doesn't seem to add the local dns with a fe80:: prefix)


Since I re-installed my router I looked to see if there was another way
to give dnsmasq a custom option, but couldn't find any - maybe I'm just
blind though.

That being said, I think this is a nice feature for anyone with a dual
stack ipv4/ipv6 at home, it just works, and if there is no other clean
way to add this in the config I wouldn't mind getting this added.
If you have any suggestion/qualms about it, please tell me and I'm
willing to try to get these fixed before sending a new patch.
(unless of course it's a we're not interested - but if I just need to
add a checkbox to luci I'll consider it.)

The original patch inclued a dnsmasq version bump which isn't needed
anymore, so here's the short bit that would interest me:
(just checked it still applies to trunk one year later, I just had to
change the file path. This mail should apply with git am/git apply - I
can reformat it for svn if that's better)

Thanks,
Dominique Martinet | Asmadeus

 package/network/services/dnsmasq/files/dnsmasq.init |6 ++
 1 file changed, 6 insertions(+)

diff --git a/package/network/services/dnsmasq/files/dnsmasq.init 
b/package/network/services/dnsmasq/files/dnsmasq.init
index 630c07d..a2f274e 100644
--- a/package/network/services/dnsmasq/files/dnsmasq.init
+++ b/package/network/services/dnsmasq/files/dnsmasq.init
@@ -375,6 +375,12 @@ dhcp_add() {
xappend 
--dhcp-range=$networkid,$START,$END,$NETMASK,$leasetime${options:+ $options}
 
dhcp_option_add $cfg $networkid
+
+   config_get ra_names $cfg ra_names
+
+   [ -n $ra_names ]  {
+   xappend --dhcp-range=$networkid,$ra_names,ra-names,$leasetime
+   }
 }
 
 dhcp_option_add() {
-- 
1.7.10.4

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


[OpenWrt-Devel] [Porting help] Support for NETGEAR DGN2200V3

2013-07-14 Thread Enrico Mioso

Hi guys!
I would like to see this device supported: NETGEAR DGN2200V3.
So I started investigating it a little.
It seems very similar to the already supported Netgear CVG834G.
I'm trying to analyse the original NetGear firmware. Most parts related to DSL 
are proprietary, so I don't expect to handle the chip.
The classic mega firmware archive, called DGN2200v3_V1.1.00.10_src.zip is 
downloadable directly from the NETGEAR site at:

http://www.downloads.netgear.com/files/GPL/DGN2200v3_V1.1.00.10_src.zip
But the interesting stuff is a relatively small set of .h files.

   INFOS i COLLECTED

The device is bcm963xx-based: the enet driver and the wl wlan drivers from 
broadcom are being used inside it.

The DSL firmware is distributed in binary form only - so for now, no way.
It seems there are two parts of the DSL driver:
- one dedicated to hardware management
- another dedicated to data processing, which is of course GPLed
- a firmware blob

   INTERESTING STUFF

Once you decompress the ZIP file you can find the build system and the gcc 
toolchain, which we will conveniently ignore, for now at least.


From inside the ZIP file, you can extract the DGN2200v3_V1.1.00.10_src.tar.bz2 

file only, leaving alone uclibc-crosstools-gcc-4.4.2-1-full.tar.bz2   OK.
then I would go directly to the
DGN2200v3_V1.1.00.10_src/Kernel/bcm963xx/bcmdrivers/opensource/include/bcm963xx

folder, where you can find all GPIOs definitions and other device 
specifications. None of them seemed custom to me.


Any suggestion? Can someone help? Or point me out the right direction?
Thank you!!

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


[OpenWrt-Devel] BRCM47xx network/switch changes + ARM

2013-07-14 Thread Hauke Mehrtens
The switch driver handling in the brcm47xx target was broken for some
time, this is more or less fixed now [0]. This also included a problem
of packages leaking between WAN and LAN for some seconds at boot.

For kernel 3.10 the brcm47xx target switched from the old switch driver
to the new b53 driver written by Jonas [1]. This was successfully tested
on some devices with b44 and bgmac driver by me. The plan is to remove
the old switch driver from OpenWrt before the next major release.

With kernel 3.10 there is no support for the ADMTEK Adm6996 switch in
the brcm47xx target which is used on some old devices like the WRT54G
revision 1.0 to 2.1. I do not own such a device so someone else has to
convert this driver to a phy driver or someone has to send me such a device.

The tg3 driver was not tested with the new switch, my device with a
BCM4705 is currently broken and I haven't found the time to fix the
bootloader with a jTag, could someone else please test it and report back?

Initial support for the new BCM4707/BCM4708/BCM4709/BCM53010 SoC with
ARM CPUs was added to OpenWrt [2], my device is currently just able to
boot into an initramfs, but I am working on adding support for more
components.

Hauke

[0]: https://dev.openwrt.org/changeset/37286
[1]: https://dev.openwrt.org/changeset/37304
[2]: https://dev.openwrt.org/changeset/37268
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [Porting help] Support for NETGEAR DGN2200V3

2013-07-14 Thread mrkiko rs
Forgot to mention thath flash is 32 MB  ! Florian, do you think it's possibile ?

Inviato da iPhone

Il giorno 14/lug/2013, alle ore 16:02, Enrico Mioso
mrkiko...@gmail.com ha scritto:

 Hi guys!
 I would like to see this device supported: NETGEAR DGN2200V3.
 So I started investigating it a little.
 It seems very similar to the already supported Netgear CVG834G.
 I'm trying to analyse the original NetGear firmware. Most parts related to 
 DSL are proprietary, so I don't expect to handle the chip.
 The classic mega firmware archive, called DGN2200v3_V1.1.00.10_src.zip is 
 downloadable directly from the NETGEAR site at:
 http://www.downloads.netgear.com/files/GPL/DGN2200v3_V1.1.00.10_src.zip
 But the interesting stuff is a relatively small set of .h files.

   INFOS i COLLECTED

 The device is bcm963xx-based: the enet driver and the wl wlan drivers from 
 broadcom are being used inside it.
 The DSL firmware is distributed in binary form only - so for now, no way.
 It seems there are two parts of the DSL driver:
 - one dedicated to hardware management
 - another dedicated to data processing, which is of course GPLed
 - a firmware blob

   INTERESTING STUFF

 Once you decompress the ZIP file you can find the build system and the gcc 
 toolchain, which we will conveniently ignore, for now at least.

 From inside the ZIP file, you can extract the 
 DGN2200v3_V1.1.00.10_src.tar.bz2 file only, leaving alone 
 uclibc-crosstools-gcc-4.4.2-1-full.tar.bz2   OK.
 then I would go directly to the
 DGN2200v3_V1.1.00.10_src/Kernel/bcm963xx/bcmdrivers/opensource/include/bcm963xx

 folder, where you can find all GPIOs definitions and other device 
 specifications. None of them seemed custom to me.

 Any suggestion? Can someone help? Or point me out the right direction?
 Thank you!!

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


Re: [OpenWrt-Devel] [Porting help] Support for NETGEAR DGN2200V3

2013-07-14 Thread José Vázquez Fernández
More info is needed:
- Wich SoC it has (bcm6358, 6328, ...)
- Board ID (can be obtained with the serial bootlog).
- The other components: switch, ram, ...
The most important is the board ID. In example, in the DGN2200 v2 is 963281TAN.

Regards:

Pepe

- Original Message - 
From: mrkiko rs mrkiko...@gmail.com
To: openwrt-devel@lists.openwrt.org
Sent: Sunday, July 14, 2013 5:43 PM
Subject: Re: [OpenWrt-Devel] [Porting help] Support for NETGEAR DGN2200V3


Forgot to mention thath flash is 32 MB  ! Florian, do you think it's possibile ?

Inviato da iPhone

Il giorno 14/lug/2013, alle ore 16:02, Enrico Mioso
mrkiko...@gmail.com ha scritto:

 Hi guys!
 I would like to see this device supported: NETGEAR DGN2200V3.
 So I started investigating it a little.
 It seems very similar to the already supported Netgear CVG834G.
 I'm trying to analyse the original NetGear firmware. Most parts related to 
 DSL are proprietary, so 
 I don't expect to handle the chip.
 The classic mega firmware archive, called DGN2200v3_V1.1.00.10_src.zip is 
 downloadable directly 
 from the NETGEAR site at:
 http://www.downloads.netgear.com/files/GPL/DGN2200v3_V1.1.00.10_src.zip
 But the interesting stuff is a relatively small set of .h files.

   INFOS i COLLECTED

 The device is bcm963xx-based: the enet driver and the wl wlan drivers from 
 broadcom are being 
 used inside it.
 The DSL firmware is distributed in binary form only - so for now, no way.
 It seems there are two parts of the DSL driver:
 - one dedicated to hardware management
 - another dedicated to data processing, which is of course GPLed
 - a firmware blob

   INTERESTING STUFF

 Once you decompress the ZIP file you can find the build system and the gcc 
 toolchain, which we 
 will conveniently ignore, for now at least.

 From inside the ZIP file, you can extract the 
 DGN2200v3_V1.1.00.10_src.tar.bz2 file only, leaving 
 alone uclibc-crosstools-gcc-4.4.2-1-full.tar.bz2   OK.
 then I would go directly to the
 DGN2200v3_V1.1.00.10_src/Kernel/bcm963xx/bcmdrivers/opensource/include/bcm963xx

 folder, where you can find all GPIOs definitions and other device 
 specifications. None of them 
 seemed custom to me.

 Any suggestion? Can someone help? Or point me out the right direction?
 Thank you!!

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

__ Information from ESET NOD32 Antivirus, version of virus signature 
database 8566 
(20130714) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



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


Re: [OpenWrt-Devel] [Porting help] Support for NETGEAR DGN2200V3

2013-07-14 Thread mrkiko rs
Yes your right but I need some help in soldering the serial port ! If
possible I will try !! The only thing I am sure is it is a brcm9xx
device unlike the v2

Inviato da iPhone

Il giorno 14/lug/2013, alle ore 18:11, José Vázquez Fernández
ppvazquez...@gmail.com ha scritto:

 More info is needed:
 - Wich SoC it has (bcm6358, 6328, ...)
 - Board ID (can be obtained with the serial bootlog).
 - The other components: switch, ram, ...
 The most important is the board ID. In example, in the DGN2200 v2 is 
 963281TAN.

 Regards:

 Pepe

 - Original Message -
 From: mrkiko rs mrkiko...@gmail.com
 To: openwrt-devel@lists.openwrt.org
 Sent: Sunday, July 14, 2013 5:43 PM
 Subject: Re: [OpenWrt-Devel] [Porting help] Support for NETGEAR DGN2200V3


 Forgot to mention thath flash is 32 MB  ! Florian, do you think it's 
 possibile ?

 Inviato da iPhone

 Il giorno 14/lug/2013, alle ore 16:02, Enrico Mioso
 mrkiko...@gmail.com ha scritto:

 Hi guys!
 I would like to see this device supported: NETGEAR DGN2200V3.
 So I started investigating it a little.
 It seems very similar to the already supported Netgear CVG834G.
 I'm trying to analyse the original NetGear firmware. Most parts related to 
 DSL are proprietary, so
 I don't expect to handle the chip.
 The classic mega firmware archive, called DGN2200v3_V1.1.00.10_src.zip is 
 downloadable directly
 from the NETGEAR site at:
 http://www.downloads.netgear.com/files/GPL/DGN2200v3_V1.1.00.10_src.zip
 But the interesting stuff is a relatively small set of .h files.

  INFOS i COLLECTED

 The device is bcm963xx-based: the enet driver and the wl wlan drivers from 
 broadcom are being
 used inside it.
 The DSL firmware is distributed in binary form only - so for now, no way.
 It seems there are two parts of the DSL driver:
 - one dedicated to hardware management
 - another dedicated to data processing, which is of course GPLed
 - a firmware blob

  INTERESTING STUFF

 Once you decompress the ZIP file you can find the build system and the gcc 
 toolchain, which we
 will conveniently ignore, for now at least.

 From inside the ZIP file, you can extract the 
 DGN2200v3_V1.1.00.10_src.tar.bz2 file only, leaving
 alone uclibc-crosstools-gcc-4.4.2-1-full.tar.bz2   OK.
 then I would go directly to the
 DGN2200v3_V1.1.00.10_src/Kernel/bcm963xx/bcmdrivers/opensource/include/bcm963xx

 folder, where you can find all GPIOs definitions and other device 
 specifications. None of them
 seemed custom to me.

 Any suggestion? Can someone help? Or point me out the right direction?
 Thank you!!
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel

 __ Information from ESET NOD32 Antivirus, version of virus signature 
 database 8566
 (20130714) __

 The message was checked by ESET NOD32 Antivirus.

 http://www.eset.com



 ___
 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] php5-pecl-libevent: upgrade to 0.1.0

2013-07-14 Thread Michael Heimpold
Signed-off-by: Michael Heimpold m...@heimpold.de
---
 lang/php5-pecl-libevent/Makefile   |8 
 .../patches/100-openwrt-libevent-include.patch |   20 
 .../patches/101-openwrt-libevent-libdir.patch  |   13 -
 3 files changed, 4 insertions(+), 37 deletions(-)
 delete mode 100644 
lang/php5-pecl-libevent/patches/100-openwrt-libevent-include.patch
 delete mode 100644 
lang/php5-pecl-libevent/patches/101-openwrt-libevent-libdir.patch

diff --git a/lang/php5-pecl-libevent/Makefile b/lang/php5-pecl-libevent/Makefile
index 3358c9e..a4c9e40 100644
--- a/lang/php5-pecl-libevent/Makefile
+++ b/lang/php5-pecl-libevent/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2012 OpenWrt.org
+# Copyright (C) 2012-2013 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -10,9 +10,9 @@ include $(TOPDIR)/rules.mk
 PECL_NAME:=libevent
 PECL_LONGNAME:=Libevent - event notification
 
-PKG_VERSION:=0.0.5
+PKG_VERSION:=0.1.0
 PKG_RELEASE:=1
-PKG_MD5SUM:=5539f4e1f44879d5a9afae7d75a96112
+PKG_MD5SUM:=e091371a9e714098a4c04a6e3daeb56a
 
 PKG_NAME:=php5-pecl-$(PECL_NAME)
 PKG_SOURCE:=$(PECL_NAME)-$(PKG_VERSION).tgz
@@ -27,5 +27,5 @@ include ../php5/pecl.mk
 
 CONFIGURE_ARGS+= --with-libevent=shared,$(STAGING_DIR)/usr
 
-$(eval $(call PECLPackage,$(PECL_NAME),$(PECL_LONGNAME),+libevent))
+$(eval $(call PECLPackage,$(PECL_NAME),$(PECL_LONGNAME),+libevent2))
 $(eval $(call BuildPackage,$(PKG_NAME)))
diff --git a/lang/php5-pecl-libevent/patches/100-openwrt-libevent-include.patch 
b/lang/php5-pecl-libevent/patches/100-openwrt-libevent-include.patch
deleted file mode 100644
index aef038e..000
--- a/lang/php5-pecl-libevent/patches/100-openwrt-libevent-include.patch
+++ /dev/null
@@ -1,20 +0,0 @@
 a/config.m4
-+++ b/config.m4
-@@ -5,7 +5,7 @@ PHP_ARG_WITH(libevent, for libevent supp
- 
- if test $PHP_LIBEVENT != no; then
-   SEARCH_PATH=/usr /usr/local
--  SEARCH_FOR=/include/event.h
-+  SEARCH_FOR=/include/libevent/event.h
- 
-   if test $PHP_LIBEVENT = yes; then
- AC_MSG_CHECKING([for libevent headers in default path])
-@@ -28,7 +28,7 @@ if test $PHP_LIBEVENT != no; then
- AC_MSG_ERROR([Cannot find libevent headers])
-   fi
- 
--  PHP_ADD_INCLUDE($LIBEVENT_DIR/include)
-+  PHP_ADD_INCLUDE($LIBEVENT_DIR/include/libevent)
- 
-   LIBNAME=event
-   LIBSYMBOL=event_base_new
diff --git a/lang/php5-pecl-libevent/patches/101-openwrt-libevent-libdir.patch 
b/lang/php5-pecl-libevent/patches/101-openwrt-libevent-libdir.patch
deleted file mode 100644
index e6c2835..000
--- a/lang/php5-pecl-libevent/patches/101-openwrt-libevent-libdir.patch
+++ /dev/null
@@ -1,13 +0,0 @@
 a/config.m4
-+++ b/config.m4
-@@ -33,9 +33,7 @@ if test $PHP_LIBEVENT != no; then
-   LIBNAME=event
-   LIBSYMBOL=event_base_new
- 
--  if test x$PHP_LIBDIR = x; then
--PHP_LIBDIR=lib
--  fi
-+  PHP_LIBDIR=lib/libevent
- 
-   PHP_CHECK_LIBRARY($LIBNAME,$LIBSYMBOL,
-   [
-- 
1.7.10.4

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


[OpenWrt-Devel] [PATCH] [packages] php5-pecl-http: upgrade to 1.7.6

2013-07-14 Thread Michael Heimpold
Signed-off-by: Michael Heimpold m...@heimpold.de
---
 lang/php5-pecl-http/Makefile |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lang/php5-pecl-http/Makefile b/lang/php5-pecl-http/Makefile
index 15a0c69..0b4a00d 100644
--- a/lang/php5-pecl-http/Makefile
+++ b/lang/php5-pecl-http/Makefile
@@ -10,9 +10,9 @@ include $(TOPDIR)/rules.mk
 PECL_NAME:=pecl_http
 PECL_LONGNAME:=Extended HTTP Support
 
-PKG_VERSION:=1.7.4
-PKG_RELEASE:=2
-PKG_MD5SUM:=288bae57b89d8de4bdd7d7dc5954cf8c
+PKG_VERSION:=1.7.6
+PKG_RELEASE:=1
+PKG_MD5SUM:=4926c17a24a11a9b1cf3ec613fad97cb
 
 PKG_NAME:=php5-pecl-http
 PKG_SOURCE:=$(PECL_NAME)-$(PKG_VERSION).tgz
-- 
1.7.10.4

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


[OpenWrt-Devel] [PATCH] [packages] php5-pecl-http: disable libevent support (fixes #13742)

2013-07-14 Thread Michael Heimpold
When libevent2 was found in staging directory the configure scripts
automatically adds a dependency to it. This breaks the build as
mentioned in #13742.
To keep the footprint on the target small let's explicit disable
it rather than adding an dependency on libevent2.

Signed-off-by: Michael Heimpold m...@heimpold.de
---
 lang/php5-pecl-http/Makefile |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lang/php5-pecl-http/Makefile b/lang/php5-pecl-http/Makefile
index 05dbd10..15a0c69 100644
--- a/lang/php5-pecl-http/Makefile
+++ b/lang/php5-pecl-http/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2012 OpenWrt.org
+# Copyright (C) 2012-2013 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -11,7 +11,7 @@ PECL_NAME:=pecl_http
 PECL_LONGNAME:=Extended HTTP Support
 
 PKG_VERSION:=1.7.4
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_MD5SUM:=288bae57b89d8de4bdd7d7dc5954cf8c
 
 PKG_NAME:=php5-pecl-http
@@ -29,6 +29,7 @@ CONFIGURE_ARGS+= \
--enable-http=shared \
--without-http-shared-deps \
--with-http-curl-requests=$(STAGING_DIR)/usr \
+   --without-http-curl-libevent \
 
 $(eval $(call PECLPackage,http,$(PECL_LONGNAME),+libcurl +librt 
+php5-mod-iconv +php5-mod-session))
 $(eval $(call BuildPackage,$(PKG_NAME)))
-- 
1.7.10.4

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


Re: [OpenWrt-Devel] [Porting help] Support for NETGEAR DGN2200V3

2013-07-14 Thread Enrico Mioso
 and the wl wlan drivers 
from broadcom are being
== used inside it.
== The DSL firmware is distributed in binary form only - so for now, no way.
== It seems there are two parts of the DSL driver:
== - one dedicated to hardware management
== - another dedicated to data processing, which is of course GPLed
== - a firmware blob
==
==  INTERESTING STUFF
==
== Once you decompress the ZIP file you can find the build system and the gcc 
toolchain, which we
== will conveniently ignore, for now at least.
==
== From inside the ZIP file, you can extract the 
DGN2200v3_V1.1.00.10_src.tar.bz2 file only, leaving
== alone uclibc-crosstools-gcc-4.4.2-1-full.tar.bz2   OK.
== then I would go directly to the
== 
DGN2200v3_V1.1.00.10_src/Kernel/bcm963xx/bcmdrivers/opensource/include/bcm963xx
==
== folder, where you can find all GPIOs definitions and other device 
specifications. None of them
== seemed custom to me.
==
== Any suggestion? Can someone help? Or point me out the right direction?
== Thank you!!
== ___
== openwrt-devel mailing list
== openwrt-devel@lists.openwrt.org
== https://lists.openwrt.org/mailman/listinfo/openwrt-devel
==
== __ Information from ESET NOD32 Antivirus, version of virus 
signature database 8566
== (20130714) __
==
== The message was checked by ESET NOD32 Antivirus.
==
== http://www.eset.com
==
==
==
== ___
== 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
==
==__ Information from ESET NOD32 Antivirus, version of virus signature 
database 8566 
==(20130714) __
==
==The message was checked by ESET NOD32 Antivirus.
==
==http://www.eset.com
==
==
==
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [Porting help] Support for NETGEAR DGN2200V3

2013-07-14 Thread Enrico Mioso
I forgot the MTD layout:
# cat /proc/mtd
dev:size   erasesize  name
mtd0: 01b0 4000 rootfs
mtd1: 4000 4000 nvram
mtd2: 0010 4000 language
mtd3: 0010 4000 scnvram
mtd4: 0004 4000 factory
mtd5: 01c4 4000 upgrade
mtd6: 0004 4000 flag
mtd7: 0004 4000 pcbasn
mtd8: 000c 4000 xxx
#

Thank you again. Any comment and suggestion is highly appreciated.
I know most broadcom code is simply unusable and also that broadcom hardware is 
difficult to support with open source. But I will try my best if I can.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 001/009] [packages] libffi: Modify to support glib2 2.32 build (attempt #3)

2013-07-14 Thread W. Michael Petullo
From: W. Michael Petullo m...@flyn.org

Glib 2.32+ requires libffi, so the libffi Makefile needs to call HostBuild.

Signed-off-by: W. Michael Petullo m...@flyn.org
---
 libs/libffi/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libs/libffi/Makefile b/libs/libffi/Makefile
index e6bd7a6..e0b04ca 100644
--- a/libs/libffi/Makefile
+++ b/libs/libffi/Makefile
@@ -18,6 +18,7 @@ PKG_MD5SUM:=79390673f5d07a8fb342bc09b5055b6f
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
 
+include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/package.mk
 
 define Package/libffi
@@ -71,4 +72,5 @@ define Package/libffi/install
$(1)/usr/lib/
 endef
 
+$(eval $(call HostBuild))
 $(eval $(call BuildPackage,libffi))
-- 
1.8.3.1

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


[OpenWrt-Devel] [PATCH 002/009] [packages] glib2: Bump to 2.36.3 (attempt #3)

2013-07-14 Thread W. Michael Petullo
From: W. Michael Petullo m...@flyn.org

Bump glib2 to 2.36.3.

Signed-off-by: W. Michael Petullo m...@flyn.org
---
 libs/glib2/Makefile| 18 ++---
 libs/glib2/patches/001-automake-compat.patch   | 12 
 .../patches/002-missing-gthread-include.patch  | 10 ---
 libs/glib2/patches/010-move-iconv-to-libs.patch|  7 +-
 .../patches/020-no-docs-tests-translations.patch   | 84 ++
 5 files changed, 50 insertions(+), 81 deletions(-)
 delete mode 100644 libs/glib2/patches/001-automake-compat.patch
 delete mode 100644 libs/glib2/patches/002-missing-gthread-include.patch

diff --git a/libs/glib2/Makefile b/libs/glib2/Makefile
index 21a7426..a64f8a0 100644
--- a/libs/glib2/Makefile
+++ b/libs/glib2/Makefile
@@ -8,17 +8,19 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=glib2
-PKG_VERSION:=2.26.1
-PKG_RELEASE:=3
+PKG_VERSION:=2.36.3
+PKG_RELEASE:=1
 
-PKG_SOURCE:=glib-$(PKG_VERSION).tar.bz2
+PKG_SOURCE:=glib-$(PKG_VERSION).tar.xz
 PKG_BUILD_DIR:=$(BUILD_DIR)/glib-$(PKG_VERSION)
-PKG_SOURCE_URL:=@GNOME/glib/2.26
-PKG_MD5SUM:=17535accceef55bcb17a74d73f9c2aef
+PKG_SOURCE_URL:=@GNOME/glib/2.36
+PKG_SHA256SUM:=5ec433bf6ce02e4c436619c3d0b9cecdd1898469398a636bad27c1f5804c761e
 
 PKG_FIXUP:=autoreconf
-PKG_BUILD_DEPENDS:=glib2/host libpthread zlib libintl
-HOST_BUILD_DEPENDS:=gettext/host libiconv/host
+PKG_BUILD_DEPENDS:=glib2/host
+# Note that this uses the libintl/libiconv stubs for the host build regardless
+# of BUILD_NLS.
+HOST_BUILD_DEPENDS:=libintl/host libiconv/host libffi/host
 PKG_INSTALL:=1
 
 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/glib-$(PKG_VERSION)
@@ -30,7 +32,7 @@ include $(INCLUDE_DIR)/nls.mk
 define Package/glib2
   SECTION:=libs
   CATEGORY:=Libraries
-  DEPENDS:=$(ICONV_DEPENDS) $(INTL_DEPENDS) +zlib +libpthread
+  DEPENDS:=$(ICONV_DEPENDS) $(INTL_DEPENDS) +zlib +libpthread +libffi
   TITLE:=glib 2.0
   URL:=http://www.gtk.org/
 endef
diff --git a/libs/glib2/patches/001-automake-compat.patch 
b/libs/glib2/patches/001-automake-compat.patch
deleted file mode 100644
index aa6833a..000
--- a/libs/glib2/patches/001-automake-compat.patch
+++ /dev/null
@@ -1,12 +0,0 @@
 a/configure.ac
-+++ b/configure.ac
-@@ -2741,7 +2741,8 @@ dnl **
- dnl *** Checks for gtk-doc ***
- dnl **
- 
--GTK_DOC_CHECK([1.15])
-+AM_CONDITIONAL([ENABLE_GTK_DOC], [false])
-+AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [false])
- 
- AC_ARG_ENABLE(man,
-   [AC_HELP_STRING([--enable-man],
diff --git a/libs/glib2/patches/002-missing-gthread-include.patch 
b/libs/glib2/patches/002-missing-gthread-include.patch
deleted file mode 100644
index 8def409..000
--- a/libs/glib2/patches/002-missing-gthread-include.patch
+++ /dev/null
@@ -1,10 +0,0 @@
 a/glib/gatomic.c
-+++ b/glib/gatomic.c
-@@ -881,6 +881,7 @@ g_atomic_pointer_compare_and_exchange (v
- #endif /* DEFINE_WITH_WIN32_INTERLOCKED */
- 
- #ifdef DEFINE_WITH_MUTEXES
-+#include gthread.h
- /* We have to use the slow, but safe locking method */
- static GMutex *g_atomic_mutex; 
- 
diff --git a/libs/glib2/patches/010-move-iconv-to-libs.patch 
b/libs/glib2/patches/010-move-iconv-to-libs.patch
index 89b3fea..2b44b73 100644
--- a/libs/glib2/patches/010-move-iconv-to-libs.patch
+++ b/libs/glib2/patches/010-move-iconv-to-libs.patch
@@ -1,10 +1,11 @@
 --- a/glib-2.0.pc.in
 +++ b/glib-2.0.pc.in
-@@ -10,6 +10,5 @@ glib_mkenums=glib-mkenums
- Name: GLib
+@@ -11,6 +11,6 @@ Name: GLib
  Description: C Utility Library
  Version: @VERSION@
+ Requires.private: @PCRE_REQUIRES@
 -Libs: -L${libdir} -lglib-2.0 @INTLLIBS@
--Libs.private: @ICONV_LIBS@
+-Libs.private: @G_THREAD_LIBS@ @G_LIBS_EXTRA@ @PCRE_LIBS@ @INTLLIBS@ 
@ICONV_LIBS@
 +Libs: -L${libdir} -lglib-2.0 @INTLLIBS@ @ICONV_LIBS@
++Libs.private: @G_THREAD_LIBS@ @G_LIBS_EXTRA@ @PCRE_LIBS@
  Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include 
@GLIB_EXTRA_CFLAGS@
diff --git a/libs/glib2/patches/020-no-docs-tests-translations.patch 
b/libs/glib2/patches/020-no-docs-tests-translations.patch
index 0460640..451b727 100644
--- a/libs/glib2/patches/020-no-docs-tests-translations.patch
+++ b/libs/glib2/patches/020-no-docs-tests-translations.patch
@@ -1,9 +1,10 @@
 a/configure.ac
-+++ b/configure.ac
-@@ -3737,18 +3737,6 @@ gio/fen/Makefile
- gio/fam/Makefile
- gio/win32/Makefile
- gio/tests/Makefile
+diff -u --recursive glib-2.36.3-vanilla/configure.ac glib-2.36.3/configure.ac
+--- glib-2.36.3-vanilla/configure.ac   2013-07-13 15:22:04.363505081 -0400
 glib-2.36.3/configure.ac   2013-07-13 15:25:42.463804445 -0400
+@@ -3710,19 +3710,6 @@
+ gio/tests/gdbus-object-manager-example/Makefile
+ gio/tests/services/Makefile
+ gio/tests/services/org.gtk.GDBus.Examples.ObjectManager.service
 -po/Makefile.in
 -docs/Makefile
 -docs/reference/Makefile
@@ -12,6 +13,7 @@
 -docs/reference/gobject/Makefile
 -docs/reference/gobject/version.xml
 -docs/reference/gio/Makefile
+-docs/reference/gio/gdbus-object-manager-example/Makefile
 

[OpenWrt-Devel] [PATCH 003/009] [packages] gstreamer1: Add a new gstreamer1 package (attempt #3)

2013-07-14 Thread W. Michael Petullo
From: W. Michael Petullo m...@flyn.org

Many applications are starting to require GStreamer 1.0, which
is API-incompatible with GStreamer 0.10. The name gstreamer1 allows
GStreamer 0.10 and 1.0 to coexist, in a manner similar to gtk1 and gtk2.

Signed-off-by: W. Michael Petullo m...@flyn.org
---
 multimedia/gstreamer1/Makefile | 190 +
 multimedia/gstreamer1/patches/001-no_docs.patch|  37 
 multimedia/gstreamer1/patches/002-no_tests.patch   |  39 +
 .../gstreamer1/patches/003-no_translations.patch   |  48 ++
 4 files changed, 314 insertions(+)
 create mode 100644 multimedia/gstreamer1/Makefile
 create mode 100644 multimedia/gstreamer1/patches/001-no_docs.patch
 create mode 100644 multimedia/gstreamer1/patches/002-no_tests.patch
 create mode 100644 multimedia/gstreamer1/patches/003-no_translations.patch

diff --git a/multimedia/gstreamer1/Makefile b/multimedia/gstreamer1/Makefile
new file mode 100644
index 000..2315415
--- /dev/null
+++ b/multimedia/gstreamer1/Makefile
@@ -0,0 +1,190 @@
+#
+# Copyright (C) 2008-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:=gstreamer1
+PKG_VERSION:=1.0.7
+PKG_RELEASE:=1
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/gstreamer-$(PKG_VERSION)
+PKG_SOURCE:=gstreamer-$(PKG_VERSION).tar.xz
+PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gstreamer/
+PKG_MD5SUM:=8f6066a37c71a0d0ff5fe5f7687fea12
+
+PKG_FIXUP:=autoreconf
+PKG_REMOVE_FILES:=autogen.sh aclocal.m4
+
+PKG_INSTALL:=1
+
+include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
+
+define Package/gstreamer1/Default
+  CATEGORY:=Multimedia
+  SECTION:=multimedia
+  TITLE:=GStreamer
+  URL:=http://gstreamer.freedesktop.org/
+endef
+
+define Package/gstreamer1/description/Default
+ GStreamer open source multimedia framework
+endef
+
+
+define Package/gstreamer1
+$(call Package/gstreamer1/Default)
+  TITLE+= framework
+  DEPENDS+= +libgstreamer1 \
+   +libgst1check \
+   +libgst1controller \
+   +libgst1net
+endef
+
+define Package/gstreamer1/description
+$(call Package/gstreamer1/description/Default)
+ .
+ This meta package contains only dependencies on the other GStreamer
+ componenents.
+endef
+
+
+define Package/gstreamer1-utils
+$(call Package/gstreamer1/Default)
+  TITLE+= utilities
+  DEPENDS+= +libgstreamer1
+endef
+
+define Package/gstreamer1-utils/description
+$(call Package/gstreamer1/description/Default)
+ .
+ This package contains the GStreamer utilities.
+endef
+
+
+define Package/libgstreamer1
+$(call Package/gstreamer1/Default)
+  TITLE+= library (core)
+  DEPENDS+= +glib2 +libpthread +libxml2
+endef
+
+define Package/libgstreamer1/description
+$(call Package/gstreamer1/description/Default)
+ .
+ This package contains the GStreamer core library.
+endef
+  
+
+GST_VERSION:=1.0
+
+CONFIGURE_ARGS += \
+   --enable-static \
+   --disable-examples \
+   --disable-tests \
+   --disable-valgrind \
+   --without-libiconv-prefix \
+   --without-libintl-prefix \
+   --without-x \
+
+EXTRA_LDFLAGS+= \
+   -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
+   -L$(ICONV_PREFIX)/lib -L$(INTL_PREFIX)/lib
+
+define Build/InstallDev
+   $(INSTALL_DIR) $(1)/usr/include/gstreamer-$(GST_VERSION)
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/include/gstreamer-$(GST_VERSION)/* \
+   $(1)/usr/include/gstreamer-$(GST_VERSION)/ \
+   )
+   $(INSTALL_DIR) $(1)/usr/lib
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/lib/libgst*-$(GST_VERSION).{a,la,so*} \
+   $(1)/usr/lib/ \
+   )
+   $(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION)
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/lib/gstreamer-$(GST_VERSION)/libgst*.{la,so} \
+   $(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
+   )
+   $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/lib/pkgconfig/gstreamer*-$(GST_VERSION).pc \
+   $(1)/usr/lib/pkgconfig/ \
+   )
+   $(INSTALL_DIR) $(2)/share/aclocal
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/share/aclocal/* \
+   $(2)/share/aclocal/ \
+   )
+endef
+
+define Package/gstreamer1/install
+   /bin/true
+endef
+
+define Package/gstreamer1-utils/install
+   $(INSTALL_DIR) $(1)/usr/bin
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/bin/gst-launch* \
+   ./usr/bin/gst-inspect* \
+   ./usr/bin/gst-typefind* \
+   $(1)/usr/bin/ \
+   )
+endef
+
+define Package/libgstreamer1/install
+   $(INSTALL_DIR) $(1)/usr/lib
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/lib/libgstbase-$(GST_VERSION).so.* \
+   ./usr/lib/libgstreamer-$(GST_VERSION).so.* \
+   $(1)/usr/lib/ \
+   )
+   $(INSTALL_DIR) 

[OpenWrt-Devel] [PATCH 004/009] [packages] gst1-plugins-base: Add a new gst1-plugins-base package (attempt #3)

2013-07-14 Thread W. Michael Petullo
From: W. Michael Petullo m...@flyn.org

Base plugins for GStreamer 1.0.

Signed-off-by: W. Michael Petullo m...@flyn.org
---
 multimedia/gst1-plugins-base/Makefile  | 237 +
 .../gst1-plugins-base/patches/001-no_docs.patch|  36 
 .../gst1-plugins-base/patches/002-no_tests.patch   |  38 
 .../patches/003-no_translations.patch  |  49 +
 4 files changed, 360 insertions(+)
 create mode 100644 multimedia/gst1-plugins-base/Makefile
 create mode 100644 multimedia/gst1-plugins-base/patches/001-no_docs.patch
 create mode 100644 multimedia/gst1-plugins-base/patches/002-no_tests.patch
 create mode 100644 
multimedia/gst1-plugins-base/patches/003-no_translations.patch

diff --git a/multimedia/gst1-plugins-base/Makefile 
b/multimedia/gst1-plugins-base/Makefile
new file mode 100644
index 000..270b67b
--- /dev/null
+++ b/multimedia/gst1-plugins-base/Makefile
@@ -0,0 +1,237 @@
+#
+# Copyright (C) 2008-2011 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:=gst1-plugins-base
+PKG_VERSION:=1.0.7
+PKG_RELEASE:=1
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-base-$(PKG_VERSION)
+PKG_SOURCE:=gst-plugins-base-$(PKG_VERSION).tar.xz
+PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-base/
+PKG_MD5SUM:=b5b43cfbf82b413ce2e07a190d87e68f
+
+PKG_BUILD_DEPENDS:= gstreamer1 liboil
+PKG_CONFIG_DEPENDS:= \
+   CONFIG_PACKAGE_gst1-mod-alsa \
+   CONFIG_PACKAGE_gst1-mod-app \
+   CONFIG_PACKAGE_gst1-mod-audioconvert \
+   CONFIG_PACKAGE_gst1-mod-audiorate \
+   CONFIG_PACKAGE_gst1-mod-audioresample \
+   CONFIG_PACKAGE_gst1-mod-audiotestsrc \
+   CONFIG_PACKAGE_gst1-mod-gio \
+   CONFIG_PACKAGE_gst1-mod-ogg \
+   CONFIG_PACKAGE_gst1-mod-tcp \
+   CONFIG_PACKAGE_gst1-mod-theora \
+   CONFIG_PACKAGE_gst1-mod-videotestsrc \
+   CONFIG_PACKAGE_gst1-mod-volume \
+   CONFIG_PACKAGE_gst1-mod-vorbis \
+
+PKG_FIXUP:=autoreconf
+PKG_INSTALL:=1
+
+include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
+
+# -liconv crept in from pkg-config, to be revisited later
+include $(INCLUDE_DIR)/nls.mk
+
+define Package/gstreamer1/Default
+  CATEGORY:=Multimedia
+  SECTION:=multimedia
+  TITLE:=GStreamer
+  URL:=http://gstreamer.freedesktop.org/
+endef
+
+define Package/gstreamer1/description/Default
+ GStreamer open source multimedia framework
+endef
+
+
+define Package/gst1-plugins-base
+$(call Package/gstreamer1/Default)
+  TITLE+= plugins collection (base)
+  DEPENDS+= $(GST_DEPENDS)
+endef
+
+define Package/gts1-plugins-base/description
+$(call Package/gstreamer1/description/Default)
+ .
+ This meta package contains only dependencies to the other libraries and
+ plugins from the base plugins collection.
+endef
+
+
+GST_COND_SELECT = $(patsubst %,$(if 
$(CONFIG_PACKAGE_gst1-mod-$(1)),--enable,--disable)-%,$(1))
+
+GST_VERSION:=1.0
+
+CONFIGURE_ARGS += \
+   --disable-debug \
+   --disable-examples \
+   \
+   $(call GST_COND_SELECT,alsa) \
+   --disable-alsa-test \
+   $(call GST_COND_SELECT,app) \
+   $(call GST_COND_SELECT,audioconvert) \
+   $(call GST_COND_SELECT,audiorate) \
+   $(call GST_COND_SELECT,audioresample) \
+   $(call GST_COND_SELECT,audiotestsrc) \
+   --disable-cdparanoia \
+   --disable-ffmpegcolorspace \
+   --disable-freetypetest \
+   $(call GST_COND_SELECT,gio) \
+   --disable-gnome_vfs \
+   --disable-gst_v4l \
+   --disable-libvisual \
+   $(call GST_COND_SELECT,ogg) \
+   --disable-oggtest \
+   --disable-pango \
+   --disable-subparse \
+   $(call GST_COND_SELECT,tcp) \
+   $(call GST_COND_SELECT,theora) \
+   --disable-videorate \
+   --disable-videoscale \
+   $(call GST_COND_SELECT,videotestsrc) \
+   $(call GST_COND_SELECT,volume) \
+   $(call GST_COND_SELECT,vorbis) \
+   --disable-vorbistest \
+   --disable-x \
+   --disable-xshm \
+   --disable-xvideo \
+   \
+   --without-libiconv-prefix \
+   --without-libintl-prefix \
+   --without-x \
+   \
+   --with-audioresample-format=int \
+
+EXTRA_LDFLAGS+= \
+   -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
+
+
+define Build/InstallDev
+   $(INSTALL_DIR) $(1)/usr/include/gstreamer-$(GST_VERSION)
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/include/gstreamer-$(GST_VERSION)/* \
+   $(1)/usr/include/gstreamer-$(GST_VERSION)/ \
+   )
+   $(INSTALL_DIR) $(1)/usr/lib
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/lib/libgst*-$(GST_VERSION).{la,so*} \
+   $(1)/usr/lib/ \
+   )
+   $(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION)
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/lib/gstreamer-$(GST_VERSION)/libgst*.{la,so} \
+   $(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
+   )

[OpenWrt-Devel] [PATCH 005/009] [packages] gst1-plugins-good: Add a new gst1-plugins-good package (attempt #3)

2013-07-14 Thread W. Michael Petullo
From: W. Michael Petullo m...@flyn.org

Good plugins for GStreamer 1.0.

Signed-off-by: W. Michael Petullo m...@flyn.org
---
 multimedia/gst1-plugins-good/Makefile  | 175 +
 .../gst1-plugins-good/patches/001-no_docs.patch|  22 +++
 .../gst1-plugins-good/patches/002-no_tests.patch   |  22 +++
 .../patches/003-no_translations.patch  |  33 
 4 files changed, 252 insertions(+)
 create mode 100644 multimedia/gst1-plugins-good/Makefile
 create mode 100644 multimedia/gst1-plugins-good/patches/001-no_docs.patch
 create mode 100644 multimedia/gst1-plugins-good/patches/002-no_tests.patch
 create mode 100644 
multimedia/gst1-plugins-good/patches/003-no_translations.patch

diff --git a/multimedia/gst1-plugins-good/Makefile 
b/multimedia/gst1-plugins-good/Makefile
new file mode 100644
index 000..df923af
--- /dev/null
+++ b/multimedia/gst1-plugins-good/Makefile
@@ -0,0 +1,175 @@
+## Copyright (C) 2009-2011 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:=gst1-plugins-good
+PKG_VERSION:=1.0.7
+PKG_RELEASE:=1
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-good-$(PKG_VERSION)
+PKG_SOURCE:=gst-plugins-good-$(PKG_VERSION).tar.xz
+PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-good/
+PKG_MD5SUM:=e4b1c825475a9b478fe29e8e9f34516f
+
+PKG_BUILD_DEPENDS:= gstreamer1 gst1-plugins-base liboil
+
+PKG_FIXUP:=autoreconf
+PKG_INSTALL:=1
+
+include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
+
+define Package/gstreamer1/Default
+  CATEGORY:=Multimedia
+  SECTION:=multimedia
+  TITLE:=GStreamer
+  URL:=http://gstreamer.freedesktop.org/
+endef
+
+define Package/gstreamer1/description/Default
+ GStreamer open source multimedia framework
+endef
+
+
+define Package/gst1-plugins-good
+$(call Package/gstreamer1/Default)
+  TITLE+= plugins collection (good)
+  DEPENDS+= $(GST_DEPENDS)
+endef
+
+define Package/gts-plugins-good/description
+$(call Package/gstreamer1/description/Default)
+ .
+ This meta package contains only dependencies to the other plugins from
+ the good plugins collection.
+endef
+
+
+GST_VERSION:=1.0
+
+CONFIGURE_ARGS += \
+   --disable-debug \
+   --disable-examples \
+   \
+   --disable-aalib \
+   --disable-alpha \
+   --disable-annodex \
+   --disable-apetag \
+   --disable-auparse \
+   --disable-avi \
+   --disable-bz2 \
+   --disable-cairo \
+   --disable-directsound \
+   --disable-dv1394 \
+   --disable-effectv \
+   --disable-esd \
+   --disable-flv \
+   --disable-flx \
+   --disable-gconf \
+   --disable-gconftool \
+   --disable-gdk_pixbuf \
+   --disable-goom \
+   --disable-goom2k1 \
+   --disable-gst_v4l2 \
+   --disable-hal \
+   --disable-jpeg \
+   --disable-law \
+   --disable-libcaca \
+   --disable-libdv \
+   --disable-libpng \
+   --disable-matroska \
+   --disable-monoscope \
+   --disable-osx_audio \
+   --disable-osx_video \
+   --disable-pulse \
+   --disable-qtdemux \
+   --disable-rtspmanager \
+   --disable-smpte \
+   --disable-shout2 \
+   --disable-speex \
+   --disable-sunaudio \
+   --disable-taglib \
+   --disable-videobox \
+   --disable-videocrop \
+   --disable-videofilter \
+   --disable-videomixer \
+   --disable-wavpack \
+   --disable-x \
+   --disable-xshm \
+   --disable-xvideo \
+   --disable-y4m \
+   --disable-zlib \
+   \
+   --without-libiconv-prefix \
+   --without-libintl-prefix \
+   --without-x \
+
+EXTRA_LDFLAGS+= \
+   -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
+
+
+define Package/gst1-plugins-good/install
+   /bin/true
+endef
+
+
+# 1: short name
+# 2: description
+# 3: dependencies on other gstreamer libraries (short name)
+# 4: dependencies on other gstreamer plugins (short name)
+# 5: dependencies on other packages
+define GstBuildPlugin
+
+  GST_DEPENDS += +gst1-mod-$(1)
+
+  define Package/gst1-mod-$(1)
+$(call Package/gstreamer1/Default)
+TITLE+= $(2) plugin (good)
+DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $$(foreach 
p,$(4),+gst1-mod-$$(p)) $(5)
+  endef
+
+  define Package/gst1-mod-$(1)/description
+   $(call Package/gstreamer1/description/Default)
+   .
+   This package contains the GStreamer $(2) plugin.
+  endef
+
+  define Package/gst1-mod-$(1)/install
+   $(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION)
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \
+   $$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
+   )
+  endef
+
+  $$(eval $$(call BuildPackage,gst1-mod-$(1)))
+endef
+
+$(eval $(call GstBuildPlugin,audiofx,audio effects,audio fft controller,,))
+$(eval $(call GstBuildPlugin,autodetect,format auto-detection,,,))

[OpenWrt-Devel] [PATCH 006/009] [packages] gst1-plugins-bad: Add a new gst1-plugins-bad package (attempt #3)

2013-07-14 Thread W. Michael Petullo
From: W. Michael Petullo m...@flyn.org

Bad plugins for GStreamer 1.0.

Signed-off-by: W. Michael Petullo m...@flyn.org
---
 multimedia/gst1-plugins-bad/Makefile   | 253 +
 .../gst1-plugins-bad/patches/000-gettext.patch |  45 
 2 files changed, 298 insertions(+)
 create mode 100644 multimedia/gst1-plugins-bad/Makefile
 create mode 100644 multimedia/gst1-plugins-bad/patches/000-gettext.patch

diff --git a/multimedia/gst1-plugins-bad/Makefile 
b/multimedia/gst1-plugins-bad/Makefile
new file mode 100644
index 000..3707973
--- /dev/null
+++ b/multimedia/gst1-plugins-bad/Makefile
@@ -0,0 +1,253 @@
+#
+# Copyright (C) 2011 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:=gst1-plugins-bad
+PKG_VERSION:=1.0.7
+PKG_RELEASE:=1
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-bad-$(PKG_VERSION)
+PKG_SOURCE:=gst-plugins-bad-$(PKG_VERSION).tar.xz
+PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-bad/
+PKG_MD5SUM:=d1493d1219b836a8cbf54f4fba962420
+
+PKG_BUILD_DEPENDS:= gstreamer1 gst1-plugins-base liboil
+
+PKG_FIXUP:=autoreconf
+PKG_INSTALL:=1
+
+include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
+
+define Package/gstreamer1/Default
+  CATEGORY:=Multimedia
+  SECTION:=multimedia
+  TITLE:=GStreamer
+  URL:=http://gstreamer.freedesktop.org/
+endef
+
+define Package/gstreamer1/description/Default
+ GStreamer open source multimedia framework
+endef
+
+
+define Package/gst1-plugins-bad
+$(call Package/gstreamer1/Default)
+  TITLE+= plugins collection (bad)
+  DEPENDS+= $(GST_DEPENDS)
+endef
+
+define Package/gts1-plugins-bad/description
+$(call Package/gstreamer1/description/Default)
+ .
+ This meta package contains only dependencies to the other plugins from
+ the bad plugins collection.
+endef
+
+
+GST_VERSION:=1.0
+
+CONFIGURE_ARGS += \
+   --disable-debug \
+   --disable-examples \
+   --disable-nls   \
+   \
+   --disable-directsound \
+   --disable-directdraw \
+   --disable-osx_video \
+   --disable-quicktime \
+   --disable-vcd \
+   --disable-alsa \
+   --disable-assrender \
+   --disable-amrwb \
+   --disable-apexsink \
+   --disable-bz2 \
+   --disable-cdaudio \
+   --disable-celt \
+   --disable-cog \
+   --disable-dc1394 \
+   --disable-directfb \
+   --disable-dirac \
+   --disable-dts \
+   --disable-divx \
+   --disable-resindvd \
+   --disable-metadata \
+   --disable-faac \
+   --disable-faad \
+   --disable-fbdev \
+   --disable-flite \
+   --disable-gsm \
+   --disable-jack \
+   --disable-jp2k \
+   --disable-kate \
+   --disable-ladspa \
+   --disable-lv2 \
+   --disable-modplug \
+   --disable-mimic \
+   --disable-libmms \
+   --disable-mpeg2enc \
+   --disable-mplex \
+   --disable-musepack \
+   --disable-musicbrainz \
+   --disable-mythtv \
+   --disable-nas \
+   --disable-neon \
+   --disable-ofa \
+   --disable-rsvg \
+   --disable-timidity \
+   --disable-wildmidi \
+   --disable-sdl \
+   --disable-sdltest \
+   --disable-sndfile \
+   --disable-soundtouch \
+   --disable-spc \
+   --disable-gme \
+   --disable-swfdec \
+   --disable-theoradec \
+   --disable-xvid \
+   --disable-dvb \
+   --disable-wininet \
+   --disable-acm \
+   --disable-vdpau \
+   --disable-schro \
+   --disable-zbar \
+   --disable-vp8 \
+   --disable-librfb \
+   \
+   --without-libiconv-prefix \
+   --without-libintl-prefix \
+   --without-x \
+
+EXTRA_LDFLAGS+= \
+   -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
+
+
+define Package/gst1-plugins-ugly/install
+   /bin/true
+endef
+
+# 1: short name
+# 2: description
+# 3: dependencies on other gstreamer libraries (short name)
+# 4: dependencies on other packages
+define GstBuildLibrary
+
+  GST_DEPENDS += +libgst1$(1)
+
+  define Package/libgst1$(1)
+$(call Package/gstreamer1/Default)
+TITLE+= $(2) library (base)
+DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $(4)
+  endef
+
+  define Package/libgst1$(1)/description
+   $(call Package/gstreamer1/description/Default)
+   .
+   This package contains the GStreamer $(2) library.
+  endef
+
+  define Package/libgst1$(1)/install
+   $(INSTALL_DIR) $$(1)/usr/lib
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/lib/libgst$(1)-$(GST_VERSION).so.* \
+   $$(1)/usr/lib/ \
+   )
+  endef
+
+  $$(eval $$(call BuildPackage,libgst1$(1)))
+endef
+$(eval $(call GstBuildLibrary,photography,photography,,))
+
+
+# 1: short name
+# 2: description
+# 3: dependencies on other gstreamer libraries (short name)
+# 4: dependencies on other gstreamer plugins (short name)
+# 5: dependencies on other packages
+define 

[OpenWrt-Devel] [PATCH 007/009] [packages] gst1-plugins-ugly: Add a new gst1-plugins-ugly package (attempt #3)

2013-07-14 Thread W. Michael Petullo
From: W. Michael Petullo m...@flyn.org

Ugly plugins for GStreamer 1.0.

Signed-off-by: W. Michael Petullo m...@flyn.org
---
 multimedia/gst1-plugins-ugly/Makefile  | 135 +
 .../gst1-plugins-ugly/patches/001-no_docs.patch|  24 
 .../gst1-plugins-ugly/patches/002-no_tests.patch   |  24 
 .../patches/003-no_translations.patch  |  35 ++
 4 files changed, 218 insertions(+)
 create mode 100644 multimedia/gst1-plugins-ugly/Makefile
 create mode 100644 multimedia/gst1-plugins-ugly/patches/001-no_docs.patch
 create mode 100644 multimedia/gst1-plugins-ugly/patches/002-no_tests.patch
 create mode 100644 
multimedia/gst1-plugins-ugly/patches/003-no_translations.patch

diff --git a/multimedia/gst1-plugins-ugly/Makefile 
b/multimedia/gst1-plugins-ugly/Makefile
new file mode 100644
index 000..2346ecc
--- /dev/null
+++ b/multimedia/gst1-plugins-ugly/Makefile
@@ -0,0 +1,135 @@
+#
+# Copyright (C) 2009-2011 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:=gst1-plugins-ugly
+PKG_VERSION:=1.0.7
+PKG_RELEASE:=1
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-ugly-$(PKG_VERSION)
+PKG_SOURCE:=gst-plugins-ugly-$(PKG_VERSION).tar.xz
+PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-ugly/
+PKG_MD5SUM:=8754edf6c3be235f232fb75ad11708bb
+
+PKG_BUILD_DEPENDS:= gstreamer1 gst1-plugins-base liboil
+PKG_CONFIG_DEPENDS:= \
+   CONFIG_PACKAGE_gst1-mod-asf \
+   CONFIG_PACKAGE_gst1-mod-lame \
+   CONFIG_PACKAGE_gst1-mod-mad \
+   CONFIG_PACKAGE_gst1-mod-mpeg2dec \
+
+PKG_FIXUP:=autoreconf
+PKG_INSTALL:=1
+
+include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
+
+define Package/gstreamer1/Default
+  CATEGORY:=Multimedia
+  SECTION:=multimedia
+  TITLE:=GStreamer
+  URL:=http://gstreamer.freedesktop.org/
+endef
+
+define Package/gstreamer1/description/Default
+ GStreamer open source multimedia framework
+endef
+
+
+define Package/gst1-plugins-ugly
+$(call Package/gstreamer1/Default)
+  TITLE+= plugins collection (ugly)
+  DEPENDS+= $(GST_DEPENDS)
+endef
+
+define Package/gts-plugins-ugly/description
+$(call Package/gstreamer1/description/Default)
+ .
+ This meta package contains only dependencies to the other plugins from
+ the ugly plugins collection.
+endef
+
+
+GST_COND_SELECT = $(patsubst %,$(if 
$(CONFIG_PACKAGE_gst1-mod-$(1)),--enable,--disable)-%,$(1))
+
+GST_VERSION:=1.0
+
+CONFIGURE_ARGS += \
+   --disable-debug \
+   --disable-examples \
+   \
+   --disable-a52dec \
+   --disable-amrnb \
+   --disable-amrwb \
+   $(call GST_COND_SELECT,asf) \
+   --disable-cdio \
+   --disable-dvdlpcmdec \
+   --disable-dvdread \
+   --disable-dvdsub \
+   --disable-iec958 \
+   $(call GST_COND_SELECT,lame) \
+   $(call GST_COND_SELECT,mad) \
+   $(call GST_COND_SELECT,mpeg2dec) \
+   --disable-mpegaudioparse \
+   --disable-mpegstream \
+   --disable-realmedia \
+   --disable-sidplay \
+   --disable-synaesthesia \
+   --disable-twolame \
+   --disable-x264 \
+   \
+   --without-libiconv-prefix \
+   --without-libintl-prefix \
+
+EXTRA_LDFLAGS+= \
+   -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
+
+
+define Package/gst1-plugins-ugly/install
+   /bin/true
+endef
+
+
+# 1: short name
+# 2: description
+# 3: dependencies on other gstreamer libraries (short name)
+# 4: dependencies on other gstreamer plugins (short name)
+# 5: dependencies on other packages
+define GstBuildPlugin
+
+  GST_DEPENDS += +gst1-mod-$(1)
+
+  define Package/gst1-mod-$(1)
+$(call Package/gstreamer1/Default)
+TITLE+= $(2) plugin (ugly)
+DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $$(foreach 
p,$(4),+gst1-mod-$$(p)) $(5)
+  endef
+
+  define Package/gst1-mod-$(1)/description
+   $(call Package/gstreamer1/description/Default)
+   .
+   This package contains the GStreamer $(2) plugin.
+  endef
+
+  define Package/gst1-mod-$(1)/install
+   $(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION)
+   ( cd $(PKG_INSTALL_DIR); $(CP) \
+   ./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \
+   $$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
+   )
+  endef
+
+  $$(eval $$(call BuildPackage,gst1-mod-$(1)))
+endef
+
+$(eval $(call GstBuildPlugin,asf,ASF demuxer,audio riff rtp rtsp sdp tag,,))
+$(eval $(call GstBuildPlugin,lame,MP3 encoder (using LAME),audio,,+lame-lib))
+$(eval $(call GstBuildPlugin,mad,MP3 decoder (using MAD),audio tag,,+libid3tag 
+libmad))
+$(eval $(call GstBuildPlugin,mpeg2dec,MPEG decoder,video,,+libmpeg2))
+
+$(eval $(call BuildPackage,gst1-plugins-ugly))
diff --git a/multimedia/gst1-plugins-ugly/patches/001-no_docs.patch 
b/multimedia/gst1-plugins-ugly/patches/001-no_docs.patch
new file mode 100644
index 000..5d99fd4
--- /dev/null
+++ 

[OpenWrt-Devel] [PATCH 009/009] [packages] dmapd: Bump to 0.0.58 (attempt #3)

2013-07-14 Thread W. Michael Petullo
From: W. Michael Petullo m...@flyn.org

Bump to 0.0.58.

Signed-off-by: W. Michael Petullo m...@flyn.org
---
 net/dmapd/Makefile | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/net/dmapd/Makefile b/net/dmapd/Makefile
index 5dd12df..f5973ff 100644
--- a/net/dmapd/Makefile
+++ b/net/dmapd/Makefile
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=dmapd
-PKG_VERSION:=0.0.50
+PKG_VERSION:=0.0.58
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.flyn.org/projects/dmapd
-PKG_MD5SUM:=2e04d7fb8437f9e7bd370dc3af450aae
+PKG_MD5SUM:=4c0537697465d32569f53d3f14829130
 
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=2
@@ -38,6 +38,9 @@ define Package/dmapd/conffiles
 /etc/dmapd.conf
 endef
 
+CONFIGURE_ARGS+=\
+   --disable-tests
+
 TARGET_LDFLAGS+=\
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
 
-- 
1.8.3.1

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


[OpenWrt-Devel] [PATCH 008/009] [packages] libdmapsharing: Bump to 2.9.20 (attempt #2)

2013-07-14 Thread W. Michael Petullo
From: W. Michael Petullo m...@flyn.org

Bump to 2.9.20

Signed-off-by: W. Michael Petullo m...@flyn.org
---
 libs/libdmapsharing/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libs/libdmapsharing/Makefile b/libs/libdmapsharing/Makefile
index 55cadfd..19a3add 100644
--- a/libs/libdmapsharing/Makefile
+++ b/libs/libdmapsharing/Makefile
@@ -10,12 +10,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libdmapsharing
-PKG_VERSION:=2.9.15
+PKG_VERSION:=2.9.20
 PKG_RELEASE:=1
 
 PKG_SOURCE:=libdmapsharing-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.flyn.org/projects/libdmapsharing/
-PKG_MD5SUM:=52c9e4d3de931d9013eeaccf7371bb2d
+PKG_MD5SUM:=c8ecda552f2ac42533d3bb8ddb0498eb
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/libdmapsharing-$(PKG_VERSION)
 
@@ -31,7 +31,7 @@ TARGET_LDFLAGS+= \
 define Package/libdmapsharing
   SECTION:=libs
   CATEGORY:=Libraries
-  DEPENDS:=+libsoup +mdnsresponder +gstreamer +gst-plugins-base +libgstapp
+  DEPENDS:=+libsoup +mdnsresponder +gstreamer1 +gst1-plugins-base +libgst1app
   TITLE:=libdmapsharing
   URL:=http://www.flyn.org/projects/libdmapsharing/
   MAINTAINER:=W. Michael Petullo m...@flyn.org
-- 
1.8.3.1

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


[OpenWrt-Devel] wpa/wpa2 adhoc + batman-adv not working

2013-07-14 Thread cmsv
Tested with:
Attitude Adjustment r37270

Batman-adv 2013.2 (current stable release )

I have tested wpa* and it is currently not working with batman-adv.
The ssid for the mesh is encrypted but batman-adv/batctl is unable to
see/ping any nodes.

I tested with wpa, wpa2 and without encryption.
without encryption i was able to get the other nodes to join the mesh
and have them communicate with each other.

I believe someone has once mentioned about a patch that was related to
this problem and i wonder if it is already included in these software
releases or not and if other people are experiencing this same problem.











-- 





Site: http://wirelesspt.net
Mesh: http://tinyurl.com/wirelesspt
Admin: http://wirelesspt.net/wiki/Cmsv
Twitter: http://twitter.com/wirelesspt
Suporte técnico via sms: 91 19 11 798
Donativos/Paypal: http://tinyurl.com/doar-verba
Chave publica PGP/SSH: http://wirelesspt.net/arquivos/pk
Email assinado digitalmente pelo emissor assegurando autenticidade



0x782BF73E.asc
Description: application/pgp-keys


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