Community maintained packages for difos.
Find a file
Jo-Philipp Wich 13075d4d51 cgi-io: add download operation
Add a new `cgi-download` applet which allows to retrieve the contents
of regular files or block devices.

In order to initiate a transfer, a POST request in x-www-form-urlencoded
format must be sent to the applet, with one field "sessionid" holding
the login session and another field "path" containing the file path to
download.

Further optional fields are "filename" which - if present - will cause
the download applet to set a Content-Dispostition header and "mimetype"
which allows to let the applet respond with a specific type instead of
the default "application/octet-stream".

Below is an example for the required acl rules to grant download access
to files or block devices:

    ubus call session grant '{
        "ubus_rpc_session": "...",
        "scope": "cgi-io",
        "objects": [
            [ "download", "read" ]
        ]
    }'

    ubus call session grant '{
        "ubus_rpc_session": "...",
        "scope": "file",
        "objects": [
            [ "/etc/config/*", "read" ],
            [ "/dev/mtdblock*", "read" ]
        ]
    }'

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit ab2a2b080d)
2019-10-11 14:33:23 +02:00
.circleci circleci: provide prereq output in the build log 2019-08-15 02:31:01 +08:00
.github github: adapt templates 2018-01-27 11:24:43 +08:00
.keys build: move gpg keys into .keys directory 2018-04-30 13:14:25 -07:00
admin netdata: Update to version 1.17.1 2019-09-28 11:39:48 +02:00
devel treewide: add PKG_CPE_ID for better cvescanner coverage 2019-09-26 19:36:27 -07:00
fonts/dejavu-fonts-ttf [dejavu-fonts] add license info and myself as maintainer 2017-02-22 18:39:54 +01:00
ipv6/tayga treewide: run "make check FIXUP=1" 2017-08-29 21:41:14 -07:00
kernel exfat-nofuse: drop BUILD_PATENTED 2019-09-02 01:49:53 +00:00
lang Merge pull request #10183 from jefferyto/python-attrs-19.2.0-openwrt-19.07 2019-10-09 12:50:28 -07:00
libs icu: update to 65.1 2019-10-08 14:54:56 -07:00
mail treewide: add PKG_CPE_ID for better cvescanner coverage 2019-09-26 19:36:27 -07:00
multimedia youtube-dl: Update to version 2019.9.28 2019-09-29 20:42:42 +02:00
net cgi-io: add download operation 2019-10-11 14:33:23 +02:00
sound mpd: Add SoundCloud support for full variant 2019-09-27 12:56:20 -07:00
utils nano: update to 4.5 2019-10-07 18:20:40 +03:00
.travis.yml travis: don't need git cloning progress 2018-07-03 10:31:44 +08:00
.travis_do.sh travis: fail on bad hash message 2018-07-17 20:35:00 +08:00
CONTRIBUTING.md CONTRIBUTING.md: update Identifier for Licenses 2019-04-18 12:07:48 +02:00
LICENSE Add GPLv2 pro-forma license 2014-06-16 08:14:04 +02:00
README.md README.md - update links to current docs pages 2018-08-31 15:08:17 -04:00

OpenWrt packages feed

Description

This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.

Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.

Usage

This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot Installation on the OpenWrt support site.

This feed is enabled by default. To install all its package definitions, run:

./scripts/feeds update packages
./scripts/feeds install -a -p packages

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.