ndpi: update to 2.2.
This commit is contained in:
parent
fe34ecb75d
commit
48554d94e3
|
@ -1,19 +1,25 @@
|
|||
# Template file for 'ndpi'
|
||||
pkgname=ndpi
|
||||
version=2.0
|
||||
version=2.2
|
||||
revision=1
|
||||
wrksrc=nDPI-${version}
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="libtool automake pkg-config"
|
||||
makedepends="libpcap-devel json-c-devel"
|
||||
short_desc="Open Source Deep Packet Inspection Software Toolkit"
|
||||
maintainer="Toyam Cox <Vaelatern@gmail.com>"
|
||||
license="GPL-3"
|
||||
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
|
||||
license="LGPL-3"
|
||||
homepage="http://www.ntop.org/products/ndpi/"
|
||||
distfiles="https://github.com/ntop/nDPI/archive/${version}.tar.gz"
|
||||
checksum=90ae6e4de83bda5bb7405207020c1e0be364841510fdf5f0a2d48974e1a3fbcb
|
||||
checksum=25607db12f466ba88a1454ef8b378e0e9eb59adffad6baa4b5610859a102a5dd
|
||||
|
||||
pre_configure() {
|
||||
# Copied from autogen.sh
|
||||
local NDPI_MAJOR=${version%.*}
|
||||
local NDPI_MINOR=${version#*.}
|
||||
local NDPI_PATCH=0
|
||||
local NDPI_VERSION_SHORT=${version}.0
|
||||
cat configure.seed | sed "s/@NDPI_MAJOR@/$NDPI_MAJOR/g" | sed "s/@NDPI_MINOR@/$NDPI_MINOR/g" | sed "s/@NDPI_PATCH@/$NDPI_PATCH/g" | sed "s/@NDPI_VERSION_SHORT@/$NDPI_VERSION_SHORT/g" > configure.ac
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue