initial ports subsystem from joey

This commit is contained in:
deraadt 1997-11-15 00:04:24 +00:00
parent ef1fe815ff
commit 15d4039688
222 changed files with 8639 additions and 0 deletions

17
archivers/arc/Makefile Normal file
View File

@ -0,0 +1,17 @@
# OpenBSD makefile for: arc
# Version required: 5.21e
# Date created: 06 November 1997
# Whom: ejovi
DISTNAME= arc521e.pl8
PKGNAME= arc-5.21e
CATEGORIES= archivers
MASTER_SITES= ftp://ftp.kiarchive.ru/pub/unix/arcers/
EXTRACT_SUFX= .tar.Z
MAINTAINER= joey@openbsd.org
NO_WRKSUBDIR= yes
MAN1= arc.1
.include <bsd.port.mk>

1
archivers/arc/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (arc521e.pl8.tar.Z) = a6eca0eb9d8cfb8d9bb62753c85759cb

View File

@ -0,0 +1,94 @@
*** Makefile.old Wed Apr 15 02:57:58 1992
--- Makefile Sat Dec 31 20:36:07 1994
***************
*** 32,45 ****
OPT = -O
# For MWC 3.0 on the Atari ST, use:
#CFLAGS = -VCOMPAC -VPEEP
! CFLAGS = $(OPT) $(SYSTEM)
# GNU's gcc is very nice, if you've got it. Otherwise just cc.
#CC = cgcc -mshort
! CC = cc
# tmclock is only needed on Unix systems...
! TMCLOCK = tmclock.o
# Files needed for System V
#SYSVOBJ = getwd.o rename.o scandir.o utimes.o
--- 32,46 ----
OPT = -O
# For MWC 3.0 on the Atari ST, use:
#CFLAGS = -VCOMPAC -VPEEP
! #CFLAGS = $(OPT) $(SYSTEM)
! CFLAGS+=$(SYSTEM)
# GNU's gcc is very nice, if you've got it. Otherwise just cc.
#CC = cgcc -mshort
! #CC = cc
# tmclock is only needed on Unix systems...
! TMCLOCK = #tmclock.o
# Files needed for System V
#SYSVOBJ = getwd.o rename.o scandir.o utimes.o
***************
*** 61,66 ****
--- 62,71 ----
clean:
-rm *.o arc$(PROG) marc$(PROG)
+
+ install:
+ install -cs -o bin -g bin arc marc ${PREFIX}/bin
+ install -c -o bin -g bin arc.1 ${PREFIX}/man/man1
arc.o: $(SRCDIR)arc.c $(HEADER)
$(CC) $(CFLAGS) -c $(SRCDIR)arc.c
*** arcdos.c.old Wed Apr 15 02:58:21 1992
--- arcdos.c Sat Dec 31 20:32:25 1994
***************
*** 173,186 ****
--- 173,192 ----
struct tm tm;
struct timeval tvp[2];
int utimes();
+ #if !defined(__FreeSBD__) && !defined(__OpenBSD__)
long tmclock();
+ #endif
tm.tm_sec = (time & 31) * 2;
tm.tm_min = (time >> 5) & 63;
tm.tm_hour = (time >> 11);
tm.tm_mday = date & 31;
tm.tm_mon = ((date >> 5) & 15) - 1;
tm.tm_year = (date >> 9) + 80;
+ #if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
tvp[0].tv_sec = tmclock(&tm);
+ #else
+ tvp[0].tv_sec = timelocal(&tm);
+ #endif
tvp[1].tv_sec = tvp[0].tv_sec;
tvp[0].tv_usec = tvp[1].tv_usec = 0;
utimes(f, tvp);
*** marc.c.old Wed Apr 15 02:59:21 1992
--- marc.c Sat Dec 31 20:40:30 1994
***************
*** 35,40 ****
--- 35,41 ----
#endif
VOID arcdie();
static VOID expandlst(), merge();
+ char *makefnam(); /* filename fixup routine */
FILE *src; /* source archive */
char srcname[STRLEN]; /* source archive name */
***************
*** 47,53 ****
int nargs; /* number of arguments */
char *arg[]; /* pointers to arguments */
{
- char *makefnam(); /* filename fixup routine */
char *envfind();
#if !_MTS
char *arctemp2, *mktemp(); /* temp file stuff */
--- 48,53 ----

View File

@ -0,0 +1 @@
Create & extract files from DOS .ARC files.

1
archivers/arc/pkg/DESCR Normal file
View File

@ -0,0 +1 @@
See the file work/Arc521.doc for more info .

3
archivers/arc/pkg/PLIST Normal file
View File

@ -0,0 +1,3 @@
bin/arc
bin/marc
man/man1/arc.1.gz

16
archivers/freeze/Makefile Normal file
View File

@ -0,0 +1,16 @@
# OpenBSD makefile for: freeze
# Version required: 2.5
# Date created: 06 November 1997
# Whom: ejovi
DISTNAME= freeze-2.5
CATEGORIES= archivers
MASTER_SITES= ftp://lupin.csv.warwick.ac.uk/pub/compression/
MAINTAINER= ejovi@OpenBSD.ORG
GNU_CONFIGURE= yes
ALL_TARGET= prog
MAN1= freeze.1 melt.1 unfreeze.1 fcat.1 statist.1
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (freeze-2.5.tar.gz) = 2bc3c88ad87eca6b2df2a40b2fae626c

View File

@ -0,0 +1 @@
FREEZE / MELT compression program - often used in QNX

View File

@ -0,0 +1,28 @@
FREEZE / MELT COMPRESSION PROGRAM
This version is tested under SunOS 4.1.2, Xenix 2.3.2, MS-DOS.
The format of frozen (2.X) file is incompatible with that of frozen (1.0),
but if this package is compiled with -DCOMPAT switch, you will able to
unpack frozen (1.0) files, if you have them.
--------- CALGARY COMPRESSION CORPUS RESULTS --------
41127 bib.F
340447 book1.F
229188 book2.F
68610 geo.F
155157 news.F
10551 obj1.F
86216 obj2.F
19924 paper1.F
32439 paper2.F
54993 pic.F
14180 progc.F
17136 progl.F
11771 progp.F
22903 trans.F
Average bits/byte on the standard set (except paper3-6) =
1104642 * 8 / 3141622 = 2.813

View File

@ -0,0 +1,10 @@
bin/freeze
bin/melt
bin/unfreeze
bin/fcat
bin/statist
man/man1/freeze.1.gz
man/man1/melt.1.gz
man/man1/unfreeze.1.gz
man/man1/fcat.1.gz
man/man1/statist.1.gz

View File

@ -0,0 +1,29 @@
# OpenBSD makefile for: gshar+gunshar
# Version required: 4.2
# Date created: 06 November 1997
# Whom: ejovi
DISTNAME= sharutils-4.2
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GNU}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g --disable-uucode
INSTALL_TARGET= install install-man
MAN1= gshar.1 gunshar.1
post-patch:
@touch ${WRKSRC}/po/sharutils.pot
post-install:
.for file in gshar gunshar
strip ${PREFIX}/bin/${file}
.endfor
if [ ! -f ${PREFIX}/info/dir ]; then \
sed -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
.for info in remsync.info sharutils.info
install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
.endfor
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (sharutils-4.2.tar.gz) = b1ab1d10d88e8dcb8ee5b0d06b2fc073

View File

@ -0,0 +1,90 @@
--- doc/remsync.texi.orig Sun Jun 8 22:59:35 1997
+++ doc/remsync.texi Sun Jun 8 23:02:50 1997
@@ -2,6 +2,11 @@
@c %**start of header
@setfilename remsync.info
@settitle @code{remsync} reference manual
+@dircategory File transfer and archiving tools
+@direntry
+* remsync: (remsync). Synchronize remote directory
+ trees using email.
+@end direntry
@finalout
@setchapternewpage odd
@c %**end of header
--- doc/sharutils.texi.orig Sun Jun 8 22:59:41 1997
+++ doc/sharutils.texi Sun Jun 8 23:10:37 1997
@@ -2,6 +2,16 @@
@c %**start of header
@setfilename sharutils.info
@settitle GNU @code{shar} utilities
+@dircategory File transfer and archiving tools
+@direntry
+* Shar utilities: (sharutils). GNU shar utilities.
+* mail-files: (sharutils)mail-files invocation. Send files to remote site.
+* mailshar: (sharutils)mailshar invocation. Make and send a shell archive.
+* shar: (sharutils)shar invocation. Make a shell archive.
+* unshar: (sharutils)unshar invocation. Explode a shell archive.
+* uudecode: (sharutils)uudecode invocation. Restore file from 7-bits.
+* uuencode: (sharutils)uuencode invocation. Force binary file to 7-bits.
+@end direntry
@finalout
@c %**end of header
@@ -15,21 +26,6 @@
@end tex
@ifinfo
-@format
-START-INFO-DIR-ENTRY
-* Shar utilities: (sharutils). GNU shar utilities.
-* mail-files: (sharutils)mail-files invocation. Send files to remote site.
-* mailshar: (sharutils)mailshar invocation. Make and send a shell archive.
-* remsync: (sharutils)remsync invocation. Synchronize remote files.
-* shar: (sharutils)shar invocation. Make a shell archive.
-* unshar: (sharutils)unshar invocation. Explode a shell archive.
-* uudecode: (sharutils)uudecode invocation. Restore file from 7-bits.
-* uuencode: (sharutils)uuencode invocation. Force binary file to 7-bits.
-END-INFO-DIR-ENTRY
-@end format
-@end ifinfo
-
-@ifinfo
This file documents the GNU set of shar utilities.
Copyright (C) 1994 Free Software Foundation, Inc.
@@ -157,8 +153,8 @@
The format of the @code{shar} command is one of:
@example
-shar [ @var{option} ] @dots{} @var{file} @dots{}
-shar -S [ @var{option} ] @dots{}
+gshar [ @var{option} ] @dots{} @var{file} @dots{}
+gshar -S [ @var{option} ] @dots{}
@end example
In the first form, the file list is given as command arguments. In the
@@ -548,7 +544,7 @@
The format of the @code{unshar} command is:
@example
-unshar [ @var{option} ] @dots{} [ @var{file} @dots{} ]
+gunshar [ @var{option} ] @dots{} [ @var{file} @dots{} ]
@end example
Each @var{file} is processed in turn, as a shell archive or a
@@ -635,10 +631,10 @@
Let us conclude by a showing a few examples of @code{shar} usage:
@example
-shar *.c > cprog.shar
-shar -Q *.[ch] > cprog.shar
-shar -B -l28 -oarc.sh. *.arc
-shar -f /lcl/src/u*.c > u.sh
+gshar *.c > cprog.shar
+gshar -Q *.[ch] > cprog.shar
+gshar -B -l28 -oarc.sh. *.arc
+gshar -f /lcl/src/u*.c > u.sh
@end example
@noindent

View File

