From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 7 21:20:21 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 3C0B116A4DD for ; Thu, 7 Sep 2006 21:20:20 +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 8C26843D53 for ; Thu, 7 Sep 2006 21:20:18 +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 k87LKIfg072298 for ; Thu, 7 Sep 2006 21:20:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k87LKIqI072296; Thu, 7 Sep 2006 21:20:18 GMT (envelope-from gnats) Resent-Date: Thu, 7 Sep 2006 21:20:18 GMT Resent-Message-Id: <200609072120.k87LKIqI072296@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 886F116A504 for ; Thu, 7 Sep 2006 21:16:13 +0000 (UTC) (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 69ED143D6D for ; Thu, 7 Sep 2006 21:16:08 +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 k87LG8oS025678 for ; Thu, 7 Sep 2006 21:16:08 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k87LG80Y025677; Thu, 7 Sep 2006 21:16:08 GMT (envelope-from nobody) Message-Id: <200609072116.k87LG80Y025677@www.freebsd.org> Date: Thu, 7 Sep 2006 21:16:08 GMT From: Gerrit Beine To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/102995: New port: mail/squirrelmail-multilogin-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: Thu, 07 Sep 2006 21:20:21 -0000 >Number: 102995 >Category: ports >Synopsis: New port: mail/squirrelmail-multilogin-plugin >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Sep 07 21:20:18 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Gerrit Beine >Release: FreeBSD 6.1-RELEASE >Organization: >Environment: FreeBSD freebsd61.vmware 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Add a new Squirrelmail plugin: multilogin This plugin displays a pull-down select box with IMAP server choices on the login page. The user will be logged in using the IMAP server that is chosen. >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-multilogin-plugin # squirrelmail-multilogin-plugin/files # squirrelmail-multilogin-plugin/files/pkg-message.in # squirrelmail-multilogin-plugin/Makefile # squirrelmail-multilogin-plugin/pkg-descr # squirrelmail-multilogin-plugin/pkg-plist # echo c - squirrelmail-multilogin-plugin mkdir -p squirrelmail-multilogin-plugin > /dev/null 2>&1 echo c - squirrelmail-multilogin-plugin/files mkdir -p squirrelmail-multilogin-plugin/files > /dev/null 2>&1 echo x - squirrelmail-multilogin-plugin/files/pkg-message.in sed 's/^X//' >squirrelmail-multilogin-plugin/files/pkg-message.in << 'END-of-squirrelmail-multilogin-plugin/files/pkg-message.in' XFor the port to work properly you must copy the file X%%PREFIX%%/%%SQUIRRELDIR%%/plugins/multilogin/config.php.sample Xto X%%PREFIX%%/%%SQUIRRELDIR%%/plugins/multilogin/config.php Xand edit the configuration to meet your needs. END-of-squirrelmail-multilogin-plugin/files/pkg-message.in echo x - squirrelmail-multilogin-plugin/Makefile sed 's/^X//' >squirrelmail-multilogin-plugin/Makefile << 'END-of-squirrelmail-multilogin-plugin/Makefile' X# New ports collection makefile for: squirrelmail-multilogin-plugin X# Date created: 07 Sep 2006 X# Whom: Gerrit Beine X# X# $FreeBSD$ X XPORTNAME= squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin XPORTVERSION= 2.3.2 XCATEGORIES= mail www XMASTER_SITES= http://www.squirrelmail.org/plugins/ XDISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.2 XDIST_SUBDIR= squirrelmail X XMAINTAINER= gerrit.beine@gmx.de XCOMMENT= Allows manual selection of login server on login page X XRUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \ X ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin X XSQUIRREL_PLUGIN_NAME= multilogin 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.if exists( ${SQUIRRELDIR}/config/config.php ) X @${ECHO} "Activating plug-in in SquirrelMail" X ${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME} X cd ${SQUIRRELDIR} && ${PATCH} -p0 < plugins/multilogin/patches/multilogin-squirrelmail-1.4.6.diff 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 @${CAT} ${PKGMESSAGE} X X.include END-of-squirrelmail-multilogin-plugin/Makefile echo x - squirrelmail-multilogin-plugin/pkg-descr sed 's/^X//' >squirrelmail-multilogin-plugin/pkg-descr << 'END-of-squirrelmail-multilogin-plugin/pkg-descr' XThis plugin displays a pull-down select box with IMAP server choices on the Xlogin page. The user will be logged in using the IMAP server that is chosen. X XWWW: http://www.squirrelmail.org END-of-squirrelmail-multilogin-plugin/pkg-descr echo x - squirrelmail-multilogin-plugin/pkg-plist sed 's/^X//' >squirrelmail-multilogin-plugin/pkg-plist << 'END-of-squirrelmail-multilogin-plugin/pkg-plist' X@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin multilogin; fi X%%SQUIRRELDIR%%/plugins/multilogin/patches/multilogin-squirrelmail-1.4.1.diff X%%SQUIRRELDIR%%/plugins/multilogin/patches/multilogin-squirrelmail-1.4.2.diff X%%SQUIRRELDIR%%/plugins/multilogin/patches/multilogin-squirrelmail-1.4.3a.diff X%%SQUIRRELDIR%%/plugins/multilogin/patches/multilogin-squirrelmail-1.4.4.diff X%%SQUIRRELDIR%%/plugins/multilogin/patches/multilogin-squirrelmail-1.4.5.diff X%%SQUIRRELDIR%%/plugins/multilogin/patches/multilogin-squirrelmail-1.4.6.diff X%%SQUIRRELDIR%%/plugins/multilogin/patches/multilogin-squirrelmail-1.5.0.diff X%%SQUIRRELDIR%%/plugins/multilogin/COPYING X%%SQUIRRELDIR%%/plugins/multilogin/INSTALL X%%SQUIRRELDIR%%/plugins/multilogin/README X%%SQUIRRELDIR%%/plugins/multilogin/config.php.sample X%%SQUIRRELDIR%%/plugins/multilogin/functions.php X%%SQUIRRELDIR%%/plugins/multilogin/index.php X%%SQUIRRELDIR%%/plugins/multilogin/setup.php X%%SQUIRRELDIR%%/plugins/multilogin/getpot X%%SQUIRRELDIR%%/plugins/multilogin/make_release.sh X%%SQUIRRELDIR%%/plugins/multilogin/multilogin.pot X%%SQUIRRELDIR%%/plugins/multilogin/version X@dirrm %%SQUIRRELDIR%%/plugins/multilogin/patches X@dirrmtry %%SQUIRRELDIR%%/plugins/multilogin/ X@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin multilogin; fi END-of-squirrelmail-multilogin-plugin/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: