From korvin@tehnomir.lipetsk.ru  Mon May 14 11:49:25 2007
Return-Path: <korvin@tehnomir.lipetsk.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id B38A916A403
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 May 2007 11:49:25 +0000 (UTC)
	(envelope-from korvin@tehnomir.lipetsk.ru)
Received: from falcon.lipetsk.ru (falcon.lipetsk.ru [195.34.224.68])
	by mx1.freebsd.org (Postfix) with ESMTP id E28A113C45A
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 May 2007 11:49:24 +0000 (UTC)
	(envelope-from korvin@tehnomir.lipetsk.ru)
Received: from relay0.lipetsk.ru ([195.34.224.82]:24519 "EHLO
	relay0.lipetsk.ru") by falcon.lipetsk.ru with ESMTP id S471123AbXENLhP
	(ORCPT <rfc822;FreeBSD-gnats-submit@freebsd.org>);
	Mon, 14 May 2007 15:37:15 +0400
Received: from [195.34.235.66] (helo=post2.tehnomir.lipetsk.ru)
	by relay0.lipetsk.ru with esmtp (Exim 4.62 (FreeBSD))
	(envelope-from <korvin@tehnomir.lipetsk.ru>)
	id 1HnYrY-0009Bt-WD
	for FreeBSD-gnats-submit@freebsd.org; Mon, 14 May 2007 15:37:13 +0400
Received: from amber.folium.local (amber.folium.local [192.168.201.31])
	by post2.tehnomir.lipetsk.ru (8.14.0/8.14.0) with ESMTP id l4EBbCkX067671
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 May 2007 15:37:12 +0400 (MSD)
	(envelope-from korvin@tehnomir.lipetsk.ru)
Message-Id: <200705141537.10705.korvin@tehnomir.lipetsk.ru>
Date: Mon, 14 May 2007 15:37:10 +0400
From: Guram Dukashvili <korvin@tehnomir.lipetsk.ru>
Reply-To: Guram Dukashvili <korvin@tehnomir.lipetsk.ru>
To: FreeBSD-gnats-submit@freebsd.org
Subject: New port: net-mgmt/macroscope User and IP traffic management with Web interface

>Number:         112653
>Category:       ports
>Synopsis:       new port: net-mgmt/macroscope User and IP traffic management with Web interface
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 14 11:50:01 GMT 2007
>Closed-Date:    Thu Jun 14 15:35:39 GMT 2007
>Last-Modified:  Thu Jun 14 15:40:01 GMT 2007
>Originator:     Dukashvili Guram
>Release:        FreeBSD 6.2-STABLE amd64
>Organization:
Dukashvili Guram
>Environment:
System: FreeBSD amber.folium.local 6.2-STABLE FreeBSD 6.2-STABLE #10: Mon May 
7 13:56:16 MSD 2007 root@amber.folium.local:/usr/obj/usr/src/sys/amber amd64
>Description:
	User and IP traffic management with Web interface
>How-To-Repeat:
>Fix:

# 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:
#
#	macroscope
#	macroscope/files
#	macroscope/files/macroscope.in
#	macroscope/Makefile
#	macroscope/distinfo
#	macroscope/pkg-descr
#	macroscope/pkg-plist
#
echo c - macroscope
mkdir -p macroscope > /dev/null 2>&1
echo c - macroscope/files
mkdir -p macroscope/files > /dev/null 2>&1
echo x - macroscope/files/macroscope.in
sed 's/^X//' >macroscope/files/macroscope.in 
<< 'END-of-macroscope/files/macroscope.in'
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"
END-of-macroscope/files/macroscope.in
echo x - macroscope/Makefile
sed 's/^X//' >macroscope/Makefile << 'END-of-macroscope/Makefile'
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.1614
XCATEGORIES=		net-mgmt
XMASTER_SITES=		http://white-raven.pisem.net/
X
XMAINTAINER=		white_raven@users.berlios.de
XCOMMENT=		User and IP traffic management with Web interface
X
XBUILD_DEPENDS+=		cmake:${PORTSDIR}/devel/cmake
XLIB_DEPENDS+=		lzo2:${PORTSDIR}/archivers/lzo2
XLIB_DEPENDS+=		mysqlclient_r:${PORTSDIR}/databases/mysql50-client
XLIB_DEPENDS+=		fbclient:${PORTSDIR}/databases/firebird-client
XLIB_DEPENDS+=		pcap:${PORTSDIR}/net/libpcap
X
XGNU_CONFIGURE=		no
XUSE_AUTOTOOLS=		no
XUSE_RC_SUBR=		macroscope
XUSE_BZIP2=		yes
XUSE_CMAKE=		yes
XUSE_DOS2UNIX=		yes
X
X.include <bsd.port.mk>
END-of-macroscope/Makefile
echo x - macroscope/distinfo
sed 's/^X//' >macroscope/distinfo << 'END-of-macroscope/distinfo'
XMD5 (macroscope-1.0.1614.tar.bz2) = ada894eb8885a0121a3ce14e8716808a
XSHA256 (macroscope-1.0.1614.tar.bz2) = 
414de5a984833eb65fee9786a5f30324f4fe377b32037f6160071b70541e6414
XSIZE (macroscope-1.0.1614.tar.bz2) = 1967395
END-of-macroscope/distinfo
echo x - macroscope/pkg-descr
sed 's/^X//' >macroscope/pkg-descr << 'END-of-macroscope/pkg-descr'
XMacroscope is a squid, sendmail, bpft log files analizer,
X  IP sniffer and HTML report generator.
XFeatures:
X  squid log file parser.
X  sendmail 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 amd64 i386 and Windows 2000 XP 2003.
X
XWWW: http://developer.berlios.de/projects/macroscope/
X
X- Dukashvili Guram
Xwhite_raven@users.berlios.de
END-of-macroscope/pkg-descr
echo x - macroscope/pkg-plist
sed 's/^X//' >macroscope/pkg-plist << 'END-of-macroscope/pkg-plist'
Xetc/macroscope.conf.template
Xsbin/macroscope
Xshare/macroscope/mysql-script
Xshare/macroscope/mysql-user
Xshare/macroscope/AUTHORS
Xshare/macroscope/README
Xshare/macroscope/INSTALL
Xshare/macroscope/NEWS
X@dirrm share/macroscope
END-of-macroscope/pkg-plist
exit
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Wed Jun 6 22:20:23 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112653 
State-Changed-From-To: open->feedback 
State-Changed-By: miwi 
State-Changed-When: Fri Jun 8 23:27:59 UTC 2007 
State-Changed-Why:  
Ask for maintainer fix. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112653 
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Thu Jun 14 15:35:37 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112653 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/112653: commit references a PR
Date: Thu, 14 Jun 2007 15:32:46 +0000 (UTC)

 miwi        2007-06-14 15:32:40 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net-mgmt             Makefile 
   Added files:
     net-mgmt/macroscope  Makefile distinfo pkg-descr pkg-plist 
     net-mgmt/macroscope/files macroscope.in 
   Log:
   Macroscope is a squid, sendmail, courier, bpft log files analizer,
     IP sniffer and HTML report generator.
   Features:
     squid log file parser.
     sendmail log file parser.
     courier log file parser.
     bpft(ports/net-mgmt/bpft) log file parser.
     Database backends support: MySQL, Firebird.
     IP sniffer via pcap library (ports/net/libpcap).
     Direct commit changes to database in realtime (no log files).
     Traffic static HTML reports generating by date periods.
     Traffic dynamic HTML reports generating via CGI (Web interface).
     Multithreading architecture.
     Portable: BSD os'es and Windows NT family supported, but tested at this time
               only under FreeBSD 5.x 6.x amd64 i386 and Windows 2000 XP 2003.
   
   WWW: http://developer.berlios.de/projects/macroscope/
   
   - Dukashvili Guram
   white_raven@users.berlios.de
   
   PR:             ports/112653
   Submitted by:   Dukashvili Guram <white_raven at users.berlios.de>
   
   Revision  Changes    Path
   1.122     +1 -0      ports/net-mgmt/Makefile
   1.1       +53 -0     ports/net-mgmt/macroscope/Makefile (new)
   1.1       +3 -0      ports/net-mgmt/macroscope/distinfo (new)
   1.1       +52 -0     ports/net-mgmt/macroscope/files/macroscope.in (new)
   1.1       +20 -0     ports/net-mgmt/macroscope/pkg-descr (new)
   1.1       +8 -0      ports/net-mgmt/macroscope/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
 X-send-pr-version: 3.113
 X-GNATS-Notify: 
 
