Date: Wed, 2 Jul 2008 06:43:42 GMT From: Guram Dukashvili <white_raven@users.berlios.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/125177: macroscope port update Message-ID: <200807020643.m626hgDn007631@www.freebsd.org> Resent-Message-ID: <200807020650.m626o0hY085126@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 125177 >Category: ports >Synopsis: macroscope port update >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Jul 02 06:50:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Guram Dukashvili >Release: 7.0-STABLE >Organization: Home >Environment: FreeBSD freebsd.td.local 7.0-STABLE FreeBSD 7.0-STABLE #4: Thu Jun 19 17:59:24 MSD 2008 root@freebsd.td.local:/usr/obj/usr/src/sys/GENERIC i386 >Description: macroscope port update >How-To-Repeat: >Fix: Patch attached with submission follows: # 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: # # . # ./files # ./files/macroscope.in # ./pkg-descr # ./pkg-plist # ./Makefile # ./distinfo # echo c - . mkdir -p . > /dev/null 2>&1 echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/macroscope.in sed 's/^X//' >./files/macroscope.in << 'c8dd6c8beff2a991e49779a5e03e2082' X#!/bin/sh X# X# macroscope - start Macroscope daemon X# X# $FreeBSD$ X# X# PROVIDE: macroscope X# REQUIRE: DAEMON X# KEYWORD: shutdown X X# ----------------------------------------------------------------------------- X# macroscope_enable="NO" # set to YES to enable macroscope X# X# # optional: X# macroscope_flags="" # additional command line arguments X# X X. %%RC_SUBR%% X Xname="macroscope" Xrcvar=$(set_rcvar) X Xprefix="%%PREFIX%%" X Xstart_precmd() X{ X return 0 X} X Xstop_postcmd() X{ X rm -f "$pidfile" || warn "Could not remove $pidfile." X} X X# pidfile Xeval pidfile=\$${name}_pidfile Xpidfile=${pidfile:-/var/run/${name}.pid} Xecho ${pidfile} X X# command and arguments Xcommand="%%PREFIX%%/sbin/${name}" X X# run this first Xstart_precmd="start_precmd" X# and this last Xstop_postcmd="stop_postcmd" X Xload_rc_config ${name} X Xcommand_args="--sniffer --daemon --pid ${pidfile}" X Xrun_rc_command "$1" c8dd6c8beff2a991e49779a5e03e2082 echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5' XMacroscope is a squid, sendmail, courier, exim, bpft log files analizer, X IP sniffer and HTML report generator. XFeatures: X squid log file parser. X sendmail log file parser. X courier log file parser. X exim log file parser. X bpft(ports/net-mgmt/bpft) log file parser. X Database backends support: MySQL, Firebird. X IP sniffer via pcap library (ports/net/libpcap). X Direct commit changes to database in realtime (no log files). X Traffic static HTML reports generating by date periods. X Traffic dynamic HTML reports generating via CGI (Web interface). X Multithreading architecture. X Portable: BSD os'es and Windows NT family supported, but tested at this time X only under FreeBSD 5.x 6.x 7.x amd64 i386 and Windows 2000 XP 2003. X XWWW: http://developer.berlios.de/projects/macroscope/ X X- Dukashvili Guram Xwhite_raven@users.berlios.de 0e313719ff012ceaf97a028d51caa8f5 echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'ef3e7f63841ae908ba397c2bef1fbad6' Xetc/macroscope.conf.template Xsbin/macroscope X%%PORTDOCS%%%%DOCSDIR%%/AUTHORS X%%PORTDOCS%%%%DOCSDIR%%/INSTALL X%%PORTDOCS%%%%DOCSDIR%%/NEWS X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%%%DOCSDIR%%/mysql-user X%%PORTDOCS%%@dirrm %%DOCSDIR%% ef3e7f63841ae908ba397c2bef1fbad6 echo x - ./Makefile sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19' X# New ports collection makefile for: macroscope X# Date created: 2007-05-14 X# Whom: Dukashvili Guram <white_raven@users.berlios.de> X# X# $FreeBSD$ X# X XPORTNAME= macroscope XPORTVERSION= 1.0.2938 XCATEGORIES= net-mgmt XMASTER_SITES= ftp://ftp.berlios.de/pub/macroscope/ \ X http://white-raven.pisem.net/ XDISTNAME= ${PORTNAME}-${PORTVERSION} X XMAINTAINER= white_raven@users.berlios.de XCOMMENT= User and IP traffic management with Web interface X XLIB_DEPENDS= lzo2:${PORTSDIR}/archivers/lzo2 \ X odbc:${PORTSDIR}/databases/unixODBC \ X pcap:${PORTSDIR}/net/libpcap X XUSE_RC_SUBR= ${PORTNAME} XUSE_BZIP2= yes XUSE_DOS2UNIX= yes XUSE_CMAKE= yes X XOPTIONS= MYSQL "With MySQL support" on \ X FIREBIRD "With Firebird support" off X X.include <bsd.port.pre.mk> X X.if defined(NOPORTDOCS) XCMAKE_ARGS+= -DCMAKE_NOT_INSTALL_DOC:BOOL=ON X.endif X X.if !defined(WITHOUT_MYSQL) XWANT_MYSQL_VER= 50 XUSE_MYSQL= yes X.endif X X.if !defined(WITHOUT_FIREBIRD) XWITH_FIREBIRD_VER= 2 XUSE_FIREBIRD= yes X.endif X X.include "${PORTSDIR}/Mk/bsd.database.mk" X X.if ${ARCH} == "sparc64" XBROKEN= Does not compile X.endif X X.include <bsd.port.post.mk> 464ef7c6571951809b23e262cbe26e19 echo x - ./distinfo sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2' XMD5 (macroscope-1.0.2938.tar.bz2) = 50c483b419092d58a2864ec77f1c72c4 XSHA256 (macroscope-1.0.2938.tar.bz2) = 038a619a540a44ef16d109ae2d099dc6d78c83891c2daee66639dfb05682abcc XSIZE (macroscope-1.0.2938.tar.bz2) = 2025959 aec8793adfd5b7c3f00e62ae41a09ac2 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807020643.m626hgDn007631>