[OpenWrt-Devel] PHP at build time

2017-01-16 Thread Philip Prindeville
Hi. I’m working on a project (some GUI interfaces and a back end for generating traffic shaping using netfilter/tc) written in PHP7. It uses PHP’s “composer”. I could install composer (it’s only ever run once on a released project) on the target machine, and run it on first boot. But that see

[OpenWrt-Devel] [PATCH oldpackage/eventlog oldpackage/syslog-ng3] version bump to latest

2017-01-06 Thread Philip Prindeville
update-syslog-eventlog.patch Description: Binary data ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [LEDE-DEV] Bug in ipkg?

2017-01-02 Thread Philip Prindeville
> On Jan 2, 2017, at 10:08 PM, Philip Prindeville > wrote: > > Okay, resolved…. I needed to change the Package/perl-cgi/install macro in > the Makefile to invoke perlmod/Install/NoStrip instead of perlmod/Install. > Sigh. > > Would it be reasonable to add a global

Re: [OpenWrt-Devel] [LEDE-DEV] Bug in ipkg?

2017-01-02 Thread Philip Prindeville
> On Jan 2, 2017, at 9:59 PM, Philip Prindeville > wrote: > > >> On Jan 2, 2017, at 9:32 PM, Philip Prindeville >> wrote: >> >> I just saw something bizarre. >> >> I had a Perl module (CGI v4.35) which contained the following: >> >

Re: [OpenWrt-Devel] [LEDE-DEV] Bug in ipkg?

2017-01-02 Thread Philip Prindeville
> On Jan 2, 2017, at 9:32 PM, Philip Prindeville > wrote: > > I just saw something bizarre. > > I had a Perl module (CGI v4.35) which contained the following: > > my $appease_cpants_kwalitee = q/ > use strict; > use warnings; > #/; > > which is just a

[OpenWrt-Devel] Bug in ipkg?

2017-01-02 Thread Philip Prindeville
I just saw something bizarre. I had a Perl module (CGI v4.35) which contained the following: my $appease_cpants_kwalitee = q/ use strict; use warnings; #/; which is just a quoted string containing the lines that some sanity checking code expects to see (albeit as actual code, and not embedded a

[OpenWrt-Devel] Scripting builds... how to?

2016-12-31 Thread Philip Prindeville
Hi. I wanted to be able to script building images completely. I understand how to do: cp ../my-saved-config .config make defconfig make oldconfig to generate the .config file in a completely scripted way, by seeding it with the minimum set of relevant parameters (the deltas) per the steps des

Re: [OpenWrt-Devel] Any interest in adding runit to OpenWRT?

2016-12-25 Thread Philip Prindeville
> On Dec 25, 2016, at 1:01 PM, Denys Vlasenko wrote: > > In my humble opinion, for distros which can't use systemd because > of the size, or won't use systemd because they don't like it, > a good contender is daemontools or one of its clones. > It is especially suited for a distros which target

Re: [OpenWrt-Devel] [LEDE-DEV] Talks between OpenWrt and LEDE

2016-12-25 Thread Philip Prindeville
On Dec 21, 2016, at 10:13 PM, Russell Senior wrote: >> "Florian" == Florian Fainelli writes: > >>> However, I also agree with Dave, Alberto and Stefan that a name >>> change may be a really smart way to communicate the fresh start of >>> the project, a reboot, especially if the new name ri

Re: [OpenWrt-Devel] Problem building modules out-of-tree (kbuild) for x86

2016-12-19 Thread Philip Prindeville
> On Dec 19, 2016, at 1:25 AM, Alexandru Ardelean > wrote: > > On Mon, Dec 19, 2016 at 1:41 AM, Philip Prindeville > wrote: >> Hi. >> >> I’m trying to add the Intel e1000e, igb, and ixgbe drivers that are on >> Source Forge. >> >> A sna

[OpenWrt-Devel] Problem building modules out-of-tree (kbuild) for x86

2016-12-18 Thread Philip Prindeville
Hi. I’m trying to add the Intel e1000e, igb, and ixgbe drivers that are on Source Forge. A snapshot of my work is here: https://github.com/pprindeville/packages/tree/sf-ether When I build this as “make -j1 V=s” using a mostly unmodified x86_64 generic configuration, I get: make[3]: Enterin

[OpenWrt-Devel] [PATCH] DHCP clients requiring broadcast responses, add 'broadcast' option bool

2013-08-20 Thread Philip Prindeville
to be sent as an Ethernet broadcast and not as a unicast. Signed-off-by: Philip Prindeville --- dhcp-broadcast.patch Description: Binary data ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman

[OpenWrt-Devel] [PATCH 1/1] ntpd: trivial fix for eglibc builds

2012-08-27 Thread Philip Prindeville
When building against eglibc, libc doesn't include librt therefore it must be explicitly included. Signed-off-by: Philip Prindeville Index: trunk/feeds/packages/net/ntpd/Makefile === --- trunk/feeds/packages/net/ntpd/Mak

