Commit Graph

45 Commits

Author SHA1 Message Date
Eric Fahlgren 9f5df55156 luci-layer2: create a minimal collection for layer-2 devices
The current luci-light collection includes many router (layer-3)
specific package dependencies that are inappropriate for inclusion on
switches and APs.  Let's create an even lighter top-level package to
accommodate those devices as they rapidly are becoming more popular.

Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
2026-03-04 20:34:46 +01:00
Hauke Mehrtens a0bad5ea0a luci-app-attendedsysupgrade: activate in buildbot
Instead of making the main LuCI packages depend on
luci-app-attendedsysupgrade, only activate it by default when BUILDBOT
is seletced.

This way it is not selected by default in custom builds, but it will be
automatically selected in builds with CONFIG_BUILDBOT set. Even when
CONFIG_BUILDBOT is set it is possible to deactivate it.

This still depends on LuCI, it will only be activated in OpenWrt release
builds which are build with LuCI and not in OpenWrt main branch builds.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-02-08 22:41:34 +01:00
Paul Donald cc6fd25150 luci-app-dockerman: drop Lua
follow-up to JS conversion

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-02-04 06:47:07 +01:00
Hauke Mehrtens dcf699c569 collections: Add luci-app-attendedsysupgrade as default
Add the luci-app-attendedsysupgrade package as default package when
luci-app-package-manager is already added.

This should spread the usage of ASU more in the next release.

This adds the following 3 packages to the default LuCi image:
5131 bin/packages/aarch64_cortex-a53/base/rpcd-mod-rpcsys-2025.11.07~91700007-r1.apk
8781 bin/packages/aarch64_cortex-a53/luci/luci-app-attendedsysupgrade-25.302.55139~cf868f4.apk
1322 bin/packages/aarch64_cortex-a53/packages/attendedsysupgrade-common-9.apk

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-11-09 09:23:40 +02:00
9Lukas5 5773ba909e collections/luci-nginx: reorganizes dependencies into sorted single lines
Signed-off-by: 9Lukas5 <lukas.wiest@infinite-tech.solutions>
2025-10-26 19:34:33 +02:00
Robert Marko 9e70c9aed8 collections: select package manager for SSL collections
Currently, the regular and nginx collections include package manager
by default but SSL collections dont, so lets include package manager on
SSL collections as well.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-11-23 13:06:31 +01:00
hnyyghk 0535c07460 luci-nginx: rename luci-app-opkg to luci-app-package-manager
Rename luci-app-opkg to luci-app-package-manager.

Signed-off-by: hnyyghk <i@5icodes.com>
2024-10-24 15:08:00 +02:00
Christian Marangi bcd13b918e luci-app-package-manager: rename from luci-app-opkg and add APK support
Rename luci-app-opkg to luci-app-package-manager and add APK support to
it.

The idea is to adapt APK to mimic OPKG output to require minimal changes
to the luci app.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-10-24 00:05:19 +02:00
Jo-Philipp Wich 218bdbb89c collections: drop luci-ssl-nginx
Since upstream commit
https://github.com/openwrt/packages/commit/f5d7a26531aa0e6fdade9836dfef3450fb007b01
it is not possible to ship non-ssl nginx flavors anymore.

Drop the luci-ssl-nginx collection, retain just luci-nginx and let it provide
a virtual luci-ssl-nginx package for backwards compatibility.

Fixes: #7024
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-04-20 23:36:28 +02:00
Florian Eckert 320744fdf5 luci-ssl-openssl: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:41:25 +01:00
Paul Donald 4ade6bd04c Merge pull request #5520 from acooler15/luci-lib-docker
luci-lib-docker: fix chunked decode
2023-12-04 02:38:32 +01:00
Paul Spooren a505bb1067 luci: remove installation of attendedsysupgrade
The package is only useful when running an official build. The
ImageBuilders used for this service can not contain any special compiler
flags etc. used by custom builds.

