Commit f30c9789 authored by J0WI's avatar J0WI Committed by Andy Postnikov
Browse files

testing/p0f: modernize

parent 888e5b23
...@@ -2,16 +2,16 @@ ...@@ -2,16 +2,16 @@
# Maintainer: Arch3y <arch3y@riseup.net> # Maintainer: Arch3y <arch3y@riseup.net>
pkgname=p0f pkgname=p0f
pkgver=3.09b pkgver=3.09b
pkgrel=0 pkgrel=1
pkgdesc="Passive traffic fingerprinting tool" pkgdesc="Passive traffic fingerprinting tool"
url="http://lcamtuf.coredump.cx/p0f3/" url="https://lcamtuf.coredump.cx/p0f3/"
arch="all" arch="all"
license="GPL-2.0" license="GPL-2.0-or-later"
makedepends="bash libpcap-dev" makedepends="bash libpcap-dev"
options="!check" # no tests
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="http://lcamtuf.coredump.cx/p0f3/releases/$pkgname-$pkgver.tgz source="https://lcamtuf.coredump.cx/p0f3/releases/p0f-$pkgver.tgz
p0f-fixes.patch" p0f-fixes.patch"
options="!check"
build() { build() {
cd "$srcdir/$pkgname-$pkgver" cd "$srcdir/$pkgname-$pkgver"
...@@ -22,10 +22,10 @@ build() { ...@@ -22,10 +22,10 @@ build() {
package() { package() {
cd "$srcdir/$pkgname-$pkgver" cd "$srcdir/$pkgname-$pkgver"
install -Dm 755 p0f "$pkgdir/usr/bin/p0f" install -Dm 755 p0f "$pkgdir/usr/bin/p0f"
install -Dm 644 p0f.fp "$pkgdir/etc/p0f/p0f.fp" install -Dm 644 p0f.fp "$pkgdir/etc/p0f/p0f.fp"
install -Dm 644 docs/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm 644 docs/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm 644 docs/README "${pkgdir}/usr/share/doc/${pkgname}/README" install -Dm 644 docs/README "$pkgdir/usr/share/doc/$pkgname/README"
install -Dm 755 tools/p0f-client "$pkgdir/usr/bin" install -Dm 755 tools/p0f-client "$pkgdir/usr/bin"
install -Dm 755 tools/p0f-sendsyn "$pkgdir/usr/bin" install -Dm 755 tools/p0f-sendsyn "$pkgdir/usr/bin"
install -Dm 755 tools/p0f-sendsyn6 "$pkgdir/usr/bin" install -Dm 755 tools/p0f-sendsyn6 "$pkgdir/usr/bin"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment