SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "sshguard"

# SliTaz package receipt.

PACKAGE="sshguard"
VERSION="2.4.2"
CATEGORY="security"
TAGS="ssh"
SHORT_DESC="Protects networked hosts from brute force attacks."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="BSD"
WEB_SITE="https://www.sshguard.net/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"

DEPENDS="iptables"
BUILD_DEPENDS=""

current_version()
{
    wget -O - https://bitbucket.org/sshguard/sshguard/downloads/?tab=tags 2>/dev/null | \
    sed '/tar..z/!d;s|.*/v||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        --prefix=/usr        \
        --sysconfdir=/etc    \
        --mandir=/usr/share/man    \
        $CONFIGURE_ARGS &&
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    sbin
    cook_copy_folders    libexec
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)