[OpenWrt-Devel] [PATCH] sysupgrade-ext2 sync before writing image, not after

2009-07-16 Thread Fabian Hugelshofer
Hi all, Sysupgrade for ext2 currently flushes the filesystem buffers after an image is written to the disk. This should happen before the image is written. This has already been fixed in default_do_upgrade in common.sh (see r16488). Please apply, thanks. Fabian Index: target/linux/x86/base-file

Re: [OpenWrt-Devel] [PATCH] Wget and scoped IPv6 addresses

2009-07-01 Thread Fabian Hugelshofer
On Thu, 2009-06-04 at 16:43 +0100, Fabian Hugelshofer wrote: > IPv6 knows scoped address types i.e. link and site local addresses. Link > local addresses require a scope identifier to specify the interface/link > an address is valid on (e.g. fe80::1%eth0). This scope identifier is > o

[OpenWrt-Devel] [PATCH] Opkg -force-maintainer

2009-06-22 Thread Fabian Hugelshofer
Hi all, Opkg can be prevented from asking any questions with -force-defaults. The default for the question whether a modified configuration file should be replaced with the maintainers version is "no". The upstream version of Opkg introduced a switch -force-maintainer that allows to change this b

[OpenWrt-Devel] [PATCH] Wget and scoped IPv6 addresses

2009-06-04 Thread Fabian Hugelshofer
Hi all, IPv6 knows scoped address types i.e. link and site local addresses. Link local addresses require a scope identifier to specify the interface/link an address is valid on (e.g. fe80::1%eth0). This scope identifier is only valid on a single node. RFC 4007 says that the scope identifier shall

[OpenWrt-Devel] [PATCH] ata core with legacy interface ATA_SFF

2009-05-22 Thread Fabian Hugelshofer
Hi all, Several ATA kernel modules depend on the legacy IDE interface CONFIG_ATA_SFF (e.g. kmod-ata-ixp4xx-cf). ATA_SFF needs to be set when kmod-ata-core builds. Currently ATA_SFF is set by some architectures. Ixp4xx has CONFIG_ATA_SFF=y in ixp4xx/config-2.6.28. This is somehow lost and does not

[OpenWrt-Devel] Build Umask

2009-05-11 Thread Fabian Hugelshofer
Hi all, I am using Openwrt r15686 in a Linux environment. To enable multiple users to use the same build tree I use an umask of 0002. During the build process however, files get created with an umask of 0022. This makes the build tree unusable for other users. Does anyone here know where the curr

[OpenWrt-Devel] [PATCH] New package redir

2009-05-07 Thread Fabian Hugelshofer
Hi all, This patch adds a new package "redir" that allows to redirect incoming TCP connections to a specific destination in a proxy-like way. Please apply. Thanks, Fabian Index: net/redir/patches/03_fix_tcp_wrappers.patch === ---

[OpenWrt-Devel] [PATCH] utils-linux: new package flock

2009-05-05 Thread Fabian Hugelshofer
Hi all, This patch adds a new package "flock" that allows to manage file locks from shell scripts. Please apply. Cheers, Fabian Index: package/util-linux-ng/Makefile === --- package/util-linux-ng/Makefile (revision 15534) +++

[OpenWrt-Devel] [PATCH] utils-linux: new package flock

2009-05-05 Thread Fabian Hugelshofer
Hi all, This patch adds a new package "flock" that allows to manage file locks from shell scripts. It provides more functionality than the busybox "lock" command, i.e. locking existing file descriptors and non-blocking operation. Please apply. Thanks, Fabian Index: package/util-linux-ng/Makefil

[OpenWrt-Devel] [PATCH] Netfilter Netlink package extension

2009-04-24 Thread Fabian Hugelshofer
Hi all, To use the Netfilter NFLOG and NFQUEUE targets, kernel modules and iptables libraries xt_NFLOG and xt_NFQUEUE are needed. I added these to the corresponding Netfilter kernel packages and created new iptables module packages. This patch also adds support for connection tracking events for

Re: [OpenWrt-Devel] Issues with InstallDev only package without package definition

