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