tcpflow: update to 1.6.1.

This commit is contained in:
Đoàn Trần Công Danh 2022-12-01 15:56:32 +07:00
parent c2865060fd
commit 5faff6c285

View file

@ -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 <orphan@voidlinux.org>"
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
}