[OpenWrt-Devel] [PATCH] ramips: rt305x: add profile for the Asus WL-330N board

2012-03-20 Thread Frédéric Leroy
Signed-off-by: Frédéric Leroy fr...@starox.org --- target/linux/ramips/base-files/etc/diag.sh |2 +- .../etc/hotplug.d/firmware/10-rt2x00-eeprom|1 + .../ramips/base-files/etc/uci-defaults/network |3 +- .../ramips/base-files/lib/preinit/06_set_iface_mac |1 +

[OpenWrt-Devel] Porting rrdtool 1.4 to openwrt

2012-03-20 Thread Roberto Riggio
Hi, I'm try to compile the latest rrdtool for openwrt. I did manage to compile it without support for graph, however when I try to compile it WITH supprot for graphs I get the following error during the configure phase: checking for pango_cairo_context_set_font_options in -lpango-1.0... no

Re: [OpenWrt-Devel] Porting rrdtool 1.4 to openwrt

2012-03-20 Thread Jo-Philipp Wich
* I could not find a working copy of pangocairo. Check config.log for hints on why As usual, dig through config.log ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] Porting rrdtool 1.4 to openwrt

2012-03-20 Thread Roberto Riggio
On 03/20/2012 01:17 PM, Jo-Philipp Wich wrote: * I could not find a working copy of pangocairo. Check config.log for hints on why As usual, dig through config.log This is what I've found: /usr/include/libxml2/libxml/encoding.h:28:19: fatal error: iconv.h: No such file or directory

Re: [OpenWrt-Devel] Porting rrdtool 1.4 to openwrt

2012-03-20 Thread Jo-Philipp Wich
You need include $(INCLUDE_DIR)/nls.mk in your OpenWrt makefile. That will add the needed iconv search paths to TARGET_CFLAGS. ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] Porting rrdtool 1.4 to openwrt

2012-03-20 Thread Roberto Riggio
On 03/20/2012 02:21 PM, Jo-Philipp Wich wrote: You need include $(INCLUDE_DIR)/nls.mk in your OpenWrt makefile. That will add the needed iconv search paths to TARGET_CFLAGS. Thanks, this works. However now I'm getting this after the compile process has started: make[5]: Entering directory

Re: [OpenWrt-Devel] Porting rrdtool 1.4 to openwrt

2012-03-20 Thread Roberto Riggio
On 03/20/2012 04:28 PM, Roberto Riggio wrote: Thanks, this works. However now I'm getting this after the compile process has started: make[5]: Entering directory `/home/rriggio/src/kamikaze/build_dir/target-i386_uClibc-0.9.33/rrdtool-1.4.7/po' Forget about this. I little patch to a Makefile

Re: [OpenWrt-Devel] Porting rrdtool 1.4 to openwrt

2012-03-20 Thread Jo-Philipp Wich
Yes, you need to patch out intltool related stuff. Usually its enough to remove the po from SUBDIRS in the Makefile.am and then declaring PKG_FIXUP:=autoreconf in the OpenWrt Makefile. ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] Porting rrdtool 1.4 to openwrt

2012-03-20 Thread Michael Heimpold
Hi, several weeks ago I also tried to upgrade this package. Here's my patch which is only compile tested and not yet cleaned up. diff --git a/utils/rrdtool/Makefile b/utils/rrdtool/Makefile index c73b4e1..62feeed 100644 --- a/utils/rrdtool/Makefile +++ b/utils/rrdtool/Makefile @@ -8,12 +8,12

Re: [OpenWrt-Devel] Porting rrdtool 1.4 to openwrt

2012-03-20 Thread Roberto Riggio
I still have two problems with my patch: 1) when running an rrdtool create command using as filename something like: /etc/rrds/sampple.rrd I get: ERROR: creating '/etc/rrds/sampple.rrd': Invalid argument Everything works fine if I use /tmp/sample.rrd as filename. 2) whe I try to compile the

Re: [OpenWrt-Devel] Porting rrdtool 1.4 to openwrt

2012-03-20 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, -R is a linker option but unknown to gcc. Either (if you can) change -R/usr/lib to -Wl,-rpath=/usr/lib or make sure that LD points to the cross ld and not the cross gcc. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux)

[OpenWrt-Devel] finding module dependencies.

2012-03-20 Thread abhinav narain
hi, I am modifying mac80211. but when I reboot the router, I get a set of erros which is due to module dependencies. lsmod shows : ath9k as the only dependency and I am removing the module before inserting the modified mac80211 module. The only other way I to fix this is to remove all the

Re: [OpenWrt-Devel] Porting rrdtool 1.4 to openwrt

2012-03-20 Thread david
On Tue, 20 Mar 2012, Roberto Riggio wrote: On 03/20/2012 04:28 PM, Roberto Riggio wrote: Thanks, this works. However now I'm getting this after the compile process has started: make[5]: Entering directory `/home/rriggio/src/kamikaze/build_dir/target-i386_uClibc-0.9.33/rrdtool-1.4.7/po'

[OpenWrt-Devel] DHCP support for SRV records

2012-03-20 Thread Philip Prindeville
Could we add the following? config 'srv' option service $1 option proto$2 option port $3 option class$4 option priority $5 option host $6 would generate: srv-host=$1.$2.mydomain,$6,$3,$4,$5 This is really useful for configuring

Re: [OpenWrt-Devel] finding module dependencies.

2012-03-20 Thread Philip Prindeville
On 3/20/12 5:56 PM, abhinav narain wrote: hi, I am modifying mac80211. but when I reboot the router, I get a set of erros which is due to module dependencies. lsmod shows : ath9k as the only dependency and I am removing the module before inserting the modified mac80211 module. The

[OpenWrt-Devel] [PATCH 1/1] dnsmasq: add keywords for SRV RR class/weight

2012-03-20 Thread Philip Prindeville
The SRV record also requires the class and weight fields... Currently you can overload the port keyword as: option port ,class,weight but this is counter-intuitive. Here we fix this. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index:

[OpenWrt-Devel] [PATCH v2 1/1] dnsmasq: add keywords for SRV RR class/weight

2012-03-20 Thread Philip Prindeville
The SRV record also requires the class and weight fields... Currently you can overload the port keyword as: option port ,class,weight but this is counter-intuitive. Here we fix this. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Index:

[OpenWrt-Devel] [PATCH 1/1] dnsmasq: add mx record support

2012-03-20 Thread Philip Prindeville
Adding the following syntax support: config mxhost option domain mydomain.com option relay svr10.ironport.com option pref 50 and this will generate an MX record for mydomain.com pointing at the relay with a given preference. Signed-off-by: Philip Prindeville

Re: [OpenWrt-Devel] [PATCH 1/1] dnsmasq: add mx record support

2012-03-20 Thread Dave Taht
While you are poking around in here, I note that the latest dnsmasq version and the upcoming one has some nice new features. From the changelog for 2.6.1 (WIP) Add ra-names DHCPv6 keyword which adds records for dual-stack hosts which get IPv6 addresses via SLAAC.