1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

User is forced to enter Full Name and Email Address prior to reading

or composing after logging in. This is used for users who log in
for the first time and need to set up their prefs prior to getting
started.

WWW:    http://www.squirrelmail.org/plugin_view.php?id=181

PR:		ports/99213
Submitted by:	Thomas Abthorpe <thomas@goodking.ca>
This commit is contained in:
Pav Lucistnik 2006-06-26 16:35:16 +00:00
parent f4f4901c5d
commit e7bdcdfcea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166374
5 changed files with 95 additions and 0 deletions

View File

@ -515,6 +515,7 @@
SUBDIR += squirrelmail-email_footer-plugin
SUBDIR += squirrelmail-login_auth-plugin
SUBDIR += squirrelmail-login_notes-plugin
SUBDIR += squirrelmail-newuser_wiz-plugin
SUBDIR += squirrelmail-notes-plugin
SUBDIR += squirrelmail-notify-plugin
SUBDIR += squirrelmail-quota_usage-plugin

View File

@ -0,0 +1,72 @@
# New ports collection makefile for: squirrelmail-newuser_wiz-plugin
# Date created: 2006-06-20
# Whom: Thomas Abthorpe <thomas@goodking.ca>
#
# $FreeBSD$
#
PORTNAME= squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin
PORTVERSION= 1.3.2
CATEGORIES= mail www
MASTER_SITES= http://www.squirrelmail.org/plugins/
DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}
DIST_SUBDIR= squirrelmail
MAINTAINER= thomas@goodking.ca
COMMENT= Force user to enter Full name and Email address at initial logon
RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \
${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin
SQUIRREL_PLUGIN_NAME= newuser_wiz
.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
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
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (squirrelmail/newuser_wiz-1.3.2.tar.gz) = 2615bf52679c5e577b7aba4949aa3e36
SHA256 (squirrelmail/newuser_wiz-1.3.2.tar.gz) = 2e02d39f70751342f71a9ce0850083b9fa204738425ac4e979ad827bdc16dec7
SIZE (squirrelmail/newuser_wiz-1.3.2.tar.gz) = 3563

View File

@ -0,0 +1,6 @@
User is forced to enter Full Name and Email Address prior to reading
or composing after logging in. This is used for users who log in
for the first time and need to set up their prefs prior to getting
started.
WWW: http://www.squirrelmail.org/plugin_view.php?id=181

View File

@ -0,0 +1,13 @@
@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin newuser_wiz; fi
%%SQUIRRELDIR%%/plugins/newuser_wiz/functions.php
%%SQUIRRELDIR%%/plugins/newuser_wiz/setup.php
%%SQUIRRELDIR%%/plugins/newuser_wiz/README
%%SQUIRRELDIR%%/plugins/newuser_wiz/version
%%SQUIRRELDIR%%/plugins/newuser_wiz/index.php
%%SQUIRRELDIR%%/plugins/newuser_wiz/INSTALL
%%SQUIRRELDIR%%/plugins/newuser_wiz/xgetpot
%%SQUIRRELDIR%%/plugins/newuser_wiz/wiz_submit.php
%%SQUIRRELDIR%%/plugins/newuser_wiz/newuser_wiz_sample.po
%%SQUIRRELDIR%%/plugins/newuser_wiz/newuser_wiz.pot
@dirrm %%SQUIRRELDIR%%/plugins/newuser_wiz
@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin newuser_wiz; fi