diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-04-26 07:04:36 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-04-26 07:04:36 +0000 |
commit | b271888cfcddc3b07bd3bd8cd7e1980bce2e079e (patch) | |
tree | 3ba6b5d25e3a2345439a86e878c3208332e5c734 | |
parent | 96044ca13b26fe8ecd21f9df913a6b9b670accdd (diff) | |
download | aports-b271888cfcddc3b07bd3bd8cd7e1980bce2e079e.tar.bz2 aports-b271888cfcddc3b07bd3bd8cd7e1980bce2e079e.tar.xz |
main/tcpflows: fix building
-rw-r--r-- | main/tcpflow/APKBUILD | 28 | ||||
-rw-r--r-- | main/tcpflow/configure-missing-m4-files.patch | 15 |
2 files changed, 31 insertions, 12 deletions
diff --git a/main/tcpflow/APKBUILD b/main/tcpflow/APKBUILD index 7b6fc6c5fd..945dee7cbe 100644 --- a/main/tcpflow/APKBUILD +++ b/main/tcpflow/APKBUILD @@ -11,34 +11,38 @@ depends="" makedepends="libpcap-dev zlib-dev boost-dev openssl-dev autoconf automake" install="" subpackages="$pkgname-doc" -source="http://www.digitalcorpora.org/downloads/tcpflow/tcpflow-$pkgver.tar.gz" +source="http://fossies.org/linux/misc/$pkgname-$pkgver.tar.gz + configure-missing-m4-files.patch" -_builddir="$srcdir"/tcpflow-$pkgver +builddir="$srcdir"/$pkgname-$pkgver prepare() { - cd "$_builddir" - # Don't run pdf tests as the feature require cairo: + cd "$builddir" sed -i 's/test-pdfs.sh//' tests/Makefile.am - autoreconf -fisv || return 1 + autoreconf -fsiv || return 1 +} + +build() { + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man \ || return 1 -} -build() { - cd "$_builddir" make || return 1 make check || return 1 } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } -md5sums="5978b112a899f2099e98cef6d9a0ece9 tcpflow-1.4.5.tar.gz" -sha256sums="f39fed437911b858c97937bc902f68f9a690753617abe825411a8483a7f70c72 tcpflow-1.4.5.tar.gz" -sha512sums="e31b278b8f4e97b6d1ffb6f8f145a56806963271ab96204ba555ab88049dedc5a13adf78b7775e96e92fe48bbf5116781810cef0d3374231764af059fc09dd97 tcpflow-1.4.5.tar.gz" +md5sums="5978b112a899f2099e98cef6d9a0ece9 tcpflow-1.4.5.tar.gz +daaa92561b255032db24f905295d2a69 configure-missing-m4-files.patch" +sha256sums="f39fed437911b858c97937bc902f68f9a690753617abe825411a8483a7f70c72 tcpflow-1.4.5.tar.gz +05a2344d08614cdf86da3ac442aaa40dd88972a26c201af027f26d2ceeeae978 configure-missing-m4-files.patch" +sha512sums="e31b278b8f4e97b6d1ffb6f8f145a56806963271ab96204ba555ab88049dedc5a13adf78b7775e96e92fe48bbf5116781810cef0d3374231764af059fc09dd97 tcpflow-1.4.5.tar.gz +79f6255ca9f94c8ce94b4f2c9736e5ff0c1b307492a7af6d16ea3a14915df144c3322a5410cc31bcc28d6eddc1dd02b08d77f891ecbdd7f2ca99f0b9f9228b15 configure-missing-m4-files.patch" diff --git a/main/tcpflow/configure-missing-m4-files.patch b/main/tcpflow/configure-missing-m4-files.patch new file mode 100644 index 0000000000..f0f7b4b1b3 --- /dev/null +++ b/main/tcpflow/configure-missing-m4-files.patch @@ -0,0 +1,15 @@ +diff --git a/configure.ac b/configure.ac +index cdaa5da..b11d9cf 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -221,8 +221,8 @@ AC_CHECK_FUNCS([MD5_Init EVP_get_digestbyname]) + ################################################################ + ## Includes + +-m4_include([src/dfxml/src/dfxml_configure.m4]) +-m4_include([src/be13_api/be13_configure.m4]) ++#m4_include([src/dfxml/src/dfxml_configure.m4]) ++#m4_include([src/be13_api/be13_configure.m4]) + + ################################################################ + # PTHREAD support |