-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1467 from snabbco/next
Snabb 2022.01 “Octarina”
- Loading branch information
Showing
160 changed files
with
9,772 additions
and
706 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.* | ||
*.md | ||
COPYRIGHT | ||
ChangeLog | ||
Dockerfile | ||
INSTALL | ||
doc | ||
*.yml | ||
examples | ||
include | ||
rockspec | ||
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM alpine:3.4 | ||
RUN apk update && apk add luajit luajit-dev strace && mkdir -p /usr/share/lua/5.1 | ||
COPY . /usr/share/lua/5.1/ | ||
ENTRYPOINT ["luajit"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
lua-ljsyscall (0.12-1) unstable; urgency=medium | ||
|
||
* UNRELEASED | ||
|
||
-- John Doe <[email protected]> Sun, 23 Jul 2017 19:43:15 +0200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Source: lua-ljsyscall | ||
Section: interpreters | ||
Priority: optional | ||
Maintainer: nobody | ||
Build-Depends: debhelper (>= 9), dh-lua | ||
Standards-Version: 4.0.0 | ||
Homepage: http://www.myriabit.com/ljsyscall/ | ||
|
||
Package: lua-ljsyscall | ||
Architecture: all | ||
Pre-Depends: ${misc:Pre-Depends} | ||
Depends: luajit, ${misc:Depends} | ||
Provides: ${lua:Provides} | ||
XB-Lua-Versions: ${lua:Versions} | ||
Description: LuaJIT Linux syscall FFI | ||
|
||
Package: lua-ljsyscall-dev | ||
Section: libdevel | ||
Architecture: all | ||
Pre-Depends: ${misc:Pre-Depends} | ||
Depends: ${misc:Depends} | ||
Provides: ${lua:Provides} | ||
XB-Lua-Versions: ${lua:Versions} | ||
Description: ljsyscall doc | ||
This package contains the documentation of the ljsyscall library. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: ljsyscall | ||
Source: https://github.com/justincormack/ljsyscall | ||
|
||
Files: * | ||
Copyright: Copyright (C) 2011-2016 Justin Cormack. All rights reserved. | ||
License: Expat | ||
|
||
Files: */doc | ||
Copyright: Copyright (C) 2011-2016 Justin Cormack. All rights reserved. | ||
License: CC0 | ||
|
||
License: Expat | ||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
### mandatory fields | ||
LUA_VERSION=5.1 | ||
PKG_NAME=ljsyscall | ||
|
||
### 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=syscall.lua syscall/*.lua syscall/shared/*.lua syscall/linux/*.lua syscall/linux/*/*.lua | ||
LUA_SOURCES_MANGLER= | ||
LUA_MODNAME=syscall | ||
LUA_TEST= | ||
|
||
### this part is relative to pkg-config | ||
PKG_VERSION= | ||
PKG_LIBS_PRIVATE= | ||
PKG_URL= | ||
PKG_REQUIRES= | ||
PKG_CONFLICTS= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
doc | ||
test |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/make -f | ||
|
||
%: | ||
dh $@ --buildsystem=lua --with lua |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.0 (quilt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Tests: dh-lua-tests | ||
Restrictions: rw-build-tree | ||
Depends: @, dh-lua |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
debian/rules autopkgtest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# test this watch file using: | ||
# uscan --watchfile debian/watch --upstream-version 0.1 --package lua-ljsyscall | ||
# | ||
version=3 | ||
opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/ljsyscall-$1\.tar\.gz/ \ | ||
https://github.com/justincormack/ljsyscall/releases .*/v?(\d\S*)\.tar\.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
sut: | ||
build: . | ||
command: /test/test.lua | ||
volumes: | ||
- ./test:/test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,170 @@ | ||
package = "ljsyscall" | ||
version = "0.11-1" | ||
source = | ||
{ | ||
url = "https://github.com/justincormack/ljsyscall/archive/v0.11.tar.gz"; | ||
dir = "ljsyscall-0.11"; | ||
} | ||
|
||
description = | ||
{ | ||
summary = "LuaJIT Linux syscall FFI"; | ||
homepage = "http://www.myriabit.com/ljsyscall/"; | ||
license = "MIT"; | ||
} | ||
dependencies = | ||
{ | ||
"lua == 5.1"; -- In fact this should be "luajit >= 2.0.0" | ||
} | ||
build = | ||
{ | ||
type = "builtin"; | ||
modules = | ||
{ | ||
["syscall"] = "syscall.lua"; | ||
["syscall.abi"] = "syscall/abi.lua"; | ||
["syscall.helpers"] = "syscall/helpers.lua"; | ||
["syscall.syscalls"] = "syscall/syscalls.lua"; | ||
["syscall.libc"] = "syscall/libc.lua"; | ||
["syscall.methods"] = "syscall/methods.lua"; | ||
["syscall.ffitypes"] = "syscall/ffitypes.lua"; | ||
["syscall.util"] = "syscall/util.lua"; | ||
["syscall.compat"] = "syscall/compat.lua"; | ||
["syscall.bit"] = "syscall/bit.lua"; | ||
["syscall.types"] = "syscall/types.lua"; | ||
["syscall.lfs"] = "syscall/lfs.lua"; | ||
|
||
["syscall.shared.types"] = "syscall/shared/types.lua"; | ||
}; | ||
platforms = | ||
{ | ||
linux = | ||
{ | ||
modules = { | ||
["syscall.linux.syscalls"] = "syscall/linux/syscalls.lua"; | ||
["syscall.linux.c"] = "syscall/linux/c.lua"; | ||
["syscall.linux.constants"] = "syscall/linux/constants.lua"; | ||
["syscall.linux.ffi"] = "syscall/linux/ffi.lua"; | ||
["syscall.linux.ioctl"] = "syscall/linux/ioctl.lua"; | ||
["syscall.linux.types"] = "syscall/linux/types.lua"; | ||
["syscall.linux.fcntl"] = "syscall/linux/fcntl.lua"; | ||
["syscall.linux.errors"] = "syscall/linux/errors.lua"; | ||
["syscall.linux.util"] = "syscall/linux/util.lua"; | ||
["syscall.linux.nr"] = "syscall/linux/nr.lua"; | ||
|
||
["syscall.linux.nl"] = "syscall/linux/nl.lua"; | ||
["syscall.linux.netfilter"] = "syscall/linux/netfilter.lua"; | ||
["syscall.linux.sockopt"] = "syscall/linux/sockopt.lua"; | ||
["syscall.linux.cgroup"] = "syscall/linux/cgroup.lua"; | ||
|
||
["syscall.linux.arm.constants"] = "syscall/linux/arm/constants.lua"; | ||
["syscall.linux.arm.ffi"] = "syscall/linux/arm/ffi.lua"; | ||
["syscall.linux.arm.ioctl"] = "syscall/linux/arm/ioctl.lua"; | ||
["syscall.linux.arm.nr"] = "syscall/linux/arm/nr.lua"; | ||
["syscall.linux.arm64.constants"] = "syscall/linux/arm64/constants.lua"; | ||
["syscall.linux.arm64.ffi"] = "syscall/linux/arm64/ffi.lua"; | ||
["syscall.linux.arm64.ioctl"] = "syscall/linux/arm64/ioctl.lua"; | ||
["syscall.linux.arm64.nr"] = "syscall/linux/arm64/nr.lua"; | ||
["syscall.linux.mips.constants"] = "syscall/linux/mips/constants.lua"; | ||
["syscall.linux.mips.ffi"] = "syscall/linux/mips/ffi.lua"; | ||
["syscall.linux.mips.ioctl"] = "syscall/linux/mips/ioctl.lua"; | ||
["syscall.linux.mips.nr"] = "syscall/linux/mips/nr.lua"; | ||
["syscall.linux.ppc.constants"] = "syscall/linux/ppc/constants.lua"; | ||
["syscall.linux.ppc.ffi"] = "syscall/linux/ppc/ffi.lua"; | ||
["syscall.linux.ppc.ioctl"] = "syscall/linux/ppc/ioctl.lua"; | ||
["syscall.linux.ppc.nr"] = "syscall/linux/ppc/nr.lua"; | ||
["syscall.linux.ppc64le.constants"] = "syscall/linux/ppc64le/constants.lua"; | ||
["syscall.linux.ppc64le.ffi"] = "syscall/linux/ppc64le/ffi.lua"; | ||
["syscall.linux.ppc64le.ioctl"] = "syscall/linux/ppc64le/ioctl.lua"; | ||
["syscall.linux.ppc64le.nr"] = "syscall/linux/ppc64le/nr.lua"; | ||
["syscall.linux.x64.constants"] = "syscall/linux/x64/constants.lua"; | ||
["syscall.linux.x64.ffi"] = "syscall/linux/x64/ffi.lua"; | ||
["syscall.linux.x64.ioctl"] = "syscall/linux/x64/ioctl.lua"; | ||
["syscall.linux.x64.nr"] = "syscall/linux/x64/nr.lua"; | ||
["syscall.linux.x86.constants"] = "syscall/linux/x86/constants.lua"; | ||
["syscall.linux.x86.ffi"] = "syscall/linux/x86/ffi.lua"; | ||
["syscall.linux.x86.ioctl"] = "syscall/linux/x86/ioctl.lua"; | ||
["syscall.linux.x86.nr"] = "syscall/linux/x86/nr.lua"; | ||
} | ||
}; | ||
macosx = | ||
{ | ||
modules = | ||
{ | ||
["syscall.osx.syscalls"] = "syscall/osx/syscalls.lua"; | ||
["syscall.osx.c"] = "syscall/osx/c.lua"; | ||
["syscall.osx.constants"] = "syscall/osx/constants.lua"; | ||
["syscall.osx.ffi"] = "syscall/osx/ffi.lua"; | ||
["syscall.osx.ioctl"] = "syscall/osx/ioctl.lua"; | ||
["syscall.osx.types"] = "syscall/osx/types.lua"; | ||
["syscall.osx.fcntl"] = "syscall/osx/fcntl.lua"; | ||
["syscall.osx.errors"] = "syscall/osx/errors.lua"; | ||
["syscall.osx.util"] = "syscall/osx/util.lua"; | ||
["syscall.osx.sysctl"] = "syscall/osx/sysctl.lua"; | ||
} | ||
}; | ||
freebsd = | ||
{ | ||
modules = | ||
{ | ||
["syscall.freebsd.syscalls"] = "syscall/freebsd/syscalls.lua"; | ||
["syscall.freebsd.c"] = "syscall/freebsd/c.lua"; | ||
["syscall.freebsd.constants"] = "syscall/freebsd/constants.lua"; | ||
["syscall.freebsd.ffi"] = "syscall/freebsd/ffi.lua"; | ||
["syscall.freebsd.ioctl"] = "syscall/freebsd/ioctl.lua"; | ||
["syscall.freebsd.types"] = "syscall/freebsd/types.lua"; | ||
["syscall.freebsd.fcntl"] = "syscall/freebsd/fcntl.lua"; | ||
["syscall.freebsd.errors"] = "syscall/freebsd/errors.lua"; | ||
["syscall.freebsd.util"] = "syscall/freebsd/util.lua"; | ||
["syscall.freebsd.version"] = "syscall/freebsd/version.lua"; | ||
["syscall.freebsd.sysctl"] = "syscall/freebsd/sysctl.lua"; | ||
} | ||
}; | ||
netbsd = | ||
{ | ||
modules = | ||
{ | ||
["syscall.netbsd.syscalls"] = "syscall/netbsd/syscalls.lua"; | ||
["syscall.netbsd.c"] = "syscall/netbsd/c.lua"; | ||
["syscall.netbsd.constants"] = "syscall/netbsd/constants.lua"; | ||
["syscall.netbsd.ffitypes"] = "syscall/netbsd/ffitypes.lua"; | ||
["syscall.netbsd.ffifunctions"] = "syscall/netbsd/ffifunctions.lua"; | ||
["syscall.netbsd.ioctl"] = "syscall/netbsd/ioctl.lua"; | ||
["syscall.netbsd.types"] = "syscall/netbsd/types.lua"; | ||
["syscall.netbsd.fcntl"] = "syscall/netbsd/fcntl.lua"; | ||
["syscall.netbsd.errors"] = "syscall/netbsd/errors.lua"; | ||
["syscall.netbsd.util"] = "syscall/netbsd/util.lua"; | ||
["syscall.netbsd.nr"] = "syscall/netbsd/nr.lua"; | ||
["syscall.netbsd.init"] = "syscall/netbsd/init.lua"; | ||
["syscall.netbsd.version"] = "syscall/netbsd/version.lua"; | ||
["syscall.netbsd.sysctl"] = "syscall/netbsd/sysctl.lua"; | ||
} | ||
}; | ||
openbsd = | ||
{ | ||
modules = | ||
{ | ||
["syscall.openbsd.syscalls"] = "syscall/openbsd/syscalls.lua"; | ||
["syscall.openbsd.c"] = "syscall/openbsd/c.lua"; | ||
["syscall.openbsd.constants"] = "syscall/openbsd/constants.lua"; | ||
["syscall.openbsd.ffi"] = "syscall/openbsd/ffi.lua"; | ||
["syscall.openbsd.ioctl"] = "syscall/openbsd/ioctl.lua"; | ||
["syscall.openbsd.types"] = "syscall/openbsd/types.lua"; | ||
["syscall.openbsd.fcntl"] = "syscall/openbsd/fcntl.lua"; | ||
["syscall.openbsd.errors"] = "syscall/openbsd/errors.lua"; | ||
["syscall.openbsd.util"] = "syscall/openbsd/util.lua"; | ||
["syscall.openbsd.version"] = "syscall/openbsd/version.lua"; | ||
["syscall.openbsd.sysctl"] = "syscall/openbsd/sysctl.lua"; | ||
} | ||
}; | ||
bsd = | ||
{ | ||
modules = | ||
{ | ||
["syscall.bsd.syscalls"] = "syscall/bsd/syscalls.lua"; | ||
["syscall.bsd.ffi"] = "syscall/bsd/ffi.lua"; | ||
["syscall.bsd.types"] = "syscall/bsd/types.lua"; | ||
} | ||
}; | ||
} | ||
} |
Oops, something went wrong.