This plugin provides options to integrate QmailAdmin into the SquirrelMail

web interface.

WWW: http://www.squirrelmail.org

PR:		ports/106561
Submitted by:	Gerrit Beine <gerrit.beine at gmx.de>
This commit is contained in:
Martin Wilke 2006-12-10 23:11:19 +00:00
parent eb9ca73379
commit 8e250796f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179433
6 changed files with 104 additions and 0 deletions

View file

@ -546,6 +546,7 @@
SUBDIR += squirrelmail-notify-plugin SUBDIR += squirrelmail-notify-plugin
SUBDIR += squirrelmail-password_forget-plugin SUBDIR += squirrelmail-password_forget-plugin
SUBDIR += squirrelmail-pupdate-plugin SUBDIR += squirrelmail-pupdate-plugin
SUBDIR += squirrelmail-qmailadmin_login-plugin
SUBDIR += squirrelmail-quota_usage-plugin SUBDIR += squirrelmail-quota_usage-plugin
SUBDIR += squirrelmail-secure_login-plugin SUBDIR += squirrelmail-secure_login-plugin
SUBDIR += squirrelmail-timeout_user-plugin SUBDIR += squirrelmail-timeout_user-plugin

View file

@ -0,0 +1,75 @@
# New ports collection makefile for: squirrelmail-qmailadmin_login-plugin
# Date created: 9 Dec 2006
# Whom: Gerrit Beine <gerrit.beine@gmx.de>
#
# $FreeBSD$
PORTNAME= squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin
PORTVERSION= 1.1
CATEGORIES= mail www
MASTER_SITES= http://www.squirrelmail.org/plugins/
DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.4.3
DIST_SUBDIR= squirrelmail
MAINTAINER= gerrit.beine@gmx.de
COMMENT= Using the QmailAdmin cgi interface from SquirrelMail
RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \
${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin
SQUIRREL_PLUGIN_NAME= qmailadmin_login
.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}
.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>

View file

@ -0,0 +1,3 @@
MD5 (squirrelmail/qmailadmin_login-1.1-1.4.3.tar.gz) = 1555b79e5864d111a16c1504ff6f827e
SHA256 (squirrelmail/qmailadmin_login-1.1-1.4.3.tar.gz) = e7d3b0a03837ae9b9cc3686e18a260891ad75ace4f1920bbabf18aa774e87b73
SIZE (squirrelmail/qmailadmin_login-1.1-1.4.3.tar.gz) = 11028

View file

@ -0,0 +1,5 @@
For the port to work properly you must copy the file
%%PREFIX%%/%%SQUIRRELDIR%%/plugins/qmailadmin_login/config_default.php
to
%%PREFIX%%/%%SQUIRRELDIR%%/plugins/qmailadmin_login/config.php
and edit the configuration to meet your needs.

View file

@ -0,0 +1,4 @@
This plugin provides options to integrate QmailAdmin into the SquirrelMail
web interface.
WWW: http://www.squirrelmail.org

View file

@ -0,0 +1,16 @@
@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin qmailadmin_login; fi
%%SQUIRRELDIR%%/plugins/qmailadmin_login/COPYING
%%SQUIRRELDIR%%/plugins/qmailadmin_login/INSTALL
%%SQUIRRELDIR%%/plugins/qmailadmin_login/README
%%SQUIRRELDIR%%/plugins/qmailadmin_login/ReleaseNotes.txt
%%SQUIRRELDIR%%/plugins/qmailadmin_login/config_default.php
%%SQUIRRELDIR%%/plugins/qmailadmin_login/functions.php
%%SQUIRRELDIR%%/plugins/qmailadmin_login/index.php
%%SQUIRRELDIR%%/plugins/qmailadmin_login/qmailadmin_login.pot
%%SQUIRRELDIR%%/plugins/qmailadmin_login/qmlogin.php
%%SQUIRRELDIR%%/plugins/qmailadmin_login/qmlogin_iframe.php
%%SQUIRRELDIR%%/plugins/qmailadmin_login/setup.php
%%SQUIRRELDIR%%/plugins/qmailadmin_login/version
%%SQUIRRELDIR%%/plugins/qmailadmin_login/xgetpot
@dirrm %%SQUIRRELDIR%%/plugins/qmailadmin_login/
@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin qmailadmin_login; fi