Instead of installing the package whenever `luci` is installed, it
should be installed via the buildbots itself, like it's currently done
for `luci`.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2023-02-20 19:26:50 +01:00
Hannu Nyman 7550ad69af luci-ssl: switch to mbedtls
OpenWrt has switched the default SSL library to be mbedtls instead
of WolfSSL. To avoid the need of installing both SSL libraries,
switch luci-ssl to use the mbedtls variant of libustream and px5g.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2023-02-04 09:14:43 +02:00
Andre Heider 34dee82f29 luci-light: rework and reenable
The `luci` collection contains package management and attended
sysupgrades support, which are not that useful if not even undesired for
self-compiled images.

Rework the `luci-light` collection to exclude the two above mentioned
features, and make `luci` instead depend on the light collection in
additon to those features.

The `luci-ssl` and `luci-ssl-openssl` collections then only need
to depend on `luci-light`.

We now have three variants with won't pull in `luci-app-opkg` or
`luci-app-attendedsysupgrade`, making everybody happy.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-01-24 10:14:04 +01:00
Jo-Philipp Wich 32603718e8 luci-ssl-nginx: drop libiwinfo-lua dependency
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-26 23:41:33 +02:00
Jo-Philipp Wich 67e4e43090 luci-nginx: drop libiwinfo-lua dependency
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-26 23:41:21 +02:00
Jo-Philipp Wich 0143ef24d4 luci: drop dependency on libiwinfo-lua
None of the components pulled in by the standard luci collection require
server side Lua processing anymore, so we're free to drop the explicit
dependency on the libiwinfo Lua binding.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
Paul Spooren 5bbea49559 luci: add luci-app-attendedsysupgrade by default
The attendedsysupgrade makes it trivial to upgrade to newer releases by
requesting custom firmware images from an API.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2022-10-18 12:06:46 +02:00
Paul Spooren fc313a59db luci: sort dependencies alphabetically with newline
Improve readability and group related packages together.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2022-10-18 12:06:46 +02:00
lisaac 54a55e8371 luci-lib-docker: fix chunked decode
Signed-off-by: Ren Zongjia <acooler15@foxmail.com>
2021-11-16 16:20:08 +08:00
Yu Hua fe795d5278 luci-lib-docker: add container export support
commit from https://github.com/lisaac/luci-lib-docker

Signed-off-by: Yu Hua <hue715@gmail.com>
2021-06-15 22:29:24 +08:00
Paul Spooren e10f9545c0 luci-ssl: switch to WolfSSL
OpenWrt installs WolfSSL per default to offer WPA3. To save some space
switch to a WolfSSL based px5g implementation for self-signed
certificate generation instead of a MbedTLS version.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-08-31 13:01:55 +03:00
Florian Eckert 141857a12a luci-lib-docker: add options argument to send_http_socket
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-29 09:30:04 +02:00
Florian Eckert a722abd279 luci-lib-docker: update conding style
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-28 14:16:30 +02:00
Florian Eckert 490596a623 Merge pull request #4073 from TDT-AG/pr/20200427-luci-app-dockerman
luci-app-dockerman: add package
2020-06-10 10:56:12 +02:00
Florian Eckert f3e1f44243 luci-lib-docker: initial checkin
Initial commit version v0.3.3 from https://github.com/lisaac/luci-lib-docker

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-06-10 08:44:58 +02:00
Hannu Nyman 219f0ce891 luci(-ssl)-nginx: depend on luci-app-opkg
Commit 391e82d6a3 in 2018 added luci-app-opkg dependency to
the 'luci' collection and its derivatives, but as nginx collections
do not depend on main 'luci', they did not get the intended change.

