updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / honeyd / PKGBUILD
blob62ec280eb59d1c2c6d7a66d8fcccec62fc7169db
1 # Maintainer: Michael P <ptchinster@archlinux.us>
2 # Contributor: Michael P <ptchinster@archlinux.us>
4 pkgname=honeyd
5 pkgver=1.5c
6 pkgrel=5
7 pkgdesc="A small daemon that creates virtual hosts on a network."
8 depends=('libdnet' ' libevent' 'libdnsres' 'libpcap' 'pcre' 'zlib')
9 source=(http://www.honeyd.org/uploads/$pkgname-$pkgver.tar.gz)
10 md5sums=('9887b44333e380a2205f64fa245cb727')
11 arch=(i686 x86_64)
12 url="http://www.honeyd.org"
13 license=("GPL")
15 build()
17         cd $srcdir/$pkgname-$pkgver
18   
19         mkdir -p $pkgdir/usr/share/honeyd
21         ./configure --prefix=/usr
22         make || return 1
23         make prefix=$pkgdir/usr install
24   
25         # Fix permissions on webserver dirs
26         for dir in webserver webserver/htdocs webserver/htdocs/graphs \
27         webserver/htdocs/images webserver/htdocs/styles webserver/htdocs/templates \
28         webserver/htdocs/templates/inc
29                 do chmod 755 $pkgdir/usr/share/honeyd/$dir
30         done