Upgrade to 3.2
This commit is contained in:
parent
caad325d7a
commit
7fbe161dab
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=4557
7 changed files with 134 additions and 1333 deletions
|
@ -1,33 +1,54 @@
|
|||
# New ports collection makefile for: smail
|
||||
# Version required: 3.1.29
|
||||
# Version required: 3.2
|
||||
# Date created: 16 Oct 1994
|
||||
# Whom: torstenb
|
||||
#
|
||||
# $Id: Makefile,v 1.12 1996/11/10 21:32:45 obrien Exp $
|
||||
# $Id: Makefile,v 1.13 1996/11/17 07:42:56 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= smail-3.1.29.1
|
||||
DISTNAME= smail-3.2
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ftp://ftp.uu.net/networking/mail/smail/
|
||||
|
||||
MAINTAINER= torstenb@FreeBSD.ORG
|
||||
|
||||
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
|
||||
#.if defined(USE_IDENT)
|
||||
#DEPENDS= ${PORTSDIR}/security/libident
|
||||
#.endif
|
||||
|
||||
INSTALL_TARGET= install installman
|
||||
|
||||
MAKE_FLAGS= "SHELL=${PREFIX}/bin/bash"
|
||||
MAN1= pathto.1 uuwho.1 uupath.1
|
||||
MAN5= smail.5
|
||||
MAN5= smailconf.5 smail.5 smaildrct.5 smailmeth.5 smailqual.5 \
|
||||
smailrtrs.5 smailrtry.5 smailtrns.5
|
||||
MAN8= pathalias.8 mkdbm.8 mkline.8 mksort.8 mkaliases.8 smail.8 \
|
||||
mkpath.8 pathmerge.8 checkerr.8 getmap.8 mkhpath.8 savelog.8 \
|
||||
mkuuwho.8 mailq.8 sendmail.8 runq.8 rmail.8 rsmtp.8 smtpd.8
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${PREFIX}/lib/smail
|
||||
|
||||
post-install:
|
||||
@${INSTALL_DATA} ${WRKSRC}/samples/generic/config ${PREFIX}/lib/smail/config.sample
|
||||
@${INSTALL_DATA} ${WRKSRC}/samples/generic/directors ${PREFIX}/lib/smail/directors.sample
|
||||
@${INSTALL_DATA} ${WRKSRC}/samples/generic/routers ${PREFIX}/lib/smail/routers.sample
|
||||
@${INSTALL_DATA} ${WRKSRC}/samples/generic/transports ${PREFIX}/lib/smail/transports.sample
|
||||
@echo "If you want to replace sendmail with links to smail, type"
|
||||
@echo "the following command as \"root\":"
|
||||
@echo ""
|
||||
@echo " make replace"
|
||||
|
||||
replace:
|
||||
@echo "===> Replacing sendmail"
|
||||
.if exists(/usr/sbin/sendmail)
|
||||
mv -f /usr/sbin/sendmail /usr/sbin/sendmail.BAK && chmod 0 \
|
||||
/usr/sbin/sendmail && cp -fp /usr/local/bin/smail \
|
||||
/usr/sbin/sendmail
|
||||
.endif
|
||||
.if exists(/usr/sbin/mailstats)
|
||||
chmod 0 /usr/sbin/mailstats
|
||||
.endif
|
||||
.if exists(/usr/bin/newaliases)
|
||||
mv -f /usr/bin/newaliases /usr/bin/newaliases.BAK && chmod 0 \
|
||||
/usr/bin/newaliases && cp -fp /usr/local/bin/newaliases \
|
||||
/usr/bin/newaliases
|
||||
.endif
|
||||
.if exists(/usr/bin/mailq)
|
||||
mv -f /usr/bin/mailq /usr/bin/mailq.BAK && chmod 0 \
|
||||
/usr/bin/mailq && cp -fp /usr/local/bin/mailq /usr/bin/mailq
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (smail-3.1.29.1.tar.gz) = bbacbe152a5c00b1ecd875ae028100cd
|
||||
MD5 (smail-3.2.tar.gz) = 33f4c182678241350269e6b3a171abbb
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,73 +1,68 @@
|
|||
# @(#)conf/os/bsd4.4 1.9 8/8/92 18:42:25
|
||||
#
|
||||
# bsd4.4 - define the characteristics of Berkeley UNIX Release 4.4
|
||||
# FreeBSD 2.x
|
||||
|
||||
. $ROOT/conf/os/bsd4.4-lite
|
||||
|
||||
# OSNAMES - Names defining this operating system
|
||||
OSNAMES=UNIX_BSD4_2:UNIX_BSD:UNIX:POSIX_OS
|
||||
OSNAMES="FREEBSD:$OSNAMES"
|
||||
|
||||
# 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=arpa-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
|
||||
# MAN1 - where smail user command man pages are to be installed
|
||||
# MAN5 - where smail file format man pages are to be installed
|
||||
# MAN8 - where smail administrator man pages should be installed
|
||||
# MAN1_EXT - file extension for user command man pages
|
||||
# MAN5_EXT - file extension for file format man pages
|
||||
# MAN8_EXT - file extension for adminstrator man pages
|
||||
#
|
||||
# 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
|
||||
#
|
||||
MAN1_EXT=1
|
||||
MAN1=!!PREFIX!!/man/man1
|
||||
MAN5_EXT=5
|
||||
MAN5=!!PREFIX!!/man/man5
|
||||
MAN8_EXT=8
|
||||
MAN8=!!PREFIX!!/man/man8
|
||||
|
||||
# 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
|
||||
# SMAIL_BIN_DIR - location for uupath, etc.
|
||||
SMAIL_BIN_DIR=!!PREFIX!!/bin
|
||||
|
||||
#HAVE=RENAME:MKDIR:BSD_NETWORKING:SYSEXITS:BSTRING:GETHOSTNAME:GETOPT:VFPRINTF
|
||||
#HAVE=$HAVE:HASH_BANG:DUP2:READDIR:SETGROUPS:FSYNC:FTRUNCATE:COMSAT:SYS5STRLIB
|
||||
# SMAIL_NAME - to replace sendmail completely
|
||||
SMAIL_NAME=!!PREFIX!!/sbin/sendmail
|
||||
|
||||
# UUCP_SYSTEM_FILE - path to UUCP file containing remote systems
|
||||
UUCP_SYSTEM_FILE=/usr/lib/uucp/L.sys
|
||||
# OTHER_SMAIL_NAMES - to replace sendmail completely
|
||||
OTHER_SMAIL_NAMES=!!PREFIX!!/bin/mailq:!!PREFIX!!/bin/rmail:!!PREFIX!!/bin/rsmtp
|
||||
|
||||
# NEWALIASES - to replace sendmail completely
|
||||
NEWALIASES=!!PREFIX!!/bin/newaliases
|
||||
|
||||
# LIB_DIR - config files
|
||||
LIB_DIR=!!PREFIX!!/etc/smail
|
||||
|
||||
# UTIL_BIN_DIR - programs
|
||||
UTIL_BIN_DIR=!!PREFIX!!/libexec/smail
|
||||
|
||||
# Enable rfc1413 (ident protocol) and ESMTP sending support (EHLO)
|
||||
HAVE=$HAVE:EHLO
|
||||
|
||||
# NOBODY - a user with few access capabilities
|
||||
NOBODY=nobody
|
||||
|
||||
# PATHS_FILE, PATHS_TYPE - location and type of the pathalias router database
|
||||
PATHS_FILE=paths
|
||||
PATHS_TYPE=dbm
|
||||
|
||||
# FORCE_PATHS_FILE, FORCE_PATHS_TYPE - location and type of the force_paths
|
||||
# router database
|
||||
FORCE_PATHS_FILE=forcepaths
|
||||
FORCE_PATHS_TYPE=lsearch
|
||||
|
||||
# FORCE_SMTP_FILE, FORCE_SMTP_TYPE - location and type of the force_smtp
|
||||
# router database
|
||||
FORCE_SMTP_FILE=forcesmtp
|
||||
FORCE_SMTP_TYPE=lsearch
|
||||
|
||||
# CPPFLAGS - interesting flags for the cpp, and cc commands
|
||||
CPPFLAGS="-I!!PREFIX!!/include"
|
||||
|
||||
# LDFLAGS - flags to pass to the loader
|
||||
LDFLAGS="-L!!PREFIX!!/lib"
|
||||
|
||||
# LIBS - libraries to include in binaries
|
||||
LIBS="-lident"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
This is Smail 3.1.29, a program used for receiving and delivering mail.
|
||||
This is Smail, 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.
|
||||
|
|
|
@ -7,38 +7,42 @@ bin/uupath
|
|||
bin/runq
|
||||
bin/rsmtp
|
||||
bin/smtpd
|
||||
bin/newaliases
|
||||
bin/rmail
|
||||
lib/smail/config.sample
|
||||
lib/smail/directors.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/newaliases
|
||||
lib/smail/util/mkuuwho.awk
|
||||
lib/smail/maps
|
||||
lib/smail/methods
|
||||
lib/smail/COPYING
|
||||
sbin/sendmail
|
||||
libexec/smail/mkpath.awk
|
||||
libexec/smail/getopt
|
||||
libexec/smail/pathalias
|
||||
libexec/smail/makedb
|
||||
libexec/smail/mkline
|
||||
libexec/smail/mksort
|
||||
libexec/smail/dcasehost
|
||||
libexec/smail/mkdbm
|
||||
libexec/smail/mkpath
|
||||
libexec/smail/pathmerge
|
||||
libexec/smail/checkerr
|
||||
libexec/smail/getmap
|
||||
libexec/smail/gleem
|
||||
libexec/smail/logsumm
|
||||
libexec/smail/unsharmap
|
||||
libexec/smail/savelog
|
||||
libexec/smail/mkuuwho
|
||||
libexec/smail/mkhpath
|
||||
libexec/smail/smailbug
|
||||
libexec/smail/mkaliases
|
||||
libexec/smail/mkuuwho.awk
|
||||
etc/smail/COPYING
|
||||
man/man1/pathto.1.gz
|
||||
man/man1/uuwho.1.gz
|
||||
man/man1/uupath.1.gz
|
||||
man/man5/smailconf.5.gz
|
||||
man/man5/smail.5.gz
|
||||
man/man5/smaildrct.5.gz
|
||||
man/man5/smailmeth.5.gz
|
||||
man/man5/smailqual.5.gz
|
||||
man/man5/smailrtrs.5.gz
|
||||
man/man5/smailrtry.5.gz
|
||||
man/man5/smailtrns.5.gz
|
||||
man/man8/pathalias.8.gz
|
||||
man/man8/mkdbm.8.gz
|
||||
man/man8/mkline.8.gz
|
||||
|
|
6
mail/smail/scripts/configure
vendored
6
mail/smail/scripts/configure
vendored
|
@ -1,6 +1,10 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $Id:$
|
||||
# $Id: configure,v 1.1.1.1 1994/10/23 01:22:35 torstenb Exp $
|
||||
|
||||
sed <${FILESDIR}/EDITME >${WRKSRC}/conf/EDITME s+!!PREFIX!!+$PREFIX+g
|
||||
sed <${FILESDIR}/freebsd2.0 >${WRKSRC}/conf/os/freebsd2.0 s+!!PREFIX!!+$PREFIX+g
|
||||
|
||||
if [ $USE_IDENT ]; then
|
||||
echo >>${WRKSRC}/conf/os/freebsd2.0 HAVE=\$HAVE:RFC1413
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue