Commit Graph

48 Commits

Author SHA1 Message Date
Matthias Schiffer 8b65619f59
lua-simple-uci: delete option when using Cursor:set() with nil value
Setting the section type when using set() with only two arguments is a very
confusing behaviour. section() can be used without a value table for the
same result.

Deleting the option instead will make set() and get() symmetric and will
allow to simplify some code that needed to check for nil to call set() or
delete() before.
2017-08-08 04:31:26 +02:00
Matthias Schiffer c9fa162ebb
lua-simple-uci: remove support for obsolete alternative boolean strings 2017-08-08 04:30:04 +02:00
Matthias Schiffer cef5afaac4
libplatforminfo: increment PKG_VERSION 2017-02-12 06:05:19 +01:00
Matthias Schiffer ee064ae430
libplatforminfo: unify target implementations
Don't require a file for each subtarget, fall back to default.c.
2017-02-12 06:01:26 +01:00
Matthias Schiffer 036ad3e51e
libplatforminfo: x86: use /tmp/sysinfo/model for platforminfo_get_model()
x86 has a proper model definition now that is more useful than the CPU
type.
2017-02-12 05:45:53 +01:00
Matthias Schiffer 8e4d1a3095
libplatforminfo: x86: remove outdated subtargets, simplify image name code 2017-02-12 05:44:21 +01:00
Matthias Schiffer f2885547ff
libplatforminfo: make sanitize_image_name() fail gracefully
Some targets may not always have a /tmp/sysinfo/model, don't crash in this
case.
2017-02-12 05:36:08 +01:00
Steffen Förster 03f06248c9 libplatforminfo: add target ramips_mt7628 (#159)
This enables the inclusion of the vocore2 into gluon.
2017-02-09 02:02:59 +01:00
Matthias Schiffer 138ddeedf3 lua-simple-uci: new package providing wrapper around uci providing useful functions
- set allows boolean values
- delete_all
- section
- tset
- get_bool
- get_list
- get_first
- set_list
2017-01-19 12:34:20 +01:00
Julian 738d8a2365 libplatforminfo: add target mvebu (#151) 2016-12-05 10:36:39 +01:00
Steffen Förster 078ba81ed2 libplatforminfo: add x86-geode platform (#148) 2016-11-29 18:48:11 +01:00
Matthias Schiffer 9311a0716e
libplatforminfo: mark as nonshared 2016-09-24 02:12:24 +02:00
Matthias Schiffer 390b221b51
libplatforminfo: add ramips-mt7621 support 2016-06-30 18:45:59 +02:00
Matthias Schiffer 0e391753d3
libplatforminfo: add target ar71xx-mikrotik
Based-on-patch-by: Tobias Hachmer <tobias@hachmer.de>
2016-06-22 23:10:54 +02:00
lemoer b41132b593 lua-hash: introduce a lua hashing library using libubox. 2016-04-16 18:22:03 +02:00
Matthias Schiffer fea8f67d5d lua-ethtool-stats: remove 2016-03-03 23:52:42 +01:00
Matthias Schiffer 651b11ac35 lua-deflate: remove 2016-03-03 23:52:34 +01:00
Matthias Schiffer 7e0976edae lua-platform-info: use libplatforminfo 2015-12-28 01:28:50 +01:00
Matthias Schiffer 358a087ea4 Add new package libplatforminfo 2015-12-28 01:28:50 +01:00
Michael Rüttgers 6ddb1d3c0a Add support for x86-xen_domu target
Keep subtargets near their targets
2015-09-14 09:13:52 +02:00
Matthias Schiffer 881036e1f2 lua-platform-info: add sunxi target 2015-07-16 22:23:49 +02:00
Matthias Schiffer 5f0c86212d lua-platform-info: brcm2708: add sysupgrade support 2015-07-15 22:03:56 +02:00
Matthias Schiffer 9d5b304e95 lua-platform-info: add support for brcm2708
Original patch by @MPW1412
2015-07-10 19:37:32 +02:00
Matthias Schiffer b06388df9a lua-platform-info: add support for x86-64 target 2015-07-08 22:04:14 +02:00
Matthias Schiffer 1b7dd58099 Add lua-deflate, a minimal deflate compression library for Lua 2015-04-23 02:35:26 +02:00
Matthias Schiffer 2d0f8b38db lua-platform-info: remove hypervisor-dependent image name logic 2015-03-16 00:50:52 +01:00
Matthias Schiffer d9b982d5df lua-platform-info: x86-generic: add image type detection 2015-03-15 19:39:35 +01:00
Matthias Schiffer f221d17e1c lua-platform-info: set image name for x86-kvm_guest target 2015-03-15 18:38:29 +01:00
Matthias Schiffer 661fe4e5b0 lua-platform-info: add support for ar71xx-nand target 2015-03-13 20:05:22 +01:00
Matthias Schiffer 34f0ac0bb2 lua-platform-info: add support for the x86-kvm_guest subtarget 2015-03-07 15:34:44 +01:00
Matthias Schiffer 230eebdf1c lua-platform-info: allow + in image names
Otherwise the UAP Outdoor+ can't be distinguished from the old UAP Outdoor.
2015-02-17 20:37:56 +01:00
Matthias Schiffer 29add3169b lua-platform-info: x86: return CPU model 2015-01-25 04:16:58 +01:00
Nils Schneider a1d8c7ea0f Merge branch 'for-2015.x' 2014-12-31 18:17:45 +01:00
Matthias Schiffer 78927d65a2 lua-platform-info: allow . character in image names
Additionally, multiple . will be collapsed to one, and combinations of - and .
with at least one - will be replaced by a single -
2014-11-26 21:32:38 +01:00
Nils Schneider f415accef7 lua-platform-info: add support for ramips-rt305x 2014-11-15 13:54:00 +01:00
Matthias Schiffer 2a1c9f11b4 lua-platform-info: add x86 support 2014-09-09 17:30:45 +02:00
Matthias Schiffer 5afa7ae59d lua-platform-info: add support for the mpc85xx-generic target 2014-08-08 17:49:50 +02:00
Matthias Schiffer 3c237e2721 lua-platform-info: simplify ar71xx-generic file 2014-08-08 17:46:14 +02:00
Matthias Schiffer 1628f21960 Remove fastd and libuecc
They are now in OpenWrt's default package repository.
2014-08-06 11:47:16 +02:00
Matthias Schiffer d8b1e11924 Add new package lua-ethtool-stats containing a minimal interface to replace `ethtool -S` 2014-08-04 20:08:33 +02:00
Matthias Schiffer 59ba39ae96 Add new package libpacketmark, a LD_PRELOAD library to manipulate packet marks 2014-08-03 11:07:24 +02:00
Matthias Schiffer 6296d7631d lua-platform-info: fix section and category in Makefile 2014-07-27 11:33:29 +02:00
Matthias Schiffer a647f1d7d5 lua-platform-info: fix lua dependency 2014-07-11 15:38:19 +02:00
Matthias Schiffer 4fb68b318c lua-platform-info: add lua dependency 2014-07-11 11:38:06 +02:00
Matthias Schiffer b37cde9c24 Add new package lua-platform-info
Provides the information given by gluon.model without the dependencies on
gluon-core and LuCi.

For now only for ar71xx-generic, additional targets should be added as needed.
2014-07-10 17:57:24 +02:00
Matthias Schiffer c045ce17da Update to libuecc v4 and fastd v11 2014-01-01 14:33:53 +01:00
Matthias Schiffer 2a57741dfe Update libuecc to v3 2013-01-12 12:22:39 +01:00
Matthias Schiffer 43165e26af Add libuecc package
This adds a package for the Elliptic Curve Cryptography library libuecc which is a dependency for the fastd tunneling daemon.
2012-08-02 20:09:38 +02:00