diff options
author | Lukas Matt | 2020-04-13 15:32:52 +0200 |
---|---|---|
committer | Lukas Matt | 2020-04-13 15:32:52 +0200 |
commit | 3f9f9a26e6f6d9158d3b2002c324f150b6e6bb07 (patch) | |
tree | 129ce448950603b2ce3e3fd5f00ace5bf04fc48c | |
download | aur-3f9f9a26e6f6d9158d3b2002c324f150b6e6bb07.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | 0001-Define-missing-UINT32_MAX.patch | 25 | ||||
-rw-r--r-- | PKGBUILD | 32 |
4 files changed, 77 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..049549a420b1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = libflowmanager + pkgdesc = This library is designed to facilitate performing flow-based measurement tasks using packet-based inputs, particularly packet trace files + pkgver = 3.0.0 + pkgrel = 1 + url = https://research.wand.net.nz/software/libflowmanager.php + arch = x86_64 + license = LGPL + depends = libtrace + source = 0001-Define-missing-UINT32_MAX.patch + source = https://research.wand.net.nz/software/libflowmanager/libflowmanager-3.0.0.tar.gz + validpgpkeys = 1E9E2C1BCF7639B219FBE159903A00FC06CC137B + md5sums = 89e6837ad16547a485a5d4db9bd8845a + md5sums = edd8be7a8a4ff678e9c0c3b5bb5946f0 + +pkgname = libflowmanager + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f52b2f5a9940 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg/ +src/ +*.tar.xz +*.tar.gz diff --git a/0001-Define-missing-UINT32_MAX.patch b/0001-Define-missing-UINT32_MAX.patch new file mode 100644 index 000000000000..66334eb25798 --- /dev/null +++ b/0001-Define-missing-UINT32_MAX.patch @@ -0,0 +1,25 @@ +From da10f0dfe23533f121abb54545407d6021b91a8e Mon Sep 17 00:00:00 2001 +From: Lukas Matt <lukas@matt.wf> +Date: Mon, 13 Apr 2020 15:25:48 +0200 +Subject: [PATCH] Define missing UINT32_MAX + +--- + lib/tcp_reorder.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/lib/tcp_reorder.h b/lib/tcp_reorder.h +index c711b97..7bf707f 100644 +--- a/lib/tcp_reorder.h ++++ b/lib/tcp_reorder.h +@@ -25,6 +25,8 @@ + * + */ + ++#define UINT32_MAX (0xffffffff) ++ + #ifndef TCP_REORDER_H_ + #define TCP_REORDER_H_ + +-- +2.26.0 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ed5046247e00 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Lukas Matt <lukas@matt.wf> +pkgname=libflowmanager +pkgver=3.0.0 +pkgrel=1 +pkgdesc="This library is designed to facilitate performing flow-based measurement tasks using packet-based inputs, particularly packet trace files" +arch=('x86_64') +url="https://research.wand.net.nz/software/libflowmanager.php" +license=('LGPL') +depends=('libtrace') +source=( + "0001-Define-missing-UINT32_MAX.patch" + "https://research.wand.net.nz/software/libflowmanager/libflowmanager-3.0.0.tar.gz") +md5sums=( + '89e6837ad16547a485a5d4db9bd8845a' + 'edd8be7a8a4ff678e9c0c3b5bb5946f0') +validpgpkeys=('1E9E2C1BCF7639B219FBE159903A00FC06CC137B') + +prepare() { + cd "$pkgname-$pkgver" + patch -p1 -i "$srcdir/0001-Define-missing-UINT32_MAX.patch" +} + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} |