forked from Lainports/freebsd-ports
A small filter that prints its input prefixing each line with current
timestamp. Typical usage is for Apache forensic logs. Requested by: maintainer
This commit is contained in:
parent
b48f9d2bb8
commit
70b2945ffc
4 changed files with 38 additions and 0 deletions
|
|
@ -36,6 +36,7 @@
|
|||
SUBDIR += UCD
|
||||
SUBDIR += adabrowse
|
||||
SUBDIR += add-css-links
|
||||
SUBDIR += addts
|
||||
SUBDIR += af-aspell
|
||||
SUBDIR += aft
|
||||
SUBDIR += agrep
|
||||
|
|
|
|||
28
textproc/addts/Makefile
Normal file
28
textproc/addts/Makefile
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= addts
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= http://download.gnu.org.ua/release/addts/ \
|
||||
ftp://download.gnu.org.ua/release/addts/
|
||||
|
||||
MAINTAINER= zeus@gnu.org.ua
|
||||
COMMENT= Prepend current timestamp to every line of input text
|
||||
|
||||
LICENSE= GPLv3+
|
||||
|
||||
ALL_TARGET= ${PORTNAME}
|
||||
PLIST_FILES= bin/addts share/man/man1/addts.1.gz
|
||||
PORTDOCS= NEWS README
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/tv_usec/s,%06,&l,' ${WRKSRC}/addts.c
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
textproc/addts/distinfo
Normal file
3
textproc/addts/distinfo
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1564577318
|
||||
SHA256 (addts-1.0.tar.gz) = 894a6670ec42d49a409835aea9e33c0947f26725270b461b81a60dd52273e64b
|
||||
SIZE (addts-1.0.tar.gz) = 4431
|
||||
6
textproc/addts/pkg-descr
Normal file
6
textproc/addts/pkg-descr
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
A small filter that prints its input prefixing each line with the current
|
||||
timestamp. Typical usage is for Apache forensic log:
|
||||
|
||||
ForensicLog "|/usr/bin/addts -a /var/log/httpd/forensic.log"
|
||||
|
||||
WWW: https://puszcza.gnu.org.ua/projects/addts/
|
||||
Loading…
Add table
Reference in a new issue