-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
69 changed files
with
3,829 additions
and
998 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
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,41 @@ | ||
#!/bin/bash | ||
|
||
set -x -e -o pipefail | ||
|
||
VERSION=${CI_COMMIT_REF_NAME} | ||
PKGVERSION=1 | ||
ARCH=amd64 | ||
|
||
APIKEY=${BINTRAY_API_KEY} | ||
|
||
apt-get update | ||
apt-get install -y curl | ||
|
||
UBUNTU_DISTS=("xenial" "artful" "bionic") | ||
DEBIAN_DISTS=("stretch" "jessie" "sid" "buster") | ||
PACKAGE_LIST=("libtrace4" "libtrace4-dev" "libtrace4-tools" "libpacketdump4" "libpacketdump4-dev") | ||
|
||
for i in "${UBUNTU_DISTS[@]}" | ||
do | ||
for comp in "${PACKAGE_LIST[@]}"; do | ||
echo ubuntu_$i/${comp} | ||
|
||
if [ ! -f built-packages/ubuntu_$i/${comp}_${VERSION}-${PKGVERSION}_${ARCH}.deb ]; then | ||
continue | ||
fi | ||
|
||
curl -T built-packages/ubuntu_$i/${comp}_${VERSION}-${PKGVERSION}_${ARCH}.deb -usalcock:$APIKEY "https://api.bintray.com/content/wand/debian/$comp/$VERSION/pool/$i/main/lib${comp:3:1}/${comp}_${VERSION}-${PKGVERSION}_${ARCH}.deb;deb_distribution=$i;deb_component=main;deb_architecture=$ARCH" | ||
done | ||
done | ||
|
||
for i in "${DEBIAN_DISTS[@]}" | ||
do | ||
for comp in "${PACKAGE_LIST[@]}"; do | ||
echo debian_$i/${comp} | ||
if [ ! -f built-packages/debian_$i/${comp}_${VERSION}-${PKGVERSION}_${ARCH}.deb ]; then | ||
continue | ||
fi | ||
|
||
curl -T built-packages/debian_$i/${comp}_${VERSION}-${PKGVERSION}_${ARCH}.deb -usalcock:$APIKEY "https://api.bintray.com/content/wand/debian/$comp/$VERSION/pool/$i/main/lib${comp:3:1}/${comp}_${VERSION}-${PKGVERSION}_${ARCH}.deb;deb_distribution=$i;deb_component=main;deb_architecture=$ARCH" | ||
done | ||
done |
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 |
---|---|---|
|
@@ -3,11 +3,11 @@ | |
# Now you only need to update the version number in two places - below, | ||
# and in the README | ||
|
||
AC_INIT([libtrace],[4.0.5],[[email protected]],[libtrace]) | ||
AC_INIT([libtrace],[4.0.6],[[email protected]],[libtrace]) | ||
|
||
LIBTRACE_MAJOR=4 | ||
LIBTRACE_MID=0 | ||
LIBTRACE_MINOR=5 | ||
LIBTRACE_MINOR=6 | ||
|
||
# OpenSolaris hides libraries like libncurses in /usr/gnu/lib, which is not | ||
# searched by default - add it to LDFLAGS so we at least have a chance of | ||
|
@@ -122,7 +122,8 @@ AC_PROG_GCC_TRADITIONAL | |
|
||
# Fail if any of these functions are missing | ||
AC_CHECK_DECLS([strdup, strlcpy, strcasecmp, strncasecmp, snprintf, vsnprintf, strndup]) | ||
AC_CHECK_DECLS([socket, recvmmsg], [], [], [[#include <sys/socket.h>]]) | ||
AC_CHECK_DECLS([socket, recvmmsg], [], [], [[#define _GNU_SOURCE 1 | ||
#include <sys/socket.h>]]) | ||
AC_CHECK_SIZEOF([long int]) | ||
|
||
|
||
|
@@ -402,15 +403,15 @@ libtrace_dpdk=false | |
if test "$want_dpdk" != no; then | ||
# So instead simply check for existence | ||
if test "$RTE_SDK" != ""; then | ||
AC_CHECK_FILE("$RTE_SDK/$RTE_TARGET/lib/libdpdk.so", dpdk_found="dpdk", dpdk_found=0) | ||
fi | ||
if test "$dpdk_found" = 0 -a "$RTE_SDK" != ""; then | ||
AC_CHECK_FILE("$RTE_SDK/$RTE_TARGET/lib/libintel_dpdk.a", dpdk_found=":libintel_dpdk.a", dpdk_found=0) | ||
fi | ||
# DPDK 2.1.0+ renames this to libdpdk from libintel_dpdk | ||
if test "$dpdk_found" = 0 -a "$RTE_SDK" != ""; then | ||
AC_CHECK_FILE("$RTE_SDK/$RTE_TARGET/lib/libdpdk.a", dpdk_found=":libdpdk.a", dpdk_found=0) | ||
fi | ||
if test "$dpdk_found" = 0 -a "$RTE_SDK" != ""; then | ||
AC_CHECK_FILE("$RTE_SDK/$RTE_TARGET/lib/libdpdk.so", dpdk_found="dpdk", dpdk_found=0) | ||
fi | ||
if test "$dpdk_found" = 0 -a "$RTE_SDK" != ""; then | ||
AC_CHECK_LIB(dpdk, rte_eth_dev_configure, dpdk_found="dpdk", dpdk_found=0) | ||
fi | ||
|
@@ -510,6 +511,7 @@ fi | |
|
||
if test "$have_pthread" = 1; then | ||
AC_DEFINE(HAVE_LIBPTHREAD, 1, [Set to 1 if pthreads are supported]) | ||
LIBTRACE_LIBS="$LIBTRACE_LIBS -lpthread" | ||
fi | ||
|
||
if test "$have_pthread_setname_np" = 1; then | ||
|
@@ -601,7 +603,7 @@ if (test "$use_llvm" != "no"); then | |
JIT=no | ||
else | ||
LIBCXXFLAGS="`$LLVM_CONFIG --cxxflags` $CXXFLAGS" | ||
LIBTRACE_LIBS="$LIBRACE_LIBS `$LLVM_CONFIG --libs all`"; | ||
LIBTRACE_LIBS="$LIBTRACE_LIBS `$LLVM_CONFIG --libs all`"; | ||
LDFLAGS="`$LLVM_CONFIG --ldflags` $LDFLAGS"; | ||
JIT=yes | ||
AC_DEFINE(HAVE_LLVM, 1, [Set to 1 if you have LLVM installed]) | ||
|
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 |
---|---|---|
@@ -1,3 +1,9 @@ | ||
libtrace4 (4.0.6-1) unstable; urgency=low | ||
|
||
* New upstream release | ||
|
||
-- Shane Alcock <[email protected]> Tue, 15 Jan 2019 11:50:06 +1300 | ||
|
||
libtrace4 (4.0.0-1) unstable; urgency=medium | ||
|
||
* New upstream release | ||
|
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
Oops, something went wrong.