1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
|
#!/bin/sh
# Topal: GPG/GnuPG and Alpine/Pine integration
# Copyright (C) 2001--2010 Phillip J. Brooke
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
cat > index.html <<EOF
<html>
<head>
<title>
Topal: GPG/GnuPG and Alpine/Pine integration: Distribution page
</title>
<style type="text/css">
body {
font-family: Helvetica, Geneva, Arial,
SunSans-Regular, sans-serif ;
background-color: #fafffa }
a:link {
color: blue }
a:visited {
color: purple }
.navbar {
text-align: center;
font-size: x-small }
img.validator {
float: right
}
.tail {
text-align: center ;
font-size: x-small ;
float: none ;
clear: both
}
</style>
</head>
<body>
<h1>Topal: GPG/GnuPG and Alpine/Pine integration</h1>
<p>Copyright (C) 2001--2010 Phillip J. Brooke</p>
<p>Topal is a \`glue' program that links
<a href="http://www.gnupg.org">GnuPG</a>
and
<a href="http://www.washington.edu/pine/">Pine</a>/<a href="http://www.washington.edu/alpine/">Alpine</a>. It offers
facilities to encrypt, decrypt, sign and verify emails.
This is the feature list from the <a href="README.html">README</a> file:
</p>
EOF
sed '/<!-- FL -->/,/<!-- FL -->/ ! d' < README.html >>index.html
cat >> index.html <<EOF
<p>
See the <a href="README.html">README</a>
file for all the stuff like licensing,
<a href="README.html#todo">TO DO</a>,
<a href="README.html#last-changes">recent changes</a>, etc.
</p>
<p>
The current release of Topal is <b>$1</b>. Send email to
<a href="mailto:pjb@lothlann.freeserve.co.uk"><tt>pjb@lothlann.freeserve.co.uk</tt></a>
if you would like to be notified of new Topal releases by email.
</p>
<hr/>
<p>
The most recent changes were:
<dl>
EOF
sed '/<!-- MRC -->/,/<!-- MRC -->/ ! d' < README.html >>index.html
cat >> index.html <<EOF
</dl>
<hr/>
<p>Files available are:</p>
<ul>
<li> The <a href="README.html">README</a> file.</li>
<li> <a href="COPYING">GNU Public Licence version 3</a>.
<li> The <a href="topal-package-$1.tgz">source code package</a>
(`ls -sk topal-package-$1.tgz|awk '{print $1}'` kB, release $1) and a
<a href="topal-package-$1.tgz.asc">detached signature</a>.
<br/>
You will need the source package, even if you don't want to compile Topal yourself. The documentation is included in the tarball.
<li> The <a href="topal.gz">topal binary for Linux x86</a>
(`ls -sk topal.gz|awk '{print $1}'` kB, not stripped, gzip'd, release $1) and a
<a href="topal.gz.asc">detached signature</a>.
The output of ldd for the topal binary (on the build machine) is
<pre>
EOF
ldd ../topal | sed 's/>/\>/g' >> index.html
cat >> index.html <<EOF
</pre>
<li> The <a href="topal-ps.gz">topal binary for Linux x86</a>
(statically linked against the GNAT library, `ls -sk topal-ps.gz|awk '{print $1}'` kB, stripped, gzip'd, release $1) and a
<a href="topal-ps.gz.asc">detached signature</a>. You'll need to rename this as \`topal'.
The output of ldd for this binary (on the build machine) is
<pre>
EOF
ldd ../topal-ps | sed 's/>/\>/g' >> index.html
cat >> index.html <<EOF
</pre>
<li> Some features (sending of any content-type except text/plain) require
a patch to Pine. (See the <a href="README.html">README</a>.)
</ul>
<p>
EOF
echo Last generated: $(date) >> index.html
cat >> index.html <<EOF
</p>
</body>
</html>
EOF
|