mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Add happystats 0.5.0, universal log converter into graph.
Useful for mail stats for example. PR: 61626 Submitted by: Xavier Beaudouin <kiwi@oav.net>, gioria (follow-up with upgrade to 0.5.0)
This commit is contained in:
parent
626d9e14d8
commit
c91b9f861e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103058
@ -181,6 +181,7 @@
|
||||
SUBDIR += gutenfetch
|
||||
SUBDIR += gyach
|
||||
SUBDIR += hagelslag
|
||||
SUBDIR += happystats
|
||||
SUBDIR += haproxy
|
||||
SUBDIR += hawk
|
||||
SUBDIR += hf6to4
|
||||
|
41
net/happystats/Makefile
Normal file
41
net/happystats/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# New ports collection makefile for: happystats
|
||||
# Date created: 2004-01-12
|
||||
# Whom: Xavier Beaudouin <kiwi@oav.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= happystats
|
||||
PORTVERSION= 0.5.0
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.happystats.org/srcs/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= kiwi@oav.net
|
||||
COMMENT= Universal log converter into graph
|
||||
|
||||
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre \
|
||||
xml2.5:${PORTSDIR}/textproc/libxml2 \
|
||||
rrd.0:${PORTSDIR}/net/rrdtool \
|
||||
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
||||
|
||||
MAN1= happystats.1
|
||||
MANCOMPRESSED= yes
|
||||
DOCS= AUTHORS INSTALL TODO
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC} && ${MAKE} dep
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/happystats ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/man/happystats.1.gz ${MAN1PREFIX}/man/man1
|
||||
@${MKDIR} ${PREFIX}/www/cgi-bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/happystats.cgi ${PREFIX}/www/cgi-bin
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
2
net/happystats/distinfo
Normal file
2
net/happystats/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (happystats-0.5.0.tgz) = f2b015b6998e22266f363bbd0ff6c69f
|
||||
SIZE (happystats-0.5.0.tgz) = 38289
|
23
net/happystats/files/patch-Makefile
Normal file
23
net/happystats/files/patch-Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
--- Makefile.orig Sat Mar 6 01:22:22 2004
|
||||
+++ Makefile Sat Mar 6 01:24:19 2004
|
||||
@@ -1,15 +1,9 @@
|
||||
# $Id: Makefile,v 1.4 2004/02/22 12:26:25 ofredj Exp $ #
|
||||
|
||||
-PREFIX=/usr/local
|
||||
-CC=gcc
|
||||
-LD=/usr/bin/ld
|
||||
-#DEBUG=-ggdb
|
||||
-CARGS=-O2 -pipe -ansi -Wall -pedantic
|
||||
-COPTS= -ffast-math -ffloat-store -funroll-all-loops -funroll-loops
|
||||
-IFLAGS=-I/usr/local/include `xml2-config --cflags`
|
||||
-LDFLAGS=-L/usr/local/lib/ -lpcre -lrrd `xml2-config --libs`
|
||||
-CFLAGS=${CARGS} ${IFLAGS} ${COPTS}
|
||||
+IFLAGS=`xml2-config --cflags`
|
||||
+LDFLAGS+=`xml2-config --libs` -lpcre -lrrd -lgnugetopt
|
||||
+CFLAGS+=${CPPFLAGS} ${IFLAGS}
|
||||
|
||||
SRCS= getopt.c date.c file.c common.c xmlparser.c pcre.c rrd.c main.c syslog.c ims.c exim.c clf.c alerts.c smtpclient.c
|
||||
OBJS= getopt.o date.o file.o common.o xmlparser.o pcre.o rrd.o main.o syslog.o ims.o exim.o clf.o alerts.o smtpclient.o
|
||||
|
||||
CGISRCS= cgi_xmlparser.c cgi.c rrdgraph.c
|
||||
CGIOBJS= file.o common.o cgi_xmlparser.o cgi.o rrdgraph.o
|
4
net/happystats/pkg-descr
Normal file
4
net/happystats/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
Happystats is a universal tool to convert logs into graphs.
|
||||
Useful for mail stats for example.
|
||||
|
||||
WWW: http://www.happystats.org/
|
16
net/happystats/pkg-plist
Normal file
16
net/happystats/pkg-plist
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
@comment $FreeBSD$
|
||||
bin/happystats
|
||||
www/cgi-bin/happystats.cgi
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%EXAMPLESDIR%%/happystats.conf
|
||||
%%EXAMPLESDIR%%/happystats.courrier.xml
|
||||
%%EXAMPLESDIR%%/happystats.exim.natif.xml
|
||||
%%EXAMPLESDIR%%/happystats.exim.syslog.xml
|
||||
%%EXAMPLESDIR%%/happystats.ims.xml
|
||||
%%EXAMPLESDIR%%/happystats.postfix.xml
|
||||
%%EXAMPLESDIR%%/happystats.sendmail.xml
|
||||
@dirrm %%EXAMPLESDIR%%
|
Loading…
Reference in New Issue
Block a user