Reviewed by:

Submitted by:	
Obtained from:
This commit is contained in:
Torsten Blum 1994-10-23 01:24:26 +00:00
parent 74fda86565
commit b9c2b2b4be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=267
13 changed files with 1522 additions and 0 deletions

28
mail/smail/Makefile Normal file
View File

@ -0,0 +1,28 @@
# New ports collection makefile for: smail
# Version required: 3.1.28
# Date created: 16 Oct 1994
# Whom: torstenb
#
# $Id:$
#
DISTNAME= smail-3.1.28
MASTER_SITES= ftp://ftp.uu.net/networking/mail/smail/
.if !exists(/usr/local/bin/bash)
DEPENDS= ${PORTSDIR}/shells/bash
.endif
MAKE_FLAGS= "SHELL=/usr/local/bin/bash"
EXTRACT_SUFX= .tar.Z
pre-install:
@mkdir -p ${PREFIX}/bin
@mkdir -p ${PREFIX}/lib/smail
@mkdir -p ${PREFIX}/man/man1
@mkdir -p ${PREFIX}/man/man5
@mkdir -p ${PREFIX}/man/man8
@cp ${WRKSRC}/samples/generic/config ${PREFIX}/lib/smail/config.sample
@cp ${WRKSRC}/samples/generic/directors ${PREFIX}/lib/smail/directorys.sample
@cp ${WRKSRC}/samples/generic/routers ${PREFIX}/lib/smail/routers.sample
@cp ${WRKSRC}/samples/generic/transports ${PREFIX}/lib/smail/transports.sample
.include <bsd.port.mk>

1227
mail/smail/files/EDITME Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,72 @@
# @(#)conf/os/bsd4.4 1.9 8/8/92 18:42:25
#
# bsd4.4 - define the characteristics of Berkeley UNIX Release 4.4
# OSNAMES - Names defining this operating system
OSNAMES=UNIX_BSD4_2:UNIX_BSD:UNIX:POSIX_OS
# LOCKING_PROTOCOL - macros for efficient file locking
LOCKING_PROTOCOL="\
#define lock_fd(fd) (flock((fd), LOCK_EX|LOCK_NB) < 0? FAIL: SUCCEED)
#define lock_fd_wait(fd) (flock((fd), LOCK_EX) < 0? FAIL: SUCCEED)
#define unlock_fd(fd) ((void) flock((fd), LOCK_UN))
#define unlock_fd_wait(fd) ((void) flock((fd), LOCK_UN))
#define lock_fd_rd_wait(fd) (flock((fd), LOCK_SH) < 0? FAIL: SUCCEED)
"
# MAILBOX_DIR - in which directory are user mailbox files
MAILBOX_DIR=/var/mail
# CONSOLE - name of the console device file
CONSOLE=/dev/console
# DECLARE_STRINGS - declare string routines, using macros as needed
#DECLARE_STRINGS="\
#include <strings.h>
#define memcpy(s1,s2,n) (bcopy((s2),(s1),(n)))
#define memcmp(s1,s2,n) (bcmp((s1),(s2),(n)))
#/* the following are defined in string.c */
##ifdef BSD>=199306
#extern char *strpbrk();
#extern int strspn();
##endif
#"
# SECURE_PATH - directories containing system-supplied user programs
SECURE_PATH=/sbin:/usr/sbin:/bin:/usr/bin
# OSLIBS - name any object libraries containing routines we will need
# OSLIBS=-ldbm
# DRIVER_CONFIGURATION - configuration file describing smail drivers
DRIVER_CONFIGURATION=bsd-network
# RANLIB - how do we organize an existing object archive library
RANLIB=ranlib
# CHOWN - command to use for accessing the chown program
CHOWN=/usr/sbin/chown
# COMPRESS, etc. - Select method of file compression (use compress)
COMPRESS=gzip
COMP_FLAG=-f
DOT_Z=.gz
UNCOMPRESS=gunzip
ZCAT=gzcat
# MISC_DEFINES - miscellaneous definitions
#
# 4.3BSD has utime(), but does not have a header file containing the
# utimbuf structure, so declare it ourselves.
# MISC_DEFINES=DECLARE_UTIMBUF
MISC_DEFINES=INET_NTOA_USE_STRUCT
# HAVE - what features should be used with this operating system
HAVE=BIND:BSD_NETWORKING:BSTRING:COMSAT:DUP2:FSYNC:FTRUNCATE:GETHOSTNAME
HAVE=$HAVE:GETOPT:HASH_BANG:HDB_UUCP:MKDIR:READDIR:RENAME:RLIMIT:SETEUID
HAVE=$HAVE:SETGROUPS:SYS5_STRLIB:SYSEXITS:UNAME:VFORK:VFPRINTF:MEMMOVE
#HAVE=RENAME:MKDIR:BSD_NETWORKING:SYSEXITS:BSTRING:GETHOSTNAME:GETOPT:VFPRINTF
#HAVE=$HAVE:HASH_BANG:DUP2:READDIR:SETGROUPS:FSYNC:FTRUNCATE:COMSAT:SYS5STRLIB
# UUCP_SYSTEM_FILE - path to UUCP file containing remote systems
UUCP_SYSTEM_FILE=/usr/lib/uucp/L.sys

