From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 10 22:10:06 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 7F71E16A420 for ; Fri, 10 Feb 2006 22:10:06 +0000 (GMT) (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 9094343D48 for ; Fri, 10 Feb 2006 22:10:04 +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 k1AMA4HE022036 for ; Fri, 10 Feb 2006 22:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1AMA4gw022035; Fri, 10 Feb 2006 22:10:04 GMT (envelope-from gnats) Resent-Date: Fri, 10 Feb 2006 22:10:04 GMT Resent-Message-Id: <200602102210.k1AMA4gw022035@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, Gerrit Beine Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55E1216A420 for ; Fri, 10 Feb 2006 22:05:23 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 317D243D6B for ; Fri, 10 Feb 2006 22:05:21 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k1AM5KoK071711 for ; Fri, 10 Feb 2006 22:05:20 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k1AM5Kum071710; Fri, 10 Feb 2006 22:05:20 GMT (envelope-from nobody) Message-Id: <200602102205.k1AM5Kum071710@www.freebsd.org> Date: Fri, 10 Feb 2006 22:05:20 GMT From: Gerrit Beine To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/93148: New port: mail/squirrelmail-email_footer-plugin 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, 10 Feb 2006 22:10:06 -0000 X-List-Received-Date: Fri, 10 Feb 2006 22:10:06 -0000 >Number: 93148 >Category: ports >Synopsis: New port: mail/squirrelmail-email_footer-plugin >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 Feb 10 22:10:03 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Gerrit Beine >Release: FreeBSD 6.0-RELEASE >Organization: Beine Computer >Environment: FreeBSD fbsd60.vmware 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 >Description: If you have an IMAP server with QUOTA Extension capability, you can use this plugin to view the current quota usage (both size and message count), which is displayed just above the folders list. A warning message can also be displayed to users upon login if desired. If no quota is set, nothing is displayed. WWW: http://www.squirrelmail.org >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: # # squirrelmail-email_footer-plugin # squirrelmail-email_footer-plugin/Makefile # squirrelmail-email_footer-plugin/distinfo # squirrelmail-email_footer-plugin/pkg-descr # squirrelmail-email_footer-plugin/pkg-plist # squirrelmail-email_footer-plugin/files # squirrelmail-email_footer-plugin/files/pkg-message.in # echo c - squirrelmail-email_footer-plugin mkdir -p squirrelmail-email_footer-plugin > /dev/null 2>&1 echo x - squirrelmail-email_footer-plugin/Makefile sed 's/^X//' >squirrelmail-email_footer-plugin/Makefile << 'END-of-squirrelmail-email_footer-plugin/Makefile' X# New ports collection makefile for: squirrelmail-email_footer-plugin X# Date created: 10 Feb 2006 X# Whom: Gerrit Beine X# X# $FreeBSD$ X XPORTNAME= squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin XPORTVERSION= 0.4 XCATEGORIES= mail www XMASTER_SITES= http://www.squirrelmail.org/plugins/ XDISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.4.2 XDIST_SUBDIR= squirrelmail X XMAINTAINER= gerrit.beine@gmx.de XCOMMENT= View quota and current usage X XRUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \ X ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin X XSQUIRREL_PLUGIN_NAME= email_footer 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 XSUB_FILES= pkg-message 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 @${ECHO} "Activating plug-in in SquirrelMail" X ${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME} 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 @${CAT} ${PKGMESSAGE} X X.include END-of-squirrelmail-email_footer-plugin/Makefile echo x - squirrelmail-email_footer-plugin/distinfo sed 's/^X//' >squirrelmail-email_footer-plugin/distinfo << 'END-of-squirrelmail-email_footer-plugin/distinfo' XMD5 (squirrelmail/email_footer-0.4-1.4.2.tar.gz) = ad0f9e688fc4dc89a2f19bd17d1bc927 XSHA256 (squirrelmail/email_footer-0.4-1.4.2.tar.gz) = 14a0bc98e2a754bde03d6e4b2b542794e7400a1b5684444e6a291ec8fcda80fd XSIZE (squirrelmail/email_footer-0.4-1.4.2.tar.gz) = 4079 END-of-squirrelmail-email_footer-plugin/distinfo echo x - squirrelmail-email_footer-plugin/pkg-descr sed 's/^X//' >squirrelmail-email_footer-plugin/pkg-descr << 'END-of-squirrelmail-email_footer-plugin/pkg-descr' XIf you have an IMAP server with QUOTA Extension capability, you can use Xthis plugin to view the current quota usage (both size and message count), Xwhich is displayed just above the folders list. XA warning message can also be displayed to users upon login if desired. XIf no quota is set, nothing is displayed. X XWWW: http://www.squirrelmail.org END-of-squirrelmail-email_footer-plugin/pkg-descr echo x - squirrelmail-email_footer-plugin/pkg-plist sed 's/^X//' >squirrelmail-email_footer-plugin/pkg-plist << 'END-of-squirrelmail-email_footer-plugin/pkg-plist' X@unexec %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin email_footer X%%SQUIRRELDIR%%/plugins/email_footer/INSTALL X%%SQUIRRELDIR%%/plugins/email_footer/README X%%SQUIRRELDIR%%/plugins/email_footer/config.php.sample X%%SQUIRRELDIR%%/plugins/email_footer/functions.php X%%SQUIRRELDIR%%/plugins/email_footer/index.php X%%SQUIRRELDIR%%/plugins/email_footer/setup.php X%%SQUIRRELDIR%%/plugins/email_footer/version X@dirrm %%SQUIRRELDIR%%/plugins/email_footer/ X@exec %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin email_footer END-of-squirrelmail-email_footer-plugin/pkg-plist echo c - squirrelmail-email_footer-plugin/files mkdir -p squirrelmail-email_footer-plugin/files > /dev/null 2>&1 echo x - squirrelmail-email_footer-plugin/files/pkg-message.in sed 's/^X//' >squirrelmail-email_footer-plugin/files/pkg-message.in << 'END-of-squirrelmail-email_footer-plugin/files/pkg-message.in' XFor the port to work properly you must copy the file X%%PREFIX%%/%%SQUIRRELDIR%%/plugins/login_notes/config.php.sample Xto X%%PREFIX%%/%%SQUIRRELDIR%%/plugins/login_notes/config.php Xand edit the configuration to meet your needs. END-of-squirrelmail-email_footer-plugin/files/pkg-message.in exit >Release-Note: >Audit-Trail: >Unformatted: