aboutsummaryrefslogtreecommitdiffstats
path: root/package/system
Commit message (Collapse)AuthorAgeFilesLines
* opkg: Extend 'opkg list' command to optionally display package sizeJohn Crispin2015-09-162-1/+75
| | | | | | | | | | | | | | | | 'opkg list' command only displays the available packages' name, version and description. It would be useful to also see the approximate size of the available package. This patch extends "opkg list" command with "--size" to optionally show also the *.ipk size. * 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/trunk@46980 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git revisionJohn Crispin2015-09-161-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46962 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: update to latest git revisionJohn Crispin2015-09-161-2/+2
| | | | | | | | jffs2reset was following symlinks making it delete mounts for example. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46960 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git revisionJohn Crispin2015-09-151-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46938 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: rework makefile, split ujail/seccompJohn Crispin2015-09-151-25/+25
| | | | | | | | | this need to be applied after my work on ujail (procd git) ujail doesn't depend on seccomp and some archs dont support seccomp Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46936 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mountd: move code to a git repoJohn Crispin2015-09-148-190/+14
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46935 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: expose lists_dir option as command line argumentJo-Philipp Wich2015-09-142-3/+43
| | | | | | | | | | | | Expose the "lists_dir" configuration file option as command line switch so that we can override it for the Image Builder environment. Also add a more standard PKG_MAINTAINER variable while touching the Makefile. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: work around unconditional libopenssl build dependencyFelix Fietkau2015-09-111-1/+1
| | | | | | | | | | | As the OpenWrt build system only resolves build dependencies per directory, all opkg variants were causing libopenssl to be downloaded and built, not only opkg-smime. Fix this by applying the same workaround as in ustream-ssl. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uci: update to the latest version, adds various fixesFelix Fietkau2015-08-271-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46738 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add support for the Linksys boot counterImre 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/trunk@46690 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix seccomp build on some architecturesHauke Mehrtens2015-08-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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/trunk@46612 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: switch buttons to the new "button" hotplug handlerRafał Miłecki2015-08-101-1/+1
| | | | | | | | | This allows requesting "timeout" ACTION in script by returning a positive value. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46580 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46578 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: ensure image provided feeds are available after sysupgradeJonas Gorski2015-07-253-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. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46491 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git HEADJohn Crispin2015-07-241-2/+2
| | | | | | | | fixes http://patchwork.ozlabs.org/patch/497899/ Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46465 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rpcd: update to the latest versionLuka Perkov2015-07-151-2/+2
| | | | | | | | | This update adds a couple of file plugin enhancements, such as base64 support and setting mode when files are written. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46384 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git HEADJohn Crispin2015-07-141-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: fstab.init fix spellingJohn Crispin2015-07-081-2/+2
| | | | | | | | fix a very minor typo in warning message Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46273 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubus: bump to latest git HEADJohn Crispin2015-07-071-2/+2
| | | | | | | | fixes a bug where gid was checked twice instead of the uid/gid combo Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46246 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to the latest version, fix stdout loggingRafał Miłecki2015-07-071-2/+3
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46212 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubus: update to the latest version, fixes a segfault on message retryFelix Fietkau2015-07-061-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46199 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubus: update to latest git HEADJohn Crispin2015-06-181-3/+3
| | | | | | | | this adds ACL support Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46040 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46023 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46013 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45999 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
* Removed reference to imaginary procd_add_interface_reload in procd.shJohn Crispin2015-04-181-1/+0
| | | | | | | | | The last line of procd.sh has a reference to procd_add_interface_reload. procd_add_interface_reload doesn't seem to exist. I've removed the reference of it to minimize confusion. Signed-off-by: Eric Schultz <eschultz@prplfoundation.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45487 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: fix md5 related #ifdef (thx, swalker)Felix Fietkau2015-04-141-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45447 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rpcd: update to latest git HEADJohn Crispin2015-04-141-2/+2
| | | | | | | | adds support for reading md5 sums of files Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45442 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: update to latest git HEADJohn Crispin2015-04-141-2/+2
| | | | | | | | fixes issues with semi-initialized overlay partitions during firstboot Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45440 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: drop md5 in favour of sha256John Crispin2015-04-143-1/+976
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45437 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: reject relative mount pointsJo-Philipp Wich2015-04-121-2/+2
| | | | | | | | | | To prevent future confusion around '/overlay' vs. 'overlay' simply reject relative path specifications as mount points since such paths result in undefined behaviour anyway. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45404 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix compile error on x86_64John Crispin2015-04-101-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45344 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: update to latest git HEADJohn Crispin2015-04-101-2/+2
| | | | | | | | this fixes extroot on mvebu Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45341 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uci: update to the latest version, fixes a regression in handling ↵Felix Fietkau2015-04-091-2/+2
| | | | | | | | empty/comment lines in uci batch Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: add helper for starting NAND sysupgradeJohn Crispin2015-04-091-0/+9
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45339 3c298f89-4303-0410-b956-a3cf2f4a3e73