aboutsummaryrefslogtreecommitdiff
path: root/sysutils/httplog
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2001-11-25 20:21:34 +0000
committerAnders Nordby <anders@FreeBSD.org>2001-11-25 20:21:34 +0000
commitd90f4b1e1ccf007b8b7e2871b3df29f7a63bb8a4 (patch)
tree310f02ab23b6e77b72f4247ebe23b6cd8125bce9 /sysutils/httplog
parente3d0611cf6e16f2e68ddb93f26826e90acf6c9ec (diff)
downloadports-d90f4b1e1ccf007b8b7e2871b3df29f7a63bb8a4.tar.gz
ports-d90f4b1e1ccf007b8b7e2871b3df29f7a63bb8a4.zip
Notes
Diffstat (limited to 'sysutils/httplog')
-rw-r--r--sysutils/httplog/Makefile41
-rw-r--r--sysutils/httplog/distinfo1
-rw-r--r--sysutils/httplog/pkg-comment1
-rw-r--r--sysutils/httplog/pkg-descr11
-rw-r--r--sysutils/httplog/pkg-plist4
5 files changed, 58 insertions, 0 deletions
diff --git a/sysutils/httplog/Makefile b/sysutils/httplog/Makefile
new file mode 100644
index 000000000000..d1d67df4241a
--- /dev/null
+++ b/sysutils/httplog/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: httplog
+# Date created: 25 November 2001
+# Whom: anders
+#
+# $FreeBSD$
+#
+
+PORTNAME= httplog
+PORTVERSION= 1.9
+CATEGORIES= sysutils www
+MASTER_SITES= http://nutbar.chemlab.org/downloads/programs/ \
+ ftp://ftp.nuug.no/pub/anders/distfiles/
+
+MAINTAINER= ports@FreeBSD.org
+
+MAN8= httplog.8
+
+DOCS= ChangeLog README
+
+post-patch:
+ (cd ${WRKSRC} && printf \
+ "#define VERSION \"1.9\"\n#define USE_ZLIB\n#define USE_DEBUG\n" \
+ >defines.h && \
+ ${PERL} -pi -e "s@<wait.h>@<sys/wait.h>@" httplog.c && \
+ ${PERL} -pi -e "s@/var/lib/apache/bin/httplog@${PREFIX}/bin/httplog@" \
+ httplog.8)
+
+do-build:
+ (cd ${WRKSRC} && ${CC} ${CFLAGS} -o httplog httplog.c -lz)
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/httplog ${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/httplog.8 ${PREFIX}/man/man8/
+.if !defined(NOPORTDOCS)
+ ${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/sysutils/httplog/distinfo b/sysutils/httplog/distinfo
new file mode 100644
index 000000000000..623f054abfef
--- /dev/null
+++ b/sysutils/httplog/distinfo
@@ -0,0 +1 @@
+MD5 (httplog-1.9.tar.gz) = 504598edb31f02b0d91849a92247f7c0
diff --git a/sysutils/httplog/pkg-comment b/sysutils/httplog/pkg-comment
new file mode 100644
index 000000000000..abaaf42256a4
--- /dev/null
+++ b/sysutils/httplog/pkg-comment
@@ -0,0 +1 @@
+Apache log rollover program with strftime(3) filename support
diff --git a/sysutils/httplog/pkg-descr b/sysutils/httplog/pkg-descr
new file mode 100644
index 000000000000..ea419610c358
--- /dev/null
+++ b/sysutils/httplog/pkg-descr
@@ -0,0 +1,11 @@
+httplog is a replacement for Apache's 'rotatelogs' and Andrew Ford's
+'chronolog'. It allows you to specify a logfile using strftime paramaters in
+the filename to act as a template. This means that the logs in your logfiles
+will also be sorted according to the filename. For example, if you specify a
+logfile of /var/log/http%Y%m%d.log, a new log file would be generated each day,
+with content for only that one day. It also supports compression of logfiles
+using gzip, and many other useful functions.
+
+WWW: http://nutbar.chemlab.org/
+
+- Anders Nordby <anders@FreeBSD.org>
diff --git a/sysutils/httplog/pkg-plist b/sysutils/httplog/pkg-plist
new file mode 100644
index 000000000000..ac94d84087db
--- /dev/null
+++ b/sysutils/httplog/pkg-plist
@@ -0,0 +1,4 @@
+bin/httplog
+%%PORTDOCS%%share/doc/httplog/ChangeLog
+%%PORTDOCS%%share/doc/httplog/README
+%%PORTDOCS%%@dirrm share/doc/httplog