Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 2010 05:14:57 GMT
From:      Satoru Suzuki <xsuzu@yokohama.riken.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/148587: [New port] mail/squirrelmail-squirrel_logger-plugin: Logging functionality for your webmail interface
Message-ID:  <201007140514.o6E5EvLX078502@www.freebsd.org>
Resent-Message-ID: <201007140520.o6E5K5rX068684@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         148587
>Category:       ports
>Synopsis:       [New port]  mail/squirrelmail-squirrel_logger-plugin: Logging functionality for your webmail interface
>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:   Wed Jul 14 05:20:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Satoru Suzuki
>Release:        
>Organization:
>Environment:
>Description:
Logging functionality for your webmail interface
>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:
#
#	squirrelmail-squirrel_logger-plugin
#	squirrelmail-squirrel_logger-plugin/Makefile
#	squirrelmail-squirrel_logger-plugin/distinfo
#	squirrelmail-squirrel_logger-plugin/files
#	squirrelmail-squirrel_logger-plugin/files/pkg-message.in
#	squirrelmail-squirrel_logger-plugin/pkg-plist
#	squirrelmail-squirrel_logger-plugin/pkg-descr
#
echo c - squirrelmail-squirrel_logger-plugin
mkdir -p squirrelmail-squirrel_logger-plugin > /dev/null 2>&1
echo x - squirrelmail-squirrel_logger-plugin/Makefile
sed 's/^X//' >squirrelmail-squirrel_logger-plugin/Makefile << '3f09e81657f1572c86bcac9b4834bed1'
X# New ports collection makefile for:    squirrelmail-squirrel_logger-plugin
X# Date created:         2010-07-13
X# Whom:                 Satoru Suzuki <xsuzu@yokohama.riken.jp>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	squirrel_logger
XPORTVERSION=	2.3
XCATEGORIES=	mail www
XMASTER_SITES=	http://www.squirrelmail.org/plugins/
XPKGNAMEPREFIX=  squirrelmail-
XPKGNAMESUFFIX=  -plugin
XDISTNAME=	${PORTNAME}-${PORTVERSION}-1.2.7
XDIST_SUBDIR=	squirrelmail
X
XMAINTAINER=	ports@FreeBSD.org
XCOMMENT=	Logging functionality for your webmail interface
X
XUSE_SM_COMPAT=	yes
X
X.include <bsd.port.pre.mk>
X
X.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
X
X.include <bsd.port.post.mk>
3f09e81657f1572c86bcac9b4834bed1
echo x - squirrelmail-squirrel_logger-plugin/distinfo
sed 's/^X//' >squirrelmail-squirrel_logger-plugin/distinfo << 'ca4f8111138e8e64e60f46f865948321'
XMD5 (squirrelmail/squirrel_logger-2.3-1.2.7.tar.gz) = d60ea7389ad948f4ecb82dc91894ba37
XSHA256 (squirrelmail/squirrel_logger-2.3-1.2.7.tar.gz) = 3ba2341f2cf028e01c7faa4545f2d0ead0adf4b25d1176eae0a3d8ce30547cfa
XSIZE (squirrelmail/squirrel_logger-2.3-1.2.7.tar.gz) = 28872
ca4f8111138e8e64e60f46f865948321
echo c - squirrelmail-squirrel_logger-plugin/files
mkdir -p squirrelmail-squirrel_logger-plugin/files > /dev/null 2>&1
echo x - squirrelmail-squirrel_logger-plugin/files/pkg-message.in
sed 's/^X//' >squirrelmail-squirrel_logger-plugin/files/pkg-message.in << 'cca12c19c470fc02fe050c76726beaf4'
X================================================================
XFor the port to work properly you must copy the file
X%%PREFIX%%/%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/config_example.php
Xto
X%%PREFIX%%/%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/config.php
Xand edit the configuration to meet your needs.
X================================================================
cca12c19c470fc02fe050c76726beaf4
echo x - squirrelmail-squirrel_logger-plugin/pkg-plist
sed 's/^X//' >squirrelmail-squirrel_logger-plugin/pkg-plist << 'beed96d4894db0f706bf64292f2d03d9'
X@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin squirrel_logger; fi
X%%SQUIRRELDIR%%/plugins/squirrel_logger/COPYING
X%%SQUIRRELDIR%%/plugins/squirrel_logger/INSTALL
X%%SQUIRRELDIR%%/plugins/squirrel_logger/README
X%%SQUIRRELDIR%%/plugins/squirrel_logger/alert_functions.php
X%%SQUIRRELDIR%%/plugins/squirrel_logger/config_example.php
X%%SQUIRRELDIR%%/plugins/squirrel_logger/contrib/index.php
X%%SQUIRRELDIR%%/plugins/squirrel_logger/contrib/fail2ban
X%%SQUIRRELDIR%%/plugins/squirrel_logger/database_functions.php
X%%SQUIRRELDIR%%/plugins/squirrel_logger/functions.php
X%%SQUIRRELDIR%%/plugins/squirrel_logger/getpot
X%%SQUIRRELDIR%%/plugins/squirrel_logger/index.php
X%%SQUIRRELDIR%%/plugins/squirrel_logger/make_release.sh
X%%SQUIRRELDIR%%/plugins/squirrel_logger/setup.php
X%%SQUIRRELDIR%%/plugins/squirrel_logger/show_stats.php
X%%SQUIRRELDIR%%/plugins/squirrel_logger/version
X@dirrmtry %%SQUIRRELDIR%%/plugins/squirrel_logger/contrib
X@dirrmtry %%SQUIRRELDIR%%/plugins/squirrel_logger
beed96d4894db0f706bf64292f2d03d9
echo x - squirrelmail-squirrel_logger-plugin/pkg-descr
sed 's/^X//' >squirrelmail-squirrel_logger-plugin/pkg-descr << '1c619be44fa0a9dcc350c32dd0d87e07'
XThis plugin implements logging functionality for your webmail interface. 
XYou can choose to log to a database, a file, your system log, or any 
Xcombination thereof. You can also choose which kinds of events to log, 
Xincluding login events, logout events, login error events, all outgoing 
Xmessages, possible outgoing spam messages, and other error events.
X
XAlso included is monitoring functionality that will send alert emails to 
Xthe administrator when certain events trigger.
X
XIf you use the timeout_user plugin, logout events caused by user timeouts 
Xwill be captured.
X
XLog message format is also completely custom-defined to meet your needs 
Xin the configuration file.
X
XWWW: http://www.squirrelmail.org/plugin_view.php?id=52
1c619be44fa0a9dcc350c32dd0d87e07
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007140514.o6E5EvLX078502>