Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Oct 2005 02:03:53 -0400 (EDT)
From:      Matt Emmerton <matt@gsicomp.on.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/87860: New Port: mail/squirrelmail-vlogin-plugin
Message-ID:  <20051023060353.62C3C6293@daisy.compar.com>
Resent-Message-ID: <200510230540.j9N5e9JL088778@freefall.freebsd.org>

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

>Number:         87860
>Category:       ports
>Synopsis:       New Port: mail/squirrelmail-vlogin-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:   Sun Oct 23 05:40:09 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Matt Emmerton
>Release:        FreeBSD 5.3-RELEASE-p16 i386
>Organization:
GSI Computer Services
>Environment:

System: FreeBSD daisy.compar.com 5.3-RELEASE-p16 FreeBSD 5.3-RELEASE-p16 #0: Mon Jun 20 06:19:50 EDT 2005 root@daisy.gsicomp.on.ca:/usr2/obj/usr2/src/sys/DAISY-20050304.01 i386

>Description:

This plugin for SquirrelMail allows a single installation support
multiple domains, via per-domain (and per-user) configurations.

>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:
#
#	mail/squirrelmail-vlogin-plugin
#	mail/squirrelmail-vlogin-plugin/distinfo
#	mail/squirrelmail-vlogin-plugin/pkg-descr
#	mail/squirrelmail-vlogin-plugin/Makefile
#	mail/squirrelmail-vlogin-plugin/pkg-plist
#
echo c - mail/squirrelmail-vlogin-plugin
mkdir -p mail/squirrelmail-vlogin-plugin > /dev/null 2>&1
echo x - mail/squirrelmail-vlogin-plugin/distinfo
sed 's/^X//' >mail/squirrelmail-vlogin-plugin/distinfo << 'END-of-mail/squirrelmail-vlogin-plugin/distinfo'
XMD5 (squirrelmail/vlogin-3.6-1.2.7.tar.gz) = e9fc95fb81fe38c1ed3c06b43ec22273
XSIZE (squirrelmail/vlogin-3.6-1.2.7.tar.gz) = 36573
END-of-mail/squirrelmail-vlogin-plugin/distinfo
echo x - mail/squirrelmail-vlogin-plugin/pkg-descr
sed 's/^X//' >mail/squirrelmail-vlogin-plugin/pkg-descr << 'END-of-mail/squirrelmail-vlogin-plugin/pkg-descr'
XSquirrelMail Plug-in that allows system administrators to use a single
Xinstallation of SquirrelMail to provide web-mail capabilities for multiple
Xdomains.
X
XWWW: http://www.squirrelmail.org
END-of-mail/squirrelmail-vlogin-plugin/pkg-descr
echo x - mail/squirrelmail-vlogin-plugin/Makefile
sed 's/^X//' >mail/squirrelmail-vlogin-plugin/Makefile << 'END-of-mail/squirrelmail-vlogin-plugin/Makefile'
X# New ports collection makefile for:	squirrelmail-vlogin-plugin
X# Date created:		10 Oct 2005
X# Whom:		Matt Emmerton <matt@gsicomp.on.ca>
X#
X# $FreeBSD$
X
XPORTNAME=		squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin
XPORTVERSION=		3.6
XCATEGORIES=		mail www
XMASTER_SITES=		http://www.squirrelmail.org/plugins/
XDISTNAME=		${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.2.7
XDIST_SUBDIR=		squirrelmail
X
XMAINTAINER=		matt@gsicomp.on.ca
XCOMMENT=		Adds multi-site-hosting capabilities to SquirrelMail
X
XRUN_DEPENDS=		${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail
X
XSQUIRREL_PLUGIN_NAME=		vlogin
X
X.ifdef SQUIRRELDIR
XPLIST_SUB+=		SQUIRRELDIR=${SQUIRRELDIR}
X.else
X.	ifndef WITHOUT_WWWDIR
XSQUIRRELDIR=		${PREFIX}/www/squirrelmail
XPLIST_SUB+=		SQUIRRELDIR=www/squirrelmail
X.	else
XSQUIRRELDIR=		${PREFIX}/squirrelmail
XPLIST_SUB+=		SQUIRRELDIR=squirrelmail
X.	endif
X.endif
X
XNO_BUILD=		yes
XNO_WRKSUBDIR=		yes
XUSE_PERL5_BUILD=		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
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
X.include <bsd.port.mk>
END-of-mail/squirrelmail-vlogin-plugin/Makefile
echo x - mail/squirrelmail-vlogin-plugin/pkg-plist
sed 's/^X//' >mail/squirrelmail-vlogin-plugin/pkg-plist << 'END-of-mail/squirrelmail-vlogin-plugin/pkg-plist'
X@unexec %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin vlogin
X@exec mkdir -p %D/%%SQUIRRELDIR%%/plugins/vlogin/data/domains
X%%SQUIRRELDIR%%/plugins/vlogin/data/domains/domain.com.vlogin.config.php
X%%SQUIRRELDIR%%/plugins/vlogin/data/index.php
X%%SQUIRRELDIR%%/plugins/vlogin/data/config.php.sample
X%%SQUIRRELDIR%%/plugins/vlogin/data/config.php.sample.typical
X%%SQUIRRELDIR%%/plugins/vlogin/data/hostmap.dat.sample
X%%SQUIRRELDIR%%/plugins/vlogin/data/users.dat.sample
X%%SQUIRRELDIR%%/plugins/vlogin/data/.htaccess
X%%SQUIRRELDIR%%/plugins/vlogin/data/config.php.sample.per_user_functions_only
X%%SQUIRRELDIR%%/plugins/vlogin/INSTALL
X%%SQUIRRELDIR%%/plugins/vlogin/COPYING
X%%SQUIRRELDIR%%/plugins/vlogin/index.php
X%%SQUIRRELDIR%%/plugins/vlogin/README
X%%SQUIRRELDIR%%/plugins/vlogin/functions.php
X%%SQUIRRELDIR%%/plugins/vlogin/version
X%%SQUIRRELDIR%%/plugins/vlogin/setup.php
X%%SQUIRRELDIR%%/plugins/vlogin/functions.php.debug
X@dirrm %%SQUIRRELDIR%%/plugins/vlogin/data/domains
X@dirrm %%SQUIRRELDIR%%/plugins/vlogin/data
X@dirrm %%SQUIRRELDIR%%/plugins/vlogin
X@exec %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin vlogin
END-of-mail/squirrelmail-vlogin-plugin/pkg-plist
exit

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



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