summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2001-04-01 20:37:30 +0000
committerzuntum <zuntum@pkgsrc.org>2001-04-01 20:37:30 +0000
commit12a71ab4f3839228576c886294d97f7cf39a51c8 (patch)
tree363eee875d1797fb448e5f9f0502735828b1fed3 /www
parentbd0deba0ebd438daa9878de39cc95aeea9dd64b7 (diff)
downloadpkgsrc-12a71ab4f3839228576c886294d97f7cf39a51c8.tar.gz
Initial import of cronolog-1.6.1
"cronolog" is a simple program that reads log messages from its input and writes them to a set of output files, the names of which are constructed using template and the current date and time. The template uses the same format specifiers as the Unix date command (which are the same as the standard C strftime library function). "cronolog" is intended to be used in conjunction with a Web server, such as Apache to split the access log into daily or monthly logs.
Diffstat (limited to 'www')
-rw-r--r--www/cronolog/Makefile23
-rw-r--r--www/cronolog/files/md53
-rw-r--r--www/cronolog/files/patch-sum3
-rw-r--r--www/cronolog/patches/patch-aa12
-rw-r--r--www/cronolog/pkg/DESCR8
-rw-r--r--www/cronolog/pkg/PLIST8
6 files changed, 57 insertions, 0 deletions
diff --git a/www/cronolog/Makefile b/www/cronolog/Makefile
new file mode 100644
index 00000000000..39682b735a2
--- /dev/null
+++ b/www/cronolog/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/01 20:37:30 zuntum Exp $
+#
+
+DISTNAME= cronolog-1.6.1
+CATEGORIES= www
+MASTER_SITES= http://www.ford-mason.co.uk/resources/cronolog/
+
+MAINTAINER= zuntum@netbsd.org
+HOMEPAGE= http://www.ford-mason.co.uk/resources/cronolog/
+COMMENT= Web log rotation utility that provides datestamp filenames
+
+GNU_CONFIGURE= YES
+
+post-patch:
+ ${SED} "s,/www/sbin/cronolog,${PREFIX}/sbin/cronolog,g" \
+ ${WRKSRC}/doc/cronolog.1m > ${WRKSRC}/doc/cronolog.1m.done
+ ${MV} ${WRKSRC}/doc/cronolog.1m.done ${WRKSRC}/doc/cronolog.1m
+
+post-install:
+ ${MV} ${PREFIX}/man/man1/cronolog.1m ${PREFIX}/man/man8/cronolog.8
+ ${MV} ${PREFIX}/man/man1/cronosplit.1m ${PREFIX}/man/man8/cronosplit.8
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/cronolog/files/md5 b/www/cronolog/files/md5
new file mode 100644
index 00000000000..60ce8ccb24c
--- /dev/null
+++ b/www/cronolog/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/04/01 20:37:30 zuntum Exp $
+
+SHA1 (cronolog-1.6.1.tar.gz) = 5f819c7f680534277d9abe9d8d687e4588c99ed6
diff --git a/www/cronolog/files/patch-sum b/www/cronolog/files/patch-sum
new file mode 100644
index 00000000000..37476e4de6a
--- /dev/null
+++ b/www/cronolog/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/04/01 20:37:30 zuntum Exp $
+
+SHA1 (patch-aa) = 8249c02397863dd4d3de4e6cf9a6f88661caf606
diff --git a/www/cronolog/patches/patch-aa b/www/cronolog/patches/patch-aa
new file mode 100644
index 00000000000..73174a4f4f1
--- /dev/null
+++ b/www/cronolog/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/01 20:37:30 zuntum Exp $
+
+--- src/cronoutils.c.orig Mon Dec 20 09:34:44 1999
++++ src/cronoutils.c
+@@ -71,7 +71,6 @@
+
+ #include "cronoutils.h"
+ extern char *tzname[2];
+-extern long int timezone;
+
+
+ /* debug_file is the file to output debug messages to. No debug
diff --git a/www/cronolog/pkg/DESCR b/www/cronolog/pkg/DESCR
new file mode 100644
index 00000000000..6d9065374aa
--- /dev/null
+++ b/www/cronolog/pkg/DESCR
@@ -0,0 +1,8 @@
+"cronolog" is a simple program that reads log messages from its input
+and writes them to a set of output files, the names of which are
+constructed using template and the current date and time. The
+template uses the same format specifiers as the Unix date command
+(which are the same as the standard C strftime library function).
+
+"cronolog" is intended to be used in conjunction with a Web server, such
+as Apache to split the access log into daily or monthly logs.
diff --git a/www/cronolog/pkg/PLIST b/www/cronolog/pkg/PLIST
new file mode 100644
index 00000000000..f3410c7593b
--- /dev/null
+++ b/www/cronolog/pkg/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/01 20:37:30 zuntum Exp $
+@unexec install-info --delete --info-dir=%D/info %D/info/cronolog.info
+info/cronolog.info
+@exec install-info --info-dir=%D/info %D/info/cronolog.info
+man/man8/cronolog.8
+man/man8/cronosplit.8
+sbin/cronolog
+sbin/cronosplit