SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pflogsumm"

# SliTaz package receipt.

PACKAGE="pflogsumm"
VERSION="1.1.5"
CATEGORY="misc"
TAGS="postfix mail logs analysis"
SHORT_DESC="Provides an over-view of postfix activity."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://jimsun.linxnet.com/postfix_contrib.html"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://jimsun.linxnet.com/downloads/$TARBALL"

SUGGESTED="postfix"
DEPENDS="perl-date-calc"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin $install/usr/doc $install/usr/man/man1
    install -m 755 $src/pflogsumm.1 $install/usr/man/man1
    install -m 755 $src/*.txt $install/usr/doc
    install -m 755 $src/pflogsumm.pl $fs/usr/bin/pflogsumm
    sed -i 's/m#\^(/m#(/' $fs/usr/bin/pflogsumm
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)