From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 21 00:40:21 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D13B16A4DD for ; Wed, 21 Jun 2006 00:40:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B298F43D55 for ; Wed, 21 Jun 2006 00:40:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5L0eHwB011680 for ; Wed, 21 Jun 2006 00:40:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5L0eHE7011679; Wed, 21 Jun 2006 00:40:17 GMT (envelope-from gnats) Resent-Date: Wed, 21 Jun 2006 00:40:17 GMT Resent-Message-Id: <200606210040.k5L0eHE7011679@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Thomas Abthorpe Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A817A16A47D for ; Wed, 21 Jun 2006 00:32:22 +0000 (UTC) (envelope-from tabthorpe@stthomasanglican.org) Received: from tbaytel.net (front3-nwconx.tbaytel.net [216.211.26.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1641943D6A for ; Wed, 21 Jun 2006 00:32:09 +0000 (GMT) (envelope-from tabthorpe@stthomasanglican.org) Received: from stjames.stthomasanglican.org ([216.211.68.20] verified) by front3.tbaytel.net (CommuniGate Pro SMTP 5.0.8) with ESMTPS id 24575539 for FreeBSD-gnats-submit@freebsd.org; Tue, 20 Jun 2006 20:32:07 -0400 Received: from stjames.stthomasanglican.org (localhost [127.0.0.1]) by stjames.stthomasanglican.org (8.13.7/8.13.7) with ESMTP id k5L0Vj25003266 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 20 Jun 2006 20:31:46 -0400 (EDT) (envelope-from tabthorpe@stjames.stthomasanglican.org) Received: (from tabthorpe@localhost) by stjames.stthomasanglican.org (8.13.7/8.13.7/Submit) id k5L0VjGm003265; Tue, 20 Jun 2006 20:31:45 -0400 (EDT) (envelope-from tabthorpe) Message-Id: <200606210031.k5L0VjGm003265@stjames.stthomasanglican.org> Date: Tue, 20 Jun 2006 20:31:45 -0400 (EDT) From: Thomas Abthorpe To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/99234: [NEW PORT] mail/squirrelmail-secure_login-plugin: This plugin will automatically turn on SSL security during login X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 00:40:21 -0000 >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 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 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: