wok view sshguard/receipt @ rev 14764

Add sshguard
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 21 10:15:23 2013 +0200 (2013-06-21)
parents
children f44ef80ff9e2
line source
1 # SliTaz package receipt.
3 PACKAGE="sshguard"
4 VERSION="1.5"
5 CATEGORY="security"
6 SHORT_DESC="Protects networked hosts from brute force attacks"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.sshguard.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$PACKAGE-$VERSION/$TARBALL"
13 DEPENDS="iptables"
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --sysconfdir=/etc \
22 --mandir=/usr/share/man \
23 --with-firewall=iptables \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/sbin $fs/usr
34 }