mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
main/tcpflows: fix building
This commit is contained in:
parent
96044ca13b
commit
b271888cfc
@ -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"
|
||||
|
||||
15
main/tcpflow/configure-missing-m4-files.patch
Normal file
15
main/tcpflow/configure-missing-m4-files.patch
Normal file
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user