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
|
#!/bin/sh
# Topal: GPG/GnuPG and Alpine/Pine integration
# Copyright (C) 2001--2012 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>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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--2012 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.
</p>
<h2>Features</h2>
EOF
sed '/<!-- FL -->/,/<!-- FL -->/ ! d' < ../Features.html >>index.html
cat >> index.html <<EOF
<p>
See the included documentation
for all the stuff like licensing, recent changes and instructions.
</p>
<h2>Release $1</h2>
<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>
<h3>Files for download</h3>
<ul>
<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/>
Full documentation is included in the tarball.</li>
<li> <a href="topal.pdf">Documentation (PDF, `ls -sk topal.pdf|awk '{print $1}'` kB)</a>.</li>
<li> <a href="COPYING">GNU Public Licence version 3</a>.</li>
<li> Some features (sending of any content-type except text/plain) require
a patch to Pine.</li>
</ul>
<h3>Most recent changes</h3>
<dl>
EOF
sed '/<!-- MRC -->/,/<!-- MRC -->/ ! d' < ../Changelog.html >>index.html
cat >> index.html <<EOF
</dl>
<hr/>
<p>
EOF
echo Last generated: $(date) >> index.html
cat >> index.html <<EOF
</p>
</body>
</html>
EOF
|