wok view sshguard/receipt @ rev 24102

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 17 10:35:57 2021 +0000 (2021-09-17)
parents a78610b2eb47
children fb7d3b05f186
line source
1 # SliTaz package receipt.
3 PACKAGE="sshguard"
4 VERSION="2.4.0"
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
35 cp -a $install/usr/sbin $fs/usr
36 cp -a $install/usr/libexec $fs/usr
37 }