Commit Graph

48 Commits (83c3f0f91834002c284a59c6c9a353516ba596e1)

Author SHA1 Message Date
Hamish Guthrie a81ef914e0 licensing: Add licensing metadata to many packages
Two new variables are introduces to many packages, namely PKG_LICENSE and
PKG_LICENSE_FILES - there may be more than one license applied to packages,
and these are listed in the PKG_LICENSE variable and separated by spaces.
All relevant license files are also added to the PKG_LICENSE_FILES variable,
also space separated.

The licensing metadata is put into the bin/<platform>/packages/Packages file
for later parsing. A script for that is on it's way!


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-19 15:34:28 +00:00
Felix Fietkau fc3c1317b7 lua: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 20:48:31 +00:00
Jo-Philipp Wich 513257a2fb lua: refresh host patches as well (#12303)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 20:44:22 +00:00
Jo-Philipp Wich 2fd918a872 lua: update to v5.1.5, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 17:53:46 +00:00
Jo-Philipp Wich 2a11515d03 [packages] claim maintainership for resolveip and lua
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 12:57:20 +00:00
Jo-Philipp Wich be57dcf642 [package] lua: remove posix from Lua core, almost nothing uses it - saves 9k compressed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-04 14:51:06 +00:00
Jo-Philipp Wich a9afa36cf5 [package] lua: switch to double precision for floats
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-07 11:03:18 +00:00
Jo-Philipp Wich 5d83f06cd3 [package] lua: drop refcounting patch in preparation for 10.03, it has unresolved issues resulting in random vm crashes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 23:24:46 +00:00
Gabor Juhos 61b6c0e6d8 package/lua: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 14:29:03 +00:00
Jo-Philipp Wich d82615bfc0 [package] lua: add the 100-no_readline.patch to host build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-28 13:56:33 +00:00
Jo-Philipp Wich 04f57c7f87 [package] lua: the variable expansion to detect the host os does not work with GNU Make 3.81, replace it with a nested ifeq
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-28 00:11:59 +00:00
Felix Fietkau 3a333ed649 lua: fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-27 21:28:15 +00:00
Felix Fietkau 1d38751d6b lua: re-enable host builds with some more fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-27 21:18:58 +00:00
Felix Fietkau 93f9088dab lua: fix regressions in operator overloading caused by the refcounting patch, also fix some more variable cleanup issues => even more performance, less memory utilization
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 14:27:30 +00:00
Felix Fietkau 690a9adf58 lua: use float instead of double, reduces the gc data structure size by 4 byte => luci processes use 10% less memory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 03:01:12 +00:00
Felix Fietkau f1f87a53ac lua: fix various bugs in the refcounting implementation. seems to fix luci and reduces memory consumption even more
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 00:06:42 +00:00
Felix Fietkau e194dc2fef lua: get rid of bitlib and md5lib from the core, they are no longer necessary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-24 23:23:42 +00:00
Felix Fietkau 0ee38138a3 lua: add reference counting for strings - this will need A LOT of testing, but it should finally fix the excessive memory usage problems triggered by luci
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-24 22:19:13 +00:00
Jo-Philipp Wich 0ab259ab73 [package] lua: introduce soft memory limits that trigger a gc run but do not result in an oom error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-26 15:06:43 +00:00
Jo-Philipp Wich dd78050f8f package/lua: implement memory limits, scripts can use get_memory_limit() and set_memory_limit() to cap the maximum ram usage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-09 17:45:23 +00:00
Nicolas Thill e279479bf9 [package] lua: install lua.pc pkgconfig file as well (closes: #5132)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-14 17:59:06 +00:00
Jo-Philipp Wich ddd0eb7aae [package] lua: embed md5lib
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 01:47:03 +00:00
Nicolas Thill 117c4e36ec [cosmetic] change occurences of LUA to Lua (from http://www.lua.org/about.html: Please do not write it as "LUA", which is both ugly and confusing [...] So, please, write "Lua" right!)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-25 20:36:30 +00:00
Jo-Philipp Wich bd0854584a [package] lua: revert r15108 & r15109
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-19 13:44:40 +00:00
Felix Fietkau 5bdd866100 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Jo-Philipp Wich 7890792f49 [package] lua: add zlib build dependency, fix inaccuracy in gzip loader
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-05 02:33:41 +00:00
Jo-Philipp Wich 666ebf2004 [package] lua: add support for loading gzip compressed source files, bump package revision
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-04 23:06:56 +00:00
Felix Fietkau 353386a643 move host build in packages into a separate namespace: package/<name>/host/<target>
this allows dependencies between host and target packages, and saves unnecessary host builds for packages that contain both variants

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 02:20:34 +00:00
Felix Fietkau 9fcd4ac702 add back the old host patches for lua to improve portability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 23:54:26 +00:00
Felix Fietkau 661b446611 merge host build of lua from tools/ into package/lua/Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 18:10:23 +00:00
Felix Fietkau 4f4ff4b4c3 fix lua compile with eglibc selected and utmp support disabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-31 07:18:13 +00:00
Nicolas Thill aa9e205c8e lua changes:
- fix shared lib generation
 - don't ship liblua.so dev lib in liblua package
 - remove unsupported 'all' make target during build
 - misc cleanup
 - bump release number


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-11 02:48:31 +00:00
Steven Barth e8be228b78 Embed luaposix and bitlib into Lua core library
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-25 12:15:32 +00:00
Steven Barth 02cb89c189 Updated Lua to 5.1.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-24 15:45:26 +00:00
Felix Fietkau 858021bb55 lua: remove an unnecessary check and replace switch (GET_OPCODE(i)) as well (thx, lars)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-24 14:28:04 +00:00
Felix Fietkau 9438ab2df4 improve lua opcode dispatch performance by using computed goto instead of switch/case - improves performance by about 10% in a simple loop test
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-24 13:37:56 +00:00
Felix Fietkau 73a5abbb32 use $(FPIC) in a few places where it matters
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-06 22:10:29 +00:00
Florian Fainelli ff298d605d x86_64 also needs -fPIC to create lua shared libraries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 10:04:03 +00:00
Steven Barth de89cc5001 lua: Remove -fPIC for non-powerpc platforms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-29 10:14:11 +00:00
Steven Barth 9e5e864db3 lua: Fixed some cross-platform issues for PPC (and probably other architectures)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-29 11:38:22 +00:00
Felix Fietkau 2870abcb83 fix liblua symlink installation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-23 07:09:29 +00:00
Steven Barth b44f6c1cd3 Added missing header reference to InstallDev target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-22 20:26:23 +00:00
Felix Fietkau bc666cb942 fix lua compile issues on ixp4xx (EABI) by linking libgcc into liblua
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-22 14:20:56 +00:00
Felix Fietkau 30eaf86b8c add updated lua patchset from Steven Barth (cyrus) as explained in http://lists.openwrt.org/pipermail/openwrt-devel/2008-May/002170.html
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-22 14:20:36 +00:00
Felix Fietkau fc23bb932f fix lua compile configuration error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-04 17:48:26 +00:00
Felix Fietkau 9d3a3c4595 fix lua cflags
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-28 22:00:57 +00:00
Felix Fietkau 412e35b421 remove lua's dependency on libreadline and libncurses
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-13 14:34:36 +00:00
Felix Fietkau 90d64af430 move lua from packages/ to trunk in anticipation of upcoming stuff ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-13 01:06:12 +00:00