diff --git a/mail/opensmtpd/opensmtpd.cache b/mail/opensmtpd/opensmtpd.cache new file mode 100644 index 000000000..625df77df --- /dev/null +++ b/mail/opensmtpd/opensmtpd.cache @@ -0,0 +1,26 @@ + +[TIMESTAMP] 1431426133 Tue May 12 10:22:13 2015 +[BUILDTIME] 35 (5) +[SIZE] 0.65 MB, 27 files + +[DEP] bash +[DEP] bdb +[DEP] binutils +[DEP] bison +[DEP] coreutils +[DEP] diffutils +[DEP] file +[DEP] gawk +[DEP] gcc +[DEP] glibc +[DEP] grep +[DEP] groff +[DEP] libasr +[DEP] libevent +[DEP] linux-header +[DEP] make +[DEP] openssl +[DEP] sed +[DEP] sysfiles +[DEP] util-linux +[DEP] zlib diff --git a/mail/opensmtpd/opensmtpd.conf b/mail/opensmtpd/opensmtpd.conf new file mode 100644 index 000000000..873e61893 --- /dev/null +++ b/mail/opensmtpd/opensmtpd.conf @@ -0,0 +1,29 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../opensmtpd/opensmtpd.conf +# Copyright (C) 2015 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +#we have old autostuff :/ +hook_add preconf 5 'autoreconf -vfi' +hook_add preconf 9 'fix_sysconf' +fix_sysconf() { + sed -ri 's,/etc/mail,/etc/smtpd,g' "smtpd/smtpd.conf" +} + +var_append confopt " " '--sysconfdir=/etc/smtpd' +var_append confopt " " '--sbindir=/usr/bin' +var_append confopt " " '--libexecdir=/usr/lib/smtpd' +var_append confopt " " '--with-maildir=/var/spool/mail' +var_append confopt " " '--with-privsep-path=/var/empty' +var_append confopt " " '--with-privsep-user=smtpd' +var_append confopt " " '--with-queue-user=smtpq' + diff --git a/mail/opensmtpd/opensmtpd.desc b/mail/opensmtpd/opensmtpd.desc new file mode 100644 index 000000000..eb5f2de3b --- /dev/null +++ b/mail/opensmtpd/opensmtpd.desc @@ -0,0 +1,35 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../opensmtpd/opensmtpd.desc +[COPY] Copyright (C) 2015 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] A free SMTP server. + +[T] OpenSMTPD is a FREE implementation of the server-side SMTP protocol as +[T] defined by RFC 5321, with some additional standard extensions. +[T] It allows ordinary machines to exchange e-mails with other systems +[T] speaking the SMTP protocol. OpenSMTPD is a fairly complete SMTP implementation. + +[U] https://www.opensmtpd.org/archives + +[A] Gilles Chehade, Eric Faurot and Charles Longeau, with contributions from various OpenBSD hackers. +[M] Nagy Karoly Gabriel + +[C] extra/server +[F] MTA + +[L] BSD +[S] Stable +[V] 5.4.5p2 +[P] X -----5---9 800.000 + +[D] 0 opensmtpd-5.4.5p2.tar.gz https://www.opensmtpd.org/archives/ diff --git a/mail/opensmtpd/support_old_autostuff.patch b/mail/opensmtpd/support_old_autostuff.patch new file mode 100644 index 000000000..ebe527bfe --- /dev/null +++ b/mail/opensmtpd/support_old_autostuff.patch @@ -0,0 +1,24 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../opensmtpd/support_old_autostuff.patch +# Copyright (C) 2015 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +--- opensmtpd-5.4.5p2/Makefile.am.orig 2015-04-29 20:52:18.000000000 +0000 ++++ opensmtpd-5.4.5p2/Makefile.am 2015-05-12 10:17:34.159788072 +0000 +@@ -1,3 +1,5 @@ ++AUTOMAKE_OPTIONS = foreign ++ + SUBDIRS = openbsd-compat mk contrib + + ACLOCAL_AMFLAGS = -I m4