summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjnemeth <jnemeth@pkgsrc.org>2009-09-07 14:31:08 +0000
committerjnemeth <jnemeth@pkgsrc.org>2009-09-07 14:31:08 +0000
commitc2bc543ba76c6cd62fb349152f84e7ba9805c176 (patch)
treefdb461e455c39957d9df2bc9cec03823eb6b53c6 /mail
parent86fed9fa65665586c1d3bedce77c06871fc2aeca (diff)
downloadpkgsrc-c2bc543ba76c6cd62fb349152f84e7ba9805c176.tar.gz
This is ancient, unmaintained (both upstream and in pkgsrc), doesn't build
on current NetBSD releases, and nobody said anything when I asked, so bye-bye.
Diffstat (limited to 'mail')
-rw-r--r--mail/sendmail813/DESCR8
-rw-r--r--mail/sendmail813/MESSAGE26
-rw-r--r--mail/sendmail813/Makefile103
-rw-r--r--mail/sendmail813/Makefile.common47
-rw-r--r--mail/sendmail813/PLIST221
-rw-r--r--mail/sendmail813/distinfo18
-rw-r--r--mail/sendmail813/files/mailer.conf10
-rwxr-xr-xmail/sendmail813/files/sendmail.sh58
-rw-r--r--mail/sendmail813/files/site.config.m425
-rw-r--r--mail/sendmail813/files/site.config.m4-db25
-rw-r--r--mail/sendmail813/files/site.config.m4-db45
-rw-r--r--mail/sendmail813/files/site.config.m4-ldap5
-rw-r--r--mail/sendmail813/files/site.config.m4-milter4
-rw-r--r--mail/sendmail813/files/site.config.m4-sasl25
-rw-r--r--mail/sendmail813/files/site.config.m4-starttls5
-rw-r--r--mail/sendmail813/files/site.config.m4-tcpwrappers5
-rw-r--r--mail/sendmail813/files/site.config.m4-v64
-rw-r--r--mail/sendmail813/files/site.config.m4-v6-not-solaris4
-rwxr-xr-xmail/sendmail813/files/smmsp.sh28
-rw-r--r--mail/sendmail813/options.mk52
-rw-r--r--mail/sendmail813/patches/patch-aa24
-rw-r--r--mail/sendmail813/patches/patch-ab12
-rw-r--r--mail/sendmail813/patches/patch-ac12
-rw-r--r--mail/sendmail813/patches/patch-ad12
-rw-r--r--mail/sendmail813/patches/patch-ae12
-rw-r--r--mail/sendmail813/patches/patch-af14
-rw-r--r--mail/sendmail813/patches/patch-ag16
-rw-r--r--mail/sendmail813/patches/patch-ah38
-rw-r--r--mail/sendmail813/patches/patch-ai53
-rw-r--r--mail/sendmail813/patches/patch-aj18
-rw-r--r--mail/sendmail813/patches/patch-ak23
-rw-r--r--mail/sendmail813/patches/patch-al12
-rw-r--r--mail/sendmail813/patches/patch-am12
33 files changed, 0 insertions, 896 deletions
diff --git a/mail/sendmail813/DESCR b/mail/sendmail813/DESCR
deleted file mode 100644
index 460d04ee70c..00000000000
--- a/mail/sendmail813/DESCR
+++ /dev/null
@@ -1,8 +0,0 @@
-Sendmail acts as a unified "post office" to which all mail can be
-submitted. Address interpretation is controlled by a production
-system, which can parse both domain-based addressing and old-style
-"ad hoc" addresses. The production system is powerful enough to
-rewrite addresses in the message header to conform to the standards
-of a number of common target networks, including old (NCP/RFC733)
-Arpanet, new (TCP/RFC822) Arpanet, UUCP, and Phonenet. Sendmail
-also implements an SMTP server, message queueing, and aliasing.
diff --git a/mail/sendmail813/MESSAGE b/mail/sendmail813/MESSAGE
deleted file mode 100644
index 9ed8402c8b3..00000000000
--- a/mail/sendmail813/MESSAGE
+++ /dev/null
@@ -1,26 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.2 2007/10/16 09:34:29 jnemeth Exp $
-
-To use "${PKGNAME}" as the system's mail transport agent you have
-to install "${PREFIX}/share/examples/sendmail/mailer.conf" as global
-mailwrapper configuration file. The command below will do that for you:
-
-ln -fs ${PREFIX}/share/examples/sendmail/mailer.conf /etc/mailer.conf
-
-You should also add a line to /etc/mtree/special.local so you won't
-get a complaint in the daily insecurity e-mail like this:
-
-./etc/mailer.conf type=link mode=0444
-
-If you are changing the database format used by sendmail you must run
-"newaliases" and "makemap" in order to re-create the databases.
-
-You may also need to install (and/or customize) the configuration files
-for Sendmail before it will be operational. "cd" to the directory
-
- ${PREFIX}/share/sendmail/cf
-
-and read the file README for instructions on creating and installing
-configuration files.
-
-===========================================================================
diff --git a/mail/sendmail813/Makefile b/mail/sendmail813/Makefile
deleted file mode 100644
index 3763fd55fc4..00000000000
--- a/mail/sendmail813/Makefile
+++ /dev/null
@@ -1,103 +0,0 @@
-# $NetBSD: Makefile,v 1.8 2008/05/25 21:42:21 joerg Exp $
-
-PKG_DESTDIR_SUPPORT= destdir
-
-.include "../../mail/sendmail813/Makefile.common"
-
-PKGNAME= sendmail-${DIST_VERS}
-PKGREVISION= 4
-COMMENT= The well known Mail Transport Agent
-
-USE_TOOLS+= pax
-
-CONFLICTS+= courier-mta-[0-9]* fastforward>=0.51nb2 postfix-[0-9]*
-
-MESSAGE_SRC= ${WRKDIR}/.MESSAGE_SRC
-PLIST_SRC= ${WRKDIR}/.PLIST_SRC
-
-SMRSH_CMDDIR?= ${PREFIX}/libexec/sm.bin
-PLIST_SUBST+= SMRSH_CMDDIR=${SMRSH_CMDDIR:Q}
-RCD_SCRIPTS= sendmail smmsp
-
-# Not OWN_DIRS, so that the admin doesn't get a suggestion to delete the
-# queue dirs if they are nonempty at deinstall (probably undesirable).
-#
-MAKE_DIRS_PERMS+= /var/spool/clientmqueue smmsp smmsp 0770
-MAKE_DIRS_PERMS+= /var/spool/mqueue ${ROOT_USER} ${ROOT_GROUP} 0700
-
-PKG_GROUPS= smmsp
-PKG_USERS= smmsp:smmsp
-PKG_GECOS.smmsp= Sendmail Message Submission Program
-
-SUBST_CLASSES+= paths
-SUBST_STAGE.paths= pre-configure
-SUBST_FILES.paths= ../mailer.conf include/sm/conf.h smrsh/smrsh.8 cf/cf/Makefile
-SUBST_SED.paths+= -e "s|@@BINGRP@@|${BINGRP}|g"
-SUBST_SED.paths+= -e "s|@@BINOWN@@|${BINOWN}|g"
-SUBST_SED.paths+= -e "s|@@INSTALL@@|${INSTALL}|g"
-SUBST_SED.paths+= -e "s|@@PREFIX@@|${PREFIX}|g"
-SUBST_SED.paths+= -e "s|@@SMRSH_CMDDIR@@|${SMRSH_CMDDIR}|g"
-SUBST_MESSAGE.paths= Fixing paths.
-
-REPLACE_PERL= contrib/socketmapClient.pl contrib/socketmapServer.pl
-
-INSTALLATION_DIRS= bin lib sbin
-INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 ${PKGMANDIR}/man8
-INSTALLATION_DIRS+= ${PREFIX}/libexec/sendmail ${SMRSH_CMDDIR}
-INSTALLATION_DIRS+= ${PREFIX}/share/examples/sendmail
-INSTALLATION_DIRS+= ${PREFIX}/share/sendmail ${PREFIX}/share/doc/sendmail
-
-post-patch: make-sendmail-siteconfig
-.if !empty(PKG_OPTIONS:Mtcpwrappers)
- cat ${FILESDIR}/site.config.m4-tcpwrappers >>${SITECONFIG}
-.endif
-.if !empty(PKG_OPTIONS:Mldap)
- cat ${FILESDIR}/site.config.m4-ldap >>${SITECONFIG}
-.endif
-.if !empty(PKG_OPTIONS:Mdb2)
- cat ${FILESDIR}/site.config.m4-db2 >>${SITECONFIG}
-.endif
-.if !empty(PKG_OPTIONS:Mdb4)
- cat ${FILESDIR}/site.config.m4-db4 >>${SITECONFIG}
-.endif
-.if !empty(PKG_OPTIONS:Mtls)
- cat ${FILESDIR}/site.config.m4-starttls >>${SITECONFIG}
-.endif
-.if !empty(PKG_OPTIONS:Msasl)
- cat ${FILESDIR}/site.config.m4-sasl2 >>${SITECONFIG}
-.endif
-
-post-extract:
- cp ${FILESDIR}/mailer.conf ${WRKDIR}/mailer.conf
-
-do-build:
- cd ${WRKSRC} && env ${MAKE_ENV} ./Build
-
-post-build:
- cp ${PKGDIR}/MESSAGE ${MESSAGE_SRC}
- cp ${PKGDIR}/PLIST ${WRKDIR}/.PLIST_SRC
-
-post-install:
- ${INSTALL_DATA} ${WRKDIR}/mailer.conf \
- ${DESTDIR:Q}${PREFIX}/share/examples/sendmail/
- cd ${WRKSRC}/cf && pax -rw -pp -pm -s',^.*\.orig$$,,' . ${DESTDIR:Q}${PREFIX}/share/sendmail
- chown -R ${BINOWN}:${BINGRP} ${DESTDIR:Q}${PREFIX}/share/sendmail
-
- ${INSTALL_DATA} ${WRKSRC}/obj.`${UNAME} -srm | tr \ . | tr \/ - | sed s/sun4./sun4/`/libsm/libsm.a \
- ${DESTDIR:Q}${PREFIX}/lib
-
- ${INSTALL_DATA} \
- ${WRKSRC}/obj.`${UNAME} -srm | tr \ . | tr \/ - | sed s/sun4./sun4/`/libsmutil/libsmutil.a \
- ${DESTDIR:Q}${PREFIX}/lib
- ${INSTALL_SCRIPT} ${WRKSRC}/contrib/socketmap*.pl \
- ${DESTDIR:Q}${PREFIX}/share/examples/sendmail/
- ${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES ${DESTDIR:Q}${PREFIX}/share/doc/sendmail
- ${INSTALL_DATA} ${WRKSRC}/cf/README ${DESTDIR:Q}${PREFIX}/share/doc/sendmail
- ${INSTALL_DATA} ${WRKSRC}/sendmail/SECURITY ${DESTDIR:Q}${PREFIX}/share/doc/sendmail
- ${INSTALL_DATA} ${WRKSRC}/doc/op/op.me ${DESTDIR:Q}${PREFIX}/share/doc/sendmail
- ${INSTALL_DATA} ${WRKSRC}/doc/op/op.ps ${DESTDIR:Q}${PREFIX}/share/doc/sendmail
-
-.include "../../mk/bsd.pkg.mk"
-
-# has to be below include for bsd.pkg.mk, else substition fails
-OBJDIR!= ${ECHO} obj.`${UNAME} -srm | tr \ . | tr \/ -`
diff --git a/mail/sendmail813/Makefile.common b/mail/sendmail813/Makefile.common
deleted file mode 100644
index 9899851dc18..00000000000
--- a/mail/sendmail813/Makefile.common
+++ /dev/null
@@ -1,47 +0,0 @@
-# $NetBSD: Makefile.common,v 1.4 2009/08/15 23:46:59 zafer Exp $
-#
-#
-
-DISTNAME= sendmail.${DIST_VERS}
-CATEGORIES= mail
-MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \
- ftp://ftp.sendmail.org/pub/sendmail/past-releases/ \
- ftp://ftp.fu-berlin.de/pub/unix/mail/sendmail/
-
-MAINTAINER= jnemeth@NetBSD.org
-HOMEPAGE= http://www.sendmail.org/
-LICENSE= sendmail-license
-
-DISTINFO_FILE?= ${.CURDIR}/../../mail/sendmail813/distinfo
-FILESDIR?= ${.CURDIR}/../../mail/sendmail813/files
-PATCHDIR?= ${.CURDIR}/../../mail/sendmail813/patches
-
-DIST_VERS= 8.13.8
-
-MAKE_ENV+= BSD_BINOWN=${BINOWN:Q} BSD_BINGRP=${BINGRP:Q} \
- BSD_MANOWN=${MANOWN:Q} BSD_MANGRP=${MANGRP:Q} \
- BUILDLINK_DIR=${BUILDLINK_DIR:Q} \
- SMRSH_CMDDIR=${SMRSH_CMDDIR:Q}
-SITECONFIG= ${WRKSRC}/devtools/Site/site.config.m4
-
-BUILD_DEFS+= SMRSH_CMDDIR
-
-WRKSRC= ${WRKDIR}/sendmail-${DIST_VERS}
-USE_TOOLS+= gm4
-MAKE_ENV+= M4=${TOOLS_M4:Q}
-
-.include "../../mk/bsd.prefs.mk"
-.include "options.mk"
-
-.PHONY: make-sendmail-siteconfig
-make-sendmail-siteconfig:
- ${CP} ${FILESDIR}/site.config.m4 ${SITECONFIG}
- ${CHMOD} +w ${SITECONFIG}
-
-.if !empty(PKG_OPTIONS:Minet6)
- ${CAT} ${FILESDIR}/site.config.m4-v6 >>${SITECONFIG}
-. if ${OPSYS} != "SunOS" && ${OPSYS} != "BSDOS" && ${OPSYS} != "DragonFly"
- ${CAT} ${FILESDIR}/site.config.m4-v6-not-solaris >>${SITECONFIG}
-. endif
-.endif
- ${CAT} ${FILESDIR}/site.config.m4-milter >>${SITECONFIG}
diff --git a/mail/sendmail813/PLIST b/mail/sendmail813/PLIST
deleted file mode 100644
index 8e6008ef7a0..00000000000
--- a/mail/sendmail813/PLIST
+++ /dev/null
@@ -1,221 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2009/06/14 20:45:12 joerg Exp $
-bin/hoststat
-bin/mailq
-bin/newaliases
-bin/purgestat
-bin/vacation
-lib/libsm.a
-lib/libsmutil.a
-libexec/sendmail/sendmail
-libexec/sendmail/smrsh
-man/man1/mailq.1
-man/man1/newaliases.1
-man/man1/vacation.1
-man/man5/aliases.5
-man/man8/editmap.8
-man/man8/mailstats.8
-man/man8/makemap.8
-man/man8/praliases.8
-man/man8/sendmail.8
-man/man8/smrsh.8
-sbin/editmap
-sbin/mailstats
-sbin/makemap
-sbin/praliases
-share/doc/sendmail/README
-share/doc/sendmail/RELEASE_NOTES
-share/doc/sendmail/SECURITY
-share/doc/sendmail/op.me
-share/doc/sendmail/op.ps
-share/examples/rc.d/sendmail
-share/examples/rc.d/smmsp
-share/examples/sendmail/mailer.conf
-share/examples/sendmail/socketmapClient.pl
-share/examples/sendmail/socketmapServer.pl
-share/misc/helpfile
-share/sendmail/README
-share/sendmail/cf/Build
-share/sendmail/cf/Makefile
-share/sendmail/cf/README
-share/sendmail/cf/chez.cs.mc
-share/sendmail/cf/clientproto.mc
-share/sendmail/cf/cs-hpux10.mc
-share/sendmail/cf/cs-hpux9.mc
-share/sendmail/cf/cs-osf1.mc
-share/sendmail/cf/cs-solaris2.mc
-share/sendmail/cf/cs-sunos4.1.mc
-share/sendmail/cf/cs-ultrix4.mc
-share/sendmail/cf/cyrusproto.mc
-share/sendmail/cf/generic-bsd4.4.cf
-share/sendmail/cf/generic-bsd4.4.mc
-share/sendmail/cf/generic-hpux10.cf
-share/sendmail/cf/generic-hpux10.mc
-share/sendmail/cf/generic-hpux9.cf
-share/sendmail/cf/generic-hpux9.mc
-share/sendmail/cf/generic-linux.cf
-share/sendmail/cf/generic-linux.mc
-share/sendmail/cf/generic-mpeix.cf
-share/sendmail/cf/generic-mpeix.mc
-share/sendmail/cf/generic-nextstep3.3.cf
-share/sendmail/cf/generic-nextstep3.3.mc
-share/sendmail/cf/generic-osf1.cf
-share/sendmail/cf/generic-osf1.mc
-share/sendmail/cf/generic-solaris.cf
-share/sendmail/cf/generic-solaris.mc
-share/sendmail/cf/generic-sunos4.1.cf
-share/sendmail/cf/generic-sunos4.1.mc
-share/sendmail/cf/generic-ultrix4.cf
-share/sendmail/cf/generic-ultrix4.mc
-share/sendmail/cf/huginn.cs.mc
-share/sendmail/cf/knecht.mc
-share/sendmail/cf/mail.cs.mc
-share/sendmail/cf/mail.eecs.mc
-share/sendmail/cf/mailspool.cs.mc
-share/sendmail/cf/python.cs.mc
-share/sendmail/cf/s2k-osf1.mc
-share/sendmail/cf/s2k-ultrix4.mc
-share/sendmail/cf/submit.cf
-share/sendmail/cf/submit.mc
-share/sendmail/cf/tcpproto.mc
-share/sendmail/cf/ucbarpa.mc
-share/sendmail/cf/ucbvax.mc
-share/sendmail/cf/uucpproto.mc
-share/sendmail/cf/vangogh.cs.mc
-share/sendmail/domain/Berkeley.EDU.m4
-share/sendmail/domain/CS.Berkeley.EDU.m4
-share/sendmail/domain/EECS.Berkeley.EDU.m4
-share/sendmail/domain/S2K.Berkeley.EDU.m4
-share/sendmail/domain/berkeley-only.m4
-share/sendmail/domain/generic.m4
-share/sendmail/feature/accept_unqualified_senders.m4
-share/sendmail/feature/accept_unresolvable_domains.m4
-share/sendmail/feature/access_db.m4
-share/sendmail/feature/allmasquerade.m4
-share/sendmail/feature/always_add_domain.m4
-share/sendmail/feature/authinfo.m4
-share/sendmail/feature/bestmx_is_local.m4
-share/sendmail/feature/bitdomain.m4
-share/sendmail/feature/blacklist_recipients.m4
-share/sendmail/feature/compat_check.m4
-share/sendmail/feature/conncontrol.m4
-share/sendmail/feature/delay_checks.m4
-share/sendmail/feature/dnsbl.m4
-share/sendmail/feature/domaintable.m4
-share/sendmail/feature/enhdnsbl.m4
-share/sendmail/feature/generics_entire_domain.m4
-share/sendmail/feature/genericstable.m4
-share/sendmail/feature/greet_pause.m4
-share/sendmail/feature/ldap_routing.m4
-share/sendmail/feature/limited_masquerade.m4
-share/sendmail/feature/local_lmtp.m4
-share/sendmail/feature/local_no_masquerade.m4
-share/sendmail/feature/local_procmail.m4
-share/sendmail/feature/lookupdotdomain.m4
-share/sendmail/feature/loose_relay_check.m4
-share/sendmail/feature/mailertable.m4
-share/sendmail/feature/masquerade_entire_domain.m4
-share/sendmail/feature/masquerade_envelope.m4
-share/sendmail/feature/msp.m4
-share/sendmail/feature/mtamark.m4
-share/sendmail/feature/no_default_msa.m4
-share/sendmail/feature/nocanonify.m4
-share/sendmail/feature/notsticky.m4
-share/sendmail/feature/nouucp.m4
-share/sendmail/feature/nullclient.m4
-share/sendmail/feature/preserve_local_plus_detail.m4
-share/sendmail/feature/preserve_luser_host.m4
-share/sendmail/feature/promiscuous_relay.m4
-share/sendmail/feature/queuegroup.m4
-share/sendmail/feature/ratecontrol.m4
-share/sendmail/feature/redirect.m4
-share/sendmail/feature/relay_based_on_MX.m4
-share/sendmail/feature/relay_entire_domain.m4
-share/sendmail/feature/relay_hosts_only.m4
-share/sendmail/feature/relay_local_from.m4
-share/sendmail/feature/relay_mail_from.m4
-share/sendmail/feature/smrsh.m4
-share/sendmail/feature/stickyhost.m4
-share/sendmail/feature/use_client_ptr.m4
-share/sendmail/feature/use_ct_file.m4
-share/sendmail/feature/use_cw_file.m4
-share/sendmail/feature/uucpdomain.m4
-share/sendmail/feature/virtuser_entire_domain.m4
-share/sendmail/feature/virtusertable.m4
-share/sendmail/hack/cssubdomain.m4
-share/sendmail/m4/cf.m4
-share/sendmail/m4/cfhead.m4
-share/sendmail/m4/proto.m4
-share/sendmail/m4/version.m4
-share/sendmail/mailer/cyrus.m4
-share/sendmail/mailer/cyrusv2.m4
-share/sendmail/mailer/fax.m4
-share/sendmail/mailer/local.m4
-share/sendmail/mailer/mail11.m4
-share/sendmail/mailer/phquery.m4
-share/sendmail/mailer/pop.m4
-share/sendmail/mailer/procmail.m4
-share/sendmail/mailer/qpage.m4
-share/sendmail/mailer/smtp.m4
-share/sendmail/mailer/usenet.m4
-share/sendmail/mailer/uucp.m4
-share/sendmail/ostype/a-ux.m4
-share/sendmail/ostype/aix3.m4
-share/sendmail/ostype/aix4.m4
-share/sendmail/ostype/aix5.m4
-share/sendmail/ostype/altos.m4
-share/sendmail/ostype/amdahl-uts.m4
-share/sendmail/ostype/bsd4.3.m4
-share/sendmail/ostype/bsd4.4.m4
-share/sendmail/ostype/bsdi.m4
-share/sendmail/ostype/bsdi1.0.m4
-share/sendmail/ostype/bsdi2.0.m4
-share/sendmail/ostype/darwin.m4
-share/sendmail/ostype/dgux.m4
-share/sendmail/ostype/domainos.m4
-share/sendmail/ostype/dragonfly.m4
-share/sendmail/ostype/dynix3.2.m4
-share/sendmail/ostype/freebsd4.m4
-share/sendmail/ostype/freebsd5.m4
-share/sendmail/ostype/freebsd6.m4
-share/sendmail/ostype/gnu.m4
-share/sendmail/ostype/hpux10.m4
-share/sendmail/ostype/hpux11.m4
-share/sendmail/ostype/hpux9.m4
-share/sendmail/ostype/irix4.m4
-share/sendmail/ostype/irix5.m4
-share/sendmail/ostype/irix6.m4
-share/sendmail/ostype/isc4.1.m4
-share/sendmail/ostype/linux.m4
-share/sendmail/ostype/maxion.m4
-share/sendmail/ostype/mklinux.m4
-share/sendmail/ostype/mpeix.m4
-share/sendmail/ostype/nextstep.m4
-share/sendmail/ostype/openbsd.m4
-share/sendmail/ostype/osf1.m4
-share/sendmail/ostype/powerux.m4
-share/sendmail/ostype/ptx2.m4
-share/sendmail/ostype/qnx.m4
-share/sendmail/ostype/riscos4.5.m4
-share/sendmail/ostype/sco-uw-2.1.m4
-share/sendmail/ostype/sco3.2.m4
-share/sendmail/ostype/sinix.m4
-share/sendmail/ostype/solaris2.m4
-share/sendmail/ostype/solaris2.ml.m4
-share/sendmail/ostype/solaris2.pre5.m4
-share/sendmail/ostype/solaris8.m4
-share/sendmail/ostype/sunos3.5.m4
-share/sendmail/ostype/sunos4.1.m4
-share/sendmail/ostype/svr4.m4
-share/sendmail/ostype/ultrix4.m4
-share/sendmail/ostype/unicos.m4
-share/sendmail/ostype/unicosmk.m4
-share/sendmail/ostype/unicosmp.m4
-share/sendmail/ostype/unixware7.m4
-share/sendmail/ostype/unknown.m4
-share/sendmail/ostype/uxpds.m4
-share/sendmail/sendmail.schema
-share/sendmail/sh/makeinfo.sh
-share/sendmail/siteconfig/uucp.cogsci.m4
-share/sendmail/siteconfig/uucp.old.arpa.m4
-share/sendmail/siteconfig/uucp.ucbarpa.m4
-share/sendmail/siteconfig/uucp.ucbvax.m4
diff --git a/mail/sendmail813/distinfo b/mail/sendmail813/distinfo
deleted file mode 100644
index c48b9d6b796..00000000000
--- a/mail/sendmail813/distinfo
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
-SHA1 (sendmail.8.13.8.tar.gz) = 8e97c10f52efe5204c08f6cb3f90c08e077ac505
-RMD160 (sendmail.8.13.8.tar.gz) = a5d333b073d681f056421e836df4067f331a8ac8
-Size (sendmail.8.13.8.tar.gz) = 2010975 bytes
-SHA1 (patch-aa) = b7ceece7760e3d637016da039f8429c1fb89f2cf
-SHA1 (patch-ab) = a2abf6e78772e257e2a1973e7730159ff24a91aa
-SHA1 (patch-ac) = 96c19300b4188dbcbd202768eea912f675dadc27
-SHA1 (patch-ad) = 7232cc7ceb46a2dbf631d61185e4c6ca4af18a13
-SHA1 (patch-ae) = ae06caa125fe4d4fc85123dc0a5d0016cd099ebd
-SHA1 (patch-af) = d26481845328adad6d46fdf797785ec2ad003e28
-SHA1 (patch-ag) = 672c3e8a0c897f2c721d45393d85d4ea819d55a6
-SHA1 (patch-ah) = e6be09008b9230ffdd1560aaacbdbb2ee4fb8028
-SHA1 (patch-ai) = 8ade5888074ad9a328f87d66836c04eacf7785d5
-SHA1 (patch-aj) = e65e6fe44380de2f9c397c1a97677eb4ad285433
-SHA1 (patch-ak) = 43b26ff1c78d4360909455124a382f65394377b3
-SHA1 (patch-al) = f5d8cef8c4abba5d5ae813b754c16037190a7ef1
-SHA1 (patch-am) = d84eedbff0f037c1db341255dc9e1877866f12c7
diff --git a/mail/sendmail813/files/mailer.conf b/mail/sendmail813/files/mailer.conf
deleted file mode 100644
index 8a3ab79c2bb..00000000000
--- a/mail/sendmail813/files/mailer.conf
+++ /dev/null
@@ -1,10 +0,0 @@
-# $NetBSD: mailer.conf,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-#
-# Execute the "real" sendmail program, named @@PREFIX@@/libexec/sendmail/sendmail
-#
-sendmail @@PREFIX@@/libexec/sendmail/sendmail
-send-mail @@PREFIX@@/libexec/sendmail/sendmail
-mailq @@PREFIX@@/libexec/sendmail/sendmail
-newaliases @@PREFIX@@/libexec/sendmail/sendmail
-hoststat @@PREFIX@@/libexec/sendmail/sendmail
-purgestat @@PREFIX@@/libexec/sendmail/sendmail
diff --git a/mail/sendmail813/files/sendmail.sh b/mail/sendmail813/files/sendmail.sh
deleted file mode 100755
index 3ec66d6418f..00000000000
--- a/mail/sendmail813/files/sendmail.sh
+++ /dev/null
@@ -1,58 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD: sendmail.sh,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-#
-
-# PROVIDE: mail
-# REQUIRE: LOGIN
-# we make mail start late, so that things like .forward's are not
-# processed until the system is fully operational
-
-
-. /etc/rc.subr
-
-name="sendmail"
-rcvar=$name
-command="/usr/sbin/${name}"
-pidfile="@VARBASE@/run/${name}.pid"
-required_files="/etc/mail/sendmail.cf"
-start_precmd="sendmail_precmd"
-makemap="@PREFIX@/sbin/makemap"
-newaliases="@PREFIX@/bin/newaliases"
-smbin="@PREFIX@/libexec/sendmail/sendmail"
-check_files="aliases access genericstable virtusertable domaintable mailertable"
-sendmail_flags="-Lsm-mta -bd -q30m"
-
-sendmail_precmd()
-{
- # check modifications on /etc/mail/ databases
- for f in ${check_files}; do
- if [ -r "/etc/mail/$f.db" ] && [ -r "/etc/mail/$f" ]; then
- if [ ! "/etc/mail/$f" -ot "/etc/mail/$f.db" ]; then
- echo \
- "${name}: /etc/mail/$f newer than /etc/mail/$f.db, regenerating"
- if [ "x$f" = "xaliases" ]; then
- ${newaliases}
- else
- ${makemap} hash \
- /etc/mail/$f < /etc/mail/$f
- fi
- fi
- fi
- done
-
- # check existence on /etc/mail/ databases
- for f in ${check_files}; do
- if [ ! -r "/etc/mail/$f.db" ] && [ -r "/etc/mail/$f" ]; then
- echo "${name}: /etc/mail/$f.db not present, generating"
- if [ "x$f" = "xaliases" ]; then
- ${newaliases}
- else
- ${makemap} hash /etc/mail/$f < /etc/mail/$f
- fi
- fi
- done
-}
-
-load_rc_config $name
-run_rc_command "$1"
diff --git a/mail/sendmail813/files/site.config.m4 b/mail/sendmail813/files/site.config.m4
deleted file mode 100644
index 233e32772cf..00000000000
--- a/mail/sendmail813/files/site.config.m4
+++ /dev/null
@@ -1,25 +0,0 @@
-# $NetBSD: site.config.m4,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
-# pathnames specific to pkgsrc
-#
-define(`confEBINDIR', `${PREFIX}/libexec/sendmail')
-define(`confMBINDIR', `${PREFIX}/libexec/sendmail')
-define(`confSBINDIR', `${PREFIX}/sbin')
-define(`confUBINDIR', `${PREFIX}/bin')
-define(`confHFDIR', `${PREFIX}/share/misc')
-define(`confINSTALL_RAWMAN', 'yes')
-define(`confDONT_INSTALL_CATMAN', 'yes')
-define(`confMANROOT', `${PREFIX}/${PKGMANDIR}/man')
-define(`confMANROOTMAN', `${PREFIX}/${PKGMANDIR}/man')
-define(`confMAN1EXT', `1')
-define(`confMAN3EXT', `3')
-define(`confMAN4EXT', `4')
-define(`confMAN5EXT', `5')
-define(`confMAN8EXT', `8')
-APPENDDEF(`confENVDEF', `-I${PREFIX}/include -DSMRSH_CMDDIR=\"${SMRSH_CMDDIR}\"')
-APPENDDEF(`confLIBS', `-L${PREFIX}/lib')
-APPENDDEF(`confMAPDEF', `-DSOCKETMAP')
-
-# the following are handled by pkgsrc
-define(`confINST_DEP',`')
-define(`confNO_STATISTICS_INSTALL')
diff --git a/mail/sendmail813/files/site.config.m4-db2 b/mail/sendmail813/files/site.config.m4-db2
deleted file mode 100644
index 86ac7dac762..00000000000
--- a/mail/sendmail813/files/site.config.m4-db2
+++ /dev/null
@@ -1,5 +0,0 @@
-# $NetBSD: site.config.m4-db2,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
-# enable db2
-APPENDDEF(`confENVDEF', `-DNEWDB -I${BUILDLINK_DIR}/include/db2')
-APPENDDEF(`confLIBS', `-ldb2')
diff --git a/mail/sendmail813/files/site.config.m4-db4 b/mail/sendmail813/files/site.config.m4-db4
deleted file mode 100644
index 8ca1022c790..00000000000
--- a/mail/sendmail813/files/site.config.m4-db4
+++ /dev/null
@@ -1,5 +0,0 @@
-# $NetBSD: site.config.m4-db4,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
-# enable db4
-APPENDDEF(`confENVDEF', `-DNEWDB -I${BUILDLINK_DIR}/include/db4')
-APPENDDEF(`confLIBS', `-ldb4')
diff --git a/mail/sendmail813/files/site.config.m4-ldap b/mail/sendmail813/files/site.config.m4-ldap
deleted file mode 100644
index 2f3b5d0baa2..00000000000
--- a/mail/sendmail813/files/site.config.m4-ldap
+++ /dev/null
@@ -1,5 +0,0 @@
-# $NetBSD: site.config.m4-ldap,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
-# enable ldap
-APPENDDEF(`confMAPDEF', `-DLDAPMAP')
-APPENDDEF(`confLIBS', `-lldap -llber')
diff --git a/mail/sendmail813/files/site.config.m4-milter b/mail/sendmail813/files/site.config.m4-milter
deleted file mode 100644
index 1c1bbd6ca56..00000000000
--- a/mail/sendmail813/files/site.config.m4-milter
+++ /dev/null
@@ -1,4 +0,0 @@
-# $NetBSD: site.config.m4-milter,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
-# enable milter
-APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
diff --git a/mail/sendmail813/files/site.config.m4-sasl2 b/mail/sendmail813/files/site.config.m4-sasl2
deleted file mode 100644
index 998531babe7..00000000000
--- a/mail/sendmail813/files/site.config.m4-sasl2
+++ /dev/null
@@ -1,5 +0,0 @@
-# $NetBSD: site.config.m4-sasl2,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
-# enable SASL 2
-APPENDDEF(`confENVDEF', `-DSASL=2')
-APPENDDEF(`conf_sendmail_LIBS', `-lsasl2')
diff --git a/mail/sendmail813/files/site.config.m4-starttls b/mail/sendmail813/files/site.config.m4-starttls
deleted file mode 100644
index 4b97784faa4..00000000000
--- a/mail/sendmail813/files/site.config.m4-starttls
+++ /dev/null
@@ -1,5 +0,0 @@
-# $NetBSD: site.config.m4-starttls,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
-# enable STARTTLS
-APPENDDEF(`conf_sendmail_ENVDEF', `-DSTARTTLS')
-APPENDDEF(`conf_sendmail_LIBS', `-lssl -lcrypto')
diff --git a/mail/sendmail813/files/site.config.m4-tcpwrappers b/mail/sendmail813/files/site.config.m4-tcpwrappers
deleted file mode 100644
index 711cdaaa3f3..00000000000
--- a/mail/sendmail813/files/site.config.m4-tcpwrappers
+++ /dev/null
@@ -1,5 +0,0 @@
-# $NetBSD: site.config.m4-tcpwrappers,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
-# enable tcpwrappers
-APPENDDEF(`confENVDEF', `-DTCPWRAPPERS')
-APPENDDEF(`conf_sendmail_LIBS', `-lwrap')
diff --git a/mail/sendmail813/files/site.config.m4-v6 b/mail/sendmail813/files/site.config.m4-v6
deleted file mode 100644
index 54b23807df1..00000000000
--- a/mail/sendmail813/files/site.config.m4-v6
+++ /dev/null
@@ -1,4 +0,0 @@
-# $NetBSD: site.config.m4-v6,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
-# enable IPv6
-APPENDDEF(`confENVDEF', `-DNETINET6')
diff --git a/mail/sendmail813/files/site.config.m4-v6-not-solaris b/mail/sendmail813/files/site.config.m4-v6-not-solaris
deleted file mode 100644
index 5304aaf83c3..00000000000
--- a/mail/sendmail813/files/site.config.m4-v6-not-solaris
+++ /dev/null
@@ -1,4 +0,0 @@
-# $NetBSD: site.config.m4-v6-not-solaris,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
-# enable IPv6 - not Solaris
-APPENDDEF(`confENVDEF', `-DNEEDSGETIPNODE')
diff --git a/mail/sendmail813/files/smmsp.sh b/mail/sendmail813/files/smmsp.sh
deleted file mode 100755
index 63e2744b90d..00000000000
--- a/mail/sendmail813/files/smmsp.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD: smmsp.sh,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-#
-
-# REQUIRE: mail
-
-# The only function of the smmsp process is to push locally
-# collected mail (which got stuck in the local client queue)
-# to a more fully functional smtp relay. It is not a fully
-# functional smtp daemon.
-#
-# It can, however, be used as a completely unprivileged
-# replacement for hosts that were previously using a "null
-# client" configuration and a smart relay.
-
-. /etc/rc.subr
-
-name="smmsp"
-rcvar=$name
-command="/usr/sbin/sendmail"
-pidfile="@VARBASE@/spool/clientmqueue/sm-client.pid"
-required_files="/etc/mail/submit.cf"
-smbin="@PREFIX@/libexec/sendmail/sendmail"
-smmsp_flags="-Lsm-msp-queue -Ac -q30m"
-
-load_rc_config $name
-run_rc_command "$1"
diff --git a/mail/sendmail813/options.mk b/mail/sendmail813/options.mk
deleted file mode 100644
index dd2e5fab561..00000000000
--- a/mail/sendmail813/options.mk
+++ /dev/null
@@ -1,52 +0,0 @@
-# $NetBSD: options.mk,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.sendmail
-PKG_SUPPORTED_OPTIONS= inet6 db2 db4 ldap sasl tls tcpwrappers
-PKG_SUGGESTED_OPTIONS= tcpwrappers
-
-PKG_OPTIONS_LEGACY_OPTS+= starttls:tls
-
-.include "../../mk/bsd.options.mk"
-
-###
-### Berkeley DB version 2/4 format for on disk databases e.g. aliases
-###
-.if !empty(PKG_OPTIONS:Mdb2)
-. include "../../databases/db/buildlink3.mk"
-.elif !empty(PKG_OPTIONS:Mdb4)
-. include "../../databases/db4/buildlink3.mk"
-.endif
-
-###
-### Use OpenLDAP for remote database access
-###
-.if !empty(PKG_OPTIONS:Mldap)
-. include "../../databases/openldap-client/buildlink3.mk"
-.endif
-
-###
-### Use SASL/v2 for SMTP AUTH
-###
-.if !empty(PKG_OPTIONS:Msasl)
-. include "../../security/cyrus-sasl/buildlink3.mk"
-.endif
-
-###
-### Use OpenSSL libraries for SMTP STARTTLS support
-###
-.if !empty(PKG_OPTIONS:Mtls)
-. include "../../security/openssl/buildlink3.mk"
-.endif
-
-###
-### Use tcpwrappers for network access control to sendmail
-###
-.if !empty(PKG_OPTIONS:Mtcpwrappers)
-. include "../../security/tcp_wrappers/buildlink3.mk"
-.endif
-
-###
-### IPv6 support.
-###
-.if !empty(PKG_OPTIONS:Minet6)
-.endif
diff --git a/mail/sendmail813/patches/patch-aa b/mail/sendmail813/patches/patch-aa
deleted file mode 100644
index 8d293404eae..00000000000
--- a/mail/sendmail813/patches/patch-aa
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
---- devtools/OS/NetBSD.orig Sun Jun 27 00:19:35 2004
-+++ devtools/OS/NetBSD Sun Jun 27 00:24:11 2004
-@@ -7,13 +7,14 @@
- define(`confLIBS', `-lutil')
- define(`confENVDEF', ` -DNETISO')
- define(`confDEPEND_TYPE', `CC-M')
--define(`confSBINGRP', `wheel')
--define(`confUBINOWN', `root')
--define(`confUBINGRP', `wheel')
--define(`confMANOWN', `root')
--define(`confMANGRP', `wheel')
-+define(`confSBINGRP', `${BSD_BINGRP}')
-+define(`confUBINOWN', `${BSD_BINOWN}')
-+define(`confUBINGRP', `${BSD_BINGRP}')
-+define(`confMANOWN', `${BSD_MANOWN}')
-+define(`confMANGRP', `${BSD_MANGRP}')
- define(`confMAN1EXT', `0')
- define(`confMAN3EXT', `0')
- define(`confMAN4EXT', `0')
- define(`confMAN5EXT', `0')
- define(`confMAN8EXT', `0')
-+define(`confLDOPTS', `${LDFLAGS}')
diff --git a/mail/sendmail813/patches/patch-ab b/mail/sendmail813/patches/patch-ab
deleted file mode 100644
index 1aa685eb26b..00000000000
--- a/mail/sendmail813/patches/patch-ab
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
---- devtools/OS/SunOS.5.6.orig Fri Mar 22 11:59:26 2002
-+++ devtools/OS/SunOS.5.6 Mon Sep 16 15:05:30 2002
-@@ -11,6 +11,7 @@
- define(`confENVDEF', `-DSOLARIS=20600')
- define(`confSM_OS_HEADER', `sm_os_sunos')
- define(`confLIBS', `-lsocket -lnsl -lkstat')
-+define(`confLDOPTS', `${LDFLAGS}')
- define(`confMTCCOPTS', `-D_REENTRANT')
- define(`confMTLDOPTS', `-lpthread')
- define(`confMBINDIR', `/usr/lib')
diff --git a/mail/sendmail813/patches/patch-ac b/mail/sendmail813/patches/patch-ac
deleted file mode 100644
index cfbf8b4d9eb..00000000000
--- a/mail/sendmail813/patches/patch-ac
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
---- devtools/OS/SunOS.5.7.orig Fri Mar 22 11:59:26 2002
-+++ devtools/OS/SunOS.5.7 Mon Sep 16 15:07:08 2002
-@@ -11,6 +11,7 @@
- define(`confENVDEF', `-DSOLARIS=20700')
- define(`confSM_OS_HEADER', `sm_os_sunos')
- define(`confLIBS', `-lsocket -lnsl')
-+define(`confLDOPTS', `${LDFLAGS}')
- define(`confMTCCOPTS', `-D_REENTRANT')
- define(`confMTLDOPTS', `-lpthread')
- define(`confMBINDIR', `/usr/lib')
diff --git a/mail/sendmail813/patches/patch-ad b/mail/sendmail813/patches/patch-ad
deleted file mode 100644
index 6760699e4ae..00000000000
--- a/mail/sendmail813/patches/patch-ad
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
---- devtools/OS/SunOS.5.8.orig Fri Mar 22 11:59:26 2002
-+++ devtools/OS/SunOS.5.8 Mon Sep 16 15:09:28 2002
-@@ -10,6 +10,7 @@
- define(`confENVDEF', `-DSOLARIS=20800 -DNETINET6')
- define(`confSM_OS_HEADER', `sm_os_sunos')
- define(`confLIBS', `-lsocket -lnsl')
-+define(`confLDOPTS', `${LDFLAGS}')
- define(`confMTCCOPTS', `-D_REENTRANT')
- define(`confMTLDOPTS', `-lpthread')
- define(`confMBINDIR', `/usr/lib')
diff --git a/mail/sendmail813/patches/patch-ae b/mail/sendmail813/patches/patch-ae
deleted file mode 100644
index e1e6738337d..00000000000
--- a/mail/sendmail813/patches/patch-ae
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ae,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
---- devtools/OS/SunOS.5.9.orig Fri Mar 22 11:59:26 2002
-+++ devtools/OS/SunOS.5.9 Mon Sep 16 15:11:10 2002
-@@ -10,6 +10,7 @@
- define(`confENVDEF', `-DSOLARIS=20900 -DNETINET6')
- define(`confSM_OS_HEADER', `sm_os_sunos')
- define(`confLIBS', `-lsocket -lnsl')
-+define(`confLDOPTS', `${LDFLAGS}')
- define(`confMTCCOPTS', `-D_REENTRANT')
- define(`confMTLDOPTS', `-lpthread')
- define(`confMBINDIR', `/usr/lib')
diff --git a/mail/sendmail813/patches/patch-af b/mail/sendmail813/patches/patch-af
deleted file mode 100644
index 771f20dd12f..00000000000
--- a/mail/sendmail813/patches/patch-af
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-af,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
---- sendmail/conf.c.orig Sat Aug 17 02:56:01 2002
-+++ sendmail/conf.c Mon Sep 16 15:13:22 2002
-@@ -4352,7 +4352,8 @@
-
- #if NETINET6
- if (type == AF_INET6 &&
-- IN6_IS_ADDR_UNSPECIFIED((struct in6_addr *) addr))
-+ (IN6_IS_ADDR_UNSPECIFIED((struct in6_addr *) addr) ||
-+ IN6_IS_ADDR_LINKLOCAL((struct in6_addr *) addr)))
- {
- /* Avoid reverse lookup for IPv6 unspecified address */
- SM_SET_H_ERRNO(HOST_NOT_FOUND);
diff --git a/mail/sendmail813/patches/patch-ag b/mail/sendmail813/patches/patch-ag
deleted file mode 100644
index 7bdcbd7f7b9..00000000000
--- a/mail/sendmail813/patches/patch-ag
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ag,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
---- include/sm/conf.h.orig 2006-01-27 18:43:44.000000000 +0000
-+++ include/sm/conf.h
-@@ -801,7 +801,11 @@ extern unsigned int sleepX __P((unsigned
- # ifndef LA_TYPE
- # define LA_TYPE LA_SUBR
- # endif /* ! LA_TYPE */
-+#if defined(__NetBSD__) && (__NetBSD_Version__ > 299000900)
-+# define SFS_TYPE SFS_STATVFS /* use <sys/statvfs.h> statfs() impl */
-+#else
- # define SFS_TYPE SFS_MOUNT /* use <sys/mount.h> statfs() impl */
-+#endif
- # define SPT_TYPE SPT_PSSTRINGS /* use PS_STRINGS pointer */
- # endif /* defined(BSD4_4) && !defined(__bsdi__) && !defined(__GNU__) && !defined(DARWIN)*/
-
diff --git a/mail/sendmail813/patches/patch-ah b/mail/sendmail813/patches/patch-ah
deleted file mode 100644
index 3d937e3800e..00000000000
--- a/mail/sendmail813/patches/patch-ah
+++ /dev/null
@@ -1,38 +0,0 @@
-$NetBSD: patch-ah,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
---- smrsh/smrsh.8.orig 2004-08-06 04:55:35.000000000 +0100
-+++ smrsh/smrsh.8
-@@ -39,7 +39,7 @@ Briefly,
- .I smrsh
- limits programs to be in a single directory,
- by default
--/usr/adm/sm.bin,
-+@@SMRSH_CMDDIR@@,
- allowing the system administrator to choose the set of acceptable commands,
- and to the shell builtin commands ``exec'', ``exit'', and ``echo''.
- It also rejects any commands with the characters
-@@ -56,7 +56,7 @@ so forwarding to ``/usr/ucb/vacation'',
- and
- ``vacation''
- all actually forward to
--``/usr/adm/sm.bin/vacation''.
-+``@@SMRSH_CMDDIR@@/vacation''.
- .PP
- System administrators should be conservative about populating
- the sm.bin directory.
-@@ -86,13 +86,9 @@ to adjust the default search path
- (defaults to ``/bin:/usr/bin:/usr/ucb'')
- and/or \-DSMRSH_CMDDIR=\e"\fIdir\fP\e"
- to change the default program directory
--(defaults to ``/usr/adm/sm.bin'').
-+(defaults to ``@@SMRSH_CMDDIR@@'').
- .SH FILES
--/usr/adm/sm.bin \- default directory for restricted programs on most OSs
--.PP
--/var/adm/sm.bin \- directory for restricted programs on HP UX and Solaris
--.PP
--/usr/libexec/sm.bin \- directory for restricted programs on FreeBSD (>= 3.3) and DragonFly BSD
-+@@SMRSH_CMDDIR@@ \- default directory for restricted programs
-
- .SH SEE ALSO
- sendmail(8)
diff --git a/mail/sendmail813/patches/patch-ai b/mail/sendmail813/patches/patch-ai
deleted file mode 100644
index 3f6cbcc8b9f..00000000000
--- a/mail/sendmail813/patches/patch-ai
+++ /dev/null
@@ -1,53 +0,0 @@
-$NetBSD: patch-ai,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
---- sendmail/mci.c.orig 2005-07-12 22:27:44.000000000 +0000
-+++ sendmail/mci.c
-@@ -20,6 +20,7 @@ SM_RCSID("@(#)$Id: mci.c,v 8.216 2005/07
- #endif /* NETINET || NETINET6 */
-
- #include <dirent.h>
-+#include <limits.h>
-
- static int mci_generate_persistent_path __P((const char *, char *,
- int, bool));
-@@ -717,7 +718,11 @@ mci_lock_host_statfile(mci)
- {
- int save_errno = errno;
- int retVal = EX_OK;
-+#if defined(PATH_MAX)
-+ char fname[PATH_MAX];
-+#else
- char fname[MAXPATHLEN];
-+#endif
-
- if (HostStatDir == NULL || mci->mci_host == NULL)
- return EX_OK;
-@@ -1135,7 +1140,7 @@ mci_traverse_persistent(action, pathname
- pathname, sm_errstring(errno));
- return -1;
- }
-- len = sizeof(newpath) - MAXNAMLEN - 3;
-+ len = sizeof(newpath) - 2; /* enough space for '/' and NUL */
- if (sm_strlcpy(newpath, pathname, len) >= len)
- {
- if (tTd(56, 2))
-@@ -1145,6 +1150,7 @@ mci_traverse_persistent(action, pathname
- }
- newptr = newpath + strlen(newpath);
- *newptr++ = '/';
-+ len = sizeof(newpath) - (newptr - newpath);
-
- /*
- ** repeat until no file has been removed
-@@ -1161,9 +1167,8 @@ mci_traverse_persistent(action, pathname
- if (e->d_name[0] == '.')
- continue;
-
-- (void) sm_strlcpy(newptr, e->d_name,
-- sizeof newpath -
-- (newptr - newpath));
-+ if (sm_strlcpy(newptr, e->d_name, len) >= len)
-+ continue;
-
- if (StopRequest)
- stop_sendmail();
diff --git a/mail/sendmail813/patches/patch-aj b/mail/sendmail813/patches/patch-aj
deleted file mode 100644
index 6b449922ae1..00000000000
--- a/mail/sendmail813/patches/patch-aj
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-aj,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
---- cf/cf/Makefile.orig 2005-06-13 22:16:34.000000000 -0400
-+++ cf/cf/Makefile
-@@ -25,10 +25,10 @@ CHMOD= chmod
- ROMODE= 444
- RM= rm -f
- # use our own install program; should be really confINSTALL
--INSTALL=../../devtools/bin/install.sh
-+INSTALL=@@INSTALL@@
- # CF file ownership/permissions
--CFOWN=root
--CFGRP=bin
-+CFOWN=@@BINOWN@@
-+CFGRP=@@BINGRP@@
- CFMODE=0444
-
-
diff --git a/mail/sendmail813/patches/patch-ak b/mail/sendmail813/patches/patch-ak
deleted file mode 100644
index c0420a91360..00000000000
--- a/mail/sendmail813/patches/patch-ak
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD: patch-ak,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
-From: http://www.sendmail.org/patches/client_name.assert.p0
-(file path fixed to be relative to source top)
-
-Index: srvrsmtp.c
-===================================================================
-RCS file: /cvs/sendmail/srvrsmtp.c,v
-retrieving revision 8.948
-diff -u -r8.948 srvrsmtp.c
---- sendmail/srvrsmtp.c 15 Aug 2006 23:24:58 -0000 8.948
-+++ sendmail/srvrsmtp.c 24 Aug 2006 16:47:19 -0000
-@@ -945,7 +945,9 @@
- char *response;
-
- q = macvalue(macid("{client_name}"), e);
-- SM_ASSERT(q != NULL);
-+ SM_ASSERT(q != NULL || OpMode == MD_SMTP);
-+ if (q == NULL)
-+ q = "localhost";
- response = milter_connect(q, RealHostAddr, e, &state);
- switch (state)
- {
diff --git a/mail/sendmail813/patches/patch-al b/mail/sendmail813/patches/patch-al
deleted file mode 100644
index dd93f51ba4d..00000000000
--- a/mail/sendmail813/patches/patch-al
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-al,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
---- devtools/OS/SunOS.5.10.orig 2006-12-30 07:59:24.000000000 +1300
-+++ devtools/OS/SunOS.5.10
-@@ -10,6 +10,7 @@ define(`confMAPDEF', `-DNDBM -DNIS -DNIS
- define(`confENVDEF', `-DSOLARIS=21000 -DNETINET6')
- define(`confSM_OS_HEADER', `sm_os_sunos')
- define(`confLIBS', `-lsocket -lnsl')
-+define(`confLDOPTS', `${LDFLAGS}')
- define(`confMTCCOPTS', `-D_REENTRANT')
- define(`confMTLDOPTS', `-lpthread')
- define(`confMBINDIR', `/usr/lib')
diff --git a/mail/sendmail813/patches/patch-am b/mail/sendmail813/patches/patch-am
deleted file mode 100644
index c6c98a44550..00000000000
--- a/mail/sendmail813/patches/patch-am
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-am,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
-
---- devtools/OS/SunOS.5.11.orig 2006-12-30 07:59:28.000000000 +1300
-+++ devtools/OS/SunOS.5.11
-@@ -10,6 +10,7 @@ define(`confMAPDEF', `-DNDBM -DNIS -DNIS
- define(`confENVDEF', `-DSOLARIS=21100 -DNETINET6')
- define(`confSM_OS_HEADER', `sm_os_sunos')
- define(`confLIBS', `-lsocket -lnsl')
-+define(`confLDOPTS', `${LDFLAGS}')
- define(`confMTCCOPTS', `-D_REENTRANT')
- define(`confMTLDOPTS', `-lpthread')
- define(`confMBINDIR', `/usr/lib')