aboutsummaryrefslogtreecommitdiffstats
path: root/package/system
Commit message (Collapse)AuthorAgeFilesLines
* rpcd: iwinfo plugin fixesRafał Miłecki2016-09-291-2/+2
| | | | | | | | - Expose supported HT rate information in info call - Zero out ccode buffer when listing countries Signed-off-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* mtd: seama: exit with error if Seama header wasn't foundRafał Miłecki2016-06-191-1/+1
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r49314 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49315 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: seama: fix image data handlingRafał Miłecki2016-06-191-28/+18
| | | | | | | | | | | | | | | | 1) Put sanity checks in one place 2) Respect provided offset 3) Read only as much data as needed for MD5 calculation Thanks to the last change this is a great speedup and memory saver. On devices with NAND flash we were allocating & reading about 128 MiB while something about 8 MiB is enough. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r49309 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49313 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: seama: move buf allocation to the MD5 functionRafał Miłecki2016-06-191-16/+22
| | | | | | | | | | This buf is only used in this function now, so lets move it there. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r49308 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49312 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: seama: update MD5 using header in the first block bufferRafał Miłecki2016-06-191-4/+3
| | | | | | | | | | | This will allow separating first block buffer from a buffer used for MD5 calculation. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r49307 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49311 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: seama: add md5 to header structRafał Miłecki2016-06-192-12/+11
| | | | | | | | | | | This allows us to drop some extra offset calculations and simplifies code a bit. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r49306 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49310 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: check for Seama magic early when fixing MD5Rafał Miłecki2016-06-191-7/+21
| | | | | | | | | | | This avoid long (and unneeded) process of reading all data in case of running on MTD not containig Seama entity. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r49304 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: add missing breaks in a switchRafał Miłecki2016-06-191-0/+2
| | | | | | | | | | | On platforms supporting both: TRX and Seama calling "fixtrx" was resulting in trying to fix Seama as well. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r49301 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49303 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: use tabs for indentsRafał Miłecki2016-06-191-7/+7
| | | | | | | | | | This makes code style consistent across the whole file. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r49300 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49302 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: ubox: turn logd into a separate packageLuka Perkov2016-06-191-3/+17
| | | | | | | | | Currently system log is always included as a part of ubox. Add logd as a seperate package and add it to default packages list. Signed-off-by: Andrej Vlasic <andrej.vlasic@sartura.hr> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49294 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: enable "fixseama" on bcm53xxRafał Miłecki2016-04-151-1/+1
| | | | | | | | | | There are D-Link bcm53xx devices using Seama format. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r48521 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49169 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rpcd: update to latest versionLuka Perkov2016-04-131-4/+4
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49163 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: procd: align early init PATH with rest of OpenWrtJo-Philipp Wich2016-01-142-2/+34
| | | | | | | | Backport upstream Git commit 45cb04fd85d788a37367a5385e5e90dd98a0a991 to CC. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48236 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: fix off-by-one error in the version numberFelix Fietkau2016-01-101-1/+1
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r48193 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48194 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: sync with trunk r48191Felix Fietkau2016-01-101-4/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48192 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: rework makefile, split ujail/seccompJohn Crispin2015-11-231-26/+26
| | | | | | | | | | | ujail doesn't depend on seccomp and some archs dont support seccomp Backport of r46936 needed since last procd update (r47268) Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47606 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: ubox: update ubox to version 2015-11-22Hauke Mehrtens2015-11-221-3/+2
| | | | | | | | | | | | Backport of r47600 This version fixes a potential uncontrolled format string problem. This makes it possible to activate the format security check. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47602 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: mountd: update mountd to version 2015-11-22Hauke Mehrtens2015-11-221-3/+2
| | | | | | | | | | | | Backport of r47599 This version fixes a potential uncontrolled format string problem. This makes it possible to activate the format security check. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47601 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest gitJohn Crispin2015-10-261-2/+2
| | | | | | | | | | this unbreaks glibc builds Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47266 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47268 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: backport 'opkg list --size' optionJohn Crispin2015-10-152-2/+76
| | | | | | | | | | | | | Backport from trunk to CC15.05 the --size option to optionally show also the *.ipk size in the opkg package listing. * Default behaviour is to list the available packages as earlier: "name - version - description" * with "--size" the output of is "name - version - size - description". Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47196 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rpcd: update to latest git HEADJohn Crispin2015-10-021-2/+3
| | | | | | | | | | Provides ubus calls for sysupgrade and password changing. Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47075 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47085 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uci: update to the latest version, adds various fixesJohn Crispin2015-10-021-2/+2
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r46738 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47084 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: update to latest git revisionJohn Crispin2015-10-021-2/+2
| | | | | | | | | | jffs2reset was following symlinks making it delete mounts for example. Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46960 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47083 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mountd: move code to a git repoJohn Crispin2015-10-028-190/+14
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46935 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47082 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git revisionFelix Fietkau2015-09-171-2/+2
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46962 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46996 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: opkg: ensure image provided feeds are available after sysupgradeJonas Gorski2015-09-113-4/+21
| | | | | | | | | | | | | | | | | | | | | | | Split the opkg.conf into three files, to make it easier to support custom feeds and configs: * /etc/opkg.conf -> base opkg configuration * /etc/opkg/distfeeds.conf -> default Openwrt package feeds * /etc/opkg/customfeeds.conf -> custom package feeds Of these three, only the base opkg.conf and the customfeeds.conf is marked as to be kept, so that the distfeeds.conf from the image is always used. To ease migration, a script is added that moves any feeds from /etc/opkg.conf to /etc/opkg/customfeeds.conf on first boot. Also ensure that any keys used for verification are also kept in upgrade. Backport of r46491. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46848 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add support for the Linksys boot counter (backport of r46690)Imre Kaloz2015-08-195-1/+129
| | | | | | | | | | | | | | | The u-boot boot counter was never reset after a successful boot, which sometimes could make some variables become out of sync. This patch adds support for the boot counter and enables auto_recovery unconditionally. Signed-off-by: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46691 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix seccomp build on some architecturesHauke Mehrtens2015-08-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Backport of r46612. fix generating syscall-names.h Sometimes the syscall number is not defined with a number but with an offset to an other syscall and then make_syscall_h.sh created some broken header file. For example the bit/syscall.h from musl for i386 has this: #define __NR_timer_create 259 #define __NR_timer_settime (__NR_timer_create+1) With this patch the resulting array looks like this: [259] = "timer_create", [(__NR_timer_create+1)] = "timer_settime", This closes #20195. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46679 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to the latest version, add "button" hotplug handlerRafał Miłecki2015-08-101-2/+2
| | | | | | | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> In 15.05-rc2 we got support for "set-interval" and "clear-interval" which got dropped with the update of procd done in r46257. This new "button" action provides similar functionality so it makes sense to backport it to 15.05. Backport of r46578 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46579 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: procd: update to latest git HEADJo-Philipp Wich2015-07-271-2/+2
| | | | | | | | | | fixes http://patchwork.ozlabs.org/patch/497899/ Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46465 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46509 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git HEADRafał Miłecki2015-07-141-2/+2
| | | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> This adds support for filtering messages Backport of r46356 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46365 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to the latest version, fix stdout loggingRafał Miłecki2015-07-081-2/+3
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46212 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46257 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to the latest version, fixes umask handling for creating /dev/shmFelix Fietkau2015-06-181-2/+2
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r46023 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46028 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to the latest version, fixes /dev/shm permissionsFelix Fietkau2015-06-171-2/+2
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r46013 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46014 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: fix duplicate check_signature line for smime variant (#19863)Felix Fietkau2015-06-161-3/+3
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r45999 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46000 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to the latest version, adds a few fixesFelix Fietkau2015-06-141-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45972 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: correct the order of respawn params in the comments.Felix Fietkau2015-06-141-1/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45955 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: Fix --force-checksum when using SHA256John Crispin2015-06-051-0/+31
| | | | | | | | | | Allow installing packages with mismatching SHA256 checksums via $ opkg install --force-checksum $PACKAGE Signed-off-by: Florian Fieber <florian@florianfieber.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45904 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: add missing <endian.h> includeFelix Fietkau2015-06-051-0/+1
| | | | | | | | | | | | | | trx.c in mtd would not include endian.h, so on systems that do not have this header implicitly included from the other headers (like musl), both __BYTE_ORDER and __BIG_ENDIAN would be undefined and thus 0, leading to it always presuming a big-endian system. this would lead to issues when running mtd fixtrx on little-endian systems, as it would never recognize the TRX magic as result of the broken STORE32_LE() macro. Signed-off-by: Shiz <hi@shiz.me> Tested-by: Shiz <hi@shiz.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45896 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: work around a event raceJohn Crispin2015-06-032-4/+2
| | | | | | | | | | there is a conceptual design flaw in our interface events. workaround this by disabling duplicate message supression in procd. we need to fix this properly for the next release Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45883 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: add a 10 second delay to the interface triggersJohn Crispin2015-06-021-0/+1
| | | | | | | | | this is an ugly hack that will be removed when the netifd maintainers have time to look at the problem. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45876 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ca-certificates: update to version 20150426John Crispin2015-05-311-4/+4
| | | | | | | | update to version 20150426 Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45858 3c298f89-4303-0410-b956-a3cf2f4a3e73
* feeds: use common macro "FeedSourcesAppend" to populate opkg configurationsJo-Philipp Wich2015-05-281-12/+1
| | | | | | | | | This introduces a common macro to assemble the correct url templates to avoid code duplication and have the feed config handling in a central place. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45799 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: update to the latest version, makes filesystem initialization state ↵Felix Fietkau2015-05-251-2/+2
| | | | | | | | tracking more reliable (#19564) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45751 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubus: update to the latest version, switch to git.openwrt.org, fixes a lua ↵Felix Fietkau2015-05-251-3/+3
| | | | | | | | binding memory leak Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45750 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: various logd cleanupsJohn Crispin2015-05-231-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45721 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: make the jail code also work on armJohn Crispin2015-05-231-4/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45719 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rpcd: unload package after uci revertsJo-Philipp Wich2015-05-171-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45695 3c298f89-4303-0410-b956-a3cf2f4a3e73
* usign: update to the latest version, use libubox base64 codeFelix Fietkau2015-05-081-2/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45642 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix uid/gid changing for service instancesJo-Philipp Wich2015-05-051-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45611 3c298f89-4303-0410-b956-a3cf2f4a3e73