Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
From: hm@ix.de (Harald Milz)
Subject: vacation 0.9 uploaded to sunsite
Date: 20 Nov 1993 19:16:47 +0200	[thread overview]
Message-ID: <2cljdv$716@klaava.Helsinki.FI> (raw)

[ Moderator's note: this is a concatenation of two announcements
  for two different versions; I have removed references to the
  earlier version's location, and generally merged the two.  I
  hope I didn't break anything.  Note that the earlier version
  had a serious bug which the newer version fixes.  --liw ]

I have just uploaded my port of the vacation program for Linux to
sunsite.unc.edu. It is presently in /pub/Linux/Incoming/vacation-0.9.tgz
and should move to /pub/Linux/system/Mail.

Here's the README file I included in the package:

---
Vacation is the automatic mail answering program found with many Unix
implementations such as SunOS and IBM AIX.

This is my vacation port to Linux. It is derived from the vacation
program found on agate.berkeley.edu in the 386bsd directory on Nov 16,
1993. The original program was written by Eric Allman in 1983 and is
copyrighted by the Regents of the UCB. The copyright disclaimer is
valid for this distribution as well, i.e. this version is provided `as
is', and I shall not be liable for any damage, data loss or
earthquakes in the bay area.

I tried to make this port look just like the version found with SunOS
4.1.x. There are minor differences, however, it resembles more the Sun
version than the original 386bsd source. 

Differences to the 386bsd version: 
- usage of the GNU dbm database library (libdbm.a) instead of whatever
  was used in 386bsd. I don't know 386bsd well, so there was no
  chance to avoid this change. You won't bother, probably. 
- implementation of the `-j' option which suppresses checking of the
  "To:" and "Cc:" fields.
- the 386bsd version didn't replace the string "$SUBJECT" in the
  .vacation.msg file if present :-(. Well, this version does.
- the other options are named as and work just like the Sun version's,
  except:

Differences to the Sun version:
- the `-t' option only allows for an adjustment in steps of days. Not
  that it would have been to difficult to implement the whole armada of
  Sun's option, but I considered this useful enough. 
- Instead of the files .vacation.dir and .vacation.pag, respectively,
  this version uses a single file .vacation.db. The dbm_open() call used
  in the Sun and AIX versions hard-links the former files, so I dind't
  find any reason why to keep up this configuration.

There's a new option `-r' which checks if there is a "Reply-To:"
header in the incoming mail, and if there is, its entry overrides the
"From:" entry. This can be useful in those cases where users have
`replyto' files for their newsreaders for specific reasons. Plus, if
someone intends to receive mail at another location, he/she will issue
"Reply-To:" as well. Feel free to argue for or against this issue.

Unpack the package as follows

mkdir -p /usr/src/vacation
chdir /usr/src/vacation
gzip -dc <path>/vacation.tgz | tar xvf -

This distribution comes with following files:

README		this file
vacation.c	the main source
vacation.h	vacation header file
tzfile.h	several defines (from the 386bsd distribution)
vacation.man	man page, derived from Sun's version
Makefile	which works at least for me
vacation	the binary, compiled with GCC 2.4.5, libc 4.4.4 and
		ld.so 1.3. 

There are no prerequisites as far as the compiler and the library
versions are concerned. You should be able to compile vacation with
older versions as well. However, you'll need the libdbm.a library
which should be shipped with most (if not all) Linux distributions (at
least it was with SLS 1.01).

In order to call an external shell, sendmail(8) and vi(1) correctly,
vacation #includes paths.h which should thus reflect your
configuration. Please adjust the corresponding entries in paths.h
(usually found in /usr/include).

vacation.c is still full of "#ifdef DEBUG" statements which are
subject to vanish in a later version. However, if you do beta-testing,
the file `/tmp/vacation.log' can be helpful. The function printd() is
intended to log into this file.

I apologize for not having put too many comments into the source. I
felt that for the moment, the source is very understandable itself (as
you always do when having played around with some source code for a
while). 

I'd appreciate some beta testing and any useful hints concerning
vacation. Please feel free to mail me any comments.

Here's the .lsm file:

Begin2
Title        = Automatic mail answering program for Linux
Version      = 0.9
Desc1        = This is the port of the vacation program to Linux. 
Desc2        = Vacation is the automatic mail answering program found
Desc3        = with many Unix implementations.
Author       = Harald Milz
AuthorEmail  = hm@seneca.ix.de
Maintainer   = Harald Milz
MaintEmail   = hm@seneca.ix.de
Site1        = sunsite.unc.edu
Path1        = /pub/Linux/system/Mail
File1        = vacation-0.9.tgz
FileSize1    = 14021
Required1    = libdbm.a, the GNU dbm library with corresponding header files
CopyPolicy1  = Copyright (c) 1983, 1987 Regents of the University of California
CopyPolicy2  = Copyright (c) 1993 Harald Milz
Keywords     = vacation, mail answering
Comment1     = Original source code by Eric P. Allman. This is an extended
Comment2     = version with nearly the power of the Sun version plus some
Comment3     = further options.
RelFiles1    = Makefile, README, tzfile.h, vacation, vacation.c
RelFiles2    = vacation.h, vacation.man, ChangeLog
Entered      = 18NOV93
EnteredBy    = Harald Milz, Lehrte, Germany
CheckedEmail = hm@seneca.ix.de
End

--
Harald Milz 				phone +49 (511) 53 52-377
iX Multiuser Multitasking Magazine	fax   +49 (511) 53 52-361
Helstorfer Str. 7, D-30625 Hannover	office:  hm@ix.de
P.O. Box 61 04 07, D-30604 Hannover	private: hm@seneca.ix.de

--
Mail submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu
PLEASE remember Keywords: and a short description of the software.


                 reply	other threads:[~1993-11-20 17:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox