summaryrefslogtreecommitdiffstats
path: root/extra/knock/Pkgfile
blob: 7c9e15ca07722ea3507369942d9385838c58dd1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Description: Port knocking
# URL: http://www.zeroflux.org/projects/knock
# Maintainer: Cobex4
# Packager: cobex4 at gmail dot com
# Depends on: libpcap

name=knock
version=0.5
release=1
source=(http://www.zeroflux.org/proj/knock/files/$name-$version.tar.gz)

build() {
        cd $name-$version
        # build-time config
        echo "#include <limits.h>" >>  src/list.h

        ./configure --prefix=/usr
        make
        make DESTDIR=$PKG install
}