2008-07-24 Thread Fabian Hugelshofer
to build the library. The library seems to not have been used for some time. It contains an error (doesn't build) and still contains PKG_BUILD_DIR and PKG_INSTALL_DIR. > Quoting Fabian Hugelshofer <[EMAIL PROTECTED]>: >> I plan to create a package for oprofile which relie

[OpenWrt-Devel] Issues with InstallDev only package without package definition

2008-07-24 Thread Fabian Hugelshofer
Hi, I plan to create a package for oprofile which relies on libbfd. A package for libbfd already exists. It compiles a static library and installs the header files with InstallDev but has no actual package description as nothing has to be installed on the router. How is the best way to make it

[OpenWrt-Devel] [PATCH] update libnfnetlink to 0.0.39

2008-07-24 Thread Fabian Hugelshofer
Updates libnfnetlink to the current version 0.0.39 This version is more portable as it respects byte alignment. This is required e.g. for ARM5. Signed-off-by: Fabian Hugelshofer <[EMAIL PROTECTED]> Index: libs/libnfnetlink/Ma

Re: [OpenWrt-Devel] [PATCH] libnfnetlink: include new header file in install dev

2008-06-11 Thread Fabian Hugelshofer
John Crispin wrote: > thanks, applied, [11432] Hm, the change is not correct. The line should be modified. The change adds a new one instead. I just applied this patch today without problems. Might the "-" got lost, when you copied it? > Fabian Hugelshofer wrote: >> (Oops

Re: [OpenWrt-Devel] [PATCH] libnfnetlink: include new header file in install dev

2008-06-11 Thread Fabian Hugelshofer
(Oops, previous patches had missing path. Still needs to be applied...) In libnfnetlink 0.0.38 a new header file (linux_libnfnetlink_compat.h) was introduced, which needs to be copied to the staging dir as well. Right now build fails for applications using libnfnetlink. Signed-off-by: Fabian

Re: [OpenWrt-Devel] [PATCH] libnfnetlink: include new header file in install dev

2008-06-09 Thread Fabian Hugelshofer
On Mon, 2008-06-02 at 09:40 +0100, Fabian Hugelshofer wrote: > In libnfnetlink 0.0.38 a new header file (linux_libnfnetlink_compat.h) > was introduced, which needs to be copied to the staging dir as well. > Right now build fails for applications using libnfnetlink. This patch has still

[OpenWrt-Devel] [PATCH] libnfnetlink: include new header file in install dev

2008-06-02 Thread Fabian Hugelshofer
In libnfnetlink 0.0.38 a new header file (linux_libnfnetlink_compat.h) was introduced, which needs to be copied to the staging dir as well. Right now build fails for applications using libnfnetlink. Signed-off-by: Fabian Hugelshofer <[EMAIL PROTECTED]> Index: Ma

[OpenWrt-Devel] [PATCH] update libnfnetlink to 0.0.38

2008-06-01 Thread Fabian Hugelshofer
Updates libnfnetlink from 0.0.30 to the current version 0.0.38. Signed-off-by: Fabian Hugelshofer <[EMAIL PROTECTED]> Index: libs/libnfnetlink/Makefile === --- libs/libnfnetlink/Makefile (revision 11319) +++ libs/libnfn

[OpenWrt-Devel] [PATCH] new kernel modules nf-netfilter-log and nf-netfilter-conntrack

2008-05-10 Thread Fabian Hugelshofer
in the library packages yet. Signed-off-by: Fabian Hugelshofer Index: package/kernel/modules/netlink.mk === --- package/kernel/modules/netlink.mk (revision 0) +++ package/kernel/modules/netlink.mk (revision 0) @@ -0,0 +1,56

[OpenWrt-Devel] [PATCH] new packages libnetfilter-log and libnetfilter-conntrack

2008-05-10 Thread Fabian Hugelshofer
To add in package repository. For package description see http://www.netfilter.org. Signed-off-by: Fabian Hugelshofer Index: libs/libnetfilter-conntrack/patches/001-disable_deprecated.patch === --- libs/libnetfilter-conntrack/patches

[OpenWrt-Devel] [PATCH] fixes build failure for crypto modules in 2.6.25

2008-05-10 Thread Fabian Hugelshofer
In 2.6.25 module blkcipher has been renamed to crypto_blkcipher. Further a workaround for 2.6.24, which also deals with renamed modules, breaks in 2.6.25. This patch fixes the errors while keeping it compatible with future kernel releases. Closes #3402. Signed-off-by: Fabian Hugelshofer Index