summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-04-26 15:25:35 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-04-26 15:25:35 +0000
commit046fe9e467ad11118d4bd6dd9762e51543246791 (patch)
treeec3f4555ca2128970e20da99feefb9060ca50b65
parent10cd0113c41c5ffbdbc2cbdc6441ece165ddd74a (diff)
downloadmidipix_build-046fe9e467ad11118d4bd6dd9762e51543246791.tar.bz2
midipix_build-046fe9e467ad11118d4bd6dd9762e51543246791.tar.xz
vars/build.vars:native_packages_deps: adds libpcap v1.9.0 (via Redfoxmoon.)
-rw-r--r--patches/libpcap-1.9.0.local.patch21
-rw-r--r--vars/build.vars6
2 files changed, 26 insertions, 1 deletions
diff --git a/patches/libpcap-1.9.0.local.patch b/patches/libpcap-1.9.0.local.patch
new file mode 100644
index 00000000..abadff5c
--- /dev/null
+++ b/patches/libpcap-1.9.0.local.patch
@@ -0,0 +1,21 @@
+diff -ru libpcap-libpcap-1.9.0.orig/configure libpcap-libpcap-1.9.0/configure
+--- libpcap-libpcap-1.9.0.orig/configure 2018-07-22 19:08:39.000000000 +0200
++++ libpcap-libpcap-1.9.0/configure 2019-04-26 05:17:01.024964350 +0200
+@@ -3997,7 +3997,7 @@
+ aix*)
+ ;;
+
+- freebsd*|netbsd*|openbsd*|dragonfly*|linux*|osf*)
++ freebsd*|netbsd*|openbsd*|dragonfly*|linux*|osf*|midipix*)
+ #
+ # Platforms where the linker is the GNU linker
+ # or accepts command-line arguments like
+@@ -8179,7 +8179,7 @@
+ MAN_MISC_INFO=5
+ ;;
+
+-linux*|freebsd*|netbsd*|openbsd*|dragonfly*|kfreebsd*|gnu*)
++linux*|freebsd*|netbsd*|openbsd*|dragonfly*|kfreebsd*|gnu*|midipix*)
+ DYEXT="so"
+
+ #
diff --git a/vars/build.vars b/vars/build.vars
index 737eb66b..114c1d08 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -473,7 +473,7 @@ NATIVE_PACKAGES_DEPS_LDFLAGS_CONFIGURE="--sysroot=${PREFIX_NATIVE}";
NATIVE_PACKAGES_DEPS_MAKEFLAGS_INSTALL="PREFIX= prefix=";
NATIVE_PACKAGES_DEPS_PACKAGES="
clzip expat libxml2 alsa_lib apr apr_util bzip2 libdmtx libressl libnettle
-libunistring gnutls curl libz lmdb libpng libjpeg_turbo tiff giflib lcms2 libffi gdbm
+libunistring gnutls curl libz lmdb libpcap libpng libjpeg_turbo tiff giflib lcms2 libffi gdbm
geoip pcre gettext_tiny glib gzip libarchive libatomic_ops musl_compat musl_fts libbsd libpipeline libtelnet
libevent libfetch libogg libvorbis libflac libtheora libsasl2 libsndfile libgpg_error libassuan
libfirm libgcrypt libksba libudns lua ncurses ncursestw ncursesw libreadline
@@ -547,6 +547,10 @@ NATIVE_PACKAGES_DEPS_PYTHON="${PREFIX}/bin/python2";
: ${PKG_LIBZ_CONFIGURE_ARGS:=--host=${DEFAULT_TARGET} --prefix= --target=${DEFAULT_TARGET}};
: ${PKG_LMDB_URLS_GIT:="lmdb=https://github.com/Redfoxmoon3/lmdb.git@mdb.master"};
: ${PKG_LMDB_IN_TREE:=1};
+: ${PKG_LIBPCAP_SHA256SUM:=64069f8a2e4b250b6b60b6058e5bad98cf648d2302a1e4cbf24eb770c1659875};
+: ${PKG_LIBPCAP_VERSION:=1.9.0};
+: ${PKG_LIBPCAP_URL:=https://github.com/the-tcpdump-group/libpcap/archive/libpcap-${PKG_LIBPCAP_VERSION}.tar.gz};
+: ${PKG_LIBPCAP_SUBDIR:="libpcap-libpcap-1.9.0"};
: ${PKG_LIBPNG_SHA256SUM:=eceb924c1fa6b79172fdfd008d335f0e59172a86a66481e09d4089df872aa319};
: ${PKG_LIBPNG_VERSION:=1.6.36};
: ${PKG_LIBPNG_URL:=https://sourceforge.mirrorservice.org/l/li/libpng/libpng16/${PKG_LIBPNG_VERSION}/libpng-${PKG_LIBPNG_VERSION}.tar.xz};