aboutsummaryrefslogtreecommitdiff
path: root/mail/squirrelmail-login_auth-plugin/pkg-plist
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-04-15 16:44:01 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-04-15 16:44:01 +0000
commit35f06fcd24af52d953cded5f5934c12d46bb7926 (patch)
tree30d5691bbf690c78abb7d342f5ffad68d06665b1 /mail/squirrelmail-login_auth-plugin/pkg-plist
parent3f26c432685806af221acb3e07de287f1bdd9d2b (diff)
downloadports-35f06fcd24af52d953cded5f5934c12d46bb7926.tar.gz
ports-35f06fcd24af52d953cded5f5934c12d46bb7926.zip
If you keep SquirrelMail behind a password-protected directory on your web
server and if PHP has access to the username and password, this plugin will bypass the login screen and use the provided username/password. If this plugin enabled and the information isn't present, it doesn't crash or produce error messages. It just doesn't automatically log you in. If the user/pass information does not work for the IMAP server, this still displays the login form, just in case the web server password and IMAP password are not synchronized. WWW: http://www.squirrelmail.org/plugin_view.php?id=34 PR: ports/95752 Submitted by: Stefan Bethke <stb@lassitu.de>
Notes
Notes: svn path=/head/; revision=159624
Diffstat (limited to 'mail/squirrelmail-login_auth-plugin/pkg-plist')
-rw-r--r--mail/squirrelmail-login_auth-plugin/pkg-plist10
1 files changed, 10 insertions, 0 deletions
diff --git a/mail/squirrelmail-login_auth-plugin/pkg-plist b/mail/squirrelmail-login_auth-plugin/pkg-plist
new file mode 100644
index 000000000000..577d24caccd3
--- /dev/null
+++ b/mail/squirrelmail-login_auth-plugin/pkg-plist
@@ -0,0 +1,10 @@
+@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin login_auth; fi
+%%SQUIRRELDIR%%/plugins/login_auth/COPYING
+%%SQUIRRELDIR%%/plugins/login_auth/INSTALL
+%%SQUIRRELDIR%%/plugins/login_auth/README
+%%SQUIRRELDIR%%/plugins/login_auth/functions.php
+%%SQUIRRELDIR%%/plugins/login_auth/index.php
+%%SQUIRRELDIR%%/plugins/login_auth/setup.php
+%%SQUIRRELDIR%%/plugins/login_auth/version
+@dirrm %%SQUIRRELDIR%%/plugins/login_auth/
+@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin login_auth; fi