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. WWW: http://www.squirrelmail.org PR: ports/102995 Submitted by: Gerrit Beine <gerrit.beine(at)gmx.de>
This commit is contained in:
parent
9687f71518
commit
c90e0468f6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172921
@ -529,6 +529,7 @@
|
||||
SUBDIR += squirrelmail-email_footer-plugin
|
||||
SUBDIR += squirrelmail-login_auth-plugin
|
||||
SUBDIR += squirrelmail-login_notes-plugin
|
||||
SUBDIR += squirrelmail-multilogin-plugin
|
||||
SUBDIR += squirrelmail-newuser_wiz-plugin
|
||||
SUBDIR += squirrelmail-notes-plugin
|
||||
SUBDIR += squirrelmail-notify-plugin
|
||||
|
76
mail/squirrelmail-multilogin-plugin/Makefile
Normal file
76
mail/squirrelmail-multilogin-plugin/Makefile
Normal file
@ -0,0 +1,76 @@
|
||||
# New ports collection makefile for: squirrelmail-multilogin-plugin
|
||||
# Date created: 07 Sep 2006
|
||||
# Whom: Gerrit Beine <gerrit.beine@gmx.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin
|
||||
PORTVERSION= 2.3.2
|
||||
CATEGORIES= mail www
|
||||
MASTER_SITES= http://www.squirrelmail.org/plugins/
|
||||
DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.2
|
||||
DIST_SUBDIR= squirrelmail
|
||||
|
||||
MAINTAINER= gerrit.beine@gmx.de
|
||||
COMMENT= Allows manual selection of login server on login page
|
||||
|
||||
RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \
|
||||
${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin
|
||||
|
||||
SQUIRREL_PLUGIN_NAME= multilogin
|
||||
|
||||
.ifdef SQUIRRELDIR
|
||||
PLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR}
|
||||
SUB_LIST+= "SQUIRRELDIR=${SQUIRRELDIR}"
|
||||
.else
|
||||
. ifndef WITHOUT_WWWDIR
|
||||
SQUIRRELDIR= ${PREFIX}/www/squirrelmail
|
||||
PLIST_SUB+= SQUIRRELDIR=www/squirrelmail
|
||||
SUB_LIST+= "SQUIRRELDIR=www/squirrelmail"
|
||||
. else
|
||||
SQUIRRELDIR= ${PREFIX}/squirrelmail
|
||||
PLIST_SUB+= SQUIRRELDIR=squirrelmail
|
||||
SUB_LIST+= "SQUIRRELDIR=squirrelmail"
|
||||
. endif
|
||||
.endif
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
USE_PERL5_BUILD= yes
|
||||
USE_PHP= yes
|
||||
WANT_PHP_WEB= yes
|
||||
|
||||
pre-everything::
|
||||
@${ECHO} ""
|
||||
.ifndef WITHOUT_ACTIVATE
|
||||
@${ECHO} "Activating plug-in in SquirrelMail after installation."
|
||||
@${ECHO} "If you don't want to automatically activate the plug-in set"
|
||||
@${ECHO} "WITHOUT_ACTIVATE=yes"
|
||||
.else
|
||||
@${ECHO} "NOT Activating plug-in in SquirrelMail after installation."
|
||||
@${ECHO} "If you want to automatically activate the plug-in unset"
|
||||
@${ECHO} "WITHOUT_ACTIVATE"
|
||||
.endif
|
||||
@${ECHO} ""
|
||||
|
||||
do-install:
|
||||
${CP} -rp ${WRKSRC}/${SQUIRREL_PLUGIN_NAME} ${SQUIRRELDIR}/plugins
|
||||
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME}
|
||||
|
||||
post-install:
|
||||
.ifndef WITHOUT_ACTIVATE
|
||||
.if exists( ${SQUIRRELDIR}/config/config.php )
|
||||
@${ECHO} "Activating plug-in in SquirrelMail"
|
||||
${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}
|
||||
cd ${SQUIRRELDIR} && ${PATCH} -p0 < plugins/multilogin/patches/multilogin-squirrelmail-1.4.6.diff
|
||||
.endif
|
||||
.else
|
||||
@${ECHO} "To activate the plug-in in SquirrelMail use"
|
||||
@${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}"
|
||||
.endif
|
||||
@${ECHO} ""
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
3
mail/squirrelmail-multilogin-plugin/distinfo
Normal file
3
mail/squirrelmail-multilogin-plugin/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (squirrelmail/multilogin-2.3.2-1.2.tar.gz) = 7784bdc9852973a3fbb06c6fafacbce5
|
||||
SHA256 (squirrelmail/multilogin-2.3.2-1.2.tar.gz) = f5bb58f30b51dc56e39467a965663495ae161a9e9194a2c4fc8163c72074b6d3
|
||||
SIZE (squirrelmail/multilogin-2.3.2-1.2.tar.gz) = 15391
|
5
mail/squirrelmail-multilogin-plugin/files/pkg-message.in
Normal file
5
mail/squirrelmail-multilogin-plugin/files/pkg-message.in
Normal file
@ -0,0 +1,5 @@
|
||||
For the port to work properly you must copy the file
|
||||
%%PREFIX%%/%%SQUIRRELDIR%%/plugins/multilogin/config.php.sample
|
||||
to
|
||||
%%PREFIX%%/%%SQUIRRELDIR%%/plugins/multilogin/config.php
|
||||
and edit the configuration to meet your needs.
|
4
mail/squirrelmail-multilogin-plugin/pkg-descr
Normal file
4
mail/squirrelmail-multilogin-plugin/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
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.
|
||||
|
||||
WWW: http://www.squirrelmail.org
|
22
mail/squirrelmail-multilogin-plugin/pkg-plist
Normal file
22
mail/squirrelmail-multilogin-plugin/pkg-plist
Normal file
@ -0,0 +1,22 @@
|
||||
@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin multilogin; fi
|
||||
%%SQUIRRELDIR%%/plugins/multilogin/patches/multilogin-squirrelmail-1.4.1.diff
|
||||
%%SQUIRRELDIR%%/plugins/multilogin/patches/multilogin-squirrelmail-1.4.2.diff
|
||||
%%SQUIRRELDIR%%/plugins/multilogin/patches/multilogin-squirrelmail-1.4.3a.diff
|
||||
%%SQUIRRELDIR%%/plugins/multilogin/patches/multilogin-squirrelmail-1.4.4.diff
|
||||
%%SQUIRRELDIR%%/plugins/multilogin/patches/multilogin-squirrelmail-1.4.5.diff
|
||||
%%SQUIRRELDIR%%/plugins/multilogin/patches/multilogin-squirrelmail-1.4.6.diff
|
||||
%%SQUIRRELDIR%%/plugins/multilogin/patches/multilogin-squirrelmail-1.5.0.diff
|
||||
%%SQUIRRELDIR%%/plugins/multilogin/COPYING
|
||||
%%SQUIRRELDIR%%/plugins/multilogin/INSTALL
|
||||
%%SQUIRRELDIR%%/plugins/multilogin/README
|
||||
%%SQUIRRELDIR%%/plugins/multilogin/config.php.sample
|
||||
%%SQUIRRELDIR%%/plugins/multilogin/functions.php
|
||||
%%SQUIRRELDIR%%/plugins/multilogin/index.php
|
||||
%%SQUIRRELDIR%%/plugins/multilogin/setup.php
|
||||
%%SQUIRRELDIR%%/plugins/multilogin/getpot
|
||||
%%SQUIRRELDIR%%/plugins/multilogin/make_release.sh
|
||||
%%SQUIRRELDIR%%/plugins/multilogin/multilogin.pot
|
||||
%%SQUIRRELDIR%%/plugins/multilogin/version
|
||||
@dirrm %%SQUIRRELDIR%%/plugins/multilogin/patches
|
||||
@dirrmtry %%SQUIRRELDIR%%/plugins/multilogin/
|
||||
@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin multilogin; fi
|
Loading…
Reference in New Issue
Block a user