wok view pflogsumm/receipt @ rev 25460
Update sourceforge.net web_sites with https://
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 28 08:10:35 2022 +0000 (2022-09-28) |
parents | 2f230197370e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="pflogsumm"
4 VERSION="1.1.5"
5 CATEGORY="misc"
6 TAGS="postfix mail logs analysis"
7 SHORT_DESC="Provides an over-view of postfix activity."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://jimsun.linxnet.com/postfix_contrib.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://jimsun.linxnet.com/downloads/$TARBALL"
15 SUGGESTED="postfix"
16 DEPENDS="perl-date-calc"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin $install/usr/doc $install/usr/man/man1
29 install -m 755 $src/pflogsumm.1 $install/usr/man/man1
30 install -m 755 $src/*.txt $install/usr/doc
31 install -m 755 $src/pflogsumm.pl $fs/usr/bin/pflogsumm
32 sed -i 's/m#\^(/m#(/' $fs/usr/bin/pflogsumm
33 }