summaryrefslogtreecommitdiff
path: root/time/logtime
diff options
context:
space:
mode:
Diffstat (limited to 'time/logtime')
-rw-r--r--time/logtime/Makefile23
-rw-r--r--time/logtime/files/md53
-rw-r--r--time/logtime/pkg/COMMENT1
-rw-r--r--time/logtime/pkg/DESCR5
-rw-r--r--time/logtime/pkg/PLIST3
5 files changed, 35 insertions, 0 deletions
diff --git a/time/logtime/Makefile b/time/logtime/Makefile
new file mode 100644
index 00000000000..d0384b6c0b3
--- /dev/null
+++ b/time/logtime/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:12 wiz Exp $
+#
+
+DISTNAME= logtime-1.0
+CATEGORIES= sysutils time
+MASTER_SITES= ftp://ftp.gw.com/pub/people/kim/
+
+MAINTAINER= kim@tac.nyc.ny.us
+
+DEPENDS+= sh-utils-*:../../sysutils/sh-utils
+
+.include "../../mk/bsd.prefs.mk"
+
+NO_CONFIGURE= yes
+NO_PATCH= yes
+
+MAKE_PARAMS+= PREFIX=${PREFIX}
+MAKE_PARAMS+= GDATE=${LOCALBASE}/bin/gdate
+
+ALL_TARGET= all ${MAKE_PARAMS}
+INSTALL_TARGET= install ${MAKE_PARAMS}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/logtime/files/md5 b/time/logtime/files/md5
new file mode 100644
index 00000000000..f4ba13e8ade
--- /dev/null
+++ b/time/logtime/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:12 wiz Exp $
+
+MD5 (logtime-1.0.tar.gz) = 25b38fa31ad2e7c232f94af564e7a49b
diff --git a/time/logtime/pkg/COMMENT b/time/logtime/pkg/COMMENT
new file mode 100644
index 00000000000..338934ab11c
--- /dev/null
+++ b/time/logtime/pkg/COMMENT
@@ -0,0 +1 @@
+Prints date and time in a standard format
diff --git a/time/logtime/pkg/DESCR b/time/logtime/pkg/DESCR
new file mode 100644
index 00000000000..560550e424e
--- /dev/null
+++ b/time/logtime/pkg/DESCR
@@ -0,0 +1,5 @@
+Logtime prints the date and time in a set format (YYYYMMDD hh:mm:ss).
+
+With the -p option logtime subtracts one day from the date if the time
+is before 8am. This is a special hack to make scripts that run in
+the early morning hours generate log files with the previous days date.
diff --git a/time/logtime/pkg/PLIST b/time/logtime/pkg/PLIST
new file mode 100644
index 00000000000..164ae5d6f51
--- /dev/null
+++ b/time/logtime/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:12 wiz Exp $
+bin/logtime
+man/man1/logtime.1