aports/main/logtail/APKBUILD
2023-04-11 18:01:21 +02:00

34 lines
1.2 KiB
Text

# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
# Bit 'o history here:
# In 1997 Craig Rowland of psionic.com released a package called LogSentry
# http://www.psionic.com/downloads/logsentry-1.1.1.tar.gz
# One of the tools was "logtail". It was written in C.
# Cisco bought Psionic, and took logsentry offline.
# Debian supports a Perl re-implementation (logtail2)
# https://packages.debian.org/unstable/logtail
# This is the sourceforge re-re-implementation in C, and the
# offical package project name is 'logtail-v3'
# At the risk of being technically incorrect we call this package logtail
pkgname=logtail
pkgver=3.22
pkgrel=3
pkgdesc="Print new lines in log file since the last run (sf.net logtail-v3 ver)"
url="https://logtail-v3.sourceforge.net/"
arch="all"
license="GPL-2.0-or-later"
options="!check" # no tests
source="https://downloads.sourceforge.net/logtail-v3/logtail-v$pkgver.zip"
build() {
cd "$srcdir"
cc -D_OS_UNIX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o logtail logtail-v$pkgver.c
}
package() {
cd "$srcdir"
install -Dm755 logtail "$pkgdir"/usr/bin/logtail
}
sha512sums="
591f1a2c9e37952ec2e2e1e53189ad9b0b74bd77f44a688b8d439420830a6835f27e52ea47f7a670811bd3a80f6a313783410724577f54d52190a698576025d2 logtail-v3.22.zip
"