From 5faff6c28515727ee827e654e7df7961dfb07565 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 1 Dec 2022 15:56:32 +0700 Subject: [PATCH] tcpflow: update to 1.6.1. --- srcpkgs/tcpflow/template | 35 +++++++++-------------------------- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/srcpkgs/tcpflow/template b/srcpkgs/tcpflow/template index 6eaf1addccb..f2b5fa11709 100644 --- a/srcpkgs/tcpflow/template +++ b/srcpkgs/tcpflow/template @@ -1,35 +1,18 @@ # Template file for 'tcpflow' pkgname=tcpflow -version=1.5.2 -revision=3 -create_wrksrc=yes +version=1.6.1 +revision=1 build_style=gnu-configure hostmakedepends="automake" -makedepends="libpcap-devel zlib-devel openssl-devel boost-devel" +makedepends="libpcap-devel zlib-devel openssl-devel boost-devel tre-devel + sqlite-devel libcap-ng-devel cairo-devel" short_desc="Captures data transmitted as part of TCP connections" maintainer="Orphaned " -license="GPL-3.0-only" +license="GPL-3.0-only, MIT" homepage="https://github.com/simsong/tcpflow" -_be20_commit=c81521d768bb78499c069fcd7c47adc8eee0350c -_dfxml_commit=c31224626cf5f6678d42cbcfbfcd4e6191c9a864 -_httpparser_commit=6b05cce82da5c4d407e5576ab892bc20a17b0394 -distfiles="https://github.com/simsong/tcpflow/archive/${pkgname}-${version}.tar.gz - https://github.com/nodejs/http-parser/archive/$_httpparser_commit.tar.gz - https://github.com/simsong/be20_api/archive/$_be20_commit.tar.gz - https://github.com/simsong/dfxml/archive/$_dfxml_commit.tar.gz" -checksum="c4138dbf2ed9915aed92e8f5cd6d19db2c7d1caeb02191939d0bfa15e52fe600 - b947bd185511fd28a12a30436bcbe8f765473a667cdb6f8f55888274d44f550f - c98cface83e074be790293bb1041df8968ef385a196e0990f5174883d2e1d8f4 - 358e4d3599c6e26f1dff85066e15e86025fc537466e8f4e35924922886eed86b" +distfiles="https://github.com/simsong/tcpflow/releases/download/tcpflow-${version}/tcpflow-${version}.tar.gz" +checksum=436f93b1141be0abe593710947307d8f91129a5353c3a8c3c29e2ba0355e171e -post_extract() { - mv tcpflow-*/* . - rmdir src/{dfxml,be13_api,http-parser} - mv be??_api-$_be20_commit src/be13_api - mv dfxml-$_dfxml_commit src/dfxml - mv http-parser-$_httpparser_commit src/http-parser -} - -pre_configure() { - autoreconf -fi +post_install() { + vlicense src/http-parser/LICENSE-MIT }