summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2018-09-03 12:10:30 -0600
committerEduardo Chappa <chappa@washington.edu>2018-09-03 12:10:30 -0600
commite089a860ea48cab784e33c922a6cc9bfb092aeba (patch)
tree8a22bb4bb4575e112ddba6668d2f9ffd69002a09 /web
parentfd310f16dad9cc1e05752e45d905ec1b3aa3c3d0 (diff)
downloadalpine-e089a860ea48cab784e33c922a6cc9bfb092aeba.tar.xz
* WebAlpine: Update configuration files and add script to download
yui_2.9.0.zip (there is no web version anymore). In addition add sample gmail and gmx configuration files.
Diffstat (limited to 'web')
-rw-r--r--web/cgi/alpine/2.0/lib/README6
l---------web/cgi/alpine/2.0/lib/yui2
-rwxr-xr-xweb/cgi/alpine/2.0/lib/yui.sh15
-rw-r--r--web/config/alpine.tcl23
-rw-r--r--web/config/gmail.conf52
-rw-r--r--web/config/gmx.conf52
-rw-r--r--web/config/pine.conf6
7 files changed, 149 insertions, 7 deletions
diff --git a/web/cgi/alpine/2.0/lib/README b/web/cgi/alpine/2.0/lib/README
new file mode 100644
index 00000000..87176808
--- /dev/null
+++ b/web/cgi/alpine/2.0/lib/README
@@ -0,0 +1,6 @@
+If you are interested in building web Alpine, you must download the
+yui library, and install it in this directory. In order to help you
+with this process, the script "yui.sh" does this job for you.
+
+The script uses the wget and unzip programs, which you must have
+installed, and an internet connection to download the yui library.
diff --git a/web/cgi/alpine/2.0/lib/yui b/web/cgi/alpine/2.0/lib/yui
index 7f792d58..96704473 120000
--- a/web/cgi/alpine/2.0/lib/yui
+++ b/web/cgi/alpine/2.0/lib/yui
@@ -1 +1 @@
-yui-2.7.0 \ No newline at end of file
+yui-2.9.0 \ No newline at end of file
diff --git a/web/cgi/alpine/2.0/lib/yui.sh b/web/cgi/alpine/2.0/lib/yui.sh
new file mode 100755
index 00000000..1e42bb87
--- /dev/null
+++ b/web/cgi/alpine/2.0/lib/yui.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+if test ! -d "yui-2.9.0" ; then
+ rm -rf yui
+ echo "Downloading yui_2.9.0.zip. Wait...."
+ wget -q http://yui.github.io/yui2/archives/yui_2.9.0.zip
+ echo "Unpacking yui_2.9.0.zip..."
+ unzip -q yui_2.9.0.zip
+ echo "Removing yui_2.9.0.zip"
+ rm -f yui_2.9.0.zip
+ echo "Renaming yui to yui-2.9.0"
+ mv yui yui-2.9.0
+ echo "Creating symbolic link yui to yui-2.9.0"
+ ln -s yui-2.9.0 yui
+fi
+
diff --git a/web/config/alpine.tcl b/web/config/alpine.tcl
index 531dafaf..6d68ef76 100644
--- a/web/config/alpine.tcl
+++ b/web/config/alpine.tcl
@@ -27,7 +27,13 @@ set _wp(urlprefix) webmail
# file system path to CGI application files
# directory containing web alpine application scripts and supporting tools
-set _wp(fileroot) /usr/local/libexec/alpine
+# The htdocs/ directory is located at /srv/www/htdocs. Here we copy the
+# web directory to /srv/www/Webalpine/web using "tar cf" followed by
+# "tar xf" which preserves symbolic links
+# Original configuration:
+#set _wp(fileroot) /usr/local/libexec/alpine
+set _wp(fileroot) /srv/www/Webalpine/web
+
set _wp(tmpdir) /tmp
@@ -59,6 +65,7 @@ set _wp(defconf) $_wp(conffile)
set _wp(lib) [file join $_wp(fileroot) lib]
# directory used temporarily to stage attatched and detached files
+# this directory is owned by wwwrun:www
set _wp(detachpath) [file join $_wp(fileroot) detach]
set _wp(imagepath) [file join / $_wp(urlprefix) images]
@@ -129,8 +136,8 @@ set _wp(menuargs) {width="112" nowrap valign=top}
set _wp(ispell) /usr/local/bin/ispell
# Yahoo! User Interface Library location
-#set _wp(yui) $_wp(serverpath)/$_wp(appdir)/$_wp(ui2dir)/lib/yui
-set _wp(yui) "http://yui.yahooapis.com/2.7.0"
+set _wp(yui) $_wp(serverpath)/$_wp(appdir)/$_wp(ui2dir)/lib/yui
+#set _wp(yui) "http://yui.yahooapis.com/2.7.0"
# usage reporter - input: username as first command line argument
# output: space separated integers usage and total
@@ -179,6 +186,16 @@ set _wp(indexheight) [expr {$_wp(indexheight) <= 20 ? 20 : $_wp(indexheight) >=
#
set _wp(hosts) {
{
+ Gmail
+ imap.gmail.com/ssl
+ $_wp(confdir)/gmail.conf
+ }
+ {
+ GMX
+ imap.gmx.com/ssl
+ $_wp(confdir)/gmx.conf
+ }
+ {
Deskmail
$User.deskmail.washington.edu/ssl
$_wp(confdir)/conf.deskmail
diff --git a/web/config/gmail.conf b/web/config/gmail.conf
new file mode 100644
index 00000000..4019eaf5
--- /dev/null
+++ b/web/config/gmail.conf
@@ -0,0 +1,52 @@
+#
+# Defaults that make more sense in our browser
+# oriented world...
+#
+inbox-path={imap.gmail.com/ssl}inbox
+
+smtp-server=smtp.gmail.com/submit/tls
+
+user-domain=gmail.com
+
+folder-collections="Folders on Gmail" {imap.gmail.com/ssl}[[Gmail]]/[]
+
+literal-signature=""
+
+address-book={imap.gmail.com/ssl}remote_addrbook
+
+feature-list=enable-msg-view-urls,
+ enable-msg-view-web-hostnames,
+ enable-msg-view-addresses,
+ enable-msg-view-attachments,
+ compose-rejects-unqualified-addrs,
+ enable-aggregate-command-set,
+ auto-zoom-after-select,
+ auto-unselect-after-apply,
+ quell-empty-directories
+
+normal-background-color=white
+normal-foreground-color=black
+quote1-foreground-color=000,000,153
+quote1-background-color=white
+quote2-foreground-color=051,051,255
+quote2-background-color=white
+quote3-foreground-color=051,153,255
+quote3-background-color=white
+
+rsh-open-timeout=0
+ssh-open-timeout=0
+
+index-format=ATT STATUS FROMORTO(18%) SUBJECT(70%) SMARTDATETIME(12%) SIZENARROW PRIORITY
+
+viewer-hdr-colors=/HDR=Subject/FG=black/BG=yellow,
+ /HDR=message-id/FG=black/BG=206\x2C206\x2C206,
+ /HDR=In-reply-to/FG=black/BG=206\x2C206\x2C206
+
+sort-key=arrival
+
+addressbook-formats=FULLNAME NICKNAME ADDRESS
+
+rss-news=http://rss.slashdot.org/Slashdot/slashdotMain
+
+rss-weather=http://www.rssweather.com/zipcode/98105/rss.php
+
diff --git a/web/config/gmx.conf b/web/config/gmx.conf
new file mode 100644
index 00000000..4a0d9e3d
--- /dev/null
+++ b/web/config/gmx.conf
@@ -0,0 +1,52 @@
+#
+# Defaults that make more sense in our browser
+# oriented world...
+#
+inbox-path={imap.gmx.com/ssl}inbox
+
+smtp-server=mail.gmx.comssl
+
+user-domain=gmx.com
+
+folder-collections="Folders on GMX" {imap.gmx.com/ssl}[]
+
+literal-signature=""
+
+address-book={imap.gmx.com/ssl}remote_addrbook
+
+feature-list=enable-msg-view-urls,
+ enable-msg-view-web-hostnames,
+ enable-msg-view-addresses,
+ enable-msg-view-attachments,
+ compose-rejects-unqualified-addrs,
+ enable-aggregate-command-set,
+ auto-zoom-after-select,
+ auto-unselect-after-apply,
+ quell-empty-directories
+
+normal-background-color=white
+normal-foreground-color=black
+quote1-foreground-color=000,000,153
+quote1-background-color=white
+quote2-foreground-color=051,051,255
+quote2-background-color=white
+quote3-foreground-color=051,153,255
+quote3-background-color=white
+
+rsh-open-timeout=0
+ssh-open-timeout=0
+
+index-format=ATT STATUS FROMORTO(18%) SUBJECT(70%) SMARTDATETIME(12%) SIZENARROW PRIORITY
+
+viewer-hdr-colors=/HDR=Subject/FG=black/BG=yellow,
+ /HDR=message-id/FG=black/BG=206\x2C206\x2C206,
+ /HDR=In-reply-to/FG=black/BG=206\x2C206\x2C206
+
+sort-key=arrival
+
+addressbook-formats=FULLNAME NICKNAME ADDRESS
+
+rss-news=http://rss.slashdot.org/Slashdot/slashdotMain
+
+rss-weather=http://www.rssweather.com/zipcode/98105/rss.php
+
diff --git a/web/config/pine.conf b/web/config/pine.conf
index e9f4c29c..79f8bd34 100644
--- a/web/config/pine.conf
+++ b/web/config/pine.conf
@@ -42,11 +42,11 @@ viewer-hdr-colors=/HDR=Subject/FG=black/BG=yellow,
/HDR=message-id/FG=black/BG=206\x2C206\x2C206,
/HDR=In-reply-to/FG=black/BG=206\x2C206\x2C206
-sort-key=date
+sort-key=arrival
addressbook-formats=FULLNAME NICKNAME ADDRESS
-rss-news=http://uwnews.org/apps/uwnews/public/rss.aspx?q=uwnAllCategories&numToShow=10
+rss-news=http://rss.slashdot.org/Slashdot/slashdotMain
-rss-weather=http://www.weather.gov/xml/current_obs/KBFI.rss
+rss-weather=http://www.rssweather.com/zipcode/98105/rss.php