1
mail/smail/pkg-comment Normal file
View File

@ -0,0 +1 @@
This is Smail 3.1.28, a program used for receiving and delivering mail.

6
mail/smail/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
This is Smail 3.1.28, a program used for receiving and delivering mail.
Its job is to take mail from sources on the local or
on remote hosts and deliver to the appropriate destinations.
This may be either on remote hosts or on the local machine.
It is not intended to be a user interface for reading and
submitting mail.

59
mail/smail/pkg-plist Normal file
View File

@ -0,0 +1,59 @@
@cwd /usr/local
bin/uuwho
bin/smail
lib/smail/config.sample
lib/smail/directorys.sample
lib/smail/routers.sample
lib/smail/transports.sample
lib/smail/util/mkpath.awk
lib/smail/util/getopt
lib/smail/util/pathalias
lib/smail/util/makedb
lib/smail/util/mkline
lib/smail/util/mksort
lib/smail/util/dcasehost
lib/smail/util/mkdbm
lib/smail/util/mkpath
lib/smail/util/pathmerge
lib/smail/util/checkerr
lib/smail/util/getmap
lib/smail/util/gleem
lib/smail/util/unsharmap
lib/smail/util/savelog
lib/smail/util/mkuuwho
lib/smail/util/mkhpath
lib/smail/util/mkaliases
lib/smail/util/mkuuwho.awk
lib/smail/COPYING
man/man1/pathto.1
man/man1/uuwho.1
man/man1/uupath.1
man/man5/smail.5
man/man8/pathalias.8
man/man8/mkdbm.8
man/man8/mkline.8
man/man8/mksort.8
man/man8/mkaliases.8
man/man8/smail.8
man/man8/mkpath.8
man/man8/pathmerge.8
man/man8/checkerr.8
man/man8/getmap.8
man/man8/mkhpath.8
man/man8/savelog.8
man/man8/mkuuwho.8
man/man8/mailq.8
man/man8/sendmail.8
man/man8/runq.8
man/man8/rmail.8
man/man8/rsmtp.8
man/man8/smtpd.8
bin/mailq
bin/mkaliases
bin/pathto
bin/uupath
bin/runq
bin/rsmtp
bin/smtpd
bin/rmail
lib/smail/util/newaliases

6
mail/smail/scripts/configure vendored Normal file
View File

@ -0,0 +1,6 @@
#!/bin/sh
#
# $Id:$
sed <${FILESDIR}/EDITME >${WRKSRC}/conf/EDITME s+!!PREFIX!!+$PREFIX+g
sed <${FILESDIR}/freebsd2.0 >${WRKSRC}/conf/os/freebsd2.0 s+!!PREFIX!!+$PREFIX+g

18
net/archie/Makefile Normal file
View File

@ -0,0 +1,18 @@
# New ports collection makefile for: archie
# Version required: 1.4.1
# Date created: 20 Oct 1994
# Whom: torstenb
#
# $Id:$
#
DISTNAME= c-archie-1.4.1-FIXED
MASTER_SITES= ftp://nic.sura.net/pub/archie/clients/
WRKSRC= ${WRKDIR}/archie-1.4.1-FIX
EXTRACT_SUFX= .tar.Z
pre-install:
mkdir -p ${PREFIX}/bin
mkdir -p ${PREFIX}/man/man1
.include <bsd.port.mk>

63
net/archie/files/patch-aa Normal file
View File

