debian/0000755000000000000000000000000012155110612007160 5ustar debian/changelog0000644000000000000000000001303612155105740011043 0ustar luajit (2.0.2+dfsg-1) unstable; urgency=low * New upstream release -- Enrico Tassi Sun, 09 Jun 2013 16:04:50 +0200 luajit (2.0.1+hotfix1+dfsg-1) unstable; urgency=low * New upsream release * Packaging moved to git -- Enrico Tassi Mon, 20 May 2013 18:08:12 +0200 luajit (2.0.0+dfsg-1) unstable; urgency=low * New upstream release -- Enrico Tassi Sat, 03 Nov 2012 14:07:56 +0100 luajit (2.0.0~rc1+dfsg-1) experimental; urgency=low * New upstream release adding support for mips, mipsel, powerpcspe and armhf (Closes: #634244) * libluajit-5.1-common made Multi-Arch: foreign (Closes: #691657) -- Enrico Tassi Sun, 08 Apr 2012 22:55:02 +0200 luajit (2.0.0~beta9+dfsg-2) unstable; urgency=low * Added patch beta9_hotfix1 * Update copyright file to adhere to DEP5 -- Enrico Tassi Sat, 04 Feb 2012 13:52:02 +0100 luajit (2.0.0~beta9+dfsg-1) unstable; urgency=low * New upstream release with powerpc support * Refreshed quilt patches * Removed beta8_hotfix1 patch, no more needed -- Enrico Tassi Mon, 19 Dec 2011 17:20:40 +0100 luajit (2.0.0~beta8+dfsg-4) unstable; urgency=low * added -dev package to armel (Closes: #630814) -- Enrico Tassi Wed, 20 Jul 2011 19:34:32 +0200 luajit (2.0.0~beta8+dfsg-3) unstable; urgency=low * Bumped standards-version to 3.9.2, no changes * Multi-Arch support -- Enrico Tassi Wed, 20 Jul 2011 11:13:50 +0200 luajit (2.0.0~beta8+dfsg-2) unstable; urgency=low * Added upstream patch: beta8_hotfix1 -- Enrico Tassi Wed, 06 Jul 2011 09:23:02 +0200 luajit (2.0.0~beta8+dfsg-1) unstable; urgency=low * New upstream release with arm JIT support -- Enrico Tassi Fri, 24 Jun 2011 13:48:45 +0200 luajit (2.0.0~beta7+dfsg-1) unstable; urgency=low * New upstream release with arm support -- Enrico Tassi Mon, 09 May 2011 23:14:21 +0200 luajit (2.0.0~beta6+dfsg-1) unstable; urgency=low * new upstream release * watch file updated * updated standards-version to 3.9.1, no change needed * updated copyright (extends to 2011) -- Enrico Tassi Sun, 13 Feb 2011 13:22:20 +0100 luajit (2.0.0~beta5+dfsg-1) unstable; urgency=low * new upstream release -- Enrico Tassi Wed, 25 Aug 2010 09:40:46 +0200 luajit (2.0.0~beta4+dfsg-1) unstable; urgency=low * new upstream release * bumped stsandards version to 3.8.4, no changes * switch to source format 3 + quilt -- Enrico Tassi Mon, 29 Mar 2010 11:28:36 +0200 luajit (2.0.0~beta3+dfsg-2) unstable; urgency=low * added build depend over quilt -- Enrico Tassi Sun, 07 Mar 2010 23:49:45 +0100 luajit (2.0.0~beta3+dfsg-1) unstable; urgency=low * new upstream release, adding support for amd64 * updated copyright, now is 2005-2010 by Myke Pall * drop kFreeBSD-amd64 package, since it is unsupported by the upstream because there is no way to force FreeBSD mmap to return pointers fitting 32 bits. Moreover, since multiarch is not there yet, it is of little interest to compile a 32 bit version of the jitter with -m32, since no external Lua C modules could then be loaded. The upstream technical explanation for not supporting the FreeBSD kernel on an amd64 system follows: JIT/x64 needs to allocate objects in the lower 2GB of virtual memory. Linux/x64 provides a MAP_32BIT flag for mmap(). Unfortunately, FreeBSD doesn't have an equivalent flag. In addition it overrides mmap() hints in the lower 32GB (*), which foils a probing approach. MAP_FIXED cannot be used, since it unconditionally overwrites existing mappings. (*) The guilty FreeBSD kernel code: grep -C15 RLIMIT_DATA /usr/src/sys/vm/vm_mmap.c -- Enrico Tassi Sun, 07 Mar 2010 20:25:32 +0100 luajit (2.0.0~beta2+dfsg2-3) unstable; urgency=low * Do not depend on gcc-multilib on kfreebsd-i386 (Closes: 570489) -- Enrico Tassi Fri, 19 Feb 2010 17:41:20 +0100 luajit (2.0.0~beta2+dfsg2-2) unstable; urgency=low * added kfreebsd patch (by the upstream) to recognize __FreeBSD_kernel__ as posix system and link -ldl when uname -s gives 'GNU/FreeBSD' -- Enrico Tassi Sun, 20 Dec 2009 18:43:03 +0100 luajit (2.0.0~beta2+dfsg2-1) unstable; urgency=low * removed debian/luajit.1.txt, not needed anymore * fixed typo in control file (fiels -> files) * added beta2-hotfix patch from upstream * removed the /doc directory in the upstream sources, the upstream is going to make the doc non-free according to DFSG * added kfreebsd-i386 kfreebsd-amd64 to arch list -- Enrico Tassi Sat, 19 Dec 2009 13:42:54 +0100 luajit (2.0.0~beta2+dfsg-2) unstable; urgency=low * added quilt and lua5.1 to build-depends -- Enrico Tassi Fri, 18 Dec 2009 00:12:28 +0100 luajit (2.0.0~beta2+dfsg-1) unstable; urgency=low * Removed non free .css file, added README.source to explain -- Enrico Tassi Thu, 17 Dec 2009 21:54:26 +0100 luajit (2.0.0~beta2-1) unstable; urgency=low * Initial release. (Closes: #554033) -- Enrico Tassi Mon, 09 Nov 2009 20:49:05 +0100 debian/compat0000644000000000000000000000000212155105740010364 0ustar 7 debian/README.source0000644000000000000000000000153112155105740011345 0ustar The upstream sources contain .css files that do not conform to DFSG, since the following banner prevents their reuse. /* Copyright (C) 2004-2009 Mike Pall. * * You are welcome to use the general ideas of this design for your own * sites. But please do not steal the stylesheet, the layout or the * color scheme. */ Moreover the upstream made explicit that .html files (will) be licensed under terms not suitable for Debian: > If you insist it is unreadable, I can write a simple css to just format > the page, and make it MIT/X. The HTML files contain a copyright, too. And I haven't decided on a license for them, either. I.e. they are unacceptable for Debian. Most users search online for the docs, anyway. And the online URL for the docs is e.g. printed at startup. The sources has been repackaged removing doc/*. debian/rules0000755000000000000000000000232012155105740010243 0ustar #!/usr/bin/make -f ABIM=2 ABIN=0 ABIO=2 ABI=$(ABIM).$(ABIN).$(ABIO) LUA_MULTIARCH_INCLUDE = debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/ LUA_MULTIARCH = luajit5.1-deb-multiarch.h %: dh --with quilt $@ override_dh_auto_configure: echo "#ifndef _LUA_DEB_MULTIARCH_" > src/$(LUA_MULTIARCH) echo "#define _LUA_DEB_MULTIARCH_" >> src/$(LUA_MULTIARCH) echo "#define DEB_HOST_MULTIARCH \"$(DEB_HOST_MULTIARCH)\"" >> \ src/$(LUA_MULTIARCH) echo "#endif" >> src/$(LUA_MULTIARCH) override_dh_auto_build: make amalg PREFIX=/usr CC=gcc DEB_HOST_MULTIARCH=$(DEB_HOST_MULTIARCH) override_dh_auto_clean: dh_auto_clean override_dh_auto_install: make install PREFIX=/usr/ DESTDIR=$$PWD/debian/tmp/ mkdir -p debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) mv debian/tmp/usr/lib/lua debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) mv debian/tmp/usr/lib/pkgconfig debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) mv debian/tmp/usr/lib/lib* debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) cd debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) && \ ln -fs libluajit-5.1.so.$(ABI) libluajit-5.1.so && \ ln -fs libluajit-5.1.so.$(ABI) libluajit-5.1.so.$(ABIM) mkdir -p $(LUA_MULTIARCH_INCLUDE) cp src/$(LUA_MULTIARCH) $(LUA_MULTIARCH_INCLUDE) debian/libluajit-5.1-2.install0000644000000000000000000000003512155105740013173 0ustar usr/lib/*/libluajit-5.1.so.* debian/dh-lua.conf0000644000000000000000000000060512155105740011210 0ustar ### mandatory fields LUA_VERSION= PKG_NAME= ### things relative to the C library part CLIB_CFLAGS= CLIB_LDFLAGS= CLIB_LDFLAGS_STATIC= CLIB_OBJS= LUA_MODNAME_CPART= ### things relative to the lua library part LUA_HEADER= LUA_SOURCES= LUA_SOURCES_MANGLER= LUA_MODNAME= LUA_TEST= ### this part is relative to pkg-config PKG_VERSION= PKG_LIBS_PRIVATE= PKG_URL= PKG_REQUIRES= PKG_CONFLICTS= debian/luajit.install0000644000000000000000000000002612155105740012044 0ustar usr/bin usr/share/man debian/libluajit-5.1-dev.install0000644000000000000000000000012712155105740013612 0ustar usr/lib/*/libluajit-5.1.a usr/lib/*/libluajit-5.1.so usr/lib/*/pkgconfig/ usr/include/ debian/patches/0000755000000000000000000000000012155105740010615 5ustar debian/patches/0001-multi-arch-path.patch0000644000000000000000000000152212155105740015213 0ustar From: Enrico Tassi Date: Sun, 9 Jun 2013 15:53:14 +0200 Subject: multi-arch-path =================================================================== --- src/luaconf.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/luaconf.h b/src/luaconf.h index d55caab..9e2e6f2 100644 --- a/src/luaconf.h +++ b/src/luaconf.h @@ -33,7 +33,10 @@ #define LUA_JDIR LUA_XROOT "share/luajit-2.0.2/" #define LUA_XPATH \ ";" LUA_XROOT "share/lua/5.1/?.lua;" LUA_XROOT "share/lua/5.1/?/init.lua" -#define LUA_XCPATH LUA_XROOT "lib/lua/5.1/?.so;" +/* This defines DEB_HOST_MULTIARCH */ +#include "luajit5.1-deb-multiarch.h" +#define LUA_XCPATH LUA_XROOT "lib/" DEB_HOST_MULTIARCH "/lua/5.1/?.so;" \ + LUA_XROOT "lib/lua/5.1/?.so;" #else #define LUA_JDIR LUA_ROOT "share/luajit-2.0.2/" #define LUA_XPATH debian/patches/series0000644000000000000000000000003312155105740012026 0ustar 0001-multi-arch-path.patch debian/watch0000644000000000000000000000036212155105740010220 0ustar # test this watch file using: # uscan --watchfile debian/watch --upstream-version 0.0.1 --package luajit # version=3 opts="uversionmangle=s/$/+dfsg/,uversionmangle=s/-beta/~beta/" \ http://luajit.org/download.html download/LuaJIT-(.*).tar.gz debian/control0000644000000000000000000000441412155105740010574 0ustar Source: luajit Section: interpreters Priority: optional Maintainer: Enrico Tassi Build-Depends: debhelper (>= 7.0.50~), quilt (>= 0.46-7~) Standards-Version: 3.9.4 Vcs-Git: git://git.debian.org/git/pkg-lua/luajit.git Vcs-Browser: http://git.debian.org/?p=pkg-lua/luajit.git Homepage: http://luajit.org Package: luajit Architecture: i386 amd64 kfreebsd-i386 armel armhf powerpc powerpcspe mips mipsel Multi-Arch: foreign Pre-Depends: multiarch-support Depends: ${shlibs:Depends}, ${misc:Depends}, libluajit-5.1-common (= ${source:Version}) Description: Just in time compiler for Lua programming language version 5.1 LuaJIT implements the full set of language features defined by Lua 5.1. The virtual machine (VM) is API- and ABI-compatible to the standard Lua interpreter and can be deployed as a drop-in replacement. . This package contains the standalone interpreter/jitter that can be used as a replacement for the standard lua5.1 interpreter. Package: libluajit-5.1-common Architecture: all Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Description: Just in time compiler for Lua - common files This package contains files needed by the LuaJIT interpreter/jitter as well by its embeddable (i.e. library) version. Package: libluajit-5.1-2 Architecture: i386 amd64 kfreebsd-i386 armel armhf powerpc powerpcspe mips mipsel Multi-Arch: same Pre-Depends: multiarch-support Depends: ${shlibs:Depends}, ${misc:Depends}, libluajit-5.1-common (= ${source:Version}) Description: Just in time compiler for Lua - library version LuaJIT implements the full set of language features defined by Lua 5.1. The virtual machine (VM) is API- and ABI-compatible to the standard Lua interpreter and can be deployed as a drop-in replacement. . This package contains an embeddable version of LuaJIT that can be used as a replacement of the standard liblua-5.1 shared library. Package: libluajit-5.1-dev Section: libdevel Multi-Arch: same Pre-Depends: multiarch-support Architecture: i386 amd64 kfreebsd-i386 armel armhf powerpc mips mipsel Depends: ${shlibs:Depends}, ${misc:Depends}, libluajit-5.1-2 (= ${binary:Version}) Description: Just in time compiler for Lua - development files This package contains header files and a statically linkable library for LuaJIT. debian/source/0000755000000000000000000000000012155105740010466 5ustar debian/source/format0000644000000000000000000000001412155105740011674 0ustar 3.0 (quilt) debian/libluajit-5.1-common.install0000644000000000000000000000002412155105740014320 0ustar usr/share/luajit-*/ debian/copyright0000644000000000000000000000606012155105740011123 0ustar Format: http://dep.debian.net/deps/dep5/ Upstream-Name: LuaJIT Upstream-Contact: Mike Pall, http://luajit.org/contact.html Source: http://luajit.org/ Files: * Copyright: 2005-2011, Mike Pall License: MIT/X Files: src/lua.h src/lauxlib.h src/lualib.h Copyright: 1994-2011, Lua.org, PUC-Rio License: MIT/X Files: src/lj_alloc.c Copyright: Doug Lea License: PD License: PD The person or persons who have associated work with this document (the "Dedicator" or "Certifier") hereby either (a) certifies that, to the best of his knowledge, the work of authorship identified is in the public domain of the country from which the work is published, or (b) hereby dedicates whatever copyright the dedicators holds in the work of authorship identified below (the "Work") to the public domain. A certifier, moreover, dedicates any copyright interest he may have in the associated work, and for these purposes, is described as a "dedicator" below. . A certifier has taken reasonable steps to verify the copyright status of this work. Certifier recognizes that his good faith efforts may not shield him from liability if in fact the work certified is not in the public domain. . Dedicator makes this dedication for the benefit of the public at large and to the detriment of the Dedicator's heirs and successors. Dedicator intends this dedication to be an overt act of relinquishment in perpetuity of all present and future rights under copyright law, whether vested or contingent, in the Work. Dedicator understands that such relinquishment of all rights includes the relinquishment of all rights to enforce (by lawsuit or otherwise) those copyrights in the Work. . Dedicator recognizes that, once placed in the public domain, the Work may be freely reproduced, distributed, transmitted, used, modified, built upon, or otherwise exploited by anyone for any purpose, commercial or non-commercial, and in any way, including by methods that have not yet been invented or conceived. License: MIT/X Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.