Skip to content

Commit

Permalink
Specify Lua version in dependencies
Browse files Browse the repository at this point in the history
Fixes #55

Signed-off-by: Olivier Tilmans <olivier.tilmans@uclouvain.be>
  • Loading branch information
oliviertilmans committed Dec 7, 2017
1 parent 2b3bb42 commit 3a99c30
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CI/prepare_common.sh
@@ -1,6 +1,6 @@
#!/bin/sh
sudo apt-get -qq -y --force-yes update
sudo apt-get -qq -y --force-yes install automake libtool lua5.1 liblua5.1-dev liblua5.1 liblua5.1-0-dbg libpcap-dev g++ autoconf gdb libnetfilter-queue-dev libjson0-dev libcurl4-gnutls-dev luarocks lua-sec
sudo apt-get -qq -y --force-yes install automake libtool lua5.2 liblua5.2-dev liblua5.2 liblua5.2-0-dbg libpcap-dev g++ autoconf gdb libnetfilter-queue-dev libjson0-dev libcurl4-gnutls-dev luarocks lua-sec

sudo luarocks install penlight

Expand Down
4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -18,7 +18,7 @@ Requirements:

*Debian*

apt-get install autotools automake libtool liblua-dev libpcap-dev libjson0 libjson0-dev libcurl4-gnutls-dev lua-ldoc libnetfilter-queue-dev
apt-get install autotools automake libtool liblua5.2-dev libpcap-dev libjson0 libjson0-dev libcurl4-gnutls-dev lua-ldoc libnetfilter-queue-dev

*Fedora (24)*

Expand All @@ -38,8 +38,6 @@ you can try to retrieve them manually by browsing to [the tracebox project
build status](https://circleci.com/gh/tracebox/tracebox),
selecting the latest build and then downloading the *.deb packages in the Artifacts tab.

Tracebox has been tested and works both with Lua 5.1 and 5.2

### OpenWRT

The package is available at http://github.com/tracebox/openwrt.
Expand Down
4 changes: 2 additions & 2 deletions debian/control
Expand Up @@ -2,13 +2,13 @@ Source: tracebox
Section: net
Priority: extra
Maintainer: Olivier Tilmans <olivier.tilmans@uclouvain.be>
Build-Depends: gcc (>= 4.8), debhelper (>= 8.0.0), autotools-dev, autoconf, libpcap-dev, liblua5.1-dev, git, libnetfilter-queue-dev, libjson0-dev, libcurl4-gnutls-dev, luarocks, lua-sec
Build-Depends: gcc (>= 4.8), debhelper (>= 8.0.0), autotools-dev, autoconf, libpcap-dev, liblua5.2-dev, git, libnetfilter-queue-dev, libjson0-dev, libcurl4-gnutls-dev, luarocks, lua-sec
Standards-Version: 0.4.3
Homepage: http://www.tracebox.org

Package: tracebox
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, liblua5.1-0, libpcap0.8, libnetfilter-queue1, libjson0, libcurl4-gnutls-dev
Depends: ${shlibs:Depends}, ${misc:Depends}, liblua5.2-0, libpcap0.8, libnetfilter-queue1, libjson0, libcurl4-gnutls-dev
Description: Tracebox
Tracebox is a tool that allows to detect middleboxes on any paths, i.e.,
between a source and any destination. Tracebox can be viewed as a tool similar
Expand Down

0 comments on commit 3a99c30

Please sign in to comment.