aboutsummaryrefslogtreecommitdiff
path: root/mail/sgwi/files
diff options
context:
space:
mode:
authorPhilippe Audeoud <jadawin@FreeBSD.org>2008-03-18 13:13:06 +0000
committerPhilippe Audeoud <jadawin@FreeBSD.org>2008-03-18 13:13:06 +0000
commita27e6768fb54dacb4e8a6a792b7d9fdbde650cc4 (patch)
tree2299c499bdfbcbf1be60cf70785eadc14c167af5 /mail/sgwi/files
parent16efa287889c52d9beaea8d5445fe993f9222963 (diff)
downloadports-a27e6768fb54dacb4e8a6a792b7d9fdbde650cc4.tar.gz
ports-a27e6768fb54dacb4e8a6a792b7d9fdbde650cc4.zip
sgwi is a web interface to SQLGrey written in PHP.
It allows you to edit the white- and blacklists as well as the current state of the greylist. WWW: http://www.vanheusden.com/sgwi/ PR: ports/121630 Submitted by: Lukasz Wasikowski <lukasz at wasikowski.net> Approved by: tabthorpe (mentor)
Notes
Notes: svn path=/head/; revision=209296
Diffstat (limited to 'mail/sgwi/files')
-rw-r--r--mail/sgwi/files/patch-.htaccess11
-rw-r--r--mail/sgwi/files/patch-.htpasswd4
-rw-r--r--mail/sgwi/files/patch-copyright.php8
-rw-r--r--mail/sgwi/files/pkg-message.in24
4 files changed, 47 insertions, 0 deletions
diff --git a/mail/sgwi/files/patch-.htaccess b/mail/sgwi/files/patch-.htaccess
new file mode 100644
index 000000000000..49624e3cb58e
--- /dev/null
+++ b/mail/sgwi/files/patch-.htaccess
@@ -0,0 +1,11 @@
+--- /dev/null 2008-03-11 22:05:01.000000000 +0100
++++ .htaccess 2008-03-11 22:03:36.000000000 +0100
+@@ -0,0 +1,8 @@
++AuthUserFile /usr/local/www/sgwi/.htpasswd
++AuthGroupFile /dev/null
++AuthName "sgwi Admin"
++AuthType Basic
++
++<limit GET POST>
++require valid-user
++</limit>
diff --git a/mail/sgwi/files/patch-.htpasswd b/mail/sgwi/files/patch-.htpasswd
new file mode 100644
index 000000000000..e07a41da5c40
--- /dev/null
+++ b/mail/sgwi/files/patch-.htpasswd
@@ -0,0 +1,4 @@
+--- /dev/null 2008-03-11 22:05:01.000000000 +0100
++++ .htpasswd 2008-03-11 22:02:21.000000000 +0100
+@@ -0,0 +1 @@
++admin:1Cm2R1zl5.LII
diff --git a/mail/sgwi/files/patch-copyright.php b/mail/sgwi/files/patch-copyright.php
new file mode 100644
index 000000000000..9d047c86d067
--- /dev/null
+++ b/mail/sgwi/files/patch-copyright.php
@@ -0,0 +1,8 @@
+--- copyright.inc.php.orig 2008-03-11 22:23:21.000000000 +0100
++++ copyright.inc.php 2008-03-11 22:23:33.000000000 +0100
+@@ -1,4 +1,4 @@
+ <TR HEIGHT=64><TD>
+ <HR>
+-<FONT SIZE=-1><A HREF="http://www.vanheusden.com/sgwi/" TARGET="_new">SQLGrey webinterface v0.6</A> by <A HREF="http://www.vanheusden.com/feedbackform.php?subject=SQLGrey%20webinterface" TARGET="_new">folkert@vanheusden.com</A>
++<FONT SIZE=-1><A HREF="http://www.vanheusden.com/sgwi/" TARGET="_new">SQLGrey webinterface v0.7</A> by <A HREF="http://www.vanheusden.com/feedbackform.php?subject=SQLGrey%20webinterface" TARGET="_new">folkert@vanheusden.com</A>
+ </TD></TR>
diff --git a/mail/sgwi/files/pkg-message.in b/mail/sgwi/files/pkg-message.in
new file mode 100644
index 000000000000..fccdd2725731
--- /dev/null
+++ b/mail/sgwi/files/pkg-message.in
@@ -0,0 +1,24 @@
+
+1. Configure sgwi
+-----------------
+Edit the %%PREFIX%%/www/sgwi/config.inc.php file to reflect your
+setup.
+
+The default password for sgwi is admin/admin. It's specified in
+the .htpasswd file in %%PREFIX%%/www/sgwi/ directory. Change it
+with:
+
+htpasswd %%PREFIX%%/www/sgwi/.htpasswd admin
+
+Also make sure that the location of the .htpasswd file specified
+in .htaccess file matches your path.
+
+2. Configure Apache
+-------------------
+Add a line in your httpd.conf to allow the use of .htaccess file.
+
+<Directory "%%PREFIX%%/www/sgwi">
+ Options Indexes
+ AllowOverride AuthConfig
+</Directory>
+