ports/99213: [NEW PORT] mail/squirrelmail-newuser_wiz-plugin: Force user to enter Full name and Email address at initial logon

Thomas Abthorpe thomas at goodking.ca
Tue Jun 20 17:20:22 UTC 2006


>Number:         99213
>Category:       ports
>Synopsis:       [NEW PORT] mail/squirrelmail-newuser_wiz-plugin: Force user to enter Full name and Email address at initial logon
>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:   Tue Jun 20 17:20:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Abthorpe
>Release:        FreeBSD 6.1-RELEASE-p2 i386
>Organization:
GoodKing.Ca
>Environment:
System: FreeBSD stjames.stthomasanglican.org 6.1-RELEASE-p2 FreeBSD 6.1-RELEASE-p2 #18: Wed Jun 14 18:14:38 EDT 2006
>Description:
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

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- squirrelmail-newuser_wiz-plugin-1.3.2.shar begins here ---
# 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-newuser_wiz-plugin
#	squirrelmail-newuser_wiz-plugin/pkg-descr
#	squirrelmail-newuser_wiz-plugin/Makefile
#	squirrelmail-newuser_wiz-plugin/pkg-plist
#	squirrelmail-newuser_wiz-plugin/distinfo
#
echo c - squirrelmail-newuser_wiz-plugin
mkdir -p squirrelmail-newuser_wiz-plugin > /dev/null 2>&1
echo x - squirrelmail-newuser_wiz-plugin/pkg-descr
sed 's/^X//' >squirrelmail-newuser_wiz-plugin/pkg-descr << 'END-of-squirrelmail-newuser_wiz-plugin/pkg-descr'
XUser is forced to enter Full Name and Email Address prior to reading
Xor composing after logging in. This is used for users who log in
Xfor the first time and need to set up their prefs prior to getting
Xstarted.
X
XWWW:    http://www.squirrelmail.org/plugin_view.php?id=181
END-of-squirrelmail-newuser_wiz-plugin/pkg-descr
echo x - squirrelmail-newuser_wiz-plugin/Makefile
sed 's/^X//' >squirrelmail-newuser_wiz-plugin/Makefile << 'END-of-squirrelmail-newuser_wiz-plugin/Makefile'
X# New ports collection makefile for:	squirrelmail-newuser_wiz-plugin
X# Date created:		2006-06-20
X# Whom:			Thomas Abthorpe <thomas at goodking.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin
XPORTVERSION=	1.3.2
XCATEGORIES=	mail www
XMASTER_SITES=	http://www.squirrelmail.org/plugins/
XDISTNAME=	${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}
XDIST_SUBDIR=	squirrelmail
X
XMAINTAINER=	thomas at goodking.ca
XCOMMENT=	Force user to enter Full name and Email address at initial logon
X
XRUN_DEPENDS=	${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \
X		${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin
X
XSQUIRREL_PLUGIN_NAME=	newuser_wiz
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
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.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
X.include <bsd.port.mk>
END-of-squirrelmail-newuser_wiz-plugin/Makefile
echo x - squirrelmail-newuser_wiz-plugin/pkg-plist
sed 's/^X//' >squirrelmail-newuser_wiz-plugin/pkg-plist << 'END-of-squirrelmail-newuser_wiz-plugin/pkg-plist'
X at unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin newuser_wiz; fi
X%%SQUIRRELDIR%%/plugins/newuser_wiz/functions.php
X%%SQUIRRELDIR%%/plugins/newuser_wiz/setup.php
X%%SQUIRRELDIR%%/plugins/newuser_wiz/README
X%%SQUIRRELDIR%%/plugins/newuser_wiz/version
X%%SQUIRRELDIR%%/plugins/newuser_wiz/index.php
X%%SQUIRRELDIR%%/plugins/newuser_wiz/INSTALL
X%%SQUIRRELDIR%%/plugins/newuser_wiz/xgetpot
X%%SQUIRRELDIR%%/plugins/newuser_wiz/wiz_submit.php
X%%SQUIRRELDIR%%/plugins/newuser_wiz/newuser_wiz_sample.po
X%%SQUIRRELDIR%%/plugins/newuser_wiz/newuser_wiz.pot
X at dirrm %%SQUIRRELDIR%%/plugins/newuser_wiz
X at exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin newuser_wiz; fi
END-of-squirrelmail-newuser_wiz-plugin/pkg-plist
echo x - squirrelmail-newuser_wiz-plugin/distinfo
sed 's/^X//' >squirrelmail-newuser_wiz-plugin/distinfo << 'END-of-squirrelmail-newuser_wiz-plugin/distinfo'
XMD5 (squirrelmail/newuser_wiz-1.3.2.tar.gz) = 2615bf52679c5e577b7aba4949aa3e36
XSHA256 (squirrelmail/newuser_wiz-1.3.2.tar.gz) = 2e02d39f70751342f71a9ce0850083b9fa204738425ac4e979ad827bdc16dec7
XSIZE (squirrelmail/newuser_wiz-1.3.2.tar.gz) = 3563
END-of-squirrelmail-newuser_wiz-plugin/distinfo
exit
--- squirrelmail-newuser_wiz-plugin-1.3.2.shar ends here ---

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



More information about the freebsd-ports-bugs mailing list