wok view sagan-rules/receipt @ rev 25053
Up advancecomp (2.3), foomatic-db (4.0-20220223), sagan-rules (2.0.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 05 19:53:43 2022 +0000 (2022-06-05) |
parents | 453c249b6219 |
children | 9600878fc758 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sagan-rules"
4 VERSION="2.0.2"
5 CATEGORY="security"
6 SHORT_DESC="sagan rules"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://sagan.softwink.com/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/quadrantsec/sagan-rules/archive/refs/tags/v$VERSION.tar.gz"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
17 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/etc/sagan/rules
24 cp -a $src/* $fs/etc/sagan/rules
25 }