summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1bed1927447297636f7cf45c16fd4254c129752f (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
30
31
32
# Maintainer: Emanuel Fernandes <efernandes@tektorque.com>
# Contributor: nofxx <x@nofxx.com>

pkgname=httprint
pkgver=301
pkgrel=2
pkgdesc="httprint is a web server fingerprinting tool."
arch=('i686' 'x86_64')
url="http://www.net-square.com/httprint.html"
license=('NON-GPL')
depends=(bash)
provides=(httprint)
conflicts=(httprint)
install=
source=(http://net-square.com/zip%20folders/httprint_linux_$pkgver.zip)
md5sums=('af53704de9c1851bd439cbe3fab3e0ad')

package() {
	cd $srcdir/httprint_$pkgver/linux

	install -Dm755 httprint $pkgdir/usr/share/$pkgname/httprint
	install -Dm644 input.txt $pkgdir/usr/share/$pkgname/input.txt
	install -Dm644 nmapportlist.txt $pkgdir/usr/share/$pkgname/nmapportlist.txt
	install -Dm644 readme.txt $pkgdir/usr/share/$pkgname/readme.txt
	install -Dm644 signatures.txt $pkgdir/usr/share/$pkgname/signatures.txt
	for file in images/*; do
		install -Dm644 ${file} $pkgdir/usr/share/${pkgname}/${file}
	done
	install -dm755 $pkgdir/usr/bin
	ln -sf /usr/share/$pkgname/httprint $pkgdir/usr/bin/$pkgname
}