openwrtv3/package
Felix Fietkau 679cab88fe Fix a memory leak in hotplug2 environment handling. Bump hotplug2 to the latest svn revision, remove obsolete patches.
Memory leak is caused by the way hotplug2 handles environment variables,
using setenv() and unsetenv(). setenv() creates copies of the supplied
strings, but, due to a POSIX blunder, these copies are never destroyed
by unsetenv(), neither in glibc nor uclibc - not until the program
terminates.

Since some events are handled directly in the main process, even when
configured with the "fork" worker, hotplug2 memory usage will keep
growing over time. This can be observed by running "udevtrigger" and
noting the increase in hotplug2 VmRSS after each run.

This patch uses putenv() instead, which leaves storage management to
the caller, so that we can explicitly delete stuff when it's no longer
needed.

Signed-off-by: Aleksandar Radovanovic <biblbroks@sezampro.rs>

SVN-Revision: 18725
2009-12-09 18:50:49 +00:00
..
acx acx fixes for 2.6.30 2009-08-03 22:30:42 +00:00
acx-mac80211 acx-mac80211 interface will not be created if NL80211_IFTYPE_STATION is not set, thanks to Stefan Weil for this patch 2009-05-30 19:20:07 +00:00
admswconfig get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
apex Various Makefile cleanup. 2009-06-13 16:47:22 +00:00
ar7-atm more compile fixes for sangam-atm and 2.6.31 2009-08-11 18:50:45 +00:00
arptables get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
avila-wdt avila-wdt: add support for disabling the watchdog 2009-05-27 15:33:18 +00:00
base-files add missing argument to debug/mount wrappers (thx, matteo) 2009-12-09 17:13:16 +00:00
br2684ctl get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
bridge-utils get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
broadcom-57xx bump some revisions and update copyrights 2009-09-10 10:07:04 +00:00
broadcom-diag bump some revisions and update copyrights 2009-09-10 10:07:04 +00:00
broadcom-mmc get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
broadcom-wl broadcom-wl: add rts/frag threshold settings (patch from #4769) 2009-12-09 17:29:10 +00:00
busybox busybox: adjust hush default configuration 2009-12-09 13:36:28 +00:00
button-hotplug fix kernel modules compile (as in [13724]) 2009-01-08 01:03:54 +00:00
comgt get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
compcache update compcache to 0.5.4 (#6018) 2009-11-23 22:30:42 +00:00
crda Update regulatory database to version 2009.11.25 2009-11-28 23:16:40 +00:00
dnsmasq new upstream release 2.51 with some fixes, see http://www.thekelleys.org.uk/dnsmasq/CHANGELOG refreshed patches for new release 2009-11-26 10:58:01 +00:00
dropbear #4985 - fixes dropbear banner file, thanks Roman Yepishev 2009-10-08 18:58:15 +00:00
e2fsprogs libuuid needs to be compiled with fPIC/pic. 2009-11-26 16:05:20 +00:00
ead ead: fix missing library error while building tinysrp 2009-06-03 13:53:15 +00:00
ebtables update ebtables to 2.0.9-1, fixes #5001 2009-08-01 21:29:47 +00:00
fconfig Various Makefile cleanup. 2009-06-13 16:47:22 +00:00
firewall firewall: get rid of recursive shell script inclusion to improve hush compatibility 2009-12-09 14:04:37 +00:00
fuse disable fuse kernel compilation module, all versions that we have have it mainline (#5584) 2009-07-31 10:49:46 +00:00
fuse24 add missing fuse24 init script 2009-07-22 08:49:13 +00:00
gdb gdb: don't build on avr32 2009-10-05 09:47:24 +00:00
goldfish-qemu include a skin for the goldfish emulator 2009-06-14 21:17:50 +00:00
gpioctl get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
grub grub: fix potential build issues on redhat/fedora host systems (should close: #3793) 2009-05-04 23:08:08 +00:00
hostap-driver allow building hostap-driver and its dependencies on 2.6.32 (#6305) 2009-12-05 12:54:30 +00:00
hostap-utils get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
hostapd hostapd: update to latest git, fixes ampdu settings in the beacon HT IE 2009-11-29 16:56:38 +00:00
hotplug2 Fix a memory leak in hotplug2 environment handling. Bump hotplug2 to the latest svn revision, remove obsolete patches. 2009-12-09 18:50:49 +00:00
i2c-gpio-custom make i2c-gpio-custom selectable (#5458) 2009-07-06 11:16:04 +00:00
ifenslave get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
ifxmips-dsl-api clean up menuconfig path of dsl driver and userland helper 2009-11-01 19:05:32 +00:00
ifxmips-dsl-control clean up menuconfig path of dsl driver and userland helper 2009-11-01 19:05:32 +00:00
iproute2 iproute2: honour when building libnetlink.a, completes r18323 and fixes #6160 2009-11-14 21:32:30 +00:00
iptables iptables: move to 'Network' in menuconfig 2009-12-09 13:36:35 +00:00
iw Update iw to version 0.9.18 2009-11-28 23:16:11 +00:00
ixp4xx-microcode Various Makefile cleanup. 2009-06-13 16:47:22 +00:00
kernel package nls cp866 support (#6281) 2009-12-07 23:59:06 +00:00
kexec-tools add mips64 support to kexec-tools, counterpart of r17768. 2009-09-27 19:13:17 +00:00
libipfix get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
libnl get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
libnl-tiny libnl-tiny: fix potential redefinition of offsetof 2009-05-24 16:48:18 +00:00
libpcap libpcap: fix kernel version check 2009-08-21 22:32:14 +00:00
libreadline get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
libtool libtool: update to 1.5.26 (patch from #4905) 2009-09-24 22:19:33 +00:00
linux-atm remove 'svn:keywords' property, not needed anymore after [15242] 2009-04-17 14:32:29 +00:00
lua lua: add the 100-no_readline.patch to host build 2009-10-28 13:56:33 +00:00
mac80211 mac80211: fix RTS threshold not being set for mac80211 devices 2009-12-09 17:22:25 +00:00
madwifi prevent madwifi from being compiled on sibyte 2009-12-04 14:52:30 +00:00
mmc_over_gpio do not load the spi_gpio module from mmc-over-gpio, bump release number (#4663) 2009-04-12 12:52:32 +00:00
mountd mountd: mark as 2.6 only 2009-10-05 11:18:03 +00:00
mtd mtd: fix wrong open() return code checks 2009-09-21 19:13:34 +00:00
ncurses get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
nozomi get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
nvram nvram: refuse nvram operations on the WGT634U 2009-06-08 11:59:41 +00:00
ocf-crypto-headers set PKGARCH to all for packages in trunk containing only arch-neutral files (#5572) 2009-07-24 12:08:01 +00:00
openssl update openssl to 0.9.8l -- thanks puchu 2009-11-12 10:39:10 +00:00
opkg opkg: forgot to remove two obsolete patches in last commit 2009-11-11 22:13:10 +00:00
pcmcia-cs get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
ppp ppp: add dns servers to uci state in the ip-up script 2009-09-30 16:06:20 +00:00
pptp get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
ps3-utils ps3-utils: Add Build/InstallDev section to package makefile 2009-08-18 21:51:08 +00:00
qos-scripts adjust dependencies of firewall and qos-scripts, so that these packages are visible even when iptables is not selected 2009-12-09 13:36:39 +00:00
r8101 small fixes mostly for kernel 2.6.31 2009-09-26 21:23:53 +00:00
robocfg get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
rt2570 get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
rtc-rv5c386a add RTC RV5C386A package 2009-08-01 11:09:02 +00:00
siit fix siit compilation failures on brcm-2.4 2009-10-30 14:14:53 +00:00
spi-ks8995 kernel/modules: move SPI drivers into a new submenu 2009-06-04 06:39:36 +00:00
spidev_test get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
swconfig add _GNU_SOURCE to CPPFLAGS required to include <bits/socket.h> on recent eglibc revisions 2009-09-26 19:01:50 +00:00
switch change switch config to swconfig style format to remain consistent accross platforms 2009-11-15 18:43:46 +00:00
uboot-envtools mark uboot-envtools as broken, it looks more like a place holder than an actual packaging attempt 2009-10-19 19:15:08 +00:00
uboot-ifxmips make uboot work on arcaydian board 2009-12-08 14:37:12 +00:00
ubsec_ssb get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
uci uci: only use $(FPIC) on library parts, saves a few hundred bytes 2009-10-20 08:26:39 +00:00
udev udev depends on 2.6, cleanup Makefile 2009-09-03 18:11:32 +00:00
udevtrigger udevtrigger: use the build system cflags 2009-10-10 19:25:31 +00:00
util-linux-ng package sfdisk from util-linux-ng (#5998) 2009-11-23 22:30:45 +00:00
w1-gpio-custom fix kernel modules compile (as in [13724]) 2009-01-08 01:03:54 +00:00
wireless-tools wireless-tools: re-enable support for enabling/disabling powersave 2009-11-11 16:59:31 +00:00
wpa_supplicant wpa_supplicant: relax parsing of encryption mode, drop support for uppercase modes 2009-12-05 15:09:20 +00:00
wprobe add _GNU_SOURCE to CPPFLAGS required to include <bits/socket.h> on recent eglibc revisions 2009-09-26 19:01:50 +00:00
wrt55agv2-spidevs Add initial kernel 2.6.28 support for atheros target. The include files moved from /include/asm-mips/mach-atheros/ to /arch/mips/include/asm/mach-atheros/ This patch is based on the old kernel 2.6.27 patches. 2009-02-20 16:27:42 +00:00
yamonenv get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
zlib zlib: replace -fPIC with $(FPIC) 2009-10-20 08:41:32 +00:00
Makefile fix opkg directory cleaning (#5646) 2009-10-06 04:50:53 +00:00