wok-6.x view sshguard/receipt @ rev 25085
gnumeric: added dependency goffice
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 17 06:26:00 2022 +0100 (2022-06-17) |
parents | 9bbac86a37f7 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="sshguard"
4 VERSION="2.4.2"
5 CATEGORY="security"
6 TAGS="ssh"
7 SHORT_DESC="Protects networked hosts from brute force attacks."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="https://www.sshguard.net/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
15 DEPENDS="iptables"
16 BUILD_DEPENDS=""
18 current_version()
19 {
20 wget -O - https://bitbucket.org/sshguard/sshguard/downloads/?tab=tags 2>/dev/null | \
21 sed '/tar..z/!d;s|.*/v||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders sbin
40 cook_copy_folders libexec
41 }