From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Apr 15 16:32:46 2006 Return-Path: X-Original-To: freebsd-ports-bugs@FreeBSD.org Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9571716A401; Sat, 15 Apr 2006 16:32:46 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from koef.zs64.net (koef.zs64.net [213.238.47.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3089843D94; Sat, 15 Apr 2006 16:32:25 +0000 (GMT) (envelope-from stb@lassitu.de) Received: from [44.128.40.9] (stefans-powerbook-w.spock.tallence.de [44.128.40.9]) (authenticated bits=0) by koef.zs64.net (8.13.6/8.13.4) with ESMTP id k3FGWD29002135 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Sat, 15 Apr 2006 18:32:24 +0200 (CEST) (envelope-from stb@lassitu.de) In-Reply-To: <200604151608.k3FG8YRk059402@freefall.freebsd.org> References: <200604151608.k3FG8YRk059402@freefall.freebsd.org> Mime-Version: 1.0 (Apple Message framework v749.3) Content-Type: multipart/mixed; boundary=Apple-Mail-2--692193009 Message-Id: From: Stefan Bethke Date: Sat, 15 Apr 2006 18:32:11 +0200 To: Pav Lucistnik X-Mailer: Apple Mail (2.749.3) Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/95752: [NEW PORT] mail/squirrelmail-login_auth-plugin: auto login based on HTTP auth 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: Sat, 15 Apr 2006 16:32:46 -0000 --Apple-Mail-2--692193009 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > This shar is corrupted. Please resend. Take special care to > preserve any tabs. Any better with this attachment? --Apple-Mail-2--692193009 Content-Transfer-Encoding: 7bit Content-Type: text/plain; x-unix-mode=0644; name="squirrelmail-login_auth-plugin.shar.txt" Content-Disposition: attachment; filename=squirrelmail-login_auth-plugin.shar.txt # 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: # # mail/squirrelmail-login_auth-plugin # mail/squirrelmail-login_auth-plugin/pkg-plist # mail/squirrelmail-login_auth-plugin/pkg-descr # mail/squirrelmail-login_auth-plugin/distinfo # mail/squirrelmail-login_auth-plugin/Makefile # echo c - mail/squirrelmail-login_auth-plugin mkdir -p mail/squirrelmail-login_auth-plugin > /dev/null 2>&1 echo x - mail/squirrelmail-login_auth-plugin/pkg-plist sed 's/^X//' >mail/squirrelmail-login_auth-plugin/pkg-plist << 'END-of-mail/squirrelmail-login_auth-plugin/pkg-plist' X@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin login_auth; fi X%%SQUIRRELDIR%%/plugins/login_auth/COPYING X%%SQUIRRELDIR%%/plugins/login_auth/INSTALL X%%SQUIRRELDIR%%/plugins/login_auth/README X%%SQUIRRELDIR%%/plugins/login_auth/functions.php X%%SQUIRRELDIR%%/plugins/login_auth/index.php X%%SQUIRRELDIR%%/plugins/login_auth/setup.php X%%SQUIRRELDIR%%/plugins/login_auth/version X@dirrm %%SQUIRRELDIR%%/plugins/login_auth/ X@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin login_auth; fi END-of-mail/squirrelmail-login_auth-plugin/pkg-plist echo x - mail/squirrelmail-login_auth-plugin/pkg-descr sed 's/^X//' >mail/squirrelmail-login_auth-plugin/pkg-descr << 'END-of-mail/squirrelmail-login_auth-plugin/pkg-descr' XIf you keep SquirrelMail behind a password-protected directory on your web Xserver and if PHP has access to the username and password, this plugin will Xbypass the login screen and use the provided username/password. X XIf this plugin enabled and the information isn't present, it doesn't crash Xor produce error messages. It just doesn't automatically log you in. If the Xuser/pass information does not work for the IMAP server, this still displays Xthe login form, just in case the web server password and IMAP password are Xnot synchronized. X XWWW: http://www.squirrelmail.org/plugin_view.php?id=34 END-of-mail/squirrelmail-login_auth-plugin/pkg-descr echo x - mail/squirrelmail-login_auth-plugin/distinfo sed 's/^X//' >mail/squirrelmail-login_auth-plugin/distinfo << 'END-of-mail/squirrelmail-login_auth-plugin/distinfo' XMD5 (squirrelmail/login_auth-2.0-1.4.0.tar.gz) = cec2ad5fa53c29e82f58239afe8c2ec2 XSHA256 (squirrelmail/login_auth-2.0-1.4.0.tar.gz) = 619eb5e423234e1a6ce7545605f28e0064147730503897f3fc2109f25a7f8e84 XSIZE (squirrelmail/login_auth-2.0-1.4.0.tar.gz) = 10319 END-of-mail/squirrelmail-login_auth-plugin/distinfo echo x - mail/squirrelmail-login_auth-plugin/Makefile sed 's/^X//' >mail/squirrelmail-login_auth-plugin/Makefile << 'END-of-mail/squirrelmail-login_auth-plugin/Makefile' X# New ports collection makefile for: squirrelmail-wetteronline-plugin X# Date created: 14 April 2006 X# Whom: Stefan Bethke X# X# $FreeBSD$ X XPORTNAME= squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin XPORTVERSION= 2.0 XCATEGORIES= mail www XMASTER_SITES= http://www.squirrelmail.org/plugins/ \ X http://alkoholix.tallence.de/www.squirrelmail.org/plugins/ XDISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.4.0 XDIST_SUBDIR= squirrelmail X XMAINTAINER= stb@lassitu.de XCOMMENT= Automatically log in user based on HTTP authentication X XRUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail X XSQUIRREL_PLUGIN_NAME= login_auth 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 @${ECHO} "" X X.include END-of-mail/squirrelmail-login_auth-plugin/Makefile exit --Apple-Mail-2--692193009 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed -- Stefan Bethke Fon +49 170 346 0140 --Apple-Mail-2--692193009--