wok view sshguard/receipt @ rev 25725
added recipe for xfce4-notifyd-lang
author | Hans-G?nter Theisgen |
---|---|
date | Sat Aug 17 17:12:02 2024 +0100 (3 months ago) |
parents | 51ef9f5adf6d |
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://bitbucket.org/sshguard/sshguard/downloads/?tab=tags 2>/dev/null | \
22 sed '/td class="name"/!d;s|.*v||;s|<.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders sbin
41 cook_copy_folders libexec
42 }