~ubuntu-branches/ubuntu/precise/topal/precise

« back to all changes in this revision

Viewing changes to mkdistrib

  • Committer: Bazaar Package Importer
  • Author(s): Phil Brooke
  • Date: 2008-07-18 07:57:38 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20080718075738-i1szqvmxz0evz32p
Tags: upstream-62
ImportĀ upstreamĀ versionĀ 62

Show diffs side-by-side

added added

removed removed

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