[ create a new paste ] login | about

Link: http://codepad.org/6nPBfLgr    [ raw code | fork ]

Plain Text, pasted on Jul 29:
# $Id: PKGBUILD 20410 2008-12-03 09:44:51Z tom $
# Maintainer: Mike Sampson <mike at sambodata dot com>
# Contributor: Aaron Griffin <aaron@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>

pkgname=knockd
pkgver=0.5
pkgrel=9
pkgdesc="A simple port-knocking daemon"
arch=(i686 x86_64)
url="http://www.zeroflux.org/projects/knock"
license=(GPL)
depends=('libpcap>=1.0.0')
backup=('etc/knockd.conf')
source=(http://www.zeroflux.org/proj/knock/files/knock-$pkgver.tar.gz
        knockd knockd.logrotate limits.h.patch)

build() {
  cd "$srcdir/knock-$pkgver"
  patch -Np0 -i "$srcdir/limits.h.patch"
  ./configure --prefix=/usr
  make
}
package() {
  cd "$srcdir/knock-$pkgver"
  make DESTDIR="$pkgdir" MANDIR=/usr/share/man install
  install -D -m755 "$srcdir/knockd" "$pkgdir/etc/rc.d/knockd"
  install -D -m644 "$srcdir/knockd.logrotate" "$pkgdir/etc/logrotate.d/knockd"
}
md5sums=('ca09d61458974cff90a700aba6120891'
         '72302d899887996694586c3d479de245'
         '56a4113ec89ba2e96f79ab23c914d52a'
         'e56dc7359f36c3b07da6710c404d671e')



Create a new paste based on this one


Comments: