From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 7 19:20:27 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 572CA16A4DE for ; Fri, 7 Jul 2006 19:20:27 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E42843D49 for ; Fri, 7 Jul 2006 19:20:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k67JKQkx007833 for ; Fri, 7 Jul 2006 19:20:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k67JKQ66007832; Fri, 7 Jul 2006 19:20:26 GMT (envelope-from gnats) Resent-Date: Fri, 7 Jul 2006 19:20:26 GMT Resent-Message-Id: <200607071920.k67JKQ66007832@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Thomas Abthorpe Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4353F16A4DE for ; Fri, 7 Jul 2006 19:18:49 +0000 (UTC) (envelope-from tabthorpe@stthomasanglican.org) Received: from tbaytel.net (front2-nwconx.tbaytel.net [216.211.26.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 691E043D45 for ; Fri, 7 Jul 2006 19:18:48 +0000 (GMT) (envelope-from tabthorpe@stthomasanglican.org) Received: from stjames.stthomasanglican.org ([216.211.71.95] verified) by front2.tbaytel.net (CommuniGate Pro SMTP 5.0.8) with ESMTPS id 53608096 for FreeBSD-gnats-submit@freebsd.org; Fri, 07 Jul 2006 15:18:46 -0400 Received: from stjames.stthomasanglican.org (localhost [127.0.0.1]) by stjames.stthomasanglican.org (8.13.7/8.13.7) with ESMTP id k67JGU38024175 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 7 Jul 2006 15:16:32 -0400 (EDT) (envelope-from tabthorpe@stjames.stthomasanglican.org) Received: (from tabthorpe@localhost) by stjames.stthomasanglican.org (8.13.7/8.13.7/Submit) id k67JGTKs024174; Fri, 7 Jul 2006 15:16:29 -0400 (EDT) (envelope-from tabthorpe) Message-Id: <200607071916.k67JGTKs024174@stjames.stthomasanglican.org> Date: Fri, 7 Jul 2006 15:16:29 -0400 (EDT) From: Thomas Abthorpe To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/99892: [NEW PORT] mail/squirrelmail-timeout_user-plugin: Automatically logs a user out if they're idle for a set amount of time X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jul 2006 19:20:27 -0000 >Number: 99892 >Category: ports >Synopsis: [NEW PORT] mail/squirrelmail-timeout_user-plugin: Automatically logs a user out if they're idle for a set amount of time >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: Fri Jul 07 19:20:25 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Thomas Abthorpe >Release: FreeBSD 6.1-RELEASE-p2 i386 >Organization: GoodKing.Ca >Environment: System: FreeBSD stjames.stthomasanglican.org 6.1-RELEASE-p2 FreeBSD 6.1-RELEASE-p2 #27: Sat Jun 24 23:38:22 EDT 2006 >Description: This automatically logs a user out if they're idle for a set amount of time. We define 'idle' as having not refreshed the right-hand frame. The administrator can set a standard time for all users or allow users to set their own timeout values. WWW: http://www.squirrelmail.org/plugin_view.php?id=38 Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- squirrelmail-timeout_user-plugin-1.1.1.shar 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: # # squirrelmail-timeout_user-plugin # squirrelmail-timeout_user-plugin/pkg-descr # squirrelmail-timeout_user-plugin/Makefile # squirrelmail-timeout_user-plugin/pkg-plist # squirrelmail-timeout_user-plugin/distinfo # echo c - squirrelmail-timeout_user-plugin mkdir -p squirrelmail-timeout_user-plugin > /dev/null 2>&1 echo x - squirrelmail-timeout_user-plugin/pkg-descr sed 's/^X//' >squirrelmail-timeout_user-plugin/pkg-descr << 'END-of-squirrelmail-timeout_user-plugin/pkg-descr' XThis automatically logs a user out if they're idle for a set amount Xof time. We define 'idle' as having not refreshed the right-hand Xframe. The administrator can set a standard time for all users or Xallow users to set their own timeout values. X XWWW: http://www.squirrelmail.org/plugin_view.php?id=38 END-of-squirrelmail-timeout_user-plugin/pkg-descr echo x - squirrelmail-timeout_user-plugin/Makefile sed 's/^X//' >squirrelmail-timeout_user-plugin/Makefile << 'END-of-squirrelmail-timeout_user-plugin/Makefile' X# New ports collection makefile for: squirrelmail-timeout_user-plugin X# Date created: 2006-07-07 X# Whom: Thomas Abthorpe X# X# $FreeBSD$ X# X XPORTNAME= squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin XPORTVERSION= 1.1.1 XCATEGORIES= mail www XMASTER_SITES= http://www.squirrelmail.org/plugins/ XDISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-0.5 XDIST_SUBDIR= squirrelmail X XMAINTAINER= thomas@goodking.ca XCOMMENT= Automatically logs a user out if they're idle for a set amount of time X XRUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \ X ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin X XSQUIRREL_PLUGIN_NAME= timeout_user X X.ifdef SQUIRRELDIR XPLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR} XSUB_LIST+= "SQUIRRELDIR=${SQUIRRELDIR}" X.else X.ifndef WITHOUT_WWWDIR XSQUIRRELDIR= ${PREFIX}/www/squirrelmail XPLIST_SUB+= SQUIRRELDIR=www/squirrelmail XSUB_LIST+= "SQUIRRELDIR=www/squirrelmail" X.else XSQUIRRELDIR= ${PREFIX}/squirrelmail XPLIST_SUB+= SQUIRRELDIR=squirrelmail XSUB_LIST+= "SQUIRRELDIR=squirrelmail" X.endif X.endif X XNO_BUILD= yes XNO_WRKSUBDIR= yes XUSE_PERL5_BUILD= yes XUSE_PHP= yes XWANT_PHP_WEB= yes X Xpre-everything:: X @${ECHO} "" X.ifndef WITHOUT_ACTIVATE X @${ECHO} "Activating plug-in in SquirrelMail after installation." X @${ECHO} "If you don't want to automatically activate the plug-in set" X @${ECHO} "WITHOUT_ACTIVATE=yes" X.else X @${ECHO} "NOT Activating plug-in in SquirrelMail after installation." X @${ECHO} "If you want to automatically activate the plug-in unset" X @${ECHO} "WITHOUT_ACTIVATE" X.endif X @${ECHO} "" X Xdo-install: X ${CP} -rp ${WRKSRC}/${SQUIRREL_PLUGIN_NAME} ${SQUIRRELDIR}/plugins X ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} X Xpost-install: X.ifndef WITHOUT_ACTIVATE X.if exists( ${SQUIRRELDIR}/config/config.php ) X @${ECHO} "Activating plug-in in SquirrelMail" X ${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME} X.endif X.else X @${ECHO} "To activate the plug-in in SquirrelMail use" X @${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}" X.endif X @${ECHO} "" X X.include END-of-squirrelmail-timeout_user-plugin/Makefile echo x - squirrelmail-timeout_user-plugin/pkg-plist sed 's/^X//' >squirrelmail-timeout_user-plugin/pkg-plist << 'END-of-squirrelmail-timeout_user-plugin/pkg-plist' X@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin pupdate; fi X%%SQUIRRELDIR%%/plugins/timeout_user/version X%%SQUIRRELDIR%%/plugins/timeout_user/README X%%SQUIRRELDIR%%/plugins/timeout_user/index.php X%%SQUIRRELDIR%%/plugins/timeout_user/setup.php X%%SQUIRRELDIR%%/plugins/timeout_user/INSTALL X%%SQUIRRELDIR%%/plugins/timeout_user/functions.php X%%SQUIRRELDIR%%/plugins/timeout_user/config.php X@dirrm %%SQUIRRELDIR%%/plugins/timeout_user X@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin pupdate; fi END-of-squirrelmail-timeout_user-plugin/pkg-plist echo x - squirrelmail-timeout_user-plugin/distinfo sed 's/^X//' >squirrelmail-timeout_user-plugin/distinfo << 'END-of-squirrelmail-timeout_user-plugin/distinfo' XMD5 (squirrelmail/timeout_user-1.1.1-0.5.tar.gz) = 43bf06a6f07da5354e87701681c5eba7 XSHA256 (squirrelmail/timeout_user-1.1.1-0.5.tar.gz) = 086486fbcad56bdd52067c6b95ac73fdfa8bfd47c467af0ceabeb4bd04142bc8 XSIZE (squirrelmail/timeout_user-1.1.1-0.5.tar.gz) = 4101 END-of-squirrelmail-timeout_user-plugin/distinfo exit --- squirrelmail-timeout_user-plugin-1.1.1.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: