From b3aa918fbf37afab114906ee00e6eb48d641ef83 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Mon, 26 Sep 2016 18:27:20 +0200 Subject: [PATCH] tcpflow: using github for distfiles. --- srcpkgs/tcpflow/template | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/srcpkgs/tcpflow/template b/srcpkgs/tcpflow/template index adc162e0a0..6433727cae 100644 --- a/srcpkgs/tcpflow/template +++ b/srcpkgs/tcpflow/template @@ -1,12 +1,31 @@ # Template file for 'tcpflow' pkgname=tcpflow version=1.4.5 -revision=2 +revision=3 build_style=gnu-configure +hostmakedepends="automake" makedepends="libpcap-devel zlib-devel libressl-devel boost-devel" short_desc="Captures data transmitted as part of TCP connections" maintainer="Michael Gehring " license="GPL-3" homepage="https://github.com/simsong/tcpflow" -distfiles="http://www.digitalcorpora.org/downloads/tcpflow/tcpflow-1.4.5.tar.gz" -checksum=f39fed437911b858c97937bc902f68f9a690753617abe825411a8483a7f70c72 +_be13_commit=8f4f4b3fe0b4815babb3a6fb595eb9a6d07e8a2e +_dfxml_commit=13a8cc22189a8336d16777f2897ada6ae2ee59de +_httpparser_commit=8d9e5db981b623fffc93657abacdc80270cbee58 +distfiles="$homepage/archive/$pkgname-$version.tar.gz + https://github.com/nodejs/http-parser/archive/$_httpparser_commit.tar.gz + https://github.com/simsong/be13_api/archive/$_be13_commit.tar.gz + https://github.com/simsong/dfxml/archive/$_dfxml_commit.tar.gz" +checksum="9cf7adac37aa28c259b88d2f3ac7f415ab7a346cb7ec44b9cae5919372392594 + 25dabef6192080ef81a1ade4b40682125f13c245151739c9312762ec6396b68a + db10b3e2ea3acecdd731f43d346a80b48d57fc5f8e9a524f9b469cf86078685f + f29e3b067e2a69effe8dafd8280faa7119f9a74d18e0726c80d9bc573b4f7695" +wrksrc=$pkgname-$pkgname-$version + +pre_configure() { + rmdir src/{dfxml,be13_api,http-parser} + ln -fsr ../be13_api-$_be13_commit src/be13_api + ln -fsr ../dfxml-$_dfxml_commit src/dfxml + ln -fsr ../http-parser-$_httpparser_commit src/http-parser + autoreconf -fi +}