# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= opensmtpd VERSION= 7.6.0p1 REVISION= 1 KEYWORDS= mail VARIANTS= std SDESC[std]= Free implementation of server-side SMTP protocol HOMEPAGE= https://www.opensmtpd.org/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= https://www.opensmtpd.org/archives/ DISTFILE[1]= opensmtpd-7.6.0p1.tar.gz:main DF_INDEX= 1 SPKGS[std]= set primary man OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none BUILD_DEPENDS= groff:primary:std libevent:dev:std libasr:dev:std BUILDRUN_DEPENDS= libevent:primary:std libasr:primary:std USERS= _smtpd _smtpq GROUPS= _smtpd _smtpq USERGROUP_SPKG= primary USES= cpe libtool ssl:libressl-devel zlib rootca:primary LICENSE= ISCL:primary LICENSE_FILE= ISCL:{{WRKSRC}}/LICENSE LICENSE_SCHEME= solo CPE_VENDOR= openbsd FPC_EQUIVALENT= mail/opensmtpd MUST_CONFIGURE= gnu CONFIGURE_ARGS= --without-table-db --with-libasr={{LOCALBASE}} --with-libevent={{LOCALBASE}} --with-libssl={{OPENSSLBASE}} --sysconfdir={{PREFIX}}/etc/mail MAKE_ARGS= mansubdir=man RC_SUBR= smtpd:primary SUB_FILES= messages-primary.ucl post-install: ${LN} -sf ../../sbin/smtpctl \ ${STAGEDIR}${PREFIX}/libexec/opensmtpd/makemap pre-configure: # --with-mantype fails for some reason ${REINPLACE_CMD} -e 's/MANTYPE=doc/MANTYPE=man/' \ ${WRKSRC}/configure pre-configure-dragonfly: ${RM} -rf ${WRKSRC}/openbsd-compat/vis.h \ ${WRKSRC}/openbsd-compat/sys ${REINPLACE_CMD} -e 's|TAILQ_FOREACH_SAFE|TAILQ_FOREACH_MUTABLE|' \ ${WRKSRC}/usr.sbin/smtpd/parse.y [FILE:340:descriptions/desc.primary] OpenSMTPD is a FREE implementation of the server-side SMTP protocol as defined by RFC 5321, with some additional standard extensions. It allows ordinary machines to exchange emails with other systems speaking the SMTP protocol. Started out of dissatisfaction with other implementations, OpenSMTPD is a fairly complete SMTP implementation. [FILE:103:distinfo] b27c806982a6653a2637f810ae7a45372b9a7ff99350ee1003746503ff0e4a97 933649 opensmtpd-7.6.0p1.tar.gz [FILE:188:manifests/plist.primary] @sample etc/mail/smtpd.conf.sample bin/smtp libexec/opensmtpd/ encrypt lockspool mail.lmtp mail.local mail.maildir mail.mboxfile mail.mda makemap @(,,2555) sbin/smtpctl sbin/smtpd [FILE:292:manifests/plist.man] share/man/man1/ lockspool.1 smtp.1 share/man/man5/ aliases.5 forward.5 smtpd.conf.5 table.5 share/man/man7/ smtpd-filters.7 smtpd-tables.7 share/man/man8/ mail.lmtp.8 mail.local.8 mail.maildir.8 mail.mboxfile.8 mail.mda.8 makemap.8 newaliases.8 sendmail.8 smtpctl.8 smtpd.8 [FILE:845:patches/patch-mk_smtpd_Makefile.in] --- mk/smtpd/Makefile.in.orig 2024-10-17 17:35:38 UTC +++ mk/smtpd/Makefile.in @@ -2029,13 +2029,7 @@ install-exec-hook: $(CONFIGFILES) $(MANP $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)5 $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)7 $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)8 - - @if [ ! -f $(DESTDIR)$(sysconfdir)/smtpd.conf ]; then \ - $(INSTALL) -m 644 smtpd.conf.out $(DESTDIR)$(sysconfdir)/smtpd.conf; \ - else \ - echo "$(DESTDIR)$(sysconfdir)/smtpd.conf already exists, install will not overwrite"; \ - fi - + $(INSTALL) -m 644 smtpd.conf.out $(DESTDIR)$(sysconfdir)/smtpd.conf.sample $(INSTALL) -m 644 aliases.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/aliases.5 $(INSTALL) -m 644 forward.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/forward.5 $(INSTALL) -m 644 table.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/table.5 [FILE:398:patches/patch-openbsd-compat_arc4random.c] --- openbsd-compat/arc4random.c.orig 2023-09-29 15:10:20 UTC +++ openbsd-compat/arc4random.c @@ -155,6 +155,7 @@ _rs_random_u32(uint32_t *val) return; } +#if !defined(HAVE_ARC4RANDOM) && !defined(LIBRESSL_VERSION_NUMBER) void arc4random_stir(void) { @@ -162,6 +163,7 @@ arc4random_stir(void) _rs_stir(); _ARC4_UNLOCK(); } +#endif void arc4random_addrandom(u_char *dat, int datlen) [FILE:714:files/messages-primary.ucl.in] primary: { type: "install" message: <