Fixes #4148

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-06-09 23:23:38 +03:00
Jo-Philipp Wich ead5e81c16 luci: depend on uhttpd-mod-ubus
Start requiring uhttpd-mod-ubus support to speedup RPC calls.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-15 00:31:38 +01:00
Jo-Philipp Wich b94be57aff Merge pull request #2285 from dengqf6/luci-ssl-nginx
luci-ssl-nginx: fix dependencies
2018-12-11 06:56:35 +01:00
Jo-Philipp Wich 391e82d6a3 luci-mod-system: replace builtin opkg support with luci-app-opkg
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14 20:46:04 +01:00
Deng Qingfang 355eff6bac luci-ssl-nginx: fix dependencies
Remove libustream-openssl because Nginx doesn't depend on it.

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
2018-11-14 23:52:53 +08:00
Jo-Philipp Wich 1602313f5c luci: do not depend on uhttpd-mod-ubus
We do not need this module at all, yet.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-22 18:17:58 +02:00
Ansuel Smith 639bbc1827 luci-nginx: fix nginx dependency
As nginx-ssl is now available, we fix luci-ssl-nginx package dep to use the right package. DRop luci-ssl-openssl-nginx as openssl is needed by nginx anyway.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-07-06 17:34:39 +02:00
Ansuel Smith 0a6ad23f2e luci-nginx: add nginx support file
This adds nginx-mod-luci as a dependency of this package.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-17 14:52:11 +02:00
Ansuel Smith 90bf08af82 luci-nginx: add nginx metapackages
Create a metapackage with nginx as default webserver instead of uhttpd

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-11 22:23:09 +02:00
Jo-Philipp Wich 650397a11f luci: depend on rpcd-mod-rrdns
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-11 14:05:31 +02:00
Florian Eckert 40aa47f10a luci-ssl: add license tag
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-06-13 13:40:35 +02:00
Quirin Hofstaetter 9b211f0053 luci: add license tag
Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
2017-06-13 13:40:33 +02:00
Hannu Nyman b6341bd197 luci-ssl-openssl: use OpenSSL for key generation, drop px5g
Replace a dependency for px5g with openssl-util. Both LEDE and
Openwrt have now uhttpd versions that can generate keys with
OpenSSL cmd tools if px5g is not found. This change enables an
"OpenSSL-only" version of LuCI without mbedTLS/PolarSSL.

(Note: if px5g is found, uhttpd will prefer that.)

Relevant commits in uhttpd:

LEDE:
https://github.com/lede-project/source/commit/3c4858eeb2bbb3107f87bb3be07d5c172c8e0ef9
https://github.com/lede-project/source/commit/82132540a3efbc98f8f4379b26d4b4541013e69d
https://github.com/lede-project/source/commit/9097dc5ad844c336020be11085e1c8c80390ac9c

Openwrt:
https://github.com/openwrt/openwrt/commit/6ec32832d25335355d205c4601d4a8ca5dfd6808

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-31 16:47:12 +02:00
Hannu Nyman cf5d266dff luci-ssl-openssl: update note about px5g's SSL library usage
px5g still requires libmbedtls (in LEDE) or libpolarssl (in Openwrt).

In LEDE it is also possible to replace px5g with openssl-util and
achieve "openssl-only" build without libmbedtls, as uhttpd can also
generate keys with openssl commandline tools if px5g is not present.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-09 17:54:05 +02:00
Jo-Philipp Wich 974194b440 luci-ssl: depend on mbedtTLS
LEDE uses mbedTLS as default SSL provider now and PolarSSL becomes EOL at the
end of 2016.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-12-22 16:48:37 +01:00
Hannu Nyman 67de9f4bca luci-ssl-openssl: Provide OpenSSL-based LuCI collection
Add a new OpenSSL-based collection that uses libustream-openssl
instead of the default libustream-polarssl.
(Note: px5g still needs libpolarssl, so both libs will be included)

Mention PolarSSL in the title of luci-ssl.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-10-03 21:09:08 +03:00
Jo-Philipp Wich a7083780de collections/luci: depend on luci-proto-ipv6 if IPV6 is enabled
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-05-06 16:00:33 +02:00
Christian Schoenebeck 42757cb549 Modified dependencies
Module luci-base
- libubus-lua not needed

Module luci-mod-admin
- libubus-lua needed

Collection luci
- luci-lib-nixio not needed, already in luci-base

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-01-10 22:33:43 +01:00
Jo-Philipp Wich 1bb4822dca Rework LuCI build system
* Rename subdirectories to their repective OpenWrt package names
 * Make each LuCI module its own standalone package
 * Deploy a shared luci.mk which is used by each module Makefile

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08 16:26:20 +01:00