blob: 555f91b9db59b8f643ef2996f704bf6d96e2203e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=httpry
pkgver=0.1.8
pkgrel=1
pkgdesc="A packet sniffer designed for HTTP traffic"
# Sources at https://github.com/jbittel/httpry/
url="http://dumpsterventures.com/jason/httpry/"
arch="all"
license="GPL-2.0"
makedepends="libpcap-dev"
subpackages="$pkgname-doc"
source="https://github.com/jbittel/httpry/archive/httpry-0.1.8.tar.gz"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"
build() {
cd "$builddir"
make || return 1
}
package() {
cd "$builddir"
install -m755 -D "$builddir"/$pkgname \
"$pkgdir"/usr/sbin/$pkgname || return 1
install -m644 -D "$builddir"/$pkgname.1 \
"$pkgdir"/usr/share/man/man1/$pkgname.1 || return 1
}
sha512sums="d242d5bd60296f1a5836c3c9449c732a77eeda69c103718e75debfeb97d528b87bf895312883f194f0a35c37c1d59e95086b1f7dd8f3ae8627428657d49cebed httpry-0.1.8.tar.gz"
|