@ -0,0 +1,63 @@
*** Makefile.orig Fri Oct 21 00:25:31 1994
--- Makefile Fri Oct 21 00:26:55 1994
***************
*** 2,15 ****
# Makefile for the minimal build for an archie Prospero client.
#
# Your C compiler:
! #CC=cc
# For most systems, these OPTIONS will suffice. Exceptions:
#
# * If you're on a Stardent, add -43
# * If you're running EP/IX, you may need to add -systype bsd43
# but try it without it first.
! OPTIONS= -O -I. -I/usr/netinclude -I/usr/ucbinclude
# For this, DEFINES is usually ok as-is. Try it without any of these
# first; if some stuff fails or shows up undefined, then come back and
--- 2,15 ----
# Makefile for the minimal build for an archie Prospero client.
#
# Your C compiler:
! CC=cc
# For most systems, these OPTIONS will suffice. Exceptions:
#
# * If you're on a Stardent, add -43
# * If you're running EP/IX, you may need to add -systype bsd43
# but try it without it first.
! OPTIONS= -O -I.
# For this, DEFINES is usually ok as-is. Try it without any of these
# first; if some stuff fails or shows up undefined, then come back and
***************
*** 30,36 ****
# * if your system is lacking strspn(), add -DSTRSPN
# * if you're using the unbundled SparcCompiler on a
# Solaris 2 system, add -DSOLARIS2
! DEFINES= -DDEBUG
# The default Archie server; choose one of:
# archie.ans.net (USA [NY])
--- 30,36 ----
# * if your system is lacking strspn(), add -DSTRSPN
# * if you're using the unbundled SparcCompiler on a
# Solaris 2 system, add -DSOLARIS2
! DEFINES= -DDEBUG -DNOREGEX
# The default Archie server; choose one of:
# archie.ans.net (USA [NY])
***************
*** 84,89 ****
--- 84,93 ----
vlalloc.o vl_comp.o
all: archie
+
+ install:
+ install -c -s archie ${PREFIX}/bin/archie
+ install -c archie.man ${PREFIX}/man/man1/archie.1
archie: $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS)

35
net/archie/files/patch-ab Normal file
View File

@ -0,0 +1,35 @@
*** archie.h.orig Fri Oct 21 00:25:42 1994
--- archie.h Fri Oct 21 00:26:59 1994
***************
*** 8,15 ****
/* You can't touch this. */
#ifndef XARCHIE
! # define ARCHIES "archie.ans.net (USA [NY])","archie.rutgers.edu (USA [NJ])","archie.sura.net (USA [MD])","archie.unl.edu (USA [NE])","archie.mcgill.ca (Canada)","archie.funet.fi (Finland/Mainland Europe)","archie.au (Australia)","archie.doc.ic.ac.uk (Great Britain/Ireland)","archie.wide.ad.jp (Japan)","archie.ncu.edu.tw (Taiwan)"
! # define NARCHIES 10
#endif
/*
--- 8,29 ----
/* You can't touch this. */
#ifndef XARCHIE
! /* Dated: June 21st, 1994 */
! # define ARCHIES "archie.au (Australia)","archie.uni-linz.ac.at (Austria)", \
! "archie.univie.ac.at (Austria)","archie.cs.mcgill.ca (Canada)", \
! "archie.uqam.ca (Canada)","archie.funet.fi (Finland)", \
! "archie.univ-rennes1.fr (France","archie.th-darmstadt.de (Germany)", \
! "archie.ac.il (Israel)","archie.unipi.it (Italy)", \
! "archie.wide.ad.jp (Japan)","archie.hana.nm.kr (Korea)", \
! "archie.sogang.ac.kr (Korea)","archie.uninett.no (Norway)", \
! "archie.rediris.es (Spain)","archie.luth.se (Sweden)", \
! "archie.switch.ch (Switzerland)","archie.twnic.net (Taiwan)", \
! "archie.ncu.edu.tw (Taiwan)","archie.doc.ic.ac.uk (United Kingdom)", \
! "archie.hensa.ac.uk (United Kingdom)","archie.unl.edu (USA [NE])", \
! "archie.internic.net (USA [NJ])","archie.rutgers.edu (USA [NJ])", \
! "archie.ans.net (USA [NY])","archie.sura.net (USA [MD])"
! # define NARCHIES 26
!
#endif
/*

1
net/archie/pkg-comment Normal file
View File

@ -0,0 +1 @@
archie - prospero client for the archie service

3
net/archie/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
Archie - a system that will let you check a database containing
thousands of entries for the files that're available at FTP sites around
the world.

3
net/archie/pkg-plist Normal file
View File

@ -0,0 +1,3 @@
@cwd /usr/local
bin/archie
man/man1/archie.1