Codebase list wmf / c48506f
Initial commit of Debian branch Francesco Paolo Lovergine 3 years ago
15 changed file(s) with 544 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 #
1 # Makefile for webmailfolder
2 # created 1996/08/16 by Norbert Kuemin
3 #
4
5 DPKG_EXPORT_BUILDFLAGS = 1
6 include /usr/share/dpkg/buildflags.mk
7
8 # Configuration begins here
9 BINDIR=$(DESTDIR)/usr/bin
10 MANDIR=$(DESTDIR)/usr/share/man
11 CLIBDIR=-L../../compface
12 CINC=-I../../compface
13
14 #if you have/want face-support uncomment the two following lines
15 #FACELIB=-lcompface
16 #FACEDEF=-DFACES
17 # Configuration ends here
18
19 # Program initials
20 CONFIGFILE= \"~/.wmfrc\"
21 MBOXFILE= \"~/mbox\"
22 MAILCMD=\"mailto:\"
23 DIRECTORY=\"./\"
24 EXTENSION=\".html\"
25 NEWSUBJECTTHREAD=0 #0=False 1=True
26
27 # Program constants
28 PROGRAM=wmf
29 VERSION=1.0.5
30 PRG_NAME= \"WebMailFolder\"
31 PRG_VERSION= \"$(VERSION)\"
32 PRG_HREF= \"http://www.lugs.ch/lugs/mitglieder/norbert.kuemin/wmf.html\"
33
34 PINIT= -DWMF_CONFIG=$(CONFIGFILE) -DWMF_MBOX=$(MBOXFILE) -DWMF_MCMD=$(MAILCMD)\
35 -DWMF_DIR=$(DIRECTORY) -DWMF_DEBUGLEVEL=0 -DWMF_EXTENSION=$(EXTENSION)
36
37 PCONST= -DNAME=$(PRG_NAME) -DVERSION=$(PRG_VERSION) -DHREF=$(PRG_HREF)
38
39 CDEFS= $(PINIT) $(PCONST) $(FACEDEF) -Wall
40 CLIB= $(FACELIB)
41 CFLAGS += $(COPTS) $(CDEFS) $(CINC)
42
43 # Only for debugging (Should be commented)
44 #CDEFS= -DDEBUG $(PINIT) $(PCONST) $(FACEDEF) -Wall
45 #CDEFS= -DDEBUG -DMALLOC $(PINIT) $(PCONST) $(FACEDEF) -Wall
46 #CLIB= $(FACELIB) -ldmalloc
47
48 OBJS= wmf.o config.o mail.o file.o index.o html.o date.o sys.o mime.o
49
50 .c.o:
51 $(CC) -c $(CFLAGS) $(CPPFLAGS) $<
52
53 all: wmf
54
55 wmf: $(OBJS)
56 $(CC) -o $(PROGRAM) $(CFLAGS) $(OBJS) $(CLIBDIR) $(CLIB) $(LDFLAGS)
57 chmod 0755 $(PROGRAM)
58
59 #$(OBJS): wmf.h
60
61 install:
62 install -c -m 0755 $(PROGRAM) $(BINDIR)
63 chmod 0644 ../doc/wmf.1
64 chmod 0644 ../doc/wmfrc.5
65 install -c -m 0644 ../doc/wmf.1 $(MANDIR)/man1
66 install -c -m 0644 ../doc/wmfrc.5 $(MANDIR)/man5
67
68 clean:
69 rm -f ./$(PROGRAM) *.o *~ core DEADJOE ../doc/*~ ../examples/*~ ../doc/DEADJOE
70
71 package: clean
72 ( cd ../.. ; tar -zcvf $(PROGRAM)-$(VERSION).tar.gz wmf )
0 wmf for Debian
1 --------------
2
3 This package seems currently no more actively developed.
4 Some information about the package are available at
5
6 http://www.lugs.ch/LUGS_Members/norbert.kuemin/wmf.html
7
8 -- Francesco Paolo Lovergine <frankie@debian.org>, Tue, 22 Jan 2002 14:08:36 +0100
0 wmf (1.0.5-7) unstable; urgency=medium
1
2 * Package revamped with modern debhelper. Previous patches are now properly
3 introduced as standalone.
4 (closes: #800190)
5 * Removed auto-stripping at install time as present in the original upstream
6 makefile
7 (closes: #438268)
8
9 -- Francesco Paolo Lovergine <frankie@debian.org> Sun, 06 Mar 2016 14:08:21 +0100
10
11 wmf (1.0.5-6) unstable; urgency=low
12
13 * An error in upstream Makefile causes a copy of wmfrc.5 in man1.
14 Now error is truly closed (hopefully :-)).
15 Now a Makefile.debian has been introduced.
16 (closes: #172404)
17
18 -- Francesco Paolo Lovergine <frankie@debian.org> Sat, 4 Jan 2003 20:49:40 +0100
19
20 wmf (1.0.5-5) unstable; urgency=low
21
22 * Changed section for wmfrc man page in 5. Also modified its title coherently.
23 (closes: #172404)
24 * Updated to policy 3.5.8.
25 * Patched for buffer overflow in CheckHomeDir.
26 Patch by Martin Godisch <martin@godisch.de>
27 (closes: #172403)
28
29 -- Francesco Paolo Lovergine <frankie@debian.org> Thu, 12 Dec 2002 15:35:32 +0100
30
31 wmf (1.0.5-4) unstable; urgency=low
32
33 * New maintainer.
34 (closes: #90924)
35 * Typos in control file corrected.
36 (closes: #125489)
37 * Rebuilt against the current original sources as got on www site.
38 * Package built from scratch using debhelper and the old package.
39 * Updated to policy 3.5.2.
40 * mime.c patched.
41 (closes: #34846)
42
43 -- Francesco Paolo Lovergine <frankie@debian.org> Tue, 22 Jan 2002 13:58:12 +0100
44
45 wmf (1.0.5-3) frozen; urgency=high
46
47 * Fix string deallocation problem which caused a segfault.
48
49 -- Christoph Lameter <christoph@lameter.com> Fri, 10 Mar 2000 11:24:05 -0800
50
51 wmf (1.0.5-2) unstable; urgency=low
52
53 * rebuild with newest glibc. Was segfaulting.
54
55 -- Christoph Lameter <christoph@lameter.com> Thu, 14 Oct 1999 16:49:07 -0700
56
57 wmf (1.0.5-1) unstable; urgency=low
58
59 * New upstream release #34508
60 * #34846 include patch in sourcearchive.
61
62 -- Christoph Lameter <clameter@debian.org> Thu, 14 Oct 1999 16:49:02 -0700
63
64 wmf (1.0-1) unstable; urgency=low
65
66 * Initial Release.
67
68 -- Christoph Lameter <chris@lameter.com> Sat, 14 Feb 1998 21:06:06 -0800
69
70 Local variables:
71 mode: debian-changelog
72 End:
0 Source: wmf
1 Section: web
2 Priority: optional
3 Maintainer: Francesco Paolo Lovergine <frankie@debian.org>
4 Build-Depends: debhelper (>=9)
5 Standards-Version: 3.9.7
6 Homepage: http://www.lugs.ch/LUGS_Members/norbert.kuemin/wmf.html
7
8 Package: wmf
9 Architecture: any
10 Suggests: www-browser
11 Depends: ${shlibs:Depends}, ${misc:Depends}
12 Description: Web Mail Folder
13 This program converts emails to HTML and makes index files
14 (by author, data, subject,thread). Of course there are other programs
15 making the same, but here are some features which not all have:
16 - correct threading without level limitation
17 - quoted-printable text encoding
18 - home page hyperlink (X-URL)
19 - faces support
20 - breaking indexes in different pages to make them smaller
21 (don't break between threads)
22 - index time limitation (older mail disappears from the index)
23 - frame support
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: wmf
2 Source: http://www.lugs.ch/LUGS_Members/norbert.kuemin/wmf.html
3
4 Files: *
5 Copyright: 1996,1997 Norbert Kümin <Norbert.Kuemin@GMX.net>
6 2016 Francesco Paolo Lovergine <frankie@debian.org>
7 License: GPL-2+
8 This package is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
12 .
13 This package is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17 .
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <https://www.gnu.org/licenses/>
20 .
21 On Debian systems, the complete text of the GNU General
22 Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
23
0 usr/bin
1 usr/share/man/man1
2 usr/share/man/man5
0 doc/Decoding.txt
1 doc/FAQ
2 doc/frame.txt
3 doc/README
4 doc/ToDo
5 examples
0 Index: wmf-1.0.5/src/file.c
1 ===================================================================
2 --- wmf-1.0.5.orig/src/file.c 1999-02-04 19:56:13.000000000 +0100
3 +++ wmf-1.0.5/src/file.c 2016-03-06 14:30:11.861362111 +0100
4 @@ -49,11 +49,12 @@
5 void NewFile(char *FileName, char *Text) {
6 FILE *fd;
7
8 - if ((config.DebugLevel != WMF_NOVALUE) && (config.DebugLevel & 4))
9 - if (config.NewFilePerm != 0) {
10 - printf(".NewFile(%s) Perm=%o\n",FileName,(int) config.NewFilePerm);
11 - } else {
12 - printf(".NewFile(%s)\n",FileName);
13 + if ((config.DebugLevel != WMF_NOVALUE) && (config.DebugLevel & 4)) {
14 + if (config.NewFilePerm != 0) {
15 + printf(".NewFile(%s) Perm=%o\n",FileName,(int) config.NewFilePerm);
16 + } else {
17 + printf(".NewFile(%s)\n",FileName);
18 + }
19 }
20 fd = fopen(FileName,"w");
21 if (fd != NULL) {
0 wmfrc.5
1 xfmail.sh
2 file.c
3 wmf.1
0 Index: wmf-1.0.5/doc/wmf.1
1 ===================================================================
2 --- wmf-1.0.5.orig/doc/wmf.1 1999-01-23 11:31:03.000000000 +0100
3 +++ wmf-1.0.5/doc/wmf.1 2016-03-06 15:09:20.161677510 +0100
4 @@ -119,35 +119,35 @@
5 .SH EXAMPLES
6
7 .SH AUTHOR
8 -.NF
9 +.nf
10 Norbert Kuemin <norbert.kuemin@gmx.net>
11 -.FI
12 +.fi
13
14 .LP
15 .SH FILES
16 -.NF
17 +.nf
18 ~/.wmfrc
19 -.FI
20 +.fi
21
22 .LP
23 .SH SEE ALSO
24 -.NF
25 +.nf
26 wmfrc (1), procmail (1)
27 -.FI
28 +.fi
29
30 .SH NOTES
31 -.NF
32 +.nf
33 Thanks to all the people, who sent emails with bug-reports and suggestions.
34 -.FI
35 +.fi
36
37 .SH BUGS
38 -.NF
39 +.nf
40 There will always rest one bug (Murphys law). If you find it, so please
41 report it to Norbert.Kuemin@gmx.net
42 -.FI
43 +.fi
44
45 .SH COPYRIGHT
46 -.NF
47 +.nf
48 Copyright 1996, 1997 by Norbert Kuemin.
49
50 This program is free software; you can redistribute it and/or modify
51 @@ -163,4 +163,4 @@
52 You should have received a copy of the GNU General Public License
53 along with this program; if not, write to the Free Software
54 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
55 -.FI
56 +.fi
0 Index: wmf-1.0.5/doc/wmfrc.5
1 ===================================================================
2 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
3 +++ wmf-1.0.5/doc/wmfrc.5 2016-03-06 14:23:19.371784242 +0100
4 @@ -0,0 +1,200 @@
5 +.TH wmfrc 5 "December 1997"
6 +.UC 4
7 +
8 +.SH NAME
9 +wmfrc \- Configuration file for wmf.
10 +
11 +.SH DESCRIPTION
12 +Use the configuration file for all configurational features of wmf.
13 +Wmf is looking for .wmfrc as default if nothing else defined.
14 +
15 +.SH COMMANDS
16 +Available command line options are the following:
17 +.TP
18 +AboutLink = <Text>
19 +If this link presents it will be placed to the index section.
20 +.TP
21 +AuthorCaseSort = 0n|Off
22 +Sorting the author index case senitive
23 +.TP
24 +AuthorEmailSort = 0n|Off
25 +Sorting the author index by email address.
26 +.TP
27 +BodyHtmlConvert = 0n|Off
28 +Turning html convert of the mail-body on/off.
29 +.TP
30 +BodyLinkEmail = 0n|Off
31 +Turning email detecting in the mail-body on/off.
32 +.TP
33 +BodyLinkUrl = 0n|Off
34 +Turning url detecting in the mail-body on/off.
35 +.TP
36 +BodyReplyChars = <Text>
37 +Defining characters who indicate the begin of reply text. As example ">".
38 +.TP
39 +DayLimit = <Number>
40 +Mails older then <Number> days won't be listed in the indexes.
41 +0 = no limit (default=0).
42 +.TP
43 +DebugLevel = <Number>
44 +Debug level (Bit0=Functions Bit1=Information Bit2=Fileoperations)
45 +.TP
46 +Directory = <Text>
47 +Where all the files write to (default ./)
48 +.TP
49 +DocEndFile = <Text>
50 +Includefile for the end of the document
51 +.TP
52 +DocStartFile = <Text>
53 +Includefile for the begin of the document
54 +.TP
55 +Extension = <Text>
56 +Define the file extension (default=".html").
57 +.TP
58 +FaceDirectory = <Text>
59 +Directory where to store the face files. Attention: This directory is
60 +RELATIVE to the html directory.
61 +.TP
62 +FaceNoData = <Text>
63 +What to include, if there are no face datas.
64 +.TP
65 +FaceSupport = 0n|Off
66 +Turn face support on/off.
67 +.TP
68 +FilePermission = <Number>
69 +Set file permission after creation. Numeric mode only like chown (1)
70 +.TP
71 +FolderName = <Text>
72 +Name of the mail folder.
73 +.TP
74 +FrameNameIndex = <Text>
75 +Name of the frame where the index is.
76 +.TP
77 +FrameNameText = <Text>
78 +Name of the frame where the mailtext is.
79 +.TP
80 +FrameNameTitle = <Text>
81 +Name of the frame where the title is.
82 +.TP
83 +FrameSupport = 0n|Off
84 +Turn frame support on/off.
85 +.TP
86 +HtmlBodyStart = <Text>
87 +Replacement for <BODY>
88 +.TP
89 +HtmlBodyEnd = <Text>
90 +Replacement for </BODY>
91 +.TP
92 +HtmlSeparator = <Text>
93 +Replacement for <HR>
94 +.TP
95 +HtmlReplyStart = <Text>
96 +If you want display the reply text italic put a <I> here.
97 +.TP
98 +HtmlReplyEnd = <Text>
99 +If you want display the reply text italic put a </I> here.
100 +.TP
101 +IndexAuthor = 0n|Off
102 +Turning indexing by author (author.html) on/off.
103 +.TP
104 +IndexDate = 0n|Off
105 +Turning indexing by date (date.html) on/off.
106 +.TP
107 +IndexSubject = 0n|Off
108 +Turning indexing by subject (subject.html) on/off.
109 +.TP
110 +IndexThread = 0n|Off
111 +Turning indexing by thread (thread.html) on/off.
112 +.TP
113 +LineSize = <Number>
114 +Lines greater then the defined limit will be breaked at the last
115 +space. If there wasn't any space the search continues to the next after the
116 +limit. If there isn't ANY space in the whole line, no breakes.
117 +.TP
118 +MailboxFile = <Text>
119 +Name of the mailbox file, - is used for stdin.
120 +.TP
121 +MailCommand = <Text>
122 +Mail-command (default MAILTO:)
123 +.TP
124 +MessageCount = 0n|Off
125 +Print the amount of messages in the first page of every index file.
126 +.TP
127 +NewSubjectThread = 0n|Off
128 +Make a new Thread if the Subject changes in a reply.
129 +.TP
130 +PageSize = <Number>
131 +Lines / page index. 0 = only one page (default 0).
132 +Threads won't be brocken.
133 +.TP
134 +SortOrder = NewFirst|NewLast
135 +Define sorting
136 +.TP
137 +Statistics = 0n|Off
138 +Turn statistic on/off.
139 +.TP
140 +SubjectCaseSort = 0n|Off
141 +Sorting the subject index case senitive
142 +.TP
143 +ThreadCaseSort = 0n|Off
144 +Sorting the thread index case senitive
145 +.TP
146 +WriteMode = <Number>
147 +Write-mode (0=indexing 1=overwrite 2=append 3=append no index).
148 +.B Mode 0:
149 +If you made changes manual or anything went wrong until indexing.
150 +.B Mode 1:
151 +If you want to start from scratch witch one big mbox file.
152 +.I Warning: All files in the directory will be deleted !!!
153 +.B Mode 2:
154 +If you want to extend an existing archive.
155 +.B Mode 3:
156 +Specialy made if you need to convert emails stored in single files. After
157 +converting all files you can call WMF again in Mode 0 for indexing.
158 +
159 +.SH AUTHOR
160 +.nf
161 +Norbert Kuemin <norbert.kuemin@gmx.net>
162 +.fi
163 +
164 +.LP
165 +.SH FILES
166 +.nf
167 +~/.wmfrc
168 +.fi
169 +
170 +.LP
171 +.SH SEE ALSO
172 +.nf
173 +wmf (1)
174 +.fi
175 +
176 +.SH NOTES
177 +.nf
178 +Thanks to all the people, who sent emails with bug-reports and suggestions.
179 +.fi
180 +
181 +.SH BUGS
182 +.nf
183 +There will always rest one bug (Murphys law). If you find it, so please
184 +report it to Norbert.Kuemin@gmx.net
185 +.fi
186 +
187 +.SH COPYRIGHT
188 +.nf
189 +Copyright 1996, 1997 by Norbert Kuemin.
190 +
191 +This program is free software; you can redistribute it and/or modify
192 +it under the terms of the GNU General Public License as published by
193 +the Free Software Foundation; either version 2 of the License, or
194 +(at your option) any later version.
195 +
196 +This program is distributed in the hope that it will be useful,
197 +but WITHOUT ANY WARRANTY; without even the implied warranty of
198 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
199 +GNU General Public License for more details.
200 +
201 +You should have received a copy of the GNU General Public License
202 +along with this program; if not, write to the Free Software
203 +Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
204 +.fi
0 Index: wmf-1.0.5/examples/xfmail.sh
1 ===================================================================
2 --- wmf-1.0.5.orig/examples/xfmail.sh 1997-04-11 22:20:38.000000000 +0200
3 +++ wmf-1.0.5/examples/xfmail.sh 2016-03-06 14:25:25.264332953 +0100
4 @@ -1,4 +1,4 @@
5 -#/bin/sh
6 +#!/bin/sh
7 #
8 # Converting a folder (xfmail) to html
9 SRC_DIR="./mail"
0 #!/usr/bin/make -f
1 # See debhelper(7) (uncomment to enable)
2 # output every command that modifies files on the build system.
3 #export DH_VERBOSE = 1
4
5
6 # see FEATURE AREAS in dpkg-buildflags(1)
7 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
8
9 # see ENVIRONMENT in dpkg-buildflags(1)
10 # package maintainers to append CFLAGS
11 #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
12 # package maintainers to append LDFLAGS
13 #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
14
15
16 %:
17 dh $@
18
19 # dh_make generated override targets
20 override_dh_auto_configure:
21
22 override_dh_auto_test:
23
24 override_dh_auto_build:
25 $(MAKE) -C src -f $(CURDIR)/debian/Makefile.debian wmf
26
27 override_dh_auto_install:
28 $(MAKE) -C src -f $(CURDIR)/debian/Makefile.debian install DESTDIR=$(CURDIR)/debian/wmf
29
30 override_dh_auto_clean:
31 $(MAKE) -C src -f $(CURDIR)/debian/Makefile.debian clean
0 3.0 (quilt)