ports/127906: [NEW PORT] www/multisort - A small program to take multiple httpd logfiles into a single log
Dennis Herrmann
adox at mcx2.org
Mon Oct 6 18:20:04 UTC 2008
>Number: 127906
>Category: ports
>Synopsis: [NEW PORT] www/multisort - A small program to take multiple httpd logfiles into a single log
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 06 18:20:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Dennis Herrmann
>Release: FreeBSD 7.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD dhn.homeunix.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #2: Sun Sep 14 08:19:18 CEST 2008 root at contempt:/usr/obj/usr/src/sys/CONTEMPT i386
>Description:
`multisort' is a small program designed to take multiple httpd
logfiles in the Common Log Format and merge them into a single log,
sorted by date, sent to standard output.
This is useful if you're running a single website on multiple hosts
and using round-robin DNS to do load distribution. With multisort, you
can take the various logfiles from each server and merge them into a
single file for analysis.
WWW: http://www.xach.com/multisort/
>How-To-Repeat:
>Fix:
--- shar-multisort begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# multisort
# multisort/pkg-descr
# multisort/distinfo
# multisort/Makefile
# multisort/files
# multisort/files/patch-Makefile
#
echo c - multisort
mkdir -p multisort > /dev/null 2>&1
echo x - multisort/pkg-descr
sed 's/^X//' >multisort/pkg-descr << 'END-of-multisort/pkg-descr'
X`multisort' is a small program designed to take multiple httpd
Xlogfiles in the Common Log Format and merge them into a single log,
Xsorted by date, sent to standard output.
X
XThis is useful if you're running a single website on multiple hosts
Xand using round-robin DNS to do load distribution. With multisort, you
Xcan take the various logfiles from each server and merge them into a
Xsingle file for analysis.
X
XWWW: http://www.xach.com/multisort/
END-of-multisort/pkg-descr
echo x - multisort/distinfo
sed 's/^X//' >multisort/distinfo << 'END-of-multisort/distinfo'
XMD5 (multisort-1.1.tar.gz) = c47f7622773022119e1ea21d2b211bd3
XSHA256 (multisort-1.1.tar.gz) = 50cc0e84738f1c9b4b587e4d13564c233be20c693fd2154f2e8a293f3d5bc17d
XSIZE (multisort-1.1.tar.gz) = 3520
END-of-multisort/distinfo
echo x - multisort/Makefile
sed 's/^X//' >multisort/Makefile << 'END-of-multisort/Makefile'
X# New ports collection makefile for: multisort
X# Date created: 06 Oct 2008
X# Whom: Dennis Herrmann <adox at mcx2.org>
X#
X# $FreeBSD: $
X#
X
XPORTNAME= multisort
XPORTVERSION= 1.1
XCATEGORIES= www
XMASTER_SITES= http://www.xach.com/multisort/ \
X http://mirror.mcx2.org/
X
XMAINTAINER= adox at mcx2.org
XCOMMENT= A small program to take multiple httpd logfiles into one
X
XPLIST_FILES= bin/multisort
X
X.include <bsd.port.mk>
END-of-multisort/Makefile
echo c - multisort/files
mkdir -p multisort/files > /dev/null 2>&1
echo x - multisort/files/patch-Makefile
sed 's/^X//' >multisort/files/patch-Makefile << 'END-of-multisort/files/patch-Makefile'
X--- Makefile.orig 1999-10-28 21:04:24.000000000 +0200
X+++ Makefile 2008-10-07 18:48:41.000000000 +0200
X@@ -1,9 +1,10 @@
X-#
X-# $Id: Makefile,v 1.1 1999/01/14 19:05:35 xach Exp $
X-#
X-
X+PREFIX?= /usr/local
X CC = gcc
X CFLAGS = -Wall -g -O2
X
X-multisort: multisort.c
X+all:
X $(CC) $(CFLAGS) -o multisort multisort.c
X+
X+install:
X+ @mkdir -p ${DESTDIR}${PREFIX}/bin
X+ install -m 755 multisort ${PREFIX}/bin
END-of-multisort/files/patch-Makefile
exit
--- shar-multisort ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list