aboutsummaryrefslogtreecommitdiffstats
path: root/package/system
Commit message (Collapse)AuthorAgeFilesLines
* procd: fix command handling in procd_add_instance()Felix Fietkau2013-10-091-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38350 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: add support for SHA256 verificationSteven Barth2013-10-041-2/+2
| | | | | | | based on a patch by Evan Hunt <each@isc.org> Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38302 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add package signing infrastructureSteven Barth2013-10-022-2/+6
| | | | | | | | | | | | | Add package signing key and certificate configuration options to the "Image configuration" submenu. If enabled, the Packages.gz list will be signed as file Packages.sig. The passphrase for the signing key can be sourced from a file or entered by the user. The signing certificate is automatically added to the firmware image if opkg-smime is selected. Signed-off-by: Evan Hunt <each@isc.org> Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38284 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix incorrect use of sizeof() in vsnprintf()Jo-Philipp Wich2013-10-011-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38268 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git headJohn Crispin2013-09-301-2/+2
| | | | | | | | this fixes the syslog problem when using eglibc on x86. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38267 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rpcd: fix missing option removal when merging subsequent uci set callsJo-Philipp Wich2013-09-291-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38254 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubus: restrict unix domain socket permission to 0600 to disallow non-root ↵Jo-Philipp Wich2013-09-291-2/+2
| | | | | | connections git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38253 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: support alternative spellings for modinfo and rmmodJo-Philipp Wich2013-09-291-2/+2
| | | | | | | | After this change, "rmmod" and "modinfo" works even if the user gives the file name spelling instead of the kernel internal one, so that e.g. "rmmod nls_iso8859-1.ko" and "rmmod nls_iso8859_1" will both succeed. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38252 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uci: change uci_ptr checking order in uci_delete()Jo-Philipp Wich2013-09-291-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38251 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix kmod loading for modules with varying dashes & underscores in ↵Jo-Philipp Wich2013-09-281-2/+2
| | | | | | | | | | | | | | names (#14182, #14189) Instead of canonicalizing module names in the internal avl tree simpyl use a custom strcmp() variant for the avl tree key comparisation. The custom comperator simply treats dashes and underscores the same, so "nls_iso8859-15" is equal to "nls-iso8859-15". This allows us to simplify the code considerably and makes manual "modprobe" invocations more forgiving when looking up the given module name. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: add build variant with signature supportSteven Barth2013-09-263-14/+56
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38220 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] fix various init scriptsLuka Perkov2013-09-231-4/+3
| | | | | | | | | | | | Changes include: * removing unused variables * replacing spaces with tabs where appropriate * more consistency with variable declarations Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38142 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/mtd: enable seama fixup code for ar71xxGabor Juhos2013-09-191-1/+1
| | | | | | | | It will be used for the WD My Net N600. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38073 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: convert various packages to procd style init.d scriptsJohn Crispin2013-09-172-9/+7
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38023 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git headJohn Crispin2013-09-172-4/+20
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38022 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: make use of modprobeJohn Crispin2013-09-171-2/+5
| | | | | | | | | ubox now has modprobe support build and install the tool Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38019 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rpcd: update to git headJo-Philipp Wich2013-09-131-3/+4
| | | | | | | | | - recalculate session ACLs on reload - support negative access group expressions in /etc/config/rpcd - prevent destryoing the default session - use "ubus_rpc_session" attribute as session identifier to enforce JSON-RPC proxy security git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37961 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rpcd: update to git headJo-Philipp Wich2013-09-112-2/+17
| | | | | | | - introduces persistent null session to allow access to procedures without login - implements session.login procedure to support user logins via json-rpc git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37941 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest version, adds udevtrigger improvements by juhosgFelix Fietkau2013-09-101-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37925 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rpcd: update to git headJo-Philipp Wich2013-09-092-3/+11
| | | | | | | | | | - adds support for service triggering on config commit - adds uci transaction support - adds daemon reload support without loosing session data - exports headers for use by external plugins - drops LuCI2 in favor to an out of tree plugin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37921 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add rpcd - an extensible backend server for ubus-over-json-rpc operations, ↵Jo-Philipp Wich2013-09-022-0/+97
| | | | | | session and acl management. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37877 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to git headJo-Philipp Wich2013-08-161-2/+2
| | | | | | | - support mounting swap files from /etc/config/fstab - support mounting swap partitions by label git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37801 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to git headJo-Philipp Wich2013-08-161-2/+2
| | | | | | - adds support for generic mount options git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37800 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to git headJo-Philipp Wich2013-08-161-2/+2
| | | | | | | - terminates uloop after forking in service manager - redirects stdio to /dev/null for services executed from procd git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37799 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to git headJo-Philipp Wich2013-08-151-2/+2
| | | | | | | - terminates uloop after forking in hotplug handler - redirects stdio to /dev/null for processes executed from hotplug git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37792 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubus: update to latest version, fixes a bug in reconnect after ubusd diesFelix Fietkau2013-08-081-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37740 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubus: fix typoFelix Fietkau2013-08-051-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37701 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubus: change section/category to base, libsFelix Fietkau2013-08-051-12/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37700 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubus: update to latest versionFelix Fietkau2013-08-041-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37671 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to git headJo-Philipp Wich2013-07-311-2/+2
| | | | | | - fixes extroot tag file corruption with long uuids git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37623 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to git headJo-Philipp Wich2013-07-261-2/+2
| | | | | | | | - discard vfat labels with only spaces - support using swap files - support extroot when required kmods and block-mount are installed on jffs2 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37551 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to git headJo-Philipp Wich2013-07-241-2/+2
| | | | | | | - use dynamically sized buffer, fixes label extraction on vfat partitions with huge cluster size - strip trailing spaces from vfat labels, aligns behaviour with "blkid" git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37529 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to git headJo-Philipp Wich2013-07-241-2/+2
| | | | | | - fixes vfat partition detection on big endian systems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37522 3c298f89-4303-0410-b956-a3cf2f4a3e73
* update ubox and procd to latest git revisionJohn Crispin2013-07-232-4/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37516 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: ensure the log_proto has udp default value in log.initJo-Philipp Wich2013-07-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37508 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git headJohn Crispin2013-07-223-91/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix stack overflow in squashfs uuid codeJohn Crispin2013-07-221-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: default to udp log protocol to keep backwards compat with busyboxJo-Philipp Wich2013-07-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37496 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: improve early console handlingGabor Juhos2013-07-193-1/+90
| | | | | | | | | | | | | The malta target is broken since procd is used as init. The initramfs image boots fine, however the console is not working. Improve the early console handling to fix the problem. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to git head, fixes multiple null pointer dereferences and adds ↵Jo-Philipp Wich2013-07-191-2/+2
| | | | | | support for mounting lvm and raid devices git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37444 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: make old button hotplug rules work until all packages are migratedJohn Crispin2013-07-151-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37336 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix compile error (#13877)Felix Fietkau2013-07-151-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37330 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git revisionJohn Crispin2013-07-141-2/+2
| | | | | | | | * improves logread over net code Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37313 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git revisonJohn Crispin2013-07-141-3/+3
| | | | | | | | this fixes a stack corruption in kmodloader. lsmod should be fixed now Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37312 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/base-files: clean up old code related to refreshing mtd partitions, ↵Felix Fietkau2013-07-141-38/+0
| | | | | | | | it is no longer used anywhere Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git revisionJohn Crispin2013-07-111-1/+1
| | | | | | | | this fixes a regression in the watchdog init code Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37259 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: make the log port default to 514 if none is specifiedJohn Crispin2013-07-111-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37257 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git versionJohn Crispin2013-07-111-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37250 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: add proto and trigger support to the /etc/init.d/logJohn Crispin2013-07-111-1/+8
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37249 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: add a small script that handles config reloads until configd is readyJohn Crispin2013-07-113-0/+12
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37248 3c298f89-4303-0410-b956-a3cf2f4a3e73