Date: Tue, 20 Jun 2006 20:31:45 -0400 (EDT) From: Thomas Abthorpe <thomas@goodking.ca> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/99234: [NEW PORT] mail/squirrelmail-secure_login-plugin: This plugin will automatically turn on SSL security during login Message-ID: <200606210031.k5L0VjGm003265@stjames.stthomasanglican.org> Resent-Message-ID: <200606210040.k5L0eHE7011679@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 99234 >Category: ports >Synopsis: [NEW PORT] mail/squirrelmail-secure_login-plugin: This plugin will automatically turn on SSL security during login >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: Wed Jun 21 00:40:17 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: This is a simple plugin to automatically turn on SSL security during login if it hasn't already been requested by the referring hyperlink or bookmark. Primarily this utility is intended to prevent plain text passwords and email contents being transmitted over the internet after people manually enter their server URL without including https://... WWW: http://www.squirrelmail.org/plugin_view.php?id=61 Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- squirrelmail-secure_login-plugin-1.2.8.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-secure_login-plugin # squirrelmail-secure_login-plugin/pkg-descr # squirrelmail-secure_login-plugin/Makefile # squirrelmail-secure_login-plugin/pkg-plist # squirrelmail-secure_login-plugin/files # squirrelmail-secure_login-plugin/files/pkg-message.in # squirrelmail-secure_login-plugin/distinfo # echo c - squirrelmail-secure_login-plugin mkdir -p squirrelmail-secure_login-plugin > /dev/null 2>&1 echo x - squirrelmail-secure_login-plugin/pkg-descr sed 's/^X//' >squirrelmail-secure_login-plugin/pkg-descr << 'END-of-squirrelmail-secure_login-plugin/pkg-descr' XThis is a simple plugin to automatically turn on SSL security during Xlogin if it hasn't already been requested by the referring hyperlink Xor bookmark. X XPrimarily this utility is intended to prevent plain text passwords Xand email contents being transmitted over the internet after people Xmanually enter their server URL without including https://... X XWWW: http://www.squirrelmail.org/plugin_view.php?id=61 END-of-squirrelmail-secure_login-plugin/pkg-descr echo x - squirrelmail-secure_login-plugin/Makefile sed 's/^X//' >squirrelmail-secure_login-plugin/Makefile << 'END-of-squirrelmail-secure_login-plugin/Makefile' X# New ports collection makefile for: squirrelmail-secure_login-plugin X# Date created: 2006-06-20 X# Whom: Thomas Abthorpe <thomas@goodking.ca> X# X# $FreeBSD$ X# X XPORTNAME= squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin XPORTVERSION= 1.2.8 XCATEGORIES= mail www XMASTER_SITES= http://www.squirrelmail.org/plugins/ XDISTNAME= ${SQUIRREL_PLUGIN_NAME}-1.2-${PORTVERSION} XDIST_SUBDIR= squirrelmail X XMAINTAINER= thomas@goodking.ca XCOMMENT= This plugin will automatically turn on SSL security during login X XRUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \ X ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin X XSQUIRREL_PLUGIN_NAME= secure_login 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 XSUB_FILES= pkg-message 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 @${ECHO} "" X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-squirrelmail-secure_login-plugin/Makefile echo x - squirrelmail-secure_login-plugin/pkg-plist sed 's/^X//' >squirrelmail-secure_login-plugin/pkg-plist << 'END-of-squirrelmail-secure_login-plugin/pkg-plist' X@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin newuser_wiz; fi X%%SQUIRRELDIR%%/plugins/secure_login/functions.php X%%SQUIRRELDIR%%/plugins/secure_login/README X%%SQUIRRELDIR%%/plugins/secure_login/setup.php X%%SQUIRRELDIR%%/plugins/secure_login/index.php X%%SQUIRRELDIR%%/plugins/secure_login/version X%%SQUIRRELDIR%%/plugins/secure_login/INSTALL X%%SQUIRRELDIR%%/plugins/secure_login/config.php.sample X@dirrm %%SQUIRRELDIR%%/plugins/secure_login X@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin newuser_wiz; fi END-of-squirrelmail-secure_login-plugin/pkg-plist echo c - squirrelmail-secure_login-plugin/files mkdir -p squirrelmail-secure_login-plugin/files > /dev/null 2>&1 echo x - squirrelmail-secure_login-plugin/files/pkg-message.in sed 's/^X//' >squirrelmail-secure_login-plugin/files/pkg-message.in << 'END-of-squirrelmail-secure_login-plugin/files/pkg-message.in' XFor the port to work properly you must copy the file X%%PREFIX%%/%%SQUIRRELDIR%%/plugins/secure_login/config.php.sample Xto X%%PREFIX%%/%%SQUIRRELDIR%%/plugins/secure_login/config.php Xand edit the configuration to meet your needs. END-of-squirrelmail-secure_login-plugin/files/pkg-message.in echo x - squirrelmail-secure_login-plugin/distinfo sed 's/^X//' >squirrelmail-secure_login-plugin/distinfo << 'END-of-squirrelmail-secure_login-plugin/distinfo' XMD5 (squirrelmail/secure_login-1.2-1.2.8.tar.gz) = 73d2c111579e2fad17c289f62e0be855 XSHA256 (squirrelmail/secure_login-1.2-1.2.8.tar.gz) = b3cf5fbf15206ca9f0e00b573408fc78b287fbb2e0d5fcbba93fe6e75ceb4a0b XSIZE (squirrelmail/secure_login-1.2-1.2.8.tar.gz) = 6361 END-of-squirrelmail-secure_login-plugin/distinfo exit --- squirrelmail-secure_login-plugin-1.2.8.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606210031.k5L0VjGm003265>