@ -0,0 +1,11 @@
--- src/shar.c.orig Sun Jun 8 22:47:22 1997
+++ src/shar.c Sun Jun 8 22:47:37 1997
@@ -688,7 +688,7 @@
const char *local_name;
const char *restore_name;
{
- fprintf (output, "# %6ld %s %s\n", struct_stat.st_size,
+ fprintf (output, "# %6ld %s %s\n", (long)struct_stat.st_size,
mode_string (struct_stat.st_mode), restore_name);
return 0;
}

View File

@ -0,0 +1 @@
Allow packing and unpacking of shell archives.

View File

@ -0,0 +1,9 @@
This is the set of GNU shar utilities.
`shar' makes so-called shell archives out of many files, preparing
them for transmission by electronic mail services. `unshar' helps
unpacking shell archives after reception. The core of both programs
is initially derived from public domain. Some modules and other
code sections are freely borrowed from other GNU distributions,
bringing `shar' under the terms of the GNU General Public License.

View File

@ -0,0 +1,26 @@
bin/gmail-files
bin/gmailshar
bin/gremsync
bin/gshar
bin/gunshar
@unexec install-info --delete %D/info/sharutils.info %D/info/dir
@unexec install-info --delete %D/info/remsync.info %D/info/dir
info/sharutils.info
info/remsync.info
@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
@exec install-info %D/info/sharutils.info %D/info/dir
@exec install-info %D/info/remsync.info %D/info/dir
lib/locale/de/LC_MESSAGES/sharutils.cat
lib/locale/fr/LC_MESSAGES/sharutils.cat
lib/locale/ja_JP.EUC/LC_MESSAGES/sharutils.cat
lib/locale/nl/LC_MESSAGES/sharutils.cat
lib/locale/pt/LC_MESSAGES/sharutils.cat
lib/locale/sv/LC_MESSAGES/sharutils.cat
man/man1/gshar.1.gz
man/man1/gunshar.1.gz
share/locale/de.gmo/LC_MESSAGES/sharutils.cat
share/locale/fr.gmo/LC_MESSAGES/sharutils.cat
share/locale/ja_JP.EUC.gmo/LC_MESSAGES/sharutils.cat
share/locale/nl.gmo/LC_MESSAGES/sharutils.cat
share/locale/pt.gmo/LC_MESSAGES/sharutils.cat
share/locale/sv.gmo/LC_MESSAGES/sharutils.cat

14
editors/axe/Makefile Normal file
View File

@ -0,0 +1,14 @@
# OpenBSD makefile for: aXe-6.1.2
# Version required: 6.1.2
# Date created: 05 November 97
# Whom: ejovi
DISTNAME= aXe-6.1.2
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= editors
EXTRACT_SUFX= .tar.Z
USE_IMAKE= yes
.include <bsd.port.mk>

1
editors/axe/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (aXe-6.1.2.tar.Z) = b04986474637e70b7bcf6cf39d36bf72

View File

@ -0,0 +1,78 @@
diff -rc ./Axe.tmpl ../aXe-6.1.2/Axe.tmpl
*** ./Axe.tmpl Wed Apr 6 12:07:33 1994
--- ../aXe-6.1.2/Axe.tmpl Tue Dec 27 13:10:14 1994
***************
*** 131,134 ****
SCANDIR_OBJS = scandir.o
#endif
! DEFINES = ${EXTENSION} ${XAW3D} ${HAVEX11R5PL20} ${MAXPATHLEN}
--- 131,134 ----
SCANDIR_OBJS = scandir.o
#endif
! DEFINES = ${EXTENSION} ${XAW3D} ${HAVEX11R5PL20} ${MAXPATHLEN} -D__BSD_4_4__
diff -rc ./Help/Hyper.c ../aXe-6.1.2/Help/Hyper.c
*** ./Help/Hyper.c Wed Apr 6 12:07:36 1994
--- ../aXe-6.1.2/Help/Hyper.c Tue Dec 27 13:23:20 1994
***************
*** 977,983 ****
char *fname;
{
Widget widget = (Widget) hyper;
- extern char *sys_errlist[];
FILE *f = fopen(fname,"r");
if(f)
--- 977,982 ----
diff -rc ./Widgets/CtrlCodeSel.h ../aXe-6.1.2/Widgets/CtrlCodeSel.h
*** ./Widgets/CtrlCodeSel.h Wed Apr 6 12:07:46 1994
--- ../aXe-6.1.2/Widgets/CtrlCodeSel.h Tue Dec 27 13:14:17 1994
***************
*** 40,46 ****
#define XtNbase "base"
#define XtCBase "Base"
#define XtNenterCallback "enterCallback"
- #define XtNcancelCallback "cancelCallback"
#endif /* _ControlCodeSelector_h */
--- 40,45 ----
diff -rc ./Widgets/FileNom.h ../aXe-6.1.2/Widgets/FileNom.h
*** ./Widgets/FileNom.h Wed Apr 6 12:07:46 1994
--- ../aXe-6.1.2/Widgets/FileNom.h Tue Dec 27 13:12:31 1994
***************
*** 33,39 ****
#define XtNinitialDirectory "initialDirectory"
#define XtNselectCallback "selectCallback"
#define XtNpathList "pathList"
- #define XtNcancelCallback "cancelCallback"
#define XtNmargin "margin"
#define XtNnumberRows "numberRows"
#define XtNshowDotFiles "showDotFiles"
--- 33,38 ----
diff -rc ./Widgets/NumericPad.h ../aXe-6.1.2/Widgets/NumericPad.h
*** ./Widgets/NumericPad.h Wed Apr 6 12:07:47 1994
--- ../aXe-6.1.2/Widgets/NumericPad.h Tue Dec 27 13:13:55 1994
***************
*** 47,53 ****
#define XtNbase "base"
#define XtCBase "Base"
#define XtNenterCallback "enterCallback"
- #define XtNcancelCallback "cancelCallback"
extern void NumericPadClear();
--- 47,52 ----
diff -rc ./Widgets/Preference.h ../aXe-6.1.2/Widgets/Preference.h
*** ./Widgets/Preference.h Wed Apr 6 12:07:47 1994
--- ../aXe-6.1.2/Widgets/Preference.h Tue Dec 27 13:14:34 1994
***************
*** 47,52 ****
} PreferenceReturnStruct;
#define XtNenterCallback "enterCallback"
- #define XtNcancelCallback "cancelCallback"
#endif /* _Preference_h */
--- 47,51 ----

1
editors/axe/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
Simple to use text editor for X.

42
editors/axe/pkg/DESCR Normal file
View File

@ -0,0 +1,42 @@
aXe-6.1.2
Here is an extract from the source distribution aXe-6.1.2 README file:
This, version 6.1.2, is an interim release that has been brought out
purely to enable aXe 6.1 to work under X11R6. It does not support
internationalisation.
...oooOOOooo...
aXe is a simple to use text editor for X that represents a significant
improvement over xedit. Also built around the Athena Text Widget it
features, amongst other things,
o multiple windows
o multiple buffers
o default menu interface
o configurable menus
o optional configurable button interface
o minibuffer for expert use and access to external filters
o provision for defining a keyboard macro
o geometry specification and resizing in terms of characters
o file selection via a browser
o knowledge of line numbers
o parenthesis matching
o regular expression searching
o restricted or unlimited undo
o ability to change font
o easy entry of control codes
o xterm-like keymap feature
o easy runtime setting of selected preferences (resources)
o both brief and comprehensive (hypertext) on-line help
o server mode with cooperating client programs
o optional extension language using Tcl
o optional Xaw3d widget set compatability
o collection of reusable widgets that embody the functionality of aXe
Jim
---
J.K.Wight@newcastle.ac.uk
Department of Computing Science, University of Newcastle, Tel: +44 91 222 8238
Newcastle upon Tyne, NE1 7RU, United Kingdom. Fax: +44 91 222 8232

14
editors/axe/pkg/Makefile Normal file
View File

@ -0,0 +1,14 @@
# OpenBSD makefile for: aXe-6.1.2
# Version required: 6.1.2
# Date created: 05 November 97
# Whom: ejovi
DISTNAME= aXe-6.1.2
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= editors
EXTRACT_SUFX= .tar.Z
USE_IMAKE= yes
.include <bsd.port.mk>

13
editors/axe/pkg/PLIST Normal file
View File

@ -0,0 +1,13 @@
bin/axe
bin/coaxe
bin/axinfo
bin/faxe
bin/poleaxe
man/man1/axe.1.gz
man/man1/axinfo.1.gz
lib/X11/app-defaults/Axe
lib/X11/app-defaults/Axinfo
lib/X11/axe.tcl
lib/X11/axe.info
lib/X11/axe.info-1
lib/X11/axe.info-2

View File

@ -0,0 +1 @@
MD5 (aXe-6.1.2.tar.Z) = b04986474637e70b7bcf6cf39d36bf72

View File

@ -0,0 +1,78 @@
diff -rc ./Axe.tmpl ../aXe-6.1.2/Axe.tmpl
*** ./Axe.tmpl Wed Apr 6 12:07:33 1994
--- ../aXe-6.1.2/Axe.tmpl Tue Dec 27 13:10:14 1994
***************
*** 131,134 ****
SCANDIR_OBJS = scandir.o
#endif
! DEFINES = ${EXTENSION} ${XAW3D} ${HAVEX11R5PL20} ${MAXPATHLEN}
--- 131,134 ----
SCANDIR_OBJS = scandir.o
#endif
! DEFINES = ${EXTENSION} ${XAW3D} ${HAVEX11R5PL20} ${MAXPATHLEN} -D__BSD_4_4__
diff -rc ./Help/Hyper.c ../aXe-6.1.2/Help/Hyper.c
*** ./Help/Hyper.c Wed Apr 6 12:07:36 1994
--- ../aXe-6.1.2/Help/Hyper.c Tue Dec 27 13:23:20 1994
***************
*** 977,983 ****
char *fname;
{
Widget widget = (Widget) hyper;
- extern char *sys_errlist[];
FILE *f = fopen(fname,"r");
if(f)
--- 977,982 ----
diff -rc ./Widgets/CtrlCodeSel.h ../aXe-6.1.2/Widgets/CtrlCodeSel.h
*** ./Widgets/CtrlCodeSel.h Wed Apr 6 12:07:46 1994
--- ../aXe-6.1.2/Widgets/CtrlCodeSel.h Tue Dec 27 13:14:17 1994
***************
*** 40,46 ****
#define XtNbase "base"
#define XtCBase "Base"
#define XtNenterCallback "enterCallback"
- #define XtNcancelCallback "cancelCallback"
#endif /* _ControlCodeSelector_h */
--- 40,45 ----
diff -rc ./Widgets/FileNom.h ../aXe-6.1.2/Widgets/FileNom.h
*** ./Widgets/FileNom.h Wed Apr 6 12:07:46 1994
--- ../aXe-6.1.2/Widgets/FileNom.h Tue Dec 27 13:12:31 1994
***************
*** 33,39 ****
#define XtNinitialDirectory "initialDirectory"
#define XtNselectCallback "selectCallback"
#define XtNpathList "pathList"
- #define XtNcancelCallback "cancelCallback"
#define XtNmargin "margin"
#define XtNnumberRows "numberRows"
#define XtNshowDotFiles "showDotFiles"
--- 33,38 ----
diff -rc ./Widgets/NumericPad.h ../aXe-6.1.2/Widgets/NumericPad.h
*** ./Widgets/NumericPad.h Wed Apr 6 12:07:47 1994
--- ../aXe-6.1.2/Widgets/NumericPad.h Tue Dec 27 13:13:55 1994
***************
*** 47,53 ****
#define XtNbase "base"
#define XtCBase "Base"
#define XtNenterCallback "enterCallback"
- #define XtNcancelCallback "cancelCallback"
extern void NumericPadClear();
--- 47,52 ----
diff -rc ./Widgets/Preference.h ../aXe-6.1.2/Widgets/Preference.h
*** ./Widgets/Preference.h Wed Apr 6 12:07:47 1994
--- ../aXe-6.1.2/Widgets/Preference.h Tue Dec 27 13:14:34 1994
***************
*** 47,52 ****
} PreferenceReturnStruct;
#define XtNenterCallback "enterCallback"
- #define XtNcancelCallback "cancelCallback"
#endif /* _Preference_h */
--- 47,51 ----

18
editors/beav/Makefile Normal file
View File

@ -0,0 +1,18 @@
# OpenBSD makefile for: beav
# Version required: 1.40-7 (debian)
# Date created: 05 November 97
# Whom: ejovi
DISTNAME= beav_140-7
PKGNAME= beav-1.40.7
CATEGORIES= editors
MASTER_SITES= ftp://ftp.debian.org/debian/bo/source/editors/ \
ftp://theta.iis.u-tokyo.ac.jp/pub2/Linux/distributions/debian/bo/source/editors/
MAINTAINER= joey@OpenBSD.org
WRKSRC= ${WRKDIR}/beav-140
PATCH_STRIP= -p1
.include <bsd.port.mk>

1
editors/beav/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (beav_140-7.tar.gz) = 374a7dd0efea5dc0b4e3d9586427bcdb

View File

@ -0,0 +1,91 @@
diff -c beav-140.orig/Makefile beav-140/Makefile
*** beav-140.orig/Makefile Wed Nov 30 19:19:47 1994
--- beav-140/Makefile Sat Jul 1 18:07:14 1995
***************
*** 1,5 ****
# This is the makefile for BSD UNIX
! CFLAGS= -O2 -DUNIX -DNOPROTO
OFILES= basic.o ebcdic.o fileio.o region.o text.o wangpc.o \
buffer.o echo.o language.o main.o search.o tty.o window.o \
--- 1,5 ----
# This is the makefile for BSD UNIX
! CFLAGS+= -DUNIX -DNOPROTO -DBSD
OFILES= basic.o ebcdic.o fileio.o region.o text.o wangpc.o \
buffer.o echo.o language.o main.o search.o tty.o window.o \
***************
*** 14,20 ****
HFILES= def.h
! beav: $(OFILES)
$(CC) $(CFLAGS) $(OFILES) -s -ltermcap -lc -o beav
! (OFILES): $(HFILES)
--- 14,27 ----
HFILES= def.h
! all beav: $(OFILES)
$(CC) $(CFLAGS) $(OFILES) -s -ltermcap -lc -o beav
! install: beav
! install -c -s -m 755 -g bin -o bin beav $(PREFIX)/bin
! mkdir -p $(PREFIX)/share/doc/beav
! install -c -m 644 -g bin -o bin beav140.txt $(PREFIX)/share/doc/beav/beav.txt
! install -c -m 644 -g bin -o bin beav.1 $(PREFIX)/man/man1
! gzip -9nf $(PREFIX)/man/man1/beav.1
!
! $(OFILES): $(HFILES)
diff -c beav-140.orig/termio.c beav-140/termio.c
*** beav-140.orig/termio.c Wed Nov 30 18:43:35 1994
--- beav-140/termio.c Sat Jul 1 17:56:09 1995
***************
*** 12,17 ****
--- 12,20 ----
#include <signal.h>
#ifdef BSD
#include <sys/ioctl.h>
+ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ #include <sys/ioctl_compat.h>
+ #endif
#else
#ifdef OS2
#ifndef __EMX__
diff -c beav-140.orig/tcap.c beav-140/tcap.c
*** beav-140.orig/tcap.c Sat Jul 1 18:32:02 1995
--- beav-140/tcap.c Sat Jul 1 18:24:29 1995
***************
*** 38,44 ****
#ifdef BSD
#include <sys/ioctl.h>
! struct winsize ttysize;
#endif /* BSD */
#ifdef ULTRIX
struct winsize ttysize;
--- 38,44 ----
#ifdef BSD
#include <sys/ioctl.h>
! struct ttysize ttysize;
#endif /* BSD */
#ifdef ULTRIX
struct winsize ttysize;
diff -c beav-140.orig/beav.1 beav-140/beav.1
*** beav-140.orig/beav.1 Sun Mar 3 03:13:16 1996
--- beav-140/beav.1 Sun Mar 3 03:14:31 1996
***************
*** 59,63 ****
If there is any data that has not been saved you will be warned.
.PP
.SH FILES
! /usr/doc/beav/beav.txt
--- 59,63 ----
If there is any data that has not been saved you will be warned.
.PP
.SH FILES
! /usr/local/share/doc/beav/beav.txt

1
editors/beav/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
Binary Editor And Viewer, a full featured binary file editor.

9
editors/beav/pkg/DESCR Normal file
View File

@ -0,0 +1,9 @@
BEAV (Binary Editor And Viewer), is a full featured binary file
editor. Just about any operation that you could want to do to a binary
file is possible with BEAV. You can insert or delete in the middle of
a file thereby changing it's size. You can edit multiple files in
multiple windows and cut and paste between them. You can display and
edit data in hex, octal, decimal, binary, ascii, or ebcdic formats. You
can display data in byte, word, or long word formats in either Intel or
Motorola byte ordering. You can send the formatted display mode to a
file or printer.

4
editors/beav/pkg/PLIST Normal file
View File

@ -0,0 +1,4 @@
bin/beav
man/man1/beav.1.gz
share/doc/beav/beav.txt
@dirrm share/doc/beav

30
editors/emacs/Makefile Normal file
View File

@ -0,0 +1,30 @@
# New ports collection makefile for: GNU emacs
# Version required: 20.2
# Date created: 14 Nov 1997
# Whom: ejovi
DISTNAME= emacs-20.2
CATEGORIES= editors
MASTER_SITES= ftp://prep.ai.mit.edu/pub/gnu/
MAINTAINER= ejovi@OpenBSD.ORG
WRKSRC= ${WRKDIR}/emacs-20.2
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= i386-unknown-openbsd2.2 --with-x-toolkit
STRIP=
MAN1= emacs.1 etags.1 ctags.1
post-install:
.for file in emacs-20.2 emacsclient etags ctags b2m
strip ${PREFIX}/bin/${file}
.endfor
if [ ! -f ${PREFIX}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
.for info in emacs vip viper forms gnus mh-e cl sc dired-x ediff ccmode
install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
.endfor
.include <bsd.port.mk>

1
editors/emacs/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (emacs-20.2.tar.gz) = 74dfd5c75be8172808e2b7177e9c13e9

View File

@ -0,0 +1 @@
GNU editing macros.

13
editors/emacs/pkg/DESCR Normal file
View File

@ -0,0 +1,13 @@
GNU Emacs is a self-documenting, customizable, extensible real-time
display editor.
Users new to Emacs will be able to use basic features fairly rapidly
by studying the tutorial and using the self-documentation features.
Emacs also has an extensive interactive manual browser. It is easily
extensible since its editing commands are written in Lisp.
GNU Emacs's many special packages handle mail reading (RMail) and
sending (Mail), outline editing (Outline), compiling (Compile),
running subshells within Emacs windows (Shell), running a Lisp
read-eval-print loop (Lisp-Interaction-Mode), automated psychotherapy
(Doctor :-) and many more.

1044
editors/emacs/pkg/PLIST Normal file

File diff suppressed because it is too large Load Diff

58
editors/jed/Makefile Normal file
View File

@ -0,0 +1,58 @@
# OpenBSD makefile for: Jed text editor
# Version required: 0.98-4
# Date created: 05 November 1997
# Whom: ejovi
#
# $Id: Makefile,v 1.1.1.1 1997/11/15 00:04:26 deraadt Exp $
#
DISTNAME= jed0.98-4
PKGNAME= jed-0.98.4
CATEGORIES= editors
MASTER_SITES= ftp://space.mit.edu/pub/davis/jed/
PATCH_SITES= ftp://space.mit.edu/pub/davis/jed/
PATCHFILES= BUGS
PATCH_DIST_STRIP= -p1
MAINTAINER= joey@OpenBSD.ORG
LIB_DEPENDS= slang\\.0\\.993[6-9]:${PORTSDIR}/devel/libslang
# comment out the next line if you don't want the X version of JED.
XJED= xjed
DIST_SUBDIR= jed
GNU_CONFIGURE= yes
CONFIGURE_ENV= JED_ROOT=${PREFIX}/lib/jed
ALL_TARGET= all getmail ${XJED}
INSTALL_TARGET= install
WRKSRC= ${WRKDIR}/jed
MAN1= jed.1 rgrep.1
pre-install:
ln -sf ${WRKSRC}/autoconf/mkinsdir.sh ${WRKSRC}/
post-install:
strip ${PREFIX}/bin/jed
strip ${PREFIX}/bin/rgrep
strip ${PREFIX}/lib/jed/bin/getmail
.if defined(XJED)
strip ${PREFIX}/bin/xjed
.endif
${INSTALL_DATA} ${WRKSRC}/lib/* ${PREFIX}/lib/jed/lib
${INSTALL_DATA} ${WRKSRC}/info/jed.* ${PREFIX}/info
rmdir ${PREFIX}/lib/jed/info
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/jed
${INSTALL_DATA} ${WRKSRC}/doc/README ${WRKSRC}/doc/*.txt \
${PREFIX}/share/doc/jed
if [ ! -f ${PREFIX}/info/dir ]; then \
sed -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
install-info --section="Miscellaneous" \
--entry="* JED: (jed). JED editor documentation." \
${PREFIX}/info/jed.info ${PREFIX}/info/dir
.endif
.include <bsd.port.mk>

2
editors/jed/files/md5 Normal file
View File

@ -0,0 +1,2 @@
MD5 (jed/jed0.98-4.tar.gz) = e1976ccd5e5c2f3d6d03b923dd0d0fbe
MD5 (jed/BUGS) = 828dc723671835d183a69dfe6fe68f1d

1
editors/jed/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
The JED text editor

6
editors/jed/pkg/DESCR Normal file
View File

@ -0,0 +1,6 @@
JED is a highly customizable text editor offering most of the
commonly used features of EMACS without the proportions of EMACS. The default
configuration uses EMACS keystrokes, though WordStar keystrokes are
available, and most any keystrokes can be programmed.n JED is customizable
and programmable in the language SLANG, which can look like forth or c,
depending on your preferences.

58
editors/jed/pkg/Makefile Normal file
View File

@ -0,0 +1,58 @@
# OpenBSD makefile for: Jed text editor
# Version required: 0.98-4
# Date created: 05 November 1997
# Whom: ejovi
#
# $Id: Makefile,v 1.1.1.1 1997/11/15 00:04:26 deraadt Exp $
#
DISTNAME= jed0.98-4
PKGNAME= jed-0.98.4
CATEGORIES= editors
MASTER_SITES= ftp://space.mit.edu/pub/davis/jed/
PATCH_SITES= ftp://space.mit.edu/pub/davis/jed/
PATCHFILES= BUGS
PATCH_DIST_STRIP= -p1
MAINTAINER= joey@OpenBSD.ORG
LIB_DEPENDS= slang\\.0\\.993[6-9]:${PORTSDIR}/devel/libslang
# comment out the next line if you don't want the X version of JED.
XJED= xjed
DIST_SUBDIR= jed
GNU_CONFIGURE= yes
CONFIGURE_ENV= JED_ROOT=${PREFIX}/lib/jed
ALL_TARGET= all getmail ${XJED}
INSTALL_TARGET= install
WRKSRC= ${WRKDIR}/jed
MAN1= jed.1 rgrep.1
pre-install:
ln -sf ${WRKSRC}/autoconf/mkinsdir.sh ${WRKSRC}/
post-install:
strip ${PREFIX}/bin/jed
strip ${PREFIX}/bin/rgrep
strip ${PREFIX}/lib/jed/bin/getmail
.if defined(XJED)
strip ${PREFIX}/bin/xjed
.endif
${INSTALL_DATA} ${WRKSRC}/lib/* ${PREFIX}/lib/jed/lib
${INSTALL_DATA} ${WRKSRC}/info/jed.* ${PREFIX}/info
rmdir ${PREFIX}/lib/jed/info
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/jed
${INSTALL_DATA} ${WRKSRC}/doc/README ${WRKSRC}/doc/*.txt \
${PREFIX}/share/doc/jed
if [ ! -f ${PREFIX}/info/dir ]; then \
sed -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
install-info --section="Miscellaneous" \
--entry="* JED: (jed). JED editor documentation." \
${PREFIX}/info/jed.info ${PREFIX}/info/dir
.endif
.include <bsd.port.mk>

131
editors/jed/pkg/PLIST Normal file
View File

@ -0,0 +1,131 @@
bin/jed
bin/rgrep
bin/xjed
@unexec install-info --delete --section="Miscellaneous" --entry="* JED: (jed). JED editor documentation." %D/info/jed.info %D/info/dir
info/jed.1in
info/jed.2in
info/jed.3in
info/jed.info
@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
@exec install-info --section="Miscellaneous" --entry="* JED: (jed). JED editor documentation." %D/info/jed.info %D/info/dir
lib/jed/bin/getmail
lib/jed/lib/abbrev.sl
lib/jed/lib/abbrmisc.sl
lib/jed/lib/acompile.sl
lib/jed/lib/ashell.sl
lib/jed/lib/bibtex.sl
lib/jed/lib/binary.sl
lib/jed/lib/bookmark.sl
lib/jed/lib/brief.sl
lib/jed/lib/buf.sl
lib/jed/lib/bufed.sl
lib/jed/lib/bytecomp.sl
lib/jed/lib/cal.sl
lib/jed/lib/cmisc.sl
lib/jed/lib/cmode.sl
lib/jed/lib/compile.sl
lib/jed/lib/cpright.hlp
lib/jed/lib/ctags.sl
lib/jed/lib/dabbrev.sl
lib/jed/lib/dcl.sl
lib/jed/lib/digraph.sl
lib/jed/lib/dired.sl
lib/jed/lib/dispesc.sl
lib/jed/lib/dos437.sl
lib/jed/lib/dos850.sl
lib/jed/lib/edt.hlp
lib/jed/lib/edt.sl
lib/jed/lib/emacs.hlp
lib/jed/lib/emacs.sl
lib/jed/lib/emacsmsc.sl
lib/jed/lib/f90.sl
lib/jed/lib/ff90.sl
lib/jed/lib/filter.sl
lib/jed/lib/folding.sl
lib/jed/lib/fortran.sl
lib/jed/lib/generic.hlp
lib/jed/lib/help.sl
lib/jed/lib/html.sl
lib/jed/lib/idl.sl
lib/jed/lib/info.sl
lib/jed/lib/isearch.sl
lib/jed/lib/iso-lat2.sl
lib/jed/lib/iso-latin.sl
lib/jed/lib/iso2xxx.sl
lib/jed/lib/ispell.sl
lib/jed/lib/javamode.sl
lib/jed/lib/jed.hlp
lib/jed/lib/jed.rc
lib/jed/lib/jed_funs.hlp
lib/jed/lib/jedhelp.sl
lib/jed/lib/keycode.sl
lib/jed/lib/krconv.sl
lib/jed/lib/latex.sl
lib/jed/lib/latex209.sl
lib/jed/lib/linux.sl
lib/jed/lib/lisp.sl
lib/jed/lib/ltx-comp.dat
lib/jed/lib/ltx-math.sl
lib/jed/lib/macro.sl
lib/jed/lib/mail.sl
lib/jed/lib/mailalias.sl
lib/jed/lib/man.sl
lib/jed/lib/menu.sl
lib/jed/lib/mime.sl
lib/jed/lib/mini.sl
lib/jed/lib/misc.sl
lib/jed/lib/mkdoc.sl
lib/jed/lib/mktex.sl
lib/jed/lib/modehook.sl
lib/jed/lib/most.sl
lib/jed/lib/mouse.sl
lib/jed/lib/mousex.sl
lib/jed/lib/mswmouse.sl
lib/jed/lib/mutekeys.sl
lib/jed/lib/nroff.sl
lib/jed/lib/occur.sl
lib/jed/lib/os.sl
lib/jed/lib/perl.sl
lib/jed/lib/pipe.sl
lib/jed/lib/preparse.sl
lib/jed/lib/pscript.sl
lib/jed/lib/pushmode.sl
lib/jed/lib/pymode.sl
lib/jed/lib/regexp.sl
lib/jed/lib/register.sl
lib/jed/lib/replace.sl
lib/jed/lib/rmail.sl
lib/jed/lib/rot13.sl
lib/jed/lib/search.sl
lib/jed/lib/sendmail.sl
lib/jed/lib/shell.sl
lib/jed/lib/shmode.sl
lib/jed/lib/simple.hlp
lib/jed/lib/site.sl
lib/jed/lib/slmode.sl
lib/jed/lib/sort.sl
lib/jed/lib/sortmisc.sl
lib/jed/lib/spicemod.sl
lib/jed/lib/srchmisc.sl
lib/jed/lib/syntax.sl
lib/jed/lib/tabs.sl
lib/jed/lib/tex.sl
lib/jed/lib/texcom.sl
lib/jed/lib/textmac.sl
lib/jed/lib/tmisc.sl
lib/jed/lib/tpascal.sl
lib/jed/lib/untab.sl
lib/jed/lib/util.sl
lib/jed/lib/verilog.sl
lib/jed/lib/vhdlmode.sl
lib/jed/lib/vms_shell.com
lib/jed/lib/vmshelp.sl
lib/jed/lib/wmark.sl
lib/jed/lib/wmenu.sl
lib/jed/lib/wordstar.sl
lib/jed/lib/yankpop.sl
man/man1/jed.1.gz
man/man1/rgrep.1.gz
@dirrm lib/jed/bin
@dirrm lib/jed/lib
@dirrm lib/jed

View File

@ -0,0 +1,2 @@
MD5 (jed/jed0.98-4.tar.gz) = e1976ccd5e5c2f3d6d03b923dd0d0fbe
MD5 (jed/BUGS) = 828dc723671835d183a69dfe6fe68f1d

16
editors/joe/Makefile Normal file
View File

@ -0,0 +1,16 @@
# OpenBSD makefile for: joe
# Version required: 2.8
# Date created: 05 November 97
# Whom: ejovi
DISTNAME= joe2.8
PKGNAME= joe-2.8
CATEGORIES= editors
MASTER_SITES= ftp://ftp.std.com/src/editors/
EXTRACT_SUFX= .tar.Z
WRKSRC= ${WRKDIR}/joe
ALL_TARGET= joe
MAN1= joe.1
.include <bsd.port.mk>

1
editors/joe/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (joe2.8.tar.Z) = bad4221aa63ca432e37dac1a953294b1

1
editors/joe/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
Joe's own editor.

9
editors/joe/pkg/DESCR Normal file
View File

@ -0,0 +1,9 @@
JOE is the professional freeware ASCII text screen editor for UNIX.
It makes full use of the power and versatility of UNIX, but lacks the steep
learning curve and basic nonsense you have to deal with in every other UNIX
editor. JOE has the feel of most IBM PC text editors: The key-sequences are
reminiscent of WordStar and Turbo-C. JOE is much more powerful than those
editors, however. JOE has all of the features a UNIX user should expect:
full use of termcap/terminfo, excellent screen update optimizations (JOE is
fully useable at 2400 baud), simple installation, and all of the
UNIX-integration features of VI.

11
editors/joe/pkg/PLIST Normal file
View File

@ -0,0 +1,11 @@
bin/joe
bin/jmacs
bin/jstar
bin/rjoe
bin/jpico
lib/joerc
lib/jmacsrc
lib/jstarrc
lib/rjoerc
lib/jpicorc
man/man1/joe.1.gz

15
editors/jove/Makefile Normal file
View File

@ -0,0 +1,15 @@
# OpenBSD makefile for: jove
# Version required: 4.16
# Date created: 05 November 1997
# Whom: ejovi
DISTNAME= jove-4.16
CATEGORIES= editors
MASTER_SITES= ftp://relay.cs.toronto.edu/pub/moraes/jove/
MAINTAINER= joey@OpenBSD.org
WRKSRC= ${WRKDIR}/jove
MAN1= jove.1 teachjove.1 xjove.1 jovetool.1
.include <bsd.port.mk>

1
editors/jove/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (jove-4.16.tar.gz) = 38ebd64355a99b0d007aaef17b0d00b1

View File

@ -0,0 +1,47 @@
--- Makefile.orig Mon Mar 18 22:44:33 1996
+++ Makefile Sun Sep 22 10:30:41 1996
@@ -27,16 +27,16 @@
# LIBDIR and SHAREDIR. All others must already exist.
SHELL = /bin/sh
-TMPDIR = /usr/tmp
+TMPDIR = /var/tmp
RECDIR = /usr/preserve
-JOVEHOME = /usr/local
-SHAREDIR = $(JOVEHOME)/lib/jove
-LIBDIR = $(JOVEHOME)/lib/jove
+JOVEHOME = ${PREFIX}
+SHAREDIR = $(JOVEHOME)/share/jove
+LIBDIR = $(JOVEHOME)/libexec/jove
BINDIR = $(JOVEHOME)/bin
MANDIR = $(JOVEHOME)/man/man$(MANEXT)
MANEXT = 1
-DFLTSHELL = /bin/csh
+DFLTSHELL = /bin/sh
# The install commands of BSD and System V differ in unpleasant ways:
# -c: copy (BSD); -c dir: destination directory (SysV)
@@ -51,11 +51,11 @@
# to install executable files
XINSTALL=cp
-#XINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 755 # -s
+XINSTALL=install $(INSTALLFLAGS) -c -m 755 # -s
# to install text files
TINSTALL=cp
-#TINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 644
+#TINSTALL=install $(INSTALLFLAGS) -c -m 644
# These should all just be right if the above ones are.
# You will confuse JOVE if you move anything from LIBDIR or SHAREDIR.
@@ -163,7 +163,7 @@
#
# You can just say 'make SYSDEFS=-Dwhatever' on these systems.
-SYSDEFS =
+SYSDEFS = -DBSDPOSIX
# for SCO Xenix, set
# MEMFLAGS = -Mle

1
editors/jove/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
Jonathan's Own Version of Emacs.

15
editors/jove/pkg/DESCR Normal file
View File

@ -0,0 +1,15 @@
###########################################################################
# This program is Copyright (C) 1986, 1987, 1988 by Jonathan Payne. JOVE #
# is provided to you without charge, and with no warranty. You may give #
# away copies of JOVE, including sources, provided that this notice is #
# included in all the files. #
###########################################################################
Jove is a simple text editor in the spirit of GNU emacs, but somewhat
smaller and faster to start up.
There are man pages for jove and teachjove. Teachjove is for people who
have never used EMACS style editors. It is an interactive tutorial, THE
tutorial written by Stallman for the original EMACS, only slightly
modified for JOVE in the appropriate places. The man pages are
completely up to date, thanks to me.

27
editors/jove/pkg/PLIST Normal file
View File

@ -0,0 +1,27 @@
bin/jove
bin/teachjove
libexec/jove/portsrv
libexec/jove/recover
man/man1/jove.1.gz
man/man1/teachjove.1.gz
man/man1/xjove.1.gz
man/man1/jovetool.1.gz
share/jove/teach-jove
share/jove/cmds.doc
share/jove/jove.rc.sun
share/jove/keychart.
share/jove/keychart.3022
share/jove/jove.rc.3022
share/jove/keychart.z29
share/jove/jove.rc.z29
share/jove/keychart.xterm
share/jove/jove.rc.xterm
share/jove/keychart.wyse
share/jove/jove.rc.wyse
share/jove/keychart.vt100
share/jove/jove.rc.vt100
share/jove/keychart.sun-cmd
share/jove/jove.rc.sun-cmd
share/jove/keychart.sun
share/jove/XTermresource
share/jove/jove.rc

22
mail/exim/Makefile Normal file
View File

@ -0,0 +1,22 @@
# OpenBSD makefile for: exim
# Version required: 1.71
# Date created: 10 Nov 1997
# Whom: ejovi
DISTNAME= exim-1.71
CATEGORIES= mail
MASTER_SITES= ftp://ftp.cus.cam.ac.uk/pub/software/programs/exim/
DISTFILES= exim-1.71.tar.gz exim-texinfo-1.71.tar.gz
MAINTAINER= ejovi@OpenBSD.ORG
do-configure:
@${MKDIR} ${WRKSRC}/Local
@${CP} ${FILESDIR}/Makefile ${WRKSRC}/Local
@${CP} ${FILESDIR}/eximon.conf ${WRKSRC}/Local
@(cd ${WRKSRC}/doc ; \
for i in ../../exim-texinfo-1.71/doc/* ; do \
ln -sf $$i ; \
done )
.include <bsd.port.mk>

361
mail/exim/files/Makefile Normal file
View File

@ -0,0 +1,361 @@
##################################################
# The Exim mail transport agent #
##################################################
# This is the template for Exim's main build-time configuration file. It
# contains settings that are independent of any operating system. It should
# be edited and then saved to a file called Local/Makefile before first running
# the make command.
# Blank lines and lines starting with # are ignored. It is also permitted to
# use the # character to add a comment to a setting, for example
#
# EXIM_GID=42 # the "mail" group
#
# Consequently, it is not possible to have the # character present in any
# setting, but I can't think of any cases where this would be wanted.
# Things that depend on the operating system have default settings in files
# called OS/Makefile-<osname>. These can be overridden by creating files
# called Local/Makefile-<osname>. In particular, the location of the X11
# libraries is something that is quite variable between different versions
# of the same operation system (and indeed there are different versions of
# X11 as well, of course). The three settings concerned here are X11, XINCLUDE,
# and XLFLAGS (linking flags). There are defaults in OS/Makefile-Default which
# are overridden for some operating systems in the OS/Makefile-<osname> file.
# If these are not right for you, put appropriate settings into a file called
# Local/Makefile-<osname>. In all cases "<osname>" stands for the name of
# your operating system - look at the names in the OS directory to see which
# names are recognized.
# Another area of variability between systems is the type and location of the
# dbm library package. Exim has support for ndbm, gdbm, and Berkeley db. By
# default it assumes ndbm; this often works with gdbm or db, provided they
# are correctly installed, via their compatibility interfaces. However, Exim
# can also be configured to use the native calls for Berkeley db 1.85, and
# there are some locking actions that can be varied by changing the
# configuration. The defaults are set in OS/Makefile-Default, and can be
# changed by putting things into an OS-specific Makefile, or indeed into the
# main Local/Makefile if Exim is being compiled for a single OS only.
# See also the file doc/dbm.discuss.txt for discussion about different dbm
# libraries.
###############################################################################
# The binary directory: This variable defines where the exim binary will be
# installed by "make install" or "exim_install". It is also used internally
# by exim when it needs to re-invoke itself, either to send an error message,
# or to recover root privilege. Exim's utility binaries and scripts are also
# installed in this directory. There is no default for this variable built into
# the source files; it must be set in one of the local configuration files.
BIN_DIRECTORY=/usr/local/sbin
# The info directory: This variable defines where the exim info file will be
# installed by "make install" or "exim_intall".
INFO_DIRECTORY=/usr/local/info
# The following commands live in different places in some OS. The OS-specific
# files should normally point to the right place, but they can be overridden
# here if necessary.
# CHOWN_COMMAND=/usr/bin/chown
# CHGRP_COMMAND=/usr/bin/chgrp
# MV_COMMAND=/bin/mv
# RM_COMMAND=/bin/rm
# The compress command is used by the exicyclog script to compress old log
# files. Both the name of the command and the suffix that it adds to files
# need to be defined here. See also the EXICYCLOG_MAX configuration.
COMPRESS_COMMAND=/usr/bin/gzip
COMPRESS_SUFFIX=gz
# The runtime configuration file: This variable defines where Exim's runtime
# configuration file is. There is no default built into the source files, so
# there must be a setting in one of the local configuration files. The
# location of all other runtime files and directories can be changed in the
# runtime configuration file.
CONFIGURE_FILE=/usr/local/etc/exim/configure
# In some installations there may be multiple machines sharing file systems,
# where a different configuration file is required for Exim on the different
# machines. If CONFIGURE_FILE_USE_NODE is defined, then Exim will first look
# for a configuration file whose name is that defined by CONFIGURE_FILE,
# with the node name obtained by uname() tacked on the end, separated by a
# period (for example, /usr/exim/configure.host.in.some.domain. If this file
# does not exist, then the bare configuration file name is tried.
# CONFIGURE_FILE_USE_NODE=yes
# In some esoteric configurations two different versions of Exim are run,
# with different setuid values, and different configuration files are required
# to handle the different cases. If CONFIGURE_FILE_USE_EUID is defined, then
# Exim will first look for a configuration file whose name is that defined
# by CONFIGURE_FILE, with the effective uid tacked on the end, separated by
# a period (for eximple, /usr/exim/configure.0). If this file does not exist,
# then the bare configuration file name is tried. In the case when both
# CONFIGURE_FILE_USE_EUID and CONFIGURE_FILE_USE_NODE are set, four files
# are tried: <name>.<euid>.<node>, <name>.<node>, <name>.<euid>, and <name>.
# CONFIGURE_FILE_USE_EUID=yes
# The size of the delivery buffer: This specifies the size of buffer which is
# used when copying a message from the spool to a destination. The default
# value built into the source is 8192.
# DELIVER_BUFFER_SIZE=8192
# Included directors: These variables determine which individual director
# drivers are included in the Exim binary. There are no defaults; those that
# are wanted must be defined here by setting the appropriate variables to the
# value "yes". The actions of each director are described in a separate chapter
# in the manual. Including a director in the binary does not cause it to
# be used automatically. It has also to be specified in the runtime
# configuration file.
DIRECTOR_ALIASFILE=yes
DIRECTOR_FORWARDFILE=yes
DIRECTOR_LOCALUSER=yes
DIRECTOR_SMARTUSER=yes
# The mode of the database directory: Exim creates a directory called "db"
# in its spool directory, to hold its databases of hints. This variable
# determines the mode of the created directory. The default value in the
# source is 0750.
# DB_DIRECTORY_MODE=0750
# Database file mode: The mode of files created in the "db" directory defaults
# to 0640 in the source, and can be changed here.
# DB_MODE=0640
# Cycling log files: this variable specifies the maximum number of old
# log files that are kept by the exicyclog log-cycling script.
EXICYCLOG_MAX=10
# Running Exim not as root: A uid and gid for Exim can be specified here. These
# are compiled into the binary, but can be changed by settings in the runtime
# configuration file. If EXIM_UID is not defined, the default in the code is to
# run as root unless specified otherwise at run time. Specifying 0 at
# run time has the effect of unsetting the values build into the binary.
# The settings here must be numeric; the run time file allows names to
# be used. When this uid and gid are set, the Exim binary still has to be
# setuid root if local deliveries are to be performed or a listener on port
# 25 is to be run, but it gives up its privilege when possible. There is a
# trade-off between security and efficiency, controlled by the runtime
# "security" setting, which controls how privilege is released (setuid vs
# seteuid).
# EXIM_UID=
# EXIM_GID=
# Compiling the Exim monitor: If you want to compile the Exim monitor,
# a program that requires an X11 display, then EXIM_MONITOR should be
# set to the value "eximon.bin". Comment out this setting to disable
# compilation of the binary file that is run by the eximon script. The
# locations of various X11 directories for libraries and include files
# are defaulted in the OS/Makefile-Default file, and can be overridden
# in local OS-specific make files.
EXIM_MONITOR=eximon.bin
# The maximum length of header line that Exim is prepared to process. There
# is a limit in order to catch rogue mailers out there that might connect to
# the SMTP port, start off a header line, and then just pump junk for ever
# at it. The default is 8192.
# HEADER_MAXLENGTH=8192
# The mode of the input directory: The input directory is where messages are
# kept while awaiting delivery. Exim creates it if necessary, using a mode
# which can be defined here (default 0750).
# INPUT_DIRECTORY_MODE=0750
# Exim log directory and files: Exim creates several log files inside a
# single log directory. You can define the directory and the form of the
# log file name here, by setting LOG_FILE_PATH to a path name containing one
# occurrence of %s. This will be replaced by one of the strings "main",
# "panic", "process" or "reject" to form the final file name. For example,
# some installations may want something like this:
LOG_FILE_PATH=/var/log/exim_%slog
# which results in files with names /var/log/exim_mainlog, etc. The directory
# in which the log files are placed must exist; Exim does not try to create
# it for itself. It is also your responsibility to ensure that Exim is capable
# of writing files using this path name. If you have defined EXIM_UID and
# EXIM_GID above, then that uid and gid must be able to create files in the
# directory you have specified.
# You do not have to define the log file path here; an option in the runtime
# configuration file can also set it, and that overrides any setting here.
# However, it is recommended that you set it here if it is a fixed path, so
# that it is available right from the start of Exim's execution. Otherwise,
# errors detected early on, for example errors in the configuration file,
# cannot be logged.
# If you do not set LOG_FILE_PATH here or in the runtime configuration, Exim
# creates a directory called "log" inside its spool directory (see
# SPOOL_DIRECTORY below) and uses that with filenames "mainlog", "paniclog",
# etc. Its mode defaults to 0750 but that can be changed here.
# LOG_DIRECTORY_MODE=0750
# This value is used only when Exim creates the directory for itself.
# The log files themselves are created as required, with a mode that defaults
# to 0640, but which can be changed here.
# LOG_MODE=0640
# Per-message logs: While a message is in the process of being delivered,
# comments on its progress are written to a message log, for the benefit of
# human administrators. These logs are held in a directory called "msglog"
# in the spool directory. Its mode defaults to 0750, but can be changed here.
# The message log directory is also used for storing files that are used by
# transports for returning data to a message's sender (see the "return_output"
# option for transports).
# MSGLOG_DIRECTORY_MODE=0750
# Identifying the daemon: When an Exim daemon starts up, it writes its pid to
# a file so that it can easily be identified. The path of the file can be
# specified here. It must contain precisely one occurrence of "%s". When
# a daemon is run on the default SMTP port, this is replaced with the null
# string, but when it is run with some explicit port specified, "%s" is
# replaced with the port number preceded by a dot. Some installations may
# want something like this
PID_FILE_PATH=/var/run/exim%s.pid
# If PID_FILE_PATH is not defined, Exim writes a file in its spool directory
# (see SPOOL_DIRECTORY below) with the name "exim-daemon.pid" for the standard
# daemon, or "exim-daemon.<port>.pid" for a daemon listening on a non-standard
# port. If you run a daemon that does not have both the -bd and -q options,
# then whichever of the two options it does have is added to the file name,
# whether obtained from PID_FILE_PATH or by default.
# If you set PID_FILE_PATH, then it is your responsibility to ensure that
# Exim is capable of writing to the relevant files. If you have defined
# EXIM_UID and EXIM_GID above, then that uid/gid combination must be able to
# create and write to the files. If the attempt to open the file fails, Exim
# just refrains from trying to write the data.
# The pid file path does not have to be set here; it can be also be set by an
# option in the runtime configuration file, which takes precedence over any
# setting here.
# Included routers: These variables determine which individual router drivers
# are included in the Exim binary. There are no defaults; those that are
# wanted must be defined here by setting the appropriate variables to the value
# "yes". The actions of each router are described in a separate chapter
# in the manual. Including a router in the binary does not cause it to
# be used automatically. It has also to be specified in the runtime
# configuration file. Those routers that are *not* wanted must not be defined
# here at all - comment them out.
ROUTER_DOMAINLIST=yes
ROUTER_IPLITERAL=yes
ROUTER_LOOKUPHOST=yes
ROUTER_QUERYPROGRAM=yes
# This one is very special-purpose, so is not included by default.
# ROUTER_IPLOOKUP=yes
# The spool directory: This directory is where all the data for messages in
# transit is kept. There is no default in the source, so its location must be
# defined in a local configuration file, or in the runtime configuration. It
# is recommended that you define it here if it is a fixed path, especially if
# you have not defined LOG_FILE_PATH. Log files are then written in a sub-
# directory of the spool directory, and it is helpful to have this defined
# right from the start of execution so that, for example, errors in reading
# the runtime configuration file can be logged.
# Exim creates the spool directory if it does not exist, using the mode
# required for the sub-directory that it is trying to create at the time. If a
# non-root uid and gid have been defined for Exim (either in this configuration
# file, or by the runtime configuration options), then this directory and all
# sub-directories and their files will be created with their owners and groups
# set to Exim's uid and gid.
# Many installations will want something like this:
# SPOOL_DIRECTORY=/var/spool/exim
# Others may prefer to keep all Exim things under one directory:
# SPOOL_DIRECTORY=/usr/exim/spool
SPOOL_DIRECTORY=/var/spool/exim
# If Exim creates the spool directory, it is given this mode, defaulting in the
# source to 0750.
# SPOOL_DIRECTORY_MODE=0750
# The mode of files on the input spool which hold the contents of message can
# be changed here. The default is 0600. If you have defined a uid and gid for
# Exim and want information from the spool to be available to anyone who is a
# member of the Exim group, change the value to 0640. This is particularly
# relevant if you are going to run the Exim monitor.
# SPOOL_MODE=0600
# If STDERR_FILE is defined then the -df command line option causes Exim to
# redirect stderr to the named file. This is useful for catching debugging
# output when starting Exim via inetd.
# STDERR_FILE=
# Included transports: These variables determine which individual transport
# drivers are included in the Exim binary. There are no defaults; those that
# are wanted must be defined here by setting the appropriate variables to the
# value "yes". The actions of each transport are described in a separate chapter
# in the manual. Including a transport in the binary does not cause it to
# be used automatically. It has also to be specified in the runtime
# configuration file.
TRANSPORT_APPENDFILE=yes
TRANSPORT_AUTOREPLY=yes
TRANSPORT_PIPE=yes
TRANSPORT_SMTP=yes
# The Debug transport is special, and should be included only when low-level
# debugging is being performed. In conjunction with the "debug_transport"
# configuration option, it permits the subversion of all mail deliveries to
# a given file.
# TRANSPORT_DEBUG=
# End of EDITME

191
mail/exim/files/eximon.conf Normal file
View File

@ -0,0 +1,191 @@
##################################################
# The Exim Monitor #
##################################################
# This is the template for the Exim monitor's main build-time configuration
# file. It contains settings that are independent of any operating system. It
# should be edited and then saved to a file called Local/eximon.conf before
# running the make command to build the monitor, if any settings are required.
# Local/eximon.conf can be empty if no changes are needed. The examples given
# here (commented out) are the default settings.
# Any settings made in the configuration file can be overridden at run time
# by setting up an environment variable with the same name as any of these
# options, but preceded by EXIMON_, for example, EXIMON_WINDOW_TITLE.
##################################################################
# Set these variables as appropriate for your system #
##################################################################
# The qualifying name for your domain. The only use made of this is for
# testing that certain addresses are the same when displaying the
# log tail, and for shortening sender addresses in the queue display.
# QUALIFY_DOMAIN=
# The default minimum width and height for the whole window are 103 and
# 162 pixels respectively. This is enough to hold the left-most stripchart
# and the quit button. The values can be changed here.
# MIN_HEIGHT=162
# MIN_WIDTH=103
# The title for eximon's main display window. It is possible to have
# host name of the machine you are running on substituted into the
# title string. If you include the string ${fullhostname} then the
# complete name is used. If you include ${hostname} then the full
# host name will have the string contained in the DOMAIN variable
# stripped from its right-hand end before being substituted. Any other
# shell or environment variables may also be included.
# If you use any substitutions, remember to ensure that the $ and {}
# characters are escaped from the shell, e.g. by using single quotes.
# WINDOW_TITLE='${hostname} eximon'
# The domain that you want to be stripped from the machine's full hostname
# when forming the short host name for the eximon window title, as
# described above.
# DOMAIN=
# Parameters for the rolling display of the tail of the exim log file.
# The width and depth are measured in pixels; LOG_BUFFER specifies the
# amount of store to set aside for holding the log tail, which is displayed
# in a scrolling window. When this store is full, the earlier 50% of it
# is discarded - this is much more efficient that throwing it away line
# by line. The number given can be followed by the letter K to indicate
# that the value is in kilobytes. A minimum value of 1K is enforced.
# LOG_DEPTH=300
# LOG_WIDTH=950
# LOG_BUFFER=20K
# The font which is used in the log tail display. This is defined in
# the normal X manner. It must be a "character cell" font, because this
# is required by the text widget.
# LOG_FONT=-misc-fixed-medium-r-normal-*-14-140-*-*-*-*-iso8859-1
# Parameters for the display of message that are on the exim queue.
# The width and depth are measured in pixels.
# QUEUE_DEPTH=200
# QUEUE_WIDTH=950
# The font which is used in the queue display.
# QUEUE_FONT=$LOG_FONT
# When a message has more than one undelivered address, they are listed
# one below the other. A limit can be placed on the number of addresses
# displayed for any one message. If there are more, then "..." is used
# to indicate this.
# QUEUE_MAX_ADDRESSES=10
# The display of the contents of the queue is updated every QUEUE_INTERVAL
# seconds by default (there is a button to request update).
# QUEUE_INTERVAL=300
# The size of the popup text window that is used for looking at the
# contents of messages, etc.
# TEXT_DEPTH=200
# The keystroke/mouse-operation that is used to pop up the menu in the
# queue window is configurable. The default is Shift with the lefthand
# mouse button. The name of an alternative can be specified in the standard
# X way of naming these things. With the default configuration for the monitor,
# individuals can override this by setting the EXIMON_MENU_EVENT environment
# variable.
# MENU_EVENT=Shift<Btn1Down>
# When the menu is used to perform an operation on a message, the output
# from the exim command that is generated is displayed in a separate window
# by default. Set this option to "no" if you don't want to see the output -
# the result of the operation is normally visible in the log window in any
# case. This does not apply to the output generated from attempting to
# deliver a message. That is always shown.
# ACTION_OUTPUT=yes
# When some action is taken on a message, such as freezing it, or changing
# its recipients, the queue display is normally automatically updated. On
# systems that have very large queues, this can take some time and be dis-
# tracting. If this option is set to "no", the queue display is no longer
# automatically updated after an action is applied to a message.
# ACTION_QUEUE_UPDATE=yes
# When the menu item to display a message's body is invoked, the amount
# of data is limited to BODY_MAX bytes. This limit is a safety precaution
# to save the screen scrolling for ever on an enormous message.
# BODY_MAX=20000
# The stripcharts are updated every STRIPCHART_INTERVAL seconds.
# STRIPCHART_INTERVAL=60
# The following variable contains a specification of which stripcharts
# you want eximon to display based on log entries. The string consists of
# pairs of strings, delimited by slash characters. The first string in each
# pair is a regular expression that matches some distinguishing feature in a
# exim log entry.
# Entries that match the expression will be counted and displayed in a
# stripchart whose title is given by the second string. The string may
# be continued over several input lines, provided that it is split
# after a slash, and an additional slash (optionally preceded by white
# space) is included at the start of the continuation line.
# The regular expression syntax supported by eximon is as follows:
# A regular expression is zero or more branches, separated by `|'. It
# matches anything that matches one of the branches. A branch is zero or
# more pieces, concatenated. It matches a match for the first, followed by
# a match for the second, etc. A piece is an atom possibly followed by
# `*', `+', or `?'.
#
# An atom followed by `*' matches a sequence of 0 or more matches of the atom.
# An atom followed by `+' matches a sequence of 1 or more matches of the atom.
# An atom followed by `?' matches a match of the atom, or the null string.
#
# An atom is a regular expression in parentheses (matching a match for the
# regular expression), a range (see below), `.' (matching any single
# character), `^' (matching the null string at the beginning of the input
# string), `$' (matching the null string at the end of the input string),
# a `\' followed by a single character (matching that character), or a
# single character with no other significance (matching that character).
#
# A range is a sequence of characters enclosed in `[]'. It normally
# matches any single character from the sequence. If the sequence begins
# with `^', it matches any single character not from the rest of the
# sequence. If two characters in the sequence are separated by `-', this
# is shorthand for the full list of ASCII characters between them (e.g.
# `[0-9]' matches any decimal digit). To include a literal `]' in the
# sequence, make it the first character (following a possible `^'). To
# include a literal `-', make it the first or last character.
# A stripchart showing the count of messages in the queue is always
# displayed on the left of eximon's window. Stripcharts configured
# by this parameter are displayed to its right, in the order defined
# here.
# LOG_STRIPCHARTS='/ <= /in/
# / => /out/
# / => .+ D=/local/
# / => .+ T=[^ ]*smtp/smtp/'
# The following variable may be set to the name of a disc partition. If
# it is, a stripchart showing the percentage fullness of the partition
# will be displayed as the second stripchart. This can be used to keep
# a display of a mail spool partition on the screen.
# SIZE_STRIPCHART=/var/mail
# End of exim_monitor/EDITME

1
mail/exim/files/list Normal file
View File

@ -0,0 +1 @@
498953 exim-0.41.tar.gz

2
mail/exim/files/md5 Normal file
View File

@ -0,0 +1,2 @@
MD5 (exim-1.71.tar.gz) = 63f7728fa2dc9856a22d1ecaeecafea5
MD5 (exim-texinfo-1.71.tar.gz) = 9ccf34670c9a12143653e061447ba356

View File

@ -0,0 +1,93 @@
--- scripts/exim_install.orig Tue Sep 9 15:07:22 1997
+++ scripts/exim_install Mon Sep 22 15:22:15 1997
@@ -8,6 +8,8 @@
# This script also installs a default configuration file in CONFIGURE_FILE
# if there is no configuration file there.
+# This script also installs a .info file in INFO_DIRECTORY if required.
+
# The script can be made to output what it would do, without actually doing
# anything, by giving it the option "-n" (cf make). Arguments are the names
# of things to install. No arguments installs everything.
@@ -65,10 +67,12 @@
fi
BIN_DIRECTORY=`grep "^ *BIN_DIRECTORY=" $files | tail -1 | cut -f2-99 -d: | cut -c15-99`
+INFO_DIRECTORY=`grep "^ *INFO_DIRECTORY=" $files | tail -1 | cut -f2-99 -d: | cut -c16-99`
CONFIGURE_FILE=`grep "^ *CONFIGURE_FILE=" $files | tail -1 | cut -f2-99 -d: | cut -c16-99`
# Allow INST_xx to over-ride xx
case "$INST_BIN_DIRECTORY" in ?*) BIN_DIRECTORY="$INST_BIN_DIRECTORY";; esac
+case "$INST_INFO_DIRECTORY" in ?*) INFO_DIRECTORY="$INST_INFO_DIRECTORY";; esac
case "$INST_CONFIGURE_FILE" in ?*) CONFIGURE_FILE="$INST_CONFIGURE_FILE";; esac
case "$INST_CP" in '') CP=cp;; *) CP="$INST_CP";; esac
case "$INST_MV" in '') MV=mv;; *) MV="$INST_MV";; esac
@@ -76,6 +80,7 @@
# Allow the user to over-ride xx
case "$inst_dest" in ?*) BIN_DIRECTORY="$inst_dest";; esac
+case "$inst_info" in ?*) INFO_DIRECTORY="$inst_info";; esac
case "$inst_conf" in ?*) CONFIGURE_FILE="$inst_conf";; esac
case "$inst_cp" in ?*) CP="$inst_cp";; esac
case "$inst_mv" in ?*) MV="$inst_mv";; esac
@@ -101,6 +106,20 @@
fi
fi
+# If info directory doesn't exist, try to create it
+
+if [ ! -d ${INFO_DIRECTORY} ]; then
+ echo mkdir -p ${INFO_DIRECTORY}
+ ${real} mkdir -p ${INFO_DIRECTORY}
+ if [ $? -ne 0 ]; then
+ echo $com ""
+ echo $com "**** Exim installation ${ver}failed ****"
+ exit 1
+ else
+ echo $com ${INFO_DIRECTORY} created
+ fi
+fi
+
# If no arguments, install everything
if [ $# -gt 0 ]; then
@@ -167,12 +186,39 @@
fi
done
+echo $com ""
+echo $com Installation directory is ${INFO_DIRECTORY}
+echo $com ""
+
+if [ -f ../doc/spec.texinfo ]; then
+ makeinfo --no-split --output exim_overview.info ../doc/oview.texinfo
+ echo ${CP} exim_overview.info ${INFO_DIRECTORY}
+ ${real} ${CP} exim_overview.info ${INFO_DIRECTORY}
+ install-info --section="EXIM" \
+ --entry "* Overview: (exim_overview). Overview of the EXIM system" \
+ ${INFO_DIRECTORY}/exim_overview.info ${INFO_DIRECTORY}/dir
+ makeinfo --no-split --output exim.info ../doc/spec.texinfo
+ echo ${CP} exim.info ${INFO_DIRECTORY}
+ ${real} ${CP} exim.info ${INFO_DIRECTORY}
+ install-info --section="EXIM" \
+ --entry "* User guide: (exim). Exim manual" \
+ ${INFO_DIRECTORY}/exim.info ${INFO_DIRECTORY}/dir
+ makeinfo --no-split --output exim_filter.info ../doc/filter.texinfo
+ echo ${CP} exim_filter.info ${INFO_DIRECTORY}
+ ${real} ${CP} exim_filter.info ${INFO_DIRECTORY}
+ install-info --section="EXIM" \
+ --entry "* Filtering: (exim_filter). Filtering mail with EXIM" \
+ ${INFO_DIRECTORY}/exim_filter.info ${INFO_DIRECTORY}/dir
+fi
+
# If there is no configuration file, install the default,
# building the lib directory if necessary.
echo $com ""
if [ ! -f ${CONFIGURE_FILE} ]; then
+ echo mkdir -p `dirname ${CONFIGURE_FILE}`
+ ${real} mkdir -p `dirname ${CONFIGURE_FILE}`
echo $com Installing default configuration in ${CONFIGURE_FILE}
echo $com because there is no existing configuration file.
echo ${CP} ../src/configure.default ${CONFIGURE_FILE}

View File

@ -0,0 +1,11 @@
--- scripts/Configure-eximon.orig Mon Nov 10 13:35:16 1997
+++ scripts/Configure-eximon Mon Nov 10 13:35:27 1997
@@ -8,7 +8,7 @@
# First off, get the OS type, and check that there is a make file for it.
-os=`$scripts/os-type` || exit 1
+os=`uname -s` || exit 1
if test ! -r ../OS/Makefile-$os
then echo ""

View File

@ -0,0 +1,11 @@
--- scripts/Configure-makefile.orig Mon Nov 10 13:33:19 1997
+++ scripts/Configure-makefile Mon Nov 10 13:33:03 1997
@@ -8,7 +8,7 @@
# First off, get the OS type, and check that there is a make file for it.
-os=`$scripts/os-type` || exit 1
+os=`uname -s` || exit 1
if test ! -r ../OS/Makefile-$os
then echo ""

View File

@ -0,0 +1,11 @@
--- scripts/Configure-os.h.orig Mon Nov 10 13:33:19 1997
+++ scripts/Configure-os.h Mon Nov 10 13:33:03 1997
@@ -8,7 +8,7 @@
# First off, get the OS type, and check that there is a make file for it.
-os=`$scripts/os-type` || exit 1
+os=`uname -s` || exit 1
if test ! -r ../OS/Makefile-$os
then echo ""

View File

@ -0,0 +1,11 @@
--- scripts/Configure-os.c.orig Mon Nov 10 13:33:19 1997
+++ scripts/Configure-os.c Mon Nov 10 13:33:03 1997
@@ -8,7 +8,7 @@
# First off, get the OS type, and check that there is a make file for it.
-os=`$scripts/os-type` || exit 1
+os=`uname -s` || exit 1
if test ! -r ../OS/Makefile-$os
then echo ""

1
mail/exim/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
High performance MTA for Unix systems on the Internet.

17
mail/exim/pkg/DESCR Normal file
View File

@ -0,0 +1,17 @@
Exim is a mail transfer agent for Unix systems connected to the Internet.
. Exim is intended for use as an Internet mailer, and therefore handles
addresses in RFC 822 domain format only. (No bangpaths!)
. The only external transport currently implemented is an SMTP transport
over a TCP/IP network (using sockets). A pipe transport is available,
and this could be used to send messages to some other transport mechanism.
. Exim is very configurable, and its management is very powerful. It can
be configured to be "fussy" about certain hosts or domains, and
can easily serve multiple domains.
. Exim is an excellent mailer for an ISP, as its control and flexibility
are very good.
. Its requeuing and retry algorithms are very powerful.

23
mail/exim/pkg/PLIST Normal file
View File

@ -0,0 +1,23 @@
sbin/exim
sbin/eximon
sbin/eximon.bin
sbin/exim_dumpdb
sbin/exim_fixdb
sbin/exim_tidydb
sbin/exinext
sbin/exiwhat
sbin/exim_dbmbuild
sbin/exicyclog
sbin/exigrep
sbin/eximstats
etc/exim/configure
@unexec install-info --delete %D/info/exim_overview.info %D/info/dir
@unexec install-info --delete %D/info/exim.info %D/info/dir
@unexec install-info --delete %D/info/exim_filter.info %D/info/dir
info/exim_overview.info
info/exim.info
info/exim_filter.info
@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
@exec install-info %D/info/exim_overview.info %D/info/dir
@exec install-info %D/info/exim.info %D/info/dir
@exec install-info %D/info/exim_filter.info %D/info/dir

33
mail/fetchmail/Makefile Normal file
View File

@ -0,0 +1,33 @@
# OpenBSD makefile for: fetchmail
# Version required: 4.3.0
# Date created: 10 Nov 1997
# Whom: ejovi
DISTNAME= fetchmail-4.3.0
CATEGORIES= mail
MASTER_SITES= ftp://ftp.ccil.org/pub/esr/fetchmail/
MAINTAINER= ve@sci.fi
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-opie
CONFIGURE_ENV+= LDFLAGS="${CFLAGS}"
MAN1= fetchmail.1
.if exists(/usr/lib/libkrb.a) && defined(MAKE_EBONES)
CONFIGURE_ARGS += --with-kerberos=/usr/include/kerberosIV
.endif
FDOC= ${PREFIX}/share/doc/fetchmail
post-patch:
@${CP} -f /usr/include/md5.h ${WRKSRC}
post-install:
install -d -m 555 -o ${DOCOWN} -g ${DOCGRP} ${FDOC}
cd ${WRKSRC} && ${INSTALL_DATA} \
sample.rcfile FAQ NOTES FEATURES README COPYING \
fetchmail-FAQ.html fetchmail-features.html \
design-notes.html ${FDOC}
.include <bsd.port.mk>

1
mail/fetchmail/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (fetchmail-4.3.0.tar.gz) = 82ce82eff86e4a9a9c544f984539b8d5

View File

@ -0,0 +1,20 @@
*** md5ify.c.orig Fri Nov 8 20:13:11 1996
--- md5ify.c Wed Jun 11 06:34:20 1997
***************
*** 16,22 ****
#include <string.h>
#endif
! #include "md5.h"
char *
MD5Digest (s)
--- 16,23 ----
#include <string.h>
#endif
! #include <sys/types.h>
! #include <md5.h>
char *
MD5Digest (s)

View File

@ -0,0 +1,53 @@
*** Makefile.in.orig Wed Oct 1 19:10:58 1997
--- Makefile.in Tue Oct 7 15:48:12 1997
***************
*** 35,41 ****
defines = -DRELEASE_ID=\"$(VERS)\" $(DEFS)
# If your system needs extra libraries loaded in, define them here.
! LOADLIBS = @LIBS@ @LEXLIB@
# LOADLIBS = -lsocket3r -lunix3r # QNX
# Any extra object files your system needs.
--- 35,41 ----
defines = -DRELEASE_ID=\"$(VERS)\" $(DEFS)
# If your system needs extra libraries loaded in, define them here.
! LOADLIBS = @LIBS@ @LEXLIB@ -lmd
# LOADLIBS = -lsocket3r -lunix3r # QNX
# Any extra object files your system needs.
***************
*** 81,87 ****
protobjs = rcfile_y.o rcfile_l.o socket.o getpass.o pop2.o pop3.o imap.o \
etrn.o fetchmail.o env.o options.o daemon.o driver.o rfc822.o smtp.o \
! xmalloc.o uid.o mxget.o md5c.o md5ify.o rpa.o interface.o netrc.o \
base64.o error.o
objs = $(protobjs) $(extras) $(EXTRAOBJ)
--- 81,87 ----
protobjs = rcfile_y.o rcfile_l.o socket.o getpass.o pop2.o pop3.o imap.o \
etrn.o fetchmail.o env.o options.o daemon.o driver.o rfc822.o smtp.o \
! xmalloc.o uid.o mxget.o md5ify.o rpa.o interface.o netrc.o \
base64.o error.o
objs = $(protobjs) $(extras) $(EXTRAOBJ)
***************
*** 92,98 ****
$(srcdir)/options.c $(srcdir)/daemon.c \
$(srcdir)/driver.c $(srcdir)/rfc822.c $(srcdir)/smtp.c \
$(srcdir)/xmalloc.c $(srcdir)/uid.c $(srcdir)/mxget.c \
! $(srcdir)/md5c.c $(srcdir)/md5ify.c $(srcdir)/rpa.c \
$(srcdir)/interface.c $(srcdir)/netrc.c $(srcdir)/base64.c \
$(srcdir)/error.c
--- 92,98 ----
$(srcdir)/options.c $(srcdir)/daemon.c \
$(srcdir)/driver.c $(srcdir)/rfc822.c $(srcdir)/smtp.c \
$(srcdir)/xmalloc.c $(srcdir)/uid.c $(srcdir)/mxget.c \
! $(srcdir)/md5ify.c $(srcdir)/rpa.c \
$(srcdir)/interface.c $(srcdir)/netrc.c $(srcdir)/base64.c \
$(srcdir)/error.c

View File

@ -0,0 +1,11 @@
--- configure.orig Sat Nov 8 17:15:52 1997
+++ configure Sat Nov 8 16:54:27 1997
@@ -32,7 +32,7 @@
build=NONE
cache_file=./config.cache
exec_prefix=NONE
-host=NONE
+host=hostname
no_create=
nonopt=NONE
no_recursion=

View File

@ -0,0 +1 @@
batch mail retrieval/forwarding utility for pop2, pop3, apop, imap

6
mail/fetchmail/pkg/DESCR Normal file
View File

@ -0,0 +1,6 @@
Fetchmail is a full-featured IMAP/POP2/POP3/APOP/KPOP client with easy
configuration, daemon mode, forwarding via SMTP or local MDA, superior
reply handling. Not a mail user agent, rather a pipe-fitting that
seamlessly forwards fetched mail to your local delivery system. Your
one-stop solution for intermittent email connections. This is the
lineal descendant of and replacement for the old popclient program.

12
mail/fetchmail/pkg/PLIST Normal file
View File

@ -0,0 +1,12 @@
bin/fetchmail
man/man1/fetchmail.1.gz
share/doc/fetchmail/README
share/doc/fetchmail/COPYING
share/doc/fetchmail/FAQ
share/doc/fetchmail/NOTES
share/doc/fetchmail/FEATURES
share/doc/fetchmail/fetchmail-FAQ.html
share/doc/fetchmail/design-notes.html
share/doc/fetchmail/fetchmail-features.html
share/doc/fetchmail/sample.rcfile
@dirrm share/doc/fetchmail

23
mail/metamail/Makefile Normal file
View File

@ -0,0 +1,23 @@
# OpenBSD makefile for: metamail
# Version required: 2.7
# Date created: 10 Nov 1997
# Whom: ejovi
DISTNAME= mm2.7
PKGNAME= mm-2.7
CATEGORIES= mail
MASTER_SITES= ftp://thumper.bellcore.com/pub/nsb/
EXTRACT_SUFX= .tar.Z
MAINTAINER= ejovi@OpenBSD.ORG
WRKSRC= ${WRKDIR}/${DISTNAME}/src
MAN1= audiocompose.1 audiosend.1 extcompose.1 \
getfilename.1 mailto-hebrew.1 mailto.1 metamail.1 \
metasend.1 mime.1 mimencode.1 mmencode.1 \
patch-metamail.1 richtext.1 showaudio.1 \
showexternal.1 shownonascii.1 showpartial.1 \
showpicture.1 splitmail.1
MAN4= mailcap.4
.include <bsd.port.mk>

1
mail/metamail/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (mm2.7.tar.Z) = fd5617ea87e20d7f2fa839e1d1fede60

View File

@ -0,0 +1,111 @@
*** Makefile.orig Wed Jan 26 20:32:33 1994
--- Makefile Mon Nov 20 01:31:41 1995
***************
*** 38,44 ****
STATICFLAG=FOOBAR${HOST_ARCH}
! CFLAGS = -g -I. ${$(STATICFLAG)}
# The following is better if you want to make sure you run with SYSV defined
# CFLAGS = -g -I. ${$(STATICFLAG)} -DSYSV
# Also, for SGI Irix, compile in K&R mode
--- 38,44 ----
STATICFLAG=FOOBAR${HOST_ARCH}
! CFLAGS += -I. ${$(STATICFLAG)}
# The following is better if you want to make sure you run with SYSV defined
# CFLAGS = -g -I. ${$(STATICFLAG)} -DSYSV
# Also, for SGI Irix, compile in K&R mode
***************
*** 49,57 ****
# LDLIBS variable.
#
# For Sun and BSD systems, the following should work...
! LDLIBS =
# On BSD 4.4 systems, you will need the following
! # LDLIBS = -lcompat
# On SGI machines, we need -lsun for getpw...(), and -lc_s saves some space.
# LDLIBS = -lsun -lc_s
# ISC SysVr3.2.2 has a shared C library and requires libinet.a to resolve
--- 49,57 ----
# LDLIBS variable.
#
# For Sun and BSD systems, the following should work...
! # LDLIBS =
# On BSD 4.4 systems, you will need the following
! LDLIBS = -s -lcompat
# On SGI machines, we need -lsun for getpw...(), and -lc_s saves some space.
# LDLIBS = -lsun -lc_s
# ISC SysVr3.2.2 has a shared C library and requires libinet.a to resolve
***************
*** 72,81 ****
# install -s -c $(LOCALBINDIR) $$file
#
#INSTALL = cp
! INSTALL = install -c -s
# Root of installation tree
! INSTROOT = /usr/local
#
# This is where binaries should be copied
LOCALBINDIR = ${INSTROOT}/bin
--- 72,81 ----
# install -s -c $(LOCALBINDIR) $$file
#
#INSTALL = cp
! INSTALL = install -c
# Root of installation tree
! INSTROOT = ${PREFIX}
#
# This is where binaries should be copied
LOCALBINDIR = ${INSTROOT}/bin
***************
*** 96,104 ****
# This helps with the "for" constructs below on some platforms:
SHELL=/bin/sh
! install: basics
! basics::
(cd metamail ; $(MAKE) CONFIGDIR=../${CONFIGDIR} CFLAGS="${CFLAGS}" CC="${CC}" LDLIBS="${LDLIBS}")
-${RM} bin/metamail
(cd bin; ${LN} ../metamail/metamail metamail)
--- 96,104 ----
# This helps with the "for" constructs below on some platforms:
SHELL=/bin/sh
! install: install-all
! all basics::
(cd metamail ; $(MAKE) CONFIGDIR=../${CONFIGDIR} CFLAGS="${CFLAGS}" CC="${CC}" LDLIBS="${LDLIBS}")
-${RM} bin/metamail
(cd bin; ${LN} ../metamail/metamail metamail)
***************
*** 117,123 ****
(cd bin; ${LN} ../richmail/richtext richtext)
-${RM} bin/richtoatk
(cd bin; ${LN} ../richmail/richtoatk richtoatk)
! (cd fonts ; $(MAKE) CONFIGDIR=../${CONFIGDIR} CFLAGS="${CFLAGS}" CC="${CC}" LDLIBS="${LDLIBS}" FONTSUFFIX="${FONTSUFFIX}")
-${RM} bin/shownonascii
(cd bin; ${LN} ../fonts/shownonascii shownonascii)
-${RM} bin/mailto-hebrew
--- 117,123 ----
(cd bin; ${LN} ../richmail/richtext richtext)
-${RM} bin/richtoatk
(cd bin; ${LN} ../richmail/richtoatk richtoatk)
! (cd fonts ; $(MAKE) PREFIX=${PREFIX} CONFIGDIR=../${CONFIGDIR} CFLAGS="${CFLAGS}" CC="${CC}" LDLIBS="${LDLIBS}" FONTSUFFIX="${FONTSUFFIX}")
-${RM} bin/shownonascii
(cd bin; ${LN} ../fonts/shownonascii shownonascii)
-${RM} bin/mailto-hebrew
***************
*** 149,154 ****
--- 149,155 ----
-mv $(MAILCAPDIR)/mailcap $(MAILCAPDIR)/mailcap.old
@echo "installing file $(MAILCAPDIR)/mailcap"
${CP} mailcap $(MAILCAPDIR)
+ (cd fonts ; $(MAKE) PREFIX=${PREFIX} CONFIGDIR=../${CONFIGDIR} CFLAGS="${CFLAGS}" CC="${CC}" LDLIBS="${LDLIBS}" FONTSUFFIX="${FONTSUFFIX}" install)
uninstall-all:
@(cd bin; \

View File

@ -0,0 +1,33 @@
*** config.h.orig Mon Oct 17 21:06:22 1994
--- config.h Mon Oct 17 21:08:13 1994
***************
*** 73,79 ****
#ifdef SYSV
#define RESET_PROGRAM "tput clear"
#else
! #ifdef __BSD_4_4__
#define RESET_PROGRAM "/usr/bin/reset"
#else
#define RESET_PROGRAM "/usr/ucb/reset"
--- 73,79 ----
#ifdef SYSV
#define RESET_PROGRAM "tput clear"
#else
! #if defined(__BSD_4_4__) || defined(__FreeBSD__)
#define RESET_PROGRAM "/usr/bin/reset"
#else
#define RESET_PROGRAM "/usr/ucb/reset"
***************
*** 155,161 ****
--- 155,165 ----
#ifdef NeXT
#define sigtype void
#else
+ #ifdef __FreeBSD__
+ #define sigtype void
+ #else
#define sigtype int
+ #endif
#endif
#endif

View File

@ -0,0 +1,19 @@
*** bin/sun2mime.ORIG Sat Nov 13 15:53:51 1993
--- bin/sun2mime Mon Dec 12 10:07:44 1994
***************
*** 11,17 ****
fi
TMPFILE=${METAMAIL_TMPDIR}/suntomime.$$
! /bin/nawk '
BEGIN { printf("Content-type: multipart/mixed; boundary=--------\n\n")
RS=""; FS="\n"; mode="HEADER" }
mode == "HEADER" {
--- 11,17 ----
fi
TMPFILE=${METAMAIL_TMPDIR}/suntomime.$$
! /usr/bin/awk '
BEGIN { printf("Content-type: multipart/mixed; boundary=--------\n\n")
RS=""; FS="\n"; mode="HEADER" }
mode == "HEADER" {

View File

@ -0,0 +1,35 @@
*** fonts/Makefile.orig Mon May 31 22:49:27 1993
--- fonts/Makefile Thu May 18 21:55:42 1995
***************
*** 28,39 ****
-${DIRBUILDER}
shownonascii: Xshownonascii
! sed -e s@/u/nsb/lib/fonts@`pwd`@ < Xshownonascii > shownonascii
chmod +x shownonascii
mailto-hebrew: Xmailto-hebrew
! sed -e s@/u/nsb/lib/fonts@`pwd`@ < Xmailto-hebrew > mailto-hebrew
chmod +x mailto-hebrew
clean:
rm -f heb6x13.${FONTSUFFIX} heb8x13.${FONTSUFFIX} heb8x13B.${FONTSUFFIX} shownonascii mailto-hebrew fonts.dir
--- 28,45 ----
-${DIRBUILDER}
shownonascii: Xshownonascii
! sed -e s@/u/nsb/lib/fonts@${PREFIX}/lib/metamail/fonts@ < Xshownonascii > shownonascii
chmod +x shownonascii
mailto-hebrew: Xmailto-hebrew
! sed -e s@/u/nsb/lib/fonts@${PREFIX}/lib/metamail/fonts@ < Xmailto-hebrew > mailto-hebrew
chmod +x mailto-hebrew
+
+ install:
+ mkdir -p ${PREFIX}/lib/metamail/fonts
+ install -c heb6x13.${FONTSUFFIX} heb8x13.${FONTSUFFIX} \
+ heb8x13B.${FONTSUFFIX} fonts.alias ${PREFIX}/lib/metamail/fonts
+ if [ -d /usr/X11R6 ]; then mkfontdir ${PREFIX}/lib/metamail/fonts ; fi
clean:
rm -f heb6x13.${FONTSUFFIX} heb8x13.${FONTSUFFIX} heb8x13B.${FONTSUFFIX} shownonascii mailto-hebrew fonts.dir

View File

@ -0,0 +1,21 @@
*** metamail/splitmail.c.orig Sun Jun 18 13:13:56 1995
--- metamail/splitmail.c Sun Jun 18 13:14:48 1995
***************
*** 41,48 ****
#define VERBOSEDELIVERYCMD VerboseDeliveryCmd
#else
extern char *getenv();
! #define NORMALDELIVERYCMD "/usr/lib/sendmail -t -oi"
! #define VERBOSEDELIVERYCMD "/usr/lib/sendmail -t -v -oi"
#endif
usageexit() {
--- 41,48 ----
#define VERBOSEDELIVERYCMD VerboseDeliveryCmd
#else
extern char *getenv();
! #define NORMALDELIVERYCMD "/usr/sbin/sendmail -t -oi"
! #define VERBOSEDELIVERYCMD "/usr/sbin/sendmail -t -v -oi"
#endif
usageexit() {

View File

@ -0,0 +1,129 @@
*** mailto.c.orig Wed Feb 9 23:30:26 1994
--- metamail/mailto.c Mon Nov 20 01:21:37 1995
***************
*** 570,575 ****
--- 570,576 ----
if (isupper(*sdum)) *sdum = tolower(*sdum);
}
if (strcmp(CharacterSet, "us-ascii")
+ && strcmp(CharacterSet, "koi8-r")
&& strncmp(CharacterSet, "iso-8859-", 9)) {
fprintf(stderr, "mailto: Unsupported character set: %s\n", CharacterSet);
exit(-1);
***************
*** 1130,1135 ****
--- 1131,1137 ----
if (part->isrich) {
if (strcmp(CharacterSet, "us-ascii")
&& (strncmp(CharacterSet, "iso-8859-", 9)
+ && strcmp(CharacterSet, "koi8-r")
|| part->encoding_type_needed != ENC_NONE)) {
fprintf(fp, "Content-type: text/richtext; charset=\"%s\"\n", CharacterSet);
} else {
***************
*** 1140,1145 ****
--- 1142,1148 ----
WriteCtypeNicely(fp, part->content_type);
if (strcmp(CharacterSet, "us-ascii")
&& (strncmp(CharacterSet, "iso-8859-", 9)
+ && strcmp(CharacterSet, "koi8-r")
|| part->encoding_type_needed != ENC_NONE)) {
fprintf(fp, "; charset=\"%s\"\n", CharacterSet);
} else fputs("\n", fp);
***************
*** 1745,1750 ****
--- 1748,1754 ----
}
printf("\n\nEnter your choice as a number from 0 to %d: ", i);
fflush(stdout);
+ *LineBuf = '\0';
fgets(LineBuf, sizeof(LineBuf), stdin);
ans = atoi(LineBuf);
if (ans == 0 || ans == 1) {
***************
*** 1791,1797 ****
int ct;
printf("\nEnter the MIME Content-type value for the data from file %s\n (type '?' for a list of locally-valid content-types): ", sdum);
fflush(stdout);
! gets(LineBuf);
if (index(LineBuf, '/')) {
char lc[100], *s, AnsBuf[100];
strcpy(lc, LineBuf);
--- 1795,1801 ----
int ct;
printf("\nEnter the MIME Content-type value for the data from file %s\n (type '?' for a list of locally-valid content-types): ", sdum);
fflush(stdout);
! fgets(LineBuf, sizeof(LineBuf), stdin);
if (index(LineBuf, '/')) {
char lc[100], *s, AnsBuf[100];
strcpy(lc, LineBuf);
***************
*** 1809,1815 ****
}
if (mc) break;
printf("The MIME content-type '%s' is not listed in your local mailcap files,\nand may not be a valid MIME type. Do you want to use it anyway [no] ? ", LineBuf);
! s = gets(AnsBuf);
while (s && *s && isspace((unsigned char) *s)) ++s;
if (s && (*s == 'y' || *s == 'Y')) break;
continue;
--- 1813,1819 ----
}
if (mc) break;
printf("The MIME content-type '%s' is not listed in your local mailcap files,\nand may not be a valid MIME type. Do you want to use it anyway [no] ? ", LineBuf);
! s = fgets(AnsBuf, sizeof(AnsBuf), stdin);
while (s && *s && isspace((unsigned char) *s)) ++s;
if (s && (*s == 'y' || *s == 'Y')) break;
continue;
*** metamail.c.bak Thu Feb 17 04:57:19 1994
--- metamail/metamail.c Mon Nov 20 01:21:37 1995
***************
*** 83,89 ****
#define MAX_FILE_NAME_SIZE 256
#define WRITE_BINARY "w"
#else /* AMIGA */
! extern char **environ, *gets();
#define CATCOMMAND "cat"
#define CATTEMPLATE "cat %s"
#define METAMAIL "metamail"
--- 83,89 ----
#define MAX_FILE_NAME_SIZE 256
#define WRITE_BINARY "w"
#else /* AMIGA */
! extern char **environ;
#define CATCOMMAND "cat"
#define CATTEMPLATE "cat %s"
#define METAMAIL "metamail"
***************
*** 579,585 ****
int overwriteans = -1;
do {
printf("File %s exists. Do you want to overwrite it (y/n) ?\n", Fname);
! s = gets(AnsBuf);
if (!s) {
overwriteans = 0;
} else {
--- 579,585 ----
int overwriteans = -1;
do {
printf("File %s exists. Do you want to overwrite it (y/n) ?\n", Fname);
! s = fgets(AnsBuf, sizeof(AnsBuf), stdin);
if (!s) {
overwriteans = 0;
} else {
***************
*** 1823,1829 ****
} else {
printf("This message contains '%s'-format data.\nDo you want to view it using the '%s' command (y/n) [y] ? ", ctype, ShortCommand(progname));
}
! s = gets(AnsBuf);
if (!s) return(0); /* EOF */
while (s && *s && isspace((unsigned char) *s)) ++s;
if (*s == 'y' || *s == 'Y' || !*s || *s == '\n') return(1);
--- 1823,1829 ----
} else {
printf("This message contains '%s'-format data.\nDo you want to view it using the '%s' command (y/n) [y] ? ", ctype, ShortCommand(progname));
}
! s = fgets(AnsBuf, sizeof(AnsBuf), stdin);
if (!s) return(0); /* EOF */
while (s && *s && isspace((unsigned char) *s)) ++s;
if (*s == 'y' || *s == 'Y' || !*s || *s == '\n') return(1);

View File

@ -0,0 +1,260 @@
diff -u -r mm2.7.org/src/bin/showaudio mm2.7/src/bin/showaudio
--- bin/showaudio Wed Feb 2 16:21:26 1994
+++ bin/showaudio Wed May 21 21:34:08 1997
@@ -15,9 +15,35 @@
# WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
#
-
+# Set a sensible value for the temporary directory, if its not
+# already set. If TMPDIR is set previously, then we will
+# assume it is adequately protected.
if (! $?METAMAIL_TMPDIR) then
- set METAMAIL_TMPDIR=/tmp
+ if ($?TMPDIR) then
+ set METAMAIL_TMPDIR="$TMPDIR"
+ else
+ set METAMAIL_TMPDIR=~/metamail_tmp
+ endif
+endif
+
+# Set a sensible umask value
+umask 077
+
+# Make sure that the temporary directory is available
+if (! -d "$METAMAIL_TMPDIR") then
+
+ if (! -e "$METAMAIL_TMPDIR") then
+ mkdir "$METAMAIL_TMPDIR"
+ else
+ echo "$METAMAIL_TMPDIR exists, but is not a directory"
+ exit 2
+ endif
+
+ if ( $status != 0 || ! -d "$METAMAIL_TMPDIR" ) then
+ echo "Error creating $METAMAIL_TMPDIR"
+ exit 2
+ endif
+
endif
# First, figure out which machine to play it on!
@@ -33,7 +59,7 @@
set ORG="Bellcore"
set STDINPUT=0
if ("$1" == "-p") then
- set AUDIOPHONE=$2
+ set AUDIOPHONE="$2"
shift
shift
endif
@@ -173,7 +199,7 @@
set AUDIOPHONE=$<
endif
if ($thishost == $AUDIOPHONEHOST || $thishost == $AUDIOPHONEHOSTLONG) then
- echo Calling Phone number $AUDIOPHONE
+ echo Calling Phone number "$AUDIOPHONE"
echo "You MUST SAY HELLO when you answer the phone, or you will not hear the message."
mail -s "showaudio: `whoami` called $AUDIOPHONE" $AUDIOLOGMAIL < /dev/null
if ($STDINPUT) then
@@ -206,7 +232,7 @@
echo -n "File name:"
set fname=$<
endif
-cp $1 $fname
+cp "$1" $fname
if ($status == 0) echo Wrote raw audio file: $fname
exit 0
Only in mm2.7/src/bin: showaudio~
diff -u -r mm2.7.org/src/bin/showexternal mm2.7/src/bin/showexternal
--- bin/showexternal Tue Feb 8 09:39:05 1994
+++ bin/showexternal Wed May 21 21:41:39 1997
@@ -15,9 +15,45 @@
# WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
#
+# Check argument integrity. Don't trust mail headers
+switch ("$1$2$3$4$5$6$7")
+case "*[\t ]*":
+ echo "Illegal white space in arguments\!"
+ echo "Command was:"
+ echo "'$0' '$1' '$2' '$3' '$4' '$5' '$6' '$7'"
+ exit 2
+endsw
+
onintr cleanup
+# Set a sensible value for the temporary directory, if its not
+# already set. If TMPDIR is set previously, then we will
+# assume it is adequately protected.
if (! $?METAMAIL_TMPDIR) then
- set METAMAIL_TMPDIR=/tmp
+ if ($?TMPDIR) then
+ set METAMAIL_TMPDIR="$TMPDIR"
+ else
+ set METAMAIL_TMPDIR=~/metamail_tmp
+ endif
+endif
+
+# Set a sensible umask value
+umask 077
+
+# Make sure that the temporary directory is available
+if (! -d "$METAMAIL_TMPDIR") then
+
+ if (! -e "$METAMAIL_TMPDIR") then
+ mkdir "$METAMAIL_TMPDIR"
+ else
+ echo "$METAMAIL_TMPDIR exists, but is not a directory"
+ exit 2
+ endif
+
+ if ( $status != 0 || ! -d "$METAMAIL_TMPDIR" ) then
+ echo "Error creating $METAMAIL_TMPDIR"
+ exit 2
+ endif
+
endif
if (! $?FTP) then
set FTP=ftp
Only in mm2.7/src/bin: showexternal~
diff -u -r mm2.7.org/src/bin/showpartial mm2.7/src/bin/showpartial
--- bin/showpartial Wed Feb 2 16:21:29 1994
+++ bin/showpartial Wed May 21 21:39:49 1997
@@ -2,8 +2,44 @@
# (The "-fb" might need to be changed to "-f" on some systems)
#
+# Check argument integrity. Don't trust mail headers
+switch ("$1$2$3$4")
+case "*[\t ]*":
+ echo "Illegal white space in arguments\!"
+ echo "Command was:"
+ echo "'$0' '$1' '$2' '$3' '$4'"
+ exit 2
+endsw
+
+# Set a sensible value for the temporary directory, if its not
+# already set. If TMPDIR is set previously, then we will
+# assume it is adequately protected.
if (! $?METAMAIL_TMPDIR) then
- set METAMAIL_TMPDIR=/tmp
+ if ($?TMPDIR) then
+ set METAMAIL_TMPDIR="$TMPDIR"
+ else
+ set METAMAIL_TMPDIR=~/metamail_tmp
+ endif
+endif
+
+# Set a sensible umask value
+umask 077
+
+# Make sure that the temporary directory is available
+if (! -d "$METAMAIL_TMPDIR") then
+
+ if (! -e "$METAMAIL_TMPDIR") then
+ mkdir "$METAMAIL_TMPDIR"
+ else
+ echo "$METAMAIL_TMPDIR exists, but is not a directory"
+ exit 2
+ endif
+
+ if ( $status != 0 || ! -d "$METAMAIL_TMPDIR" ) then
+ echo "Error creating $METAMAIL_TMPDIR"
+ exit 2
+ endif
+
endif
set TREEROOT=${METAMAIL_TMPDIR}/m-prts-`whoami`
@@ -11,14 +47,14 @@
echo "Usage: showpartial file id partnum totalnum"
exit -1
endif
-set file=$1
+set file="$1"
# This next line is because message-id can contain weird chars
-set id=`echo $2 | tr -d \!\$\&\*\(\)\|\'\"\;\/\<\>\\`
-@ partnum = $3
-if ($#argv == 3 || $4 == "") then
+set id=`echo "$2" | tr -d \!\$\&\*\(\)\|\'\"\;\/\<\>\\`
+@ partnum = "$3"
+if ($#argv == 3 || "$4" == "") then
set totalnum=-1
else
- @ totalnum = $4
+ @ totalnum = "$4"
endif
if (! -d $TREEROOT) then
@@ -35,9 +71,9 @@
exit -1
endif
endif
-cp $file ${TREEROOT}/$id/$partnum
+cp "$file" ${TREEROOT}/$id/$partnum
if ($status) then
- echo cp $file ${TREEROOT}/$id/$partnum failed
+ echo cp "$file" ${TREEROOT}/$id/$partnum failed
exit -1
endif
if ($totalnum == -1) then
Only in mm2.7/src/bin: showpartial~
diff -u -r mm2.7.org/src/bin/showpicture mm2.7/src/bin/showpicture
--- bin/showpicture Mon Feb 7 10:59:54 1994
+++ bin/showpicture Wed May 21 21:34:59 1997
@@ -15,15 +15,42 @@
# WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
#
+# Set a sensible value for the temporary directory, if its not
+# already set. If TMPDIR is set previously, then we will
+# assume it is adequately protected.
if (! $?METAMAIL_TMPDIR) then
- set METAMAIL_TMPDIR=/tmp
+ if ($?TMPDIR) then
+ set METAMAIL_TMPDIR="$TMPDIR"
+ else
+ set METAMAIL_TMPDIR=~/metamail_tmp
+ endif
+endif
+
+# Set a sensible umask value
+umask 077
+
+# Make sure that the temporary directory is available
+if (! -d "$METAMAIL_TMPDIR") then
+
+ if (! -e "$METAMAIL_TMPDIR") then
+ mkdir "$METAMAIL_TMPDIR"
+ else
+ echo "$METAMAIL_TMPDIR exists, but is not a directory"
+ exit 2
+ endif
+
+ if ( $status != 0 || ! -d "$METAMAIL_TMPDIR" ) then
+ echo "Error creating $METAMAIL_TMPDIR"
+ exit 2
+ endif
+
endif
if (! $?X_VIEWER) then
-set X_VIEWER="xloadimage -view -quiet -geometry +1+1"
+ set X_VIEWER="xloadimage -view -quiet -geometry +1+1"
# set X_VIEWER="xv -geometry +1+1"
endif
-if ($1 == "-viewer" && $#argv > 1) then
+if ("$1" == "-viewer" && $#argv > 1) then
set X_VIEWER = "$2"
shift
shift
@@ -57,7 +84,7 @@
endif
end
endif
- cp $1 $fname
+ cp "$1" $fname
if ($status == 0) echo Wrote file $fname
exit 0
endif

View File

@ -0,0 +1,54 @@
--- metamail/metamail.c.orig Mon Nov 10 13:00:24 1997
+++ metamail/metamail.c Mon Nov 10 13:01:06 1997
@@ -29,7 +29,7 @@
#ifdef BORLAND
#define F_OK 0
extern unsigned _stklen = 16384;
-extern char *mktemp(char *);
+extern char *mkstemp(char *);
#define WRITE_BINARY "w"
#else /* BORLAND */
#ifdef MICROSOFT
@@ -302,24 +302,6 @@
int retcode;
modpath(AUXPATH);
-#ifndef MSDOS
- signal(SIGINT, cleanup);
-#ifndef AMIGA
- signal(SIGILL, cleanup);
- signal(SIGTRAP, cleanup);
- signal(SIGIOT, cleanup);
- signal(SIGFPE, cleanup);
-#ifndef LINUX
- signal(SIGEMT, cleanup);
- signal(SIGBUS, cleanup);
-#endif
- signal(SIGSEGV, cleanup);
- signal(SIGTERM, cleanup);
-#endif
-#endif
-#ifdef SIGXCPU
- signal(SIGXCPU, cleanup);
-#endif
tmproot = getenv("METAMAIL_TMPDIR");
if (!tmproot) tmproot="/tmp";
mailheaders = getenv("MM_HEADERS");
@@ -2489,14 +2471,14 @@
{
#ifdef AMIGA
strcpy(name, "T:mmXXXXXX");
- mktemp(name);
+ mkstemp(name);
#else
#ifndef MSDOS
sprintf(name, "%s/mm.XXXXXX", tmproot);
- mktemp(name);
+ mkstemp(name);
#else
strcpy(name, "TXXXXXX");
- if (!mktemp(name))
+ if (!mkstemp(name))
name[0] = 0;
else
if (DoDebug) printf("temp name = \"%s\"\n", name);

View File

@ -0,0 +1 @@
Implementation of MIME, the Multipurpose Internet Mail Extensions.

5
mail/metamail/pkg/DESCR Normal file
View File

@ -0,0 +1,5 @@
Metamail is an implementation of MIME, the Multipurpose Internet
Mail Extensions, a proposed standard for multimedia mail on the Internet.
Metamail implements MIME, and also implements extensibility and
configuration via the "mailcap" mechanism described in an informational
RFC that is a companion to the MIME document.

53
mail/metamail/pkg/PLIST Normal file
View File

@ -0,0 +1,53 @@
bin/audiocompose
bin/audiosend
bin/extcompose
bin/getfilename
bin/mailserver
bin/mailto
bin/mailto-hebrew
bin/metamail
bin/metasend
bin/mimencode
bin/mmencode
bin/patch-metamail
bin/rcvAppleSingle
bin/richtext
bin/richtoatk
bin/showaudio
bin/showexternal
bin/shownonascii
bin/showpartial
bin/showpicture
bin/sndAppleSingle
bin/splitmail
bin/sun-audio-file
bin/sun-message.csh
bin/sun-to-mime
bin/sun2mime
bin/sun2mime.orig
lib/metamail/fonts/heb6x13.pcf
lib/metamail/fonts/heb8x13.pcf
lib/metamail/fonts/heb8x13B.pcf
lib/metamail/fonts/fonts.dir
lib/metamail/fonts/fonts.alias
etc/mailcap
man/man1/audiocompose.1.gz
man/man1/audiosend.1.gz
man/man1/extcompose.1.gz
man/man1/getfilename.1.gz
man/man1/mailto-hebrew.1.gz
man/man1/mailto.1.gz
man/man1/metamail.1.gz
man/man1/metasend.1.gz
man/man1/mime.1.gz
man/man1/mimencode.1.gz
man/man1/mmencode.1.gz
man/man1/patch-metamail.1.gz
man/man1/richtext.1.gz
man/man1/showaudio.1.gz
man/man1/showexternal.1.gz
man/man1/shownonascii.1.gz
man/man1/showpartial.1.gz
man/man1/showpicture.1.gz
man/man1/splitmail.1.gz
man/man4/mailcap.4.gz

20
mail/pgpsendmail/Makefile Normal file
View File

@ -0,0 +1,20 @@
# OpenBSD makefile for: pgpsendmail
# Version required: 1.4
# Date created: 10 Nov 1997
# Whom: ejovi
DISTNAME= PGPsendmail-v1.4
PKGNAME= pgpsendmail-1.4
CATEGORIES= mail
MASTER_SITES= ftp://ftp.dhp.com/pub/crypto/pgp/PGPsendmail/
MAINTAINER= ejovi@OpenBSD.ORG
BUILD_DEPENDS += pgp:${PORTSDIR}/security/pgp
WRKSRC= ${WRKDIR}/pgpsendmail
INSTALL_TARGET= all_install
MAN1= pgppipe.1 sendpgppass.1
MAN8= pgpsendmail.8 pgpdaemon.8
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (PGPsendmail-v1.4.tar.gz) = 086847b3c79736feab3d3d774cd023fb

View File

@ -0,0 +1,124 @@
*** Makefile.old Sat Oct 15 23:06:26 1994
--- Makefile Sat Jan 21 03:04:40 1995
***************
*** 13,28 ****
#
#SENDMAIL = '-DSENDMAIL="/usr/lib/sendmail"'
DEFINES =
! CC = cc
! CFLAGS = $(DEFINES) -I. "-DVERSION=\"`cat version`\""
LDFLAGS =
TARGETS = blindness_assist pgpsendmail pgpdaemon sendpgppass pgppipe
! all: $(TARGETS) clean
BLINDNESS_ASSIST_OBJ = blindness_assist.o
--- 13,29 ----
#
#SENDMAIL = '-DSENDMAIL="/usr/lib/sendmail"'
+ PREFIX = /usr/local
+
DEFINES =
! CFLAGS += $(DEFINES) -I. "-DVERSION=\"`cat version`\""
LDFLAGS =
TARGETS = blindness_assist pgpsendmail pgpdaemon sendpgppass pgppipe
! all: $(TARGETS)
BLINDNESS_ASSIST_OBJ = blindness_assist.o
***************
*** 39,55 ****
pgpsendmail.o: pgpsendmail.c
$(CC) $(CFLAGS) $(SENDMAIL) -c pgpsendmail.c
pgpsendmail: $(PGPSENDMAIL_OBJ)
$(CC) -s -o pgpsendmail $(PGPSENDMAIL_OBJ) $(LDFLAGS)
@-./blindness_assist
- -./install pgpsendmail
PGPDAEMON_OBJ = pgpdaemon.o spawn.o strings.o memory.o misc.o
pgpdaemon: $(PGPDAEMON_OBJ)
$(CC) -s -o pgpdaemon $(PGPDAEMON_OBJ) $(LDFLAGS)
- -./install pgpdaemon
SENDPGPPASS_OBJ = sendpgppass.o conn_to_pgpd.o strings.o spawn.o \
--- 40,55 ----
pgpsendmail.o: pgpsendmail.c
$(CC) $(CFLAGS) $(SENDMAIL) -c pgpsendmail.c
+
pgpsendmail: $(PGPSENDMAIL_OBJ)
$(CC) -s -o pgpsendmail $(PGPSENDMAIL_OBJ) $(LDFLAGS)
@-./blindness_assist
PGPDAEMON_OBJ = pgpdaemon.o spawn.o strings.o memory.o misc.o
pgpdaemon: $(PGPDAEMON_OBJ)
$(CC) -s -o pgpdaemon $(PGPDAEMON_OBJ) $(LDFLAGS)
SENDPGPPASS_OBJ = sendpgppass.o conn_to_pgpd.o strings.o spawn.o \
***************
*** 57,72 ****
sendpgppass: $(SENDPGPPASS_OBJ)
$(CC) -s -o sendpgppass $(SENDPGPPASS_OBJ) $(LDFLAGS)
- -./install sendpgppass
PGPPIPE_OBJ = pgppipe.o conn_to_pgpd.o memory.o misc.o
pgppipe: $(PGPPIPE_OBJ)
$(CC) -s -o pgppipe $(PGPPIPE_OBJ) $(LDFLAGS)
- -./install pgppipe
clean:
rm -f *.BAK *.log *.sed .#* *~ *.bak */*.bak */tmp* .*defaults */*~
-chmod u+rw,go-w * 2> /dev/null
--- 57,80 ----
sendpgppass: $(SENDPGPPASS_OBJ)
$(CC) -s -o sendpgppass $(SENDPGPPASS_OBJ) $(LDFLAGS)
PGPPIPE_OBJ = pgppipe.o conn_to_pgpd.o memory.o misc.o
pgppipe: $(PGPPIPE_OBJ)
$(CC) -s -o pgppipe $(PGPPIPE_OBJ) $(LDFLAGS)
+ all_install:
+ /usr/bin/install $(COPY) -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) pgpsendmail $(PREFIX)/lib
+ /usr/bin/install -c -o $(BINOWN) -g $(BINGRP) -m 644 doc/pgpsendmail.8 $(PREFIX)/man/man8
+ /usr/bin/install $(COPY) -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) pgpdaemon $(PREFIX)/bin
+ /usr/bin/install -c -o $(BINOWN) -g $(BINGRP) -m 644 doc/pgpdaemon.8 $(PREFIX)/man/man8
+ /usr/bin/install $(COPY) -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) pgppipe $(PREFIX)/bin
+ /usr/bin/install -c -o $(BINOWN) -g $(BINGRP) -m 644 doc/pgppipe.1 $(PREFIX)/man/man1
+ /usr/bin/install $(COPY) -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) sendpgppass $(PREFIX)/bin
+ /usr/bin/install -c -o $(BINOWN) -g $(BINGRP) -m 644 doc/sendpgppass.1 $(PREFIX)/man/man1
+
clean:
rm -f *.BAK *.log *.sed .#* *~ *.bak */*.bak */tmp* .*defaults */*~
-chmod u+rw,go-w * 2> /dev/null
***************
*** 88,90 ****
--- 96,99 ----
memory.o: pgpsendmail.h karma.h
pgppipe.o: pgpsendmail.h karma.h version
misc.o: pgpsendmail.h karma.h
+ blindness_assist.o: pgpsendmail.h

View File

@ -0,0 +1,315 @@
*** conn_to_pgpd.c.orig Sat Dec 3 06:51:16 1994
--- conn_to_pgpd.c Sat Jan 21 03:12:05 1995
***************
*** 96,102 ****
--- 96,104 ----
char topipe_filename[STRING_LENGTH];
char frompipe_filename[STRING_LENGTH];
ERRNO_TYPE errno;
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
if (gethostname (hostname, STRING_LENGTH - 1) != 0)
{
*** keylist.c.orig Sat Oct 15 20:31:05 1994
--- keylist.c Sat Jan 21 03:12:05 1995
***************
*** 74,80 ****
--- 74,82 ----
char txt[STRING_LENGTH];
struct stat statbuf_list, statbuf_keyring;
ERRNO_TYPE errno;
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
static char *argv[] = {"pgp", "-kv", NULL};
(void) sprintf (listfile, "%s/.keylist", pgppath);
***************
*** 268,274 ****
--- 270,278 ----
FILE *in_fp;
char keyfile[STRING_LENGTH];
ERRNO_TYPE errno;
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
(void) sprintf (keyfile, "%s/mypubkey.asc", pgppath);
if ( ( in_fp = fopen (keyfile, "r") ) == NULL )
*** misc.c.orig Sat Dec 3 11:26:58 1994
--- misc.c Sat Jan 21 03:12:05 1995
***************
*** 64,70 ****
--- 64,72 ----
int count = -1;
char buffer[BUF_SIZE];
ERRNO_TYPE errno;
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
while ( ( len = read (in_fd, buffer, BUF_SIZE) ) > 0 )
{
***************
*** 195,201 ****
--- 197,205 ----
struct stat statbuf;
char buf[BUF_SIZE];
ERRNO_TYPE errno;
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
m_clear (buf, BUF_SIZE);
if ( ( fd = open (filename, O_RDWR, 0) ) < 0 )
*** options.c.orig Sat Oct 29 11:09:46 1994
--- options.c Sat Jan 21 03:12:05 1995
***************
*** 158,164 ****
--- 158,166 ----
char config_filename[STRING_LENGTH];
char txt[STRING_LENGTH];
ERRNO_TYPE errno;
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
(void) sprintf (config_filename, "%s/PGPsendmail.config", pgppath);
if ( ( fp = fopen (config_filename, "r") ) == NULL )
*** pgpdaemon.c.orig Wed Jan 4 08:15:01 1995
--- pgpdaemon.c Sat Jan 21 03:19:13 1995
***************
*** 156,162 ****
# if defined(sparc) || defined(linux)
# define MAIL_SPOOL_DIR "/var/spool/mail"
# else
! # if defined(__bsdi__) || ( defined(sparc) && defined(__sysvr4__) )
# define MAIL_SPOOL_DIR "/var/mail"
# else
# define MAIL_SPOOL_DIR "/usr/spool/mail"
--- 156,162 ----
# if defined(sparc) || defined(linux)
# define MAIL_SPOOL_DIR "/var/spool/mail"
# else
! # if defined(__bsdi__) || defined(__FreeBSD__) || ( defined(sparc) && defined(__sysvr4__) )
# define MAIL_SPOOL_DIR "/var/mail"
# else
# define MAIL_SPOOL_DIR "/usr/spool/mail"
***************
*** 268,274 ****
--- 268,276 ----
ERRNO_TYPE errno;
static char usage_string[] =
"Usage:\tpgpdaemon [-mailwait] [-detach] [-pgppath <path>]";
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
/* Read arguments */
for (count = 1; count < argc; ++count)
***************
*** 545,551 ****
--- 547,555 ----
extern char passphrase[STRING_LENGTH];
extern char *secring_buf;
ERRNO_TYPE errno;
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
/* Connect to output pipe */
for (count = 0; (count < 2) && (out_fd < 0); ++count)
***************
*** 782,788 ****
--- 786,794 ----
extern char my_userid[STRING_LENGTH];
extern char passphrase[STRING_LENGTH];
ERRNO_TYPE errno;
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
/* Setup arguments to PGP */
if (sign)
***************
*** 879,885 ****
--- 885,893 ----
char lock_name[STRING_LENGTH];
char mlk_name[STRING_LENGTH];
ERRNO_TYPE errno;
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
(void) strcpy (lock_name, filename);
(void) strcat (lock_name, ".lock");
***************
*** 956,962 ****
--- 964,972 ----
struct flock fl;
#endif
ERRNO_TYPE errno;
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
if (no_filelocking) return (TRUE);
#undef LOCKING_WORKS
***************
*** 1032,1038 ****
--- 1042,1050 ----
extern char outgoing_spool[STRING_LENGTH];
extern char passphrase[STRING_LENGTH];
ERRNO_TYPE errno;
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
if (stat (incoming_spool, &statbuf) != 0)
{
***************
*** 1436,1442 ****
--- 1448,1456 ----
extern char incoming_spool[STRING_LENGTH];
extern char outgoing_spool[STRING_LENGTH];
ERRNO_TYPE errno;
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
(void) sprintf (config_filename, "%s/PGPdaemon.config", pgppath);
if ( ( fp = fopen (config_filename, "r") ) == NULL )
***************
*** 1587,1593 ****
--- 1601,1609 ----
extern char *secring_buf;
extern char *pgppath;
ERRNO_TYPE errno;
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
(void) sprintf (filename, "%s/secring.pgp", pgppath);
if ( ( fd = open (filename, O_WRONLY | O_CREAT | O_EXCL,
*** pgppipe.c.orig Wed Dec 7 14:03:39 1994
--- pgppipe.c Sat Jan 21 03:12:06 1995
***************
*** 67,73 ****
--- 67,75 ----
char *pgp_start_line = "-----BEGIN PGP MESSAGE-----\n";
char *pgp_end_line = "-----END PGP MESSAGE-----\n";
ERRNO_TYPE errno;
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
if ( ( pgppath = getenv ("PGPPATH") ) == NULL )
{
*** pgpsendmail.c.orig Tue Jan 17 03:55:45 1995
--- pgpsendmail.c Sat Jan 21 03:12:06 1995
***************
*** 184,190 ****
--- 184,192 ----
extern char *username;
extern char **recipients;
ERRNO_TYPE errno;
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
if (argv[0] == NULL)
{
***************
*** 940,946 ****
--- 942,950 ----
char *argv[6];
extern char *username;
ERRNO_TYPE errno;
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
/* Make stdout go to stderr */
(void) fflush (stdout);
***************
*** 1250,1256 ****
--- 1254,1262 ----
extern char *buffer;
extern char *pgppath;
ERRNO_TYPE errno;
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
if (!sign)
{
*** pgpsendmail.h.orig Sat Dec 3 06:23:34 1994
--- pgpsendmail.h Sat Jan 21 03:12:06 1995
***************
*** 34,40 ****
--- 34,44 ----
#define LINE_LENGTH 1024
#define BUF_LEN 4096
#ifndef SENDMAIL
+ #ifdef __FreeBSD__
+ # define SENDMAIL "/usr/sbin/sendmail"
+ #else
# define SENDMAIL "/usr/lib/sendmail.real"
+ #endif
#endif
#define SECRING_SIZE_TYPE int
*** sendpgppass.c.orig Sat Dec 3 07:10:21 1994
--- sendpgppass.c Sat Jan 21 03:12:06 1995
***************
*** 118,124 ****
--- 118,126 ----
char txt[STRING_LENGTH];
char *pgp_argv[7];
ERRNO_TYPE errno;
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
if ( ( pgppath = getenv ("PGPPATH") ) == NULL )
{
***************
*** 323,329 ****
--- 325,333 ----
int count;
int fd;
ERRNO_TYPE errno;
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
static char buffer[STRING_LENGTH];
if ( ( fd = open (TTY, O_RDWR, 0) ) < 0 )
***************
*** 395,401 ****
--- 399,407 ----
char config_filename[STRING_LENGTH];
char txt[STRING_LENGTH];
ERRNO_TYPE errno;
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
(void) sprintf (config_filename, "%s/PGPdaemon.config", pgppath);
if ( ( fp = fopen (config_filename, "r") ) == NULL )
*** spawn.c.orig Sat Dec 3 09:02:30 1994
--- spawn.c Sat Jan 21 03:12:06 1995
***************
*** 79,85 ****
--- 79,87 ----
int child_pid;
int in_fds[2], out_fds[2], err_fds[2];
ERRNO_TYPE errno;
+ #ifndef __FreeBSD__
extern char *sys_errlist[];
+ #endif
if (*in_fd < 0)
{

View File

@ -0,0 +1 @@
PGP sign/encrypt/decrypt messages automatically.

View File

@ -0,0 +1,8 @@
PGPsendmail is a drop-in wrapper for the standard sendmail
programme which resides as /usr/lib/sendmail on most Unix systems.
It allows the automatic encryption of outgoing messages by using the
recipient's PGP public keys. It does *not* provide for automatic
decryption of incoming messages: such a feature would necessarily
involve compromising your passphrase.
However, it can provide for automatic signing of outgoing messages by
using PGPdaemon.

View File

@ -0,0 +1,8 @@
lib/pgpsendmail
bin/pgpdaemon
bin/pgppipe
bin/sendpgppass
man/man8/pgpsendmail.8.gz
man/man8/pgpdaemon.8.gz
man/man1/pgppipe.1.gz
man/man1/sendpgppass.1.gz

22
mail/pine/Makefile Normal file
View File

@ -0,0 +1,22 @@
# OpenBSD makefile for: pine
# http://www.washington.edu/pine/
# Version required: 3.96
# Date created: 10 Nov 1997
# Whom: ejovi
DISTNAME= pine3.96
PKGNAME= pine-3.96
CATEGORIES= mail news
MASTER_SITES= ftp://ftp.cac.washington.edu/pine/
MAINTAINER= ejovi@OpenBSD.ORG
MAN1= pine.1 pico.1 pilot.1
post-install:
install -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 \
${PREFIX}/share/doc/pine
cd ${WRKSRC} && \
${INSTALL_DATA} doc/tech-notes.txt ${PREFIX}/share/doc/pine
.include <bsd.port.mk>

15
mail/pine/files/Makefile Normal file
View File

@ -0,0 +1,15 @@
all:
./build bsf
install:
install -c -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} bin/libpico.so.1.3 ${PREFIX}/lib/libpico.so.1.3
/sbin/ldconfig -m ${PREFIX}/lib
install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} bin/pico ${PREFIX}/bin/pico
install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} bin/pilot ${PREFIX}/bin/pilot
install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} bin/pine ${PREFIX}/bin/pine
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ../../files/pgpencrypt ${PREFIX}/bin/pgpencrypt
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ../../files/pgpdecode ${PREFIX}/bin/pgpdecode
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ../../files/pgpsign ${PREFIX}/bin/pgpsign
install -c -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} ../../files/dot.pinerc.pgp.sample ${PREFIX}/etc/dot.pinerc.pgp.sample
install -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} doc/pico.1 ${PREFIX}/man/man1/pico.1
install -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} doc/pilot.1 ${PREFIX}/man/man1/pilot.1
install -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} doc/pine.1 ${PREFIX}/man/man1/pine.1

View File

@ -0,0 +1,16 @@
# List of features; see Pine's Setup/options menu for the current set.
# e.g. feature-list= select-without-confirm, signature-at-bottom
# Default condition for all of the features is no-.
feature-list=compose-send-offers-first-filter
# This variable takes a list of programs that message text is piped into
# after MIME decoding, prior to display.
display-filters="-----BEGIN PGP" /usr/local/bin/pgpdecode
# This defines a program that message text is piped into before MIME
# encoding, prior to sending
sending-filters=/usr/local/bin/pgpsign,
/usr/local/bin/pgpencrypt _RECIPIENTS_
# hook, to get rid of the sucking 'quoted printable' ;-))
# enable-8bit-esmtp-negotiation

Some files were not shown because too many files have changed in this diff Show More