[OpenWrt-Devel] [PATCH] packages: upgrade libconfig to 1.4.8
Signed-off-by: Michael Heimpold m...@heimpold.de --- Index: Makefile === --- Makefile(revision 30618) +++ Makefile(working copy) @@ -1,5 +1,5 @@ # -# Copyright (C) 2008-2011 OpenWrt.org +# Copyright (C) 2008-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libconfig -PKG_VERSION:=1.4.7 +PKG_VERSION:=1.4.8 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.hyperrealm.com/libconfig -PKG_MD5SUM:=d57da7a91aadbfd53afedb5c1bade5f4 +PKG_MD5SUM:=36788da452e9fcfc8efb7661ef5d31ef PKG_FIXUP:=libtool PKG_INSTALL:=1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] RFC: update oprofile to 0.9.7
While the toolchain churn was going on I took the opportunity to update oprofile. I didn't understand why x86 had been renamed so I didn't update that part of the patch. Tested somewhat on ag71xx, could use more testing on other arches regrettably as this contains a line longer than 998 characters I can't send it via email (why does this happen to me?) http://huchra.bufferbloat.net/~cero1/for_openwrt/0001-update-oprofile-to-0.9.7.patch -- Dave Täht SKYPE: davetaht US Tel: 1-239-829-5608 http://www.bufferbloat.net ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] MSS clamping in POSTROUTING instead of FORWARD?
Hello Is there a reason why the MSS clamping is done in FORWARD instead of POSTROUTING ? (it's the exemple in the manpage...) I'm asking this question for 2 reasons: -the traffic originating from the router (OUTPUT) is not treated -with the multiwan package (don't know if it's true with every multi wan implementation/technique), the output interface is not definitively set in the FORWARD chain, but it is in POSTROUTING, so if some wans have mss fix and some not, you may not treat the good packets Thanks for your help Etienne Champetier ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] MSS clamping in POSTROUTING instead of FORWARD?
On Saturday 18 Feb 2012 19:32:04 Etienne Champetier wrote: Hello Is there a reason why the MSS clamping is done in FORWARD instead of POSTROUTING ? (it's the exemple in the manpage...) you shouldn't /need/ to clamp the MSS of packets to and from the router unless you're breaking ICMP, in which case, stop breaking ICMP. - also, if I remember rightly, clamping to pmtu isn't possible from the POSTROUTING chain. The only real discrepancy is that TCPMSS should be used in the mangle table, not filter - but fortunately it doesn't usually break anything if you fail to adhere to this. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] upgrade libffi
libffi upgrade to version 3.0.10. Signed-off-by: Luka Perkov open...@lukaperkov.net --- Index: libs/libffi/Makefile === --- libs/libffi/Makefile(revision 30641) +++ libs/libffi/Makefile(working copy) @@ -1,5 +1,5 @@ # -# Copyright (C) 2009 OpenWrt.org +# Copyright (C) 2009-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libffi -PKG_VERSION:=3.0.9 +PKG_VERSION:=3.0.10 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=ftp://sourceware.org/pub/libffi/ -PKG_MD5SUM:=1f300a7a7f975d4046f51c3022fa5ff1 +PKG_MD5SUM:=79390673f5d07a8fb342bc09b5055b6f PKG_FIXUP:=libtool PKG_INSTALL:=1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] upgrade coreutils
coreutils upgrade to version 8.15 and refresh COREUTILS_APPLETS list. I would also like to maintain this package. Signed-off-by: Luka Perkov open...@lukaperkov.net --- Index: utils/coreutils/patches/001-no_docs_man_tests.patch === --- utils/coreutils/patches/001-no_docs_man_tests.patch (revision 30641) +++ utils/coreutils/patches/001-no_docs_man_tests.patch (working copy) @@ -11,7 +11,7 @@ ChangeLog-2005 \ --- a/Makefile.in +++ b/Makefile.in -@@ -1238,7 +1238,7 @@ top_srcdir = @top_srcdir@ +@@ -1490,7 +1490,7 @@ top_srcdir = @top_srcdir@ # Some tests always need root privileges, others need them only sometimes. ALL_RECURSIVE_TARGETS = install-root check-root distcheck-hook Index: utils/coreutils/Makefile === --- utils/coreutils/Makefile(revision 30641) +++ utils/coreutils/Makefile(working copy) @@ -1,5 +1,5 @@ # -# Copyright (C) 2008-2010 OpenWrt.org +# Copyright (C) 2008-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,26 +8,26 @@ include $(TOPDIR)/rules.mk PKG_NAME:=coreutils -PKG_VERSION:=8.8 +PKG_VERSION:=8.15 PKG_RELEASE:=1 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@GNU/coreutils -PKG_MD5SUM:=bad596d9654e299eedea0eaf93f178fa -PKG_BUILD_DEPENDS:=libpthread +PKG_MD5SUM:=094909fafa86110140b32e4948941545 include $(INCLUDE_DIR)/package.mk COREUTILS_APPLETS:=\ base64 basename cat chcon chgrp chmod chown chroot cksum comm cp \ csplit cut date dd dir dircolors dirname du echo env expand expr \ - factor false fmt fold groups head hostid id install join kill link \ - ln logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup nproc \ - od paste pathchk pinky pr printenv printf ptx pwd readlink rm rmdir \ - runcon seq sha1sum sha224sum sha256sum sha384sum sha512sum shred shuf \ - sleep sort split stat stdbuf stty su sum sync tac tail tee test timeout \ - touch tr true truncate tsort tty uname unexpand uniq unlink uptime users \ - vdir wc who whoami yes + factor false fmt fold getlimits ginstall groups head hostid id \ + join kill link ln logname ls md5sum mkdir mkfifo mknod mktemp mv \ + nice nl nohup nproc od paste pathchk pinky pr printenv printf \ + ptx pwd readlink realpath rm rmdir runcon seq setuidgid sha1sum \ + sha224sum sha256sum sha384sum sha512sum shred shuf sleep sort \ + split stat stdbuf stty su sum sync tac tail tee test timeout \ + touch tr true truncate tsort tty uname unexpand uniq unlink \ + uptime users vdir wc who whoami yes define Package/coreutils/Default SECTION:=utils @@ -43,7 +43,7 @@ endef define Package/coreutils/description - Full versions of standard GNU utilities. Normally, you would not + Full versions of standard GNU utilities. Normally, you would not use this package, since the functionality in BusyBox is more than sufficient and much smaller. endef @@ -56,7 +56,7 @@ endef define Package/$(1)/description - Full version of standard GNU $(2) utility. Normally, you would not + Full version of standard GNU $(2) utility. Normally, you would not use this package, since the functionality in BusyBox is more than sufficient. endef @@ -75,7 +75,11 @@ endif CONFIGURE_ARGS += \ - --enable-install-program=su + --disable-threads \ + --disable-rpath \ + --disable-nls \ + --without-selinux \ + --without-gmp define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ @@ -84,14 +88,10 @@ all install install-root endef -define Package/coreutils/install - true -endef - define BuildPlugin define Package/$(1)/install $(INSTALL_DIR) $$(1)/usr/bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(2) $$(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(2) $$(1)/usr/bin endef $$(eval $$(call BuildPackage,$(1))) ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] Canonicalizing UCI files
As sysupgrade doesn't run on x86 and likely won't for a while (if ever) I've had to work around this by taking the contents of files in /overlay/ and diffing them against the same files rooted in /rom/... then hand-editing these into batches of new /etc/uci-default scripts to reapply those changes every time I install and boot a new image onto a semi-production box for testing and dogfooding. The problem is that most of the files 'diff' at or near 100% for a variety of reasons: (1) lines get reordered; (2) comments get stripped; (3) UCI canonicalizes output; For instance: # diff -u /rom/etc/config/luci /overlay/etc/config/ --- /rom/etc/config/luci2009-09-10 02:05:56.0 -0600 +++ /overlay/etc/config//luci 2011-09-08 09:44:09.0 -0600 @@ -1,24 +1,28 @@ -config core main - option lang auto - option mediaurlbase /luci-static/openwrt.org - option resourcebase /luci-static/resources - -config extern flash_keep - option uci /etc/config/ - option dropbear /etc/dropbear/ - option openvpn /etc/openvpn/ - option passwd /etc/passwd - option opkg /etc/opkg.conf - option firewall /etc/firewall.user - option uploads /lib/uci/upload/ - -config internal languages - -config internal sauth - option sessionpath /tmp/luci-sessions - option sessiontime 3600 - -config internal ccache - option enable 1 - -config internal themes + +config 'core' 'main' + option 'lang' 'auto' + option 'mediaurlbase' '/luci-static/openwrt.org' + option 'resourcebase' '/luci-static/resources' + +config 'extern' 'flash_keep' + option 'uci' '/etc/config/' + option 'dropbear' '/etc/dropbear/' + option 'openvpn' '/etc/openvpn/' + option 'passwd' '/etc/passwd' + option 'opkg' '/etc/opkg.conf' + option 'firewall' '/etc/firewall.user' + option 'uploads' '/lib/uci/upload/' + +config 'internal' 'languages' + option 'en' 'English' + +config 'internal' 'sauth' + option 'sessionpath' '/tmp/luci-sessions' + option 'sessiontime' '3600' + +config 'internal' 'ccache' + option 'enable' '1' + +config 'internal' 'themes' + option 'OpenWrt' '/luci-static/openwrt.org' + As you can see, literally every line shows up as having changed. The first and second issues are only minor... But the canonicalization is the most problematic, taking: config internal languages and converting this to: config 'internal' 'languages' It seems that it would be trivial to only add quotes when they are required. For instance, tokens that are only letters, underscores, and digits (i.e. [a-zA-Z_0-9]*) don't need quoting. Also, the line: option sessionpath /tmp/luci-sessions gets rewritten as: option 'sessionpath' '/tmp/luci-sessions' Can we go with a single quoting style and stick with that and eradicate the other? Can we also order the source files' lines in the same order that they would be output so there's no reordering? Thanks, -Philip ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel