Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Mar 2021 06:02:45 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r567546 - in head/textproc: . addts
Message-ID:  <202103070602.12762jCo045595@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sun Mar  7 06:02:45 2021
New Revision: 567546
URL: https://svnweb.freebsd.org/changeset/ports/567546

Log:
  A small filter that prints its input prefixing each line with current
  timestamp.  Typical usage is for Apache forensic logs.
  
  Requested by:	maintainer

Added:
  head/textproc/addts/
  head/textproc/addts/Makefile   (contents, props changed)
  head/textproc/addts/distinfo   (contents, props changed)
  head/textproc/addts/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Sun Mar  7 05:43:44 2021	(r567545)
+++ head/textproc/Makefile	Sun Mar  7 06:02:45 2021	(r567546)
@@ -36,6 +36,7 @@
     SUBDIR += UCD
     SUBDIR += adabrowse
     SUBDIR += add-css-links
+    SUBDIR += addts
     SUBDIR += af-aspell
     SUBDIR += aft
     SUBDIR += agrep

Added: head/textproc/addts/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/addts/Makefile	Sun Mar  7 06:02:45 2021	(r567546)
@@ -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>

Added: head/textproc/addts/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/addts/distinfo	Sun Mar  7 06:02:45 2021	(r567546)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1564577318
+SHA256 (addts-1.0.tar.gz) = 894a6670ec42d49a409835aea9e33c0947f26725270b461b81a60dd52273e64b
+SIZE (addts-1.0.tar.gz) = 4431

Added: head/textproc/addts/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/addts/pkg-descr	Sun Mar  7 06:02:45 2021	(r567546)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103070602.12762jCo045595>