[OpenWrt-Devel] [PATCH 1/1] diffutils: trivial fix for eglibc builds

2012-08-27 Thread Philip Prindeville
When building against eglibc, libc doesn't include librt therefore it must be explicitly included. Signed-off-by: Philip Prindeville Index: trunk/feeds/packages/devel/diffutils/Makefile === --- trunk/feeds/packages/devel/diff

[OpenWrt-Devel] [PATCH 1/1] openssl: requires linkage w/ libpthread

2012-08-25 Thread Philip Prindeville
openssl-util fails to link without pthread. Signed-off-by: Philip Prindeville Index: trunk/package/openssl/Makefile === --- trunk/package/openssl/Makefile (revision 33271) +++ trunk/package/openssl/Makefile (working copy

Re: [OpenWrt-Devel] [PATCH 1/1]: eglibc: add librt dependencies to various packages

2012-07-31 Thread Philip Prindeville
On 7/30/12 7:36 AM, Florian Fainelli wrote: > Hello, > > On Saturday 23 June 2012 17:22:35 Philip Prindeville wrote: >> Building eglibc on x86 requires various packages explicitly call out librt. >> >> Add these dependencies. >> >> Signed-off-by: Philip Prin

[OpenWrt-Devel] Build problems with Eglibc and curl

2012-07-11 Thread Philip Prindeville
Travis & Felix: I can't get Curl to build with eglibc 2.14 (and if I remember, 2.15): OpenWrt-libtool: compile: i486-openwrt-linux-gnu-gcc -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib -I../lib -isystem /home/philipp/openwrt-alix/staging_dir/target-i386_eglibc-2.14.1/us

[OpenWrt-Devel] [PATCH 1/1] lsof: use environment variables correctly to prime Configure

2012-06-28 Thread Philip Prindeville
Rewrite of the configure and compile stages as per the suggestions in the packages 00XCONFIG instructions. Note that this is required to get eglibc working, as eglibc doesn't include the RPC functions as part of libc. Signed-off-by: Philip Prindeville Index: feeds/packages/utils/lsof/Mak

Re: [OpenWrt-Devel] [PATCH v2 1/1] lsof: add LDFLAGS so that -lrpc is included

2012-06-27 Thread Philip Prindeville
On 6/23/12 10:35 PM, John Crispin wrote: > On 23/06/12 22:56, Philip Prindeville wrote: >> Eglibc doesn't bundle librpc, therefore -lrpc must be passed through LDFLAGS. >> >> Alas, lsof doesn't take LDFLAGS out-of-the-box. Patch the Makefile to do so. >> >

Re: [OpenWrt-Devel] Bridged interface MAC address changes during DHCP client transaction wtih netifd

2012-06-26 Thread Philip Prindeville
On 6/26/12 11:02 AM, Jo-Philipp Wich wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > >> Ultimately, it may just be a bad idea to have a bridge's MAC address >> change once established, at least as long as the bridge still contains an >> underlying interface that "owns" the MAC address

Re: [OpenWrt-Devel] [OpenWrt-Commits] r32505 - trunk/package/broadcom-wl/files/etc/hotplug.d/net

2012-06-26 Thread Philip Prindeville
Inline... On 6/26/12 9:43 AM, openwrt-comm...@openwrt.org wrote: > Author: jow > Date: 2012-06-26 17:43:09 +0200 (Tue, 26 Jun 2012) > New Revision: 32505 > > Modified: >trunk/package/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds > Log: > [package] broadcom-wl: fix WDS hotplug for multip

[OpenWrt-Devel] gdbserver no longer builds with eglibc

2012-06-25 Thread Philip Prindeville
Not sure why this wasn't detected a lot sooner, but building x86/alix2 with eglibc 2.14 or 2.15 breaks: ... Package gdbserver is missing dependencies for the following libraries: libthread_db.so.1 make[3]: *** [/home/philipp/openwrt-alix/bin/x86/packages/gdbserver_6.8a-4_x86.ipk] Error 1 make[3]

[OpenWrt-Devel] [PATCH v3 1/1] lsof: add LDFLAGS so that -lrpc is included

2012-06-25 Thread Philip Prindeville
Eglibc doesn't bundle librpc, therefore -lrpc must be passed through LDFLAGS. Alas, lsof doesn't take LDFLAGS out-of-the-box. Patch the Makefile to do so. Signed-off-by: Philip Prindeville Index: trunk/feeds/packages/utils/lsof/patches/010-lsof_ldf

[OpenWrt-Devel] [PATCH 1/1] lsof: fix broken patch

2012-06-25 Thread Philip Prindeville
The line: if 1 -eq 0 is missing the 'test' command. Alternatively, "if /bin/false" would have worked too. Signed-off-by: Philip Prindeville Index: trunk/feeds/packages/utils/lsof/patches/003-lsof_selinux.patch ===

[OpenWrt-Devel] [PATCH 1/1]: eglibc: add librt dependencies to various packages

2012-06-23 Thread Philip Prindeville
Building eglibc on x86 requires various packages explicitly call out librt. Add these dependencies. Signed-off-by: Philip Prindeville Index: feeds/packages/devel/diffutils/Makefile === --- feeds/packages/devel/diffutils/Makefile

[OpenWrt-Devel] [PATCH v2 1/1] lsof: add LDFLAGS so that -lrpc is included

2012-06-23 Thread Philip Prindeville
me) or simpler still, just use /bin/false. Signed-off-by: Philip Prindeville Index: trunk/feeds/packages/utils/lsof/patches/003-lsof_selinux.patch === --- trunk/feeds/packages/utils/lsof/patches/003-lsof_selinux.patch (revision 3

[OpenWrt-Devel] [PATCH 1/1] curl: add librt dependency when compiling with eglibc

2012-06-22 Thread Philip Prindeville
librt as a separate dependency in eglibc and must be called out explicitly. Signed-off-by: Philip Prindeville Index: trunk/feeds/packages/libs/curl/Makefile === --- trunk/feeds/packages/libs/curl/Makefile (revision 32484

[OpenWrt-Devel] Eglibc or autoconf regression in trunk?

2012-06-22 Thread Philip Prindeville
After a few days, I'm still seeing breakage in building eglibc in trunk. >From what I can tell, it has to do with gcc being invoked with the broken >option '-std' (i.e. with no trailing value like '=c99', etc): configure:3005: i486-openwrt-linux-gnu-gcc -std -c -march=geode -Os -mmmx -m3dnow -f

Re: [OpenWrt-Devel] [PROPOSAL] growing OpenWrt devel team

2012-05-19 Thread Philip Prindeville
On 3/28/11 2:51 PM, Florian Fainelli wrote: > The answer I would give you now is: your contributions on ramips (and other) > are more than welcome, and wait a bit more until you have proven to be a > trustworthy contributor (I have no doubt you are) and you might get commit > access. > > Proba

[OpenWrt-Devel] Revisited: [PROPOSAL] growing OpenWrt devel team

2012-05-19 Thread Philip Prindeville
We talked about how this could be improved... we're more than a year down the road, and I'm not seeing much difference. Maybe we need to talk about this more? Or try harder? On 3/24/11 2:17 PM, Luka Perkov wrote: > Dear OpenWrt developers and other openwrt-devel readers, > > first I would lik

Re: [OpenWrt-Devel] [PATCH] base-files-network: Avoid "ifconfig down" if the macaddr is not going to change

2012-05-19 Thread Philip Prindeville
For what it's worth, getting the mac address with iproute is trivial. ip -o link show dev $iface | awk '{print $13;}' On 5/19/12 4:18 AM, Tobias Diedrich wrote: > Avoid "ifconfig down" if the macaddr is not going to change. > > For wireless interfaces, downing the interface after hostapd has >

[OpenWrt-Devel] [PATCH v3 1/1] linuxigd2: derivative version of linuxigd that supports v2 of UPnP IGD schemas

2012-05-18 Thread Philip Prindeville
The original linuxigd has pretty much been unchanged for about 4 years. Some folks at France Telecom did a rewrite to support the IGDv2 schemas which includes better IPv6 support, and means to avoid clashing when dynamically allocating an unused external port. Signed-off-by: Philip Prindeville

Re: [OpenWrt-Devel] Old retired versions of 2.6.x soon to include x86?

2012-05-13 Thread Philip Prindeville
On 5/13/12 3:12 PM, Michael Markstaller wrote: >> Does anyone else find it troubling that x86 has been as stagnant as it is? > +1 > I'm just about changing some Alix.1D to OpenWRT > > What is required? maybe I can contribute (though admidettly I wouldn't know > what to change to get 3.3.5 instead

Re: [OpenWrt-Devel] Old retired versions of 2.6.x soon to include x86?

2012-05-13 Thread Philip Prindeville
On 5/13/12 7:44 PM, David Woodhouse wrote: > On Sat, 2012-05-12 at 14:17 -0600, Philip Prindeville wrote: >> Gabor is retiring old versions of 2.6.x regularly (thanks, Gabor!). >> >> Alas, he's one step away from retiring 2.6.39.4 which is what x86 is >> currently

[OpenWrt-Devel] Old retired versions of 2.6.x soon to include x86?

2012-05-12 Thread Philip Prindeville
Gabor is retiring old versions of 2.6.x regularly (thanks, Gabor!). Alas, he's one step away from retiring 2.6.39.4 which is what x86 is currently at. Does anyone else find it troubling that x86 has been as stagnant as it is? I use about 7 different Geode/x86-based boxes for infrastructure rout

[OpenWrt-Devel] [PATCH 1/1] linuxigd2: derivative version of linuxigd that supports v2 of UPnP IGD schemas

2012-05-07 Thread Philip Prindeville
The original linuxigd has pretty much been unchanged for about 4 years. Some folks at France Telecom did a rewrite to support the IGDv2 schemas which includes better IPv6 support, and means to avoid clashing when dynamically allocating an unused external port. Signed-off-by: Philip Prindeville

[OpenWrt-Devel] [PATCH 1/1] dnsmasq: allow forcing options

2012-05-06 Thread Philip Prindeville
The option 'force' when set to '1' will transform a dhcp-option to dhcp-option-force instead in the config. This is useful for forcing options to be sent back to a client (even options it didn't ask for). Signed-off-by: Philip Prindeville --- trunk/package/dnsmasq/f

[OpenWrt-Devel] [PATCH v3 1/1] dnsmasq: add support for set: and tag: pairs

2012-05-06 Thread Philip Prindeville
n-force=tag:acme,option:domain-name,acme.com dhcp-option-force=tag:acme,option:domain-search:acme.com,redfish-solutions.com This could be useful elsewhere, for instance, if you have an IP CCTV that you don't want to have a default-route

[OpenWrt-Devel] [PATCH v2 1/1] dnsmasq: add support for set: and tag: pairs

2012-05-06 Thread Philip Prindeville
n-force=tag:acme,option:domain-name,acme.com dhcp-option-force=tag:acme,option:domain-search:acme.com,redfish-solutions.com This could be useful elsewhere, for instance, if you have an IP CCTV that you don't want to have a default-route, etc. Signed-off-by: Philip Prindeville

Re: [OpenWrt-Devel] [PATCH] daemonlogger package Makefile

2012-05-05 Thread Philip Prindeville
Comments... On 5/5/12 8:02 PM, Robert Vineyard wrote: > Daemonlogger is a packet logger and soft tap developed by Martin Roesch. > This patch adds a Makefile to build it as an OpenWRT ipk package. > > Note: the patch is against trunk, but it also builds cleanly on Backfire. > > Signed-off-by: Ro

[OpenWrt-Devel] [PATCH 1/1] dnsmasq: add support for set: and tag: pairs

2012-05-05 Thread Philip Prindeville
On my network, I have a variety of machines and appliances, some of which need different configuration issues than the default options. For example: config host option name 'client' option mac '00:01:02:03:04:05' option ip '192.168.1.20' option tag 'acme' config

Re: [OpenWrt-Devel] Working with patches

2012-05-05 Thread Philip Prindeville
Try 'refresh' instead. On 5/5/12 2:29 AM, Peter Lawler wrote: > Hi! > I'm working on submitting a patch for the appweb package by following > the Wiki page > http://wiki.openwrt.org/doc/devel/patches#edit.an.existing.patch > > The specific patch I'm working on is this one for appweb > https://gi

Re: [OpenWrt-Devel] [OpenWrt-Commits] r31565 - in trunk/package/pptp: . files

2012-05-04 Thread Philip Prindeville
Comments inline... On 5/3/12 3:39 AM, openwrt-comm...@openwrt.org wrote: > Author: juhosg > Date: 2012-05-03 11:39:01 +0200 (Thu, 03 May 2012) > New Revision: 31565 > > Modified: >trunk/package/pptp/Makefile >trunk/package/pptp/files/pptp.sh > Log: > Fix pptp handling of routes to server

Re: [OpenWrt-Devel] [OpenWrt-Commits] r31561 - in packages/net/xl2tpd: . files patches

2012-05-04 Thread Philip Prindeville
A little bit after the fact... I missed the original posting, but here are some comments. On 5/2/12 1:28 PM, openwrt-comm...@openwrt.org wrote: > Author: juhosg > Date: 2012-05-02 21:28:10 +0200 (Wed, 02 May 2012) > New Revision: 31561 > > Added: >packages/net/xl2tpd/files/l2tp.sh >packa

Re: [OpenWrt-Devel] [PATCH 2/2] Comprehensive ipv4 and ipv6 unaligned access patch for ar71xx

2012-05-04 Thread Philip Prindeville
On 4/30/12 12:34 PM, Felix Fietkau wrote: > On 2012-04-30 8:11 PM, Dave Taht wrote: >> On Mon, Apr 30, 2012 at 10:26 AM, Felix Fietkau wrote: >> >> I agree it would blow up the dcache and be worse than what exists by a lot. >> >> So, out of this conversation: >> >> 1) It would be nice to not have

[OpenWrt-Devel] natpmp: broken config file

2012-05-04 Thread Philip Prindeville
I built and installed the "natpmp" package for my Alix box, but /etc/config/natpmp was installed as: config natpmp option outbound_interface vlan0 option inbound_interfaces br-lan eth1 option iptables_chain natpmp which doesn't really make sense. Fi

Re: [OpenWrt-Devel] DHCP capability

2012-04-28 Thread Philip Prindeville
nks, -Philip On 3/28/12 10:29 AM, Philip Prindeville wrote: > Jo-Philipp, > > We started to talk about the following: > > config host > option ip '192.168.1.25' > option mac 'd0:27:88:59:38:e8' > option name 'gwtest' >

Re: [OpenWrt-Devel] [PATCH] base-files: implement new config "root_readonly" (RESENT)

2012-04-23 Thread Philip Prindeville
Don't use format=flowed. Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" On 4/21/12 6:50 PM, ching wrote: > sorry again, the previous email subject is wrong > > I don't know why my attachment is detected as binary, i reposted it here > as plain text

Re: [OpenWrt-Devel] Generic x86 target still on 2.6.39?

2012-04-21 Thread Philip Prindeville
As far as I can tell, it's because Kaloz owns the x86 architecture as a whole, but he's not particularly active. -Philip On 4/19/12 6:21 AM, Adam Gensler wrote: > I see that a number of targets were recently bumped up to kernel 3.2.15, > including the x86 subtargets like the alix and geos. How

Re: [OpenWrt-Devel] Sysupgrade x86 bounty

2012-04-21 Thread Philip Prindeville
up tarball onto > it. That's just a theory though, I haven't gotten that far. > > Thoughts? > > Adam > > > On 4/10/12 6:24 PM, Philip Prindeville wrote: >> Just a reminder that this bounty is still unclaimed. >> >> On 2/10/12 3:11 PM,

Re: [OpenWrt-Devel] Sysupgrade x86 bounty

2012-04-10 Thread Philip Prindeville
Just a reminder that this bounty is still unclaimed. On 2/10/12 3:11 PM, Philip Prindeville wrote: > Sysupgrade currently doesn't allow updating software in place without > clobbering the existing config (stored on the ext4 overlay filesystem that > immediately follows the jf

Re: [OpenWrt-Devel] [PATCH] Updated patch to check multiple instances in subfolders in local repository

2012-04-04 Thread Philip Prindeville
On 4/4/12 12:47 PM, Jo-Philipp Wich wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Philipp, > > in principle I aggree but I've seen Perl distributions without > Digest::MD5 available by default, so shelling out to call "md5sum" > sounds ok to me. > > ~ Jow Your call. I'm just t

Re: [OpenWrt-Devel] [PATCH] Updated patch to check multiple instances in subfolders in local repository

2012-04-04 Thread Philip Prindeville
More comments... On 4/4/12 3:37 AM, Tathagata Das wrote: > Hi, > I have updated the patch as Philip and Jo-Philipp suggested. > > Thanks Philip and Jo-Philipp for your feedback. > > Signed-off-by: Tathagata Das > > --- > > diff -Naur a/scripts/download.pl b/scripts/download.pl > --- a/scrip

Re: [OpenWrt-Devel] [PATCH] Updated patch to check multiple instances in subfolders in local repository

2012-04-03 Thread Philip Prindeville
Inline... On 4/2/12 6:06 AM, Tathagata Das wrote: > Hi, > I have modified the patch as John suggested. This patch will only copy a > single file from local repository. If more than one instance of the same file > exists in the subfolders then it will throw an error. I have used latest > trunk

[OpenWrt-Devel] DHCP capability

2012-03-28 Thread Philip Prindeville
Jo-Philipp, We started to talk about the following: config host option ip '192.168.1.25' option mac 'd0:27:88:59:38:e8' option name 'gwtest' option tag 'client' list dhcp_option 'option:domain-name,"acme.net"' config global option tag 'client'

[OpenWrt-Devel] [PATCH v2 1/1] ppp: Fix high softirq utilization with pppoa

2012-03-27 Thread Philip Prindeville
Users of the Geos platform are reporting high CPU utilization. This seems to be rooted in a problem with the TX queue restart in PPP. Redux: Add 3.3 version. Signed-off-by: Philip Prindeville Index: target/linux/generic/patches-3.2/120-ppp_txqueue_restart.patch

Re: [OpenWrt-Devel] [OpenWrt-Commits] r31085 - trunk/package/hostapd/files

2012-03-27 Thread Philip Prindeville
Minor comment... On 3/27/12 7:29 AM, openwrt-comm...@openwrt.org wrote: > Author: nbd > Date: 2012-03-27 15:29:41 +0200 (Tue, 27 Mar 2012) > New Revision: 31085 > > Modified: >trunk/package/hostapd/files/wpa_supplicant.sh > Log: > wpa_supplicant: modify wpa_supplicant.sh in order to support

[OpenWrt-Devel] [PATCH 1/1] ppp: Fix high softirq utilization with pppoa

2012-03-26 Thread Philip Prindeville
Users of the Geos platform are reporting high CPU utilization. This seems to be rooted in a problem with the TX queue restart in PPP. Signed-off-by: Philip Prindeville Index: target/linux/generic/patches-3.2/120-ppp_txqueue_restart.patch

[OpenWrt-Devel] [PATCH 1/1] geos: Add 'tc' and kmod-sched for bonding

2012-03-26 Thread Philip Prindeville
The Geos2 includes 2 ADSL+ interfaces, and as such it needs to have the TEQL scheduler for bonding. Signed-off-by: Philip Prindeville Index: target/linux/x86/geos/target.mk === --- target/linux/x86/geos/target.mk (revision

Re: [OpenWrt-Devel] [PATCH] Patch to add uClibc configuration

2012-03-24 Thread Philip Prindeville
Hauke is correct. Looking at the message headers: References: <4bd91cfa.4070...@alumnux.com> <4bd97759.9010...@alumnux.com> <37953926db3bcb877311a8dd0d447...@alumnux.com> <4ee1b5c6.20...@alumnux.com> <4ee3fdd3.9070...@hauke-m.de> <6f4cd377

[OpenWrt-Devel] [PATCH 1/1] dnsmasq: configure dnsmasq via flat config file and not command-line args

2012-03-23 Thread Philip Prindeville
ned-off-by: Philip Prindeville Index: package/dnsmasq/files/dnsmasq.init === --- package/dnsmasq/files/dnsmasq.init (revision 31059) +++ package/dnsmasq/files/dnsmasq.init (working copy) @@ -8,6 +8,14 @@ DNS_SERVERS="" DOM

Re: [OpenWrt-Devel] [PATCH] enable ntpd server for busybox

2012-03-22 Thread Philip Prindeville
return 1", as "$PROG" isn't defined ?!) > > Signed-off-by: Etienne CHAMPETIER > > > Le 16/01/2012 01:57, Philip Prindeville a écrit : >> On 1/14/12 11:37 AM, Olipro wrote: >>> On Saturday 14 Jan 2012 02:45:59 Philip Prindeville wrote: >>

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

2012-03-21 Thread Philip Prindeville
. Signed-off-by: Philip Prindeville Index: package/dnsmasq/files/dnsmasq.init === --- package/dnsmasq/files/dnsmasq.init (revision 30690) +++ package/dnsmasq/files/dnsmasq.init (working copy) @@ -367,6 +367,22 @@ append

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

2012-03-21 Thread Philip Prindeville
. Signed-off-by: Philip Prindeville Index: package/dnsmasq/files/dnsmasq.init === --- package/dnsmasq/files/dnsmasq.init (revision 30690) +++ package/dnsmasq/files/dnsmasq.init (working copy) @@ -367,6 +367,21 @@ append args

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

2012-03-21 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. Redux: make the port required. Signed-off-by: Philip Prindeville Index: package/dns

[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 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 Index: package/dnsmasq/files/dn

[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 Index: package/dnsmasq/files

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. > > T

[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 IP

Re: [OpenWrt-Devel] patch to enable building of uuencode applet for busybox

2012-03-18 Thread Philip Prindeville
Why is voicemail encoding using uuencode and not base64??? On 3/18/12 3:23 PM, i iordanov wrote: > Hello, > > The package luci-app-pbx-voicemail needs uuencode which is unavailable > in busybox. I need it in order to encode binary attachments > (voicemail) to send by email. Including uuencode wi

Re: [OpenWrt-Devel] [OpenWrt-Commits] r30966 - trunk/target/linux/x86

2012-03-18 Thread Philip Prindeville
Why is this going into x86 and not x86/generic? On 3/17/12 3:32 PM, openwrt-comm...@openwrt.org wrote: > Author: ryd > Date: 2012-03-17 22:32:08 +0100 (Sat, 17 Mar 2012) > New Revision: 30966 > > Modified: >trunk/target/linux/x86/config-default > Log: > Enable keyboard for x86 > > This is r

Re: [OpenWrt-Devel] Build broken in uclibc++

2012-03-16 Thread Philip Prindeville
On 3/16/12 3:54 AM, Florian Fainelli wrote: > > Le 03/16/12 03:07, Philip Prindeville a écrit : >> I've been seeing the following for a few days now. >> >> make[6]: Entering directory >> `/home/philipp/openwrt-alix/build_dir/target-i386_eglibc-2.13/uClibc++-0.2

[OpenWrt-Devel] Build broken in uclibc++

2012-03-15 Thread Philip Prindeville
I've been seeing the following for a few days now. make[6]: Entering directory `/home/philipp/openwrt-alix/build_dir/target-i386_eglibc-2.13/uClibc++-0.2.2/src/abi/libsupc' i486-openwrt-linux-gnu-ar x /home/philipp/openwrt-alix/staging_dir/toolchain-i386_gcc-4.6-linaro_eglibc-2.13/lib/gcc/i486-o

Re: [OpenWrt-Devel] [PATCH] Add usb_modeswitch to preinit

2012-03-12 Thread Philip Prindeville
Comments inline. On 3/12/12 2:22 PM, Cezary Jackiewicz wrote: > Some 3G modem requires switch from storage to modem before use it as extroot. > This enhance block-mount. > > Tested on Huawei E173/E353 > > Signed-off-by: Cezary Jackiewicz > > > Index: feeds/packages/utils/usb-modeswitch/fil

Re: [OpenWrt-Devel] [OpenWrt-Commits] r30859 - packages/utils/fowsr

2012-03-09 Thread Philip Prindeville
Is this a regression? You previously didn't copy fowsr.sh and pwsweather.sh ... is this a new script? You're deleting 3 lines but adding a combined copy of 5... 3 of which were previously there. -Philip On 3/8/12 9:24 PM, openwrt-comm...@openwrt.org wrote: > Author: swalker > Date: 2012-03-0

Re: [OpenWrt-Devel] [OpenWrt-Commits] r30858 - in packages/utils/dosfstools: . files patches

2012-03-09 Thread Philip Prindeville
Can we avoid whitespace-only changes? They increase effort to keeping up with what's been committed without adding any value, and I find it takes twice as long to search them to find out what, if anything, they functionally change. I literally have to read it a second time to figure out that th

Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-03-04 Thread Philip Prindeville
On 3/4/12 5:45 PM, Felix Fietkau wrote: > On 2012-03-05 1:19 AM, Felix Fietkau wrote: >> On 2012-03-04 11:31 PM, Felix Fietkau wrote: >>> On 2012-03-01 5:18 AM, Adam Gensler wrote: For what its worth I spent some time this evening putting together a Fedora Core 16 virtual machine to test

Re: [OpenWrt-Devel] Busybox modinfo and needing modules.dep

2012-03-04 Thread Philip Prindeville
On 3/4/12 2:15 PM, Felix Fietkau wrote: > On 2012-03-04 10:00 PM, Philip Prindeville wrote: >> I'm trying to write some scripts to help out with debugging kernel traces, >> etc. for people who aren't used to doing such, trying to automate everything >> as much as

[OpenWrt-Devel] Busybox modinfo and needing modules.dep

2012-03-04 Thread Philip Prindeville
I'm trying to write some scripts to help out with debugging kernel traces, etc. for people who aren't used to doing such, trying to automate everything as much as possible. I've identified a need to use modinfo, but just selecting CONFIG_BUSYBOX_CONFIG_MODINFO=y doesn't do it since we don't bui

Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-03-02 Thread Philip Prindeville
Sorry, cut and paste error. The first gdb command should have read: (gdb) cd build_dir/linux-x86_alix2/linux-3.2.2 On 3/2/12 12:26 PM, Philip Prindeville wrote: > This should be on a Wiki page if it's not already... Haven't had time to > look. > > On your build host,

Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-03-02 Thread Philip Prindeville
. >> >> >> On 2/28/12 7:09 PM, Adam Gensler wrote: >>> Nothing I'm finding online seems to indicate a simple procedure for >>> this. Perhaps I'm not searching for the correct terminology. If you have >>> a sample / example I'd certainly take

Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-02-28 Thread Philip Prindeville
As it turns out you only need 2-3 commands... you can almost script it with macros. On 2/28/12 2:17 PM, Adam Gensler wrote: > Unfortunately I have zero experience with gdb. It would probably take > longer to learn how to use that than to refresh to the kernel patches on > 3.2 to support 3.2.7

Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-02-28 Thread Philip Prindeville
el itself (hence the > reference to insmod in the call trace). > > http://www.faqs.org/docs/Linux-HOWTO/Kernel-HOWTO.html#systemmap > > That URL goes on the explain the System.map and why things like modules > aren't in it. So...now I'm stuck. > > On 2/27/12 11:11 PM, Ph

Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-02-27 Thread Philip Prindeville
On 2/27/12 9:55 PM, Adam Gensler wrote: > Good idea, see inline: > > On 2/27/12 11:14 PM, Philip Prindeville wrote: >> Two questions: >> >> If you keep 29981 (and above) and set LINUX_VERSION back to 2.6.39.4 what >> happens? > > [adam] Works fine, 29981 w

Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-02-27 Thread Philip Prindeville
evisions in trunk on the x86 alix2 target is >> not some place I'd like to stay. >> >> Thanks, >> Adam >> >> On 2/27/12 1:44 AM, Philip Prindeville wrote: >>> It might also be helpful to get symbolic addresses and not just hex >>> addre

Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-02-27 Thread Philip Prindeville
on pre-3 revisions in trunk on the x86 alix2 target is > not some place I'd like to stay. > > Thanks, > Adam > > On 2/27/12 1:44 AM, Philip Prindeville wrote: >> It might also be helpful to get symbolic addresses and not just hex >> addresses. >> >&

Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-02-26 Thread Philip Prindeville
I build on Fedora 16. On 2/26/12 4:31 PM, Adam Gensler wrote: > Philip, > > Presumably you're running the newest trunk images on your alix boards > and are not seeing this problem? What OS/version are you building with? > I'm using Ubuntu 10.03 LTS as I have been for a while. I wouldn't mind

Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-02-26 Thread Philip Prindeville
. >> >> Not sure what that means exactly. Buts it's 100% reproducible on three >> different alix boards with images from two different build machines. >> >> Adam >> >> On 2/22/12 12:50 AM, Philip Prindeville wrote: >>> Try leaving CONFIG_KERNEL_K

Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-02-25 Thread Philip Prindeville
> >> Boots fine, no traces showing up. >> >> Not sure what that means exactly. Buts it's 100% reproducible on three >> different alix boards with images from two different build machines. >> >> Adam >> >> On 2/22/12 12:50 AM, Philip Prindeville

Re: [OpenWrt-Devel] [PATCH 1/1] regression r30675

2012-02-22 Thread Philip Prindeville
On 2/22/12 4:09 PM, Felix Fietkau wrote: > On 2012-02-22 11:09 PM, Philip Prindeville wrote: >> If targets_install is empty, then handle it properly. >> >> Signed-off-by: Philip Prindeville >> >> >> iptables.patch >> >> >> I

[OpenWrt-Devel] [PATCH 1/1] uci: fix gratiutous quoting

2012-02-22 Thread Philip Prindeville
Section names, option names, list names can only be identifiers, so they don't need to be quoted. Strip quotes except from values. Signed-off-by: Philip Prindeville Index: package/uci/patches/100-unnecessary-quotes.

[OpenWrt-Devel] [PATCH 1/1] regression r30675

2012-02-22 Thread Philip Prindeville
If targets_install is empty, then handle it properly. Signed-off-by: Philip Prindeville Index: package/iptables/patches/300-extensions-strip.patch === --- package/iptables/patches/300-extensions-strip.patch (revision 0) +++ package

[OpenWrt-Devel] damage from r30675

2012-02-22 Thread Philip Prindeville
Felix, The -rdynamic patch broken things: if test -n " "; then install -pm0755 "/home/philipp/openwrt-alix/build_dir/linux-x86_alix2/iptables-1.4.10/ipkg-install/usr/lib/iptables/"; fi; that test is succeeding because it's not filtering out the spaces... Note the list of sources to copy be

Re: [OpenWrt-Devel] MSS clamping in POSTROUTING instead of FORWARD?

2012-02-22 Thread Philip Prindeville
On 2/22/12 12:24 PM, Oliver wrote: > On Wednesday 22 Feb 2012 10:09:09 Philip Prindeville wrote: >> I actually don't think that. >> >> I'm just pointing out that in corner cases, being overly conservative >> will increase your chances of success. >

[OpenWrt-Devel] [PATCH 1/1] config: deprecated symbol CONFIG_LEDS_GPIO_PLATFORM

2012-02-22 Thread Philip Prindeville
CONFIG_LEDS_GPIO_PLATFORM went away a while ago. http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commit;h=2bcc7ed5b83b0a59c6976476e8788675038fb11b Also, most platforms comment out CONFIG_LEDS_GPIO but not x86 for some reason. Signed-off-by: Philip Prindeville Index: target

Re: [OpenWrt-Devel] MSS clamping in POSTROUTING instead of FORWARD?

2012-02-22 Thread Philip Prindeville
On 2/22/12 7:59 AM, Oliver wrote: > On Tuesday 21 Feb 2012 20:27:19 Philip Prindeville wrote: > >> There are also a lot of routers out there that *still* don't do PMTU >> correct ('still', because I worked on the standard more than 20 years >> ago). &g

Re: [OpenWrt-Devel] [OpenWrt-Commits] r30685 - trunk/package/iwinfo/src

2012-02-22 Thread Philip Prindeville
Any reason to not use NElems() or ArraySize() or a similar macro, etc? #define ArraySize(n)(sizeof(n) / sizeof(n[0])) Seems it might help reduce churn. On 2/22/12 6:56 AM, openwrt-comm...@openwrt.org wrote: > Author: jow > Date: 2012-02-22 14:56:06 +0100 (Wed, 22 Feb 2012) > New Rev

[OpenWrt-Devel] [PATCH 1/1] config: normalize config files

2012-02-21 Thread Philip Prindeville
ff-by: Philip Prindeville Index: target/linux/x86/alix2/base-files/etc/config/system === --- target/linux/x86/alix2/base-files/etc/config/system (revision 30641) +++ target/linux/x86/alix2/base-files/etc/config/system (working

Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-02-21 Thread Philip Prindeville
RNEL_DEBUG_INFO=y > > Note, I commented out the "CONFIG_KERNEL_KALLSYMS=y". The problems > happens when that is disabled. If I turn that back on, > "CONFIG_KERNEL_KALLSYMS=y", the trace messages disappear. > > Adam > > On 2/22/12 12:30 AM, Philip

<    1   2   3   4   5   6   7   8   9   10   >