Index: /debwrt/trunk/openwrt/patches/001_disable_all_openwrt_packages
===================================================================
--- /debwrt/trunk/openwrt/patches/001_disable_all_openwrt_packages	(revision 218)
+++ /debwrt/trunk/openwrt/patches/001_disable_all_openwrt_packages	(revision 219)
@@ -1,5 +1,5 @@
 --- include/toplevel.mk.org	2010-01-02 00:28:44.000000000 +0100
 +++ include/toplevel.mk	2010-01-02 00:14:07.000000000 +0100
-@@ -49,6 +49,11 @@
+@@ -49,6 +49,12 @@
  		f=tmp/.$${type}info; t=tmp/.config-$${type}.in; \
  		[ "$$t" -nt "$$f" ] || ./scripts/metadata.pl $${type}_config "$$f" > "$$t" || { rm -f "$$t"; echo "Failed to build $$t"; false; break; }; \
@@ -8,7 +8,14 @@
 +	#         all. This allows us to have fine control over which packages we
 +	#         want to build.
-+	sed 's/default [ynm]/default n/g' tmp/.config-package.in > tmp/.config-package.in.new
++	sed --file=./scripts/debwrt_disables_packages.sed \
++		tmp/.config-package.in > tmp/.config-package.in.new
 +	mv tmp/.config-package.in.new tmp/.config-package.in
  	./scripts/metadata.pl package_mk tmp/.packageinfo > tmp/.packagedeps || { rm -f tmp/.packagedeps; false; }
  	touch $(TOPDIR)/tmp/.build
  
+--- /dev/null
++++ ./scripts/debwrt_disables_packages.sed     generated
+@@ -0,0 +1,3 @@
++#
++s/default [ynm]/default n/g ;
++#
