wok annotate sshguard/receipt @ rev 25201

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