build - Remove openssl from base (is now permanently replaced by ressl) * Remove openssl and related code that previous commits by John Marino replaced with libressl. Remove build hooks, base now only uses libressl. * Remove crypto/openssl. This has been replaced by the openssl implementation from ressl. * Remove lib/libcrypto. This has been replaced by lib/librecrypto which generates a private_crypo library only used by base. * Remove lib/libssl. This has been replaced by lib/libressl which generates a private_ssl library only used by base. * NOTE: In addition, John has been working on updating dports to ensure that only the ports-based libssl and libcrypto (both nominally implemented via ressl and not openssl), and that dports packages no longer have any chance of using the private versions of these libraries from base.
Switch base to use private LibreSSL libaries All base users of the OpenSSL libraries (libssl.so and libcrypto.so) have been modified to link against the new LibreSSL versions instead. The OpenSSL libraries are still built by default, but nothing in base will use them. However, its certain that a myriad of dports link to OpenSSL although this may change in the future. The OpenSSL library building can be suppressed by putting NO_OPENSSL in /etc/make.conf. The existing OpenSSL libraries and headers are not (yet) removed, however, even with that setting.
/etc/mail: Install 4 sample mailer.conf files These files have been recently referenced in the DragonFly handbook. They are here to allow quick reconfiguration of the Mail Transfer Agent. For example, if Postfix from DPorts is desired, all one needs to do is copy /etc/mail/mailer.conf.postfix to /etc/mail/mailer.conf and reboot (assuming postfix configuration files are already in place). This provides default MTA configurations for dma (base), postfix, sendmail, and and opensmtpd.
dma(8): install default conf files with installworld Previously dma configure files were only installed with the "make distribution" command. Additionally, the user was expected to modify them as opposed to copies of them. This is probably why there were part of distribution, in order to avoid overwriting the dma.conf and auth.conf. The negative side to this approach is that updated *.conf sample files would never be installed. Since the dma.conf is actually completely commented out, and since it doesn't fail in the absence of dma.conf, these files aren't actually needed. This commit installs /etc/dma/dma.conf.sample and /etc/dma/auth.conf.sample files during installworld instead. Future updates to the *.conf.sample files will overwrite them, but obviously /etc/dma/*.conf will not be touched. Some of the sendfile conf files are provided as .sample, so the concept is not new for DragonFly.
libexec: Move the definition of WARNS to libexec/Makefile.inc. This generally sets WARNS to 6 in libexec/ unless specified otherwise in the individual Makefiles. Just like we do it in bin/, games/, sbin/, usr.bin/ and usr.sbin/ already. Also fix some warnings that crept up and clean up some Makefiles.
Revert 4dcaa51ba4d4238e035a802067366a28527cd570 This reverts the .forward commit. I committed the code to early, there are some bugs inside (queue handling broken and some security issues). I back this out until we have more time to fix all the issues or rewrite some parts from scratch. This brings dma back in a fully working state, only the .forward stuff is gone. Tested-by: Daniel Roethlisberger <daniel@roe.ch> and me Ok-to-back-out: corecode@
Commit the remainder of Max's dma work (with minor modifications). See Max mail on kernel@ [1] for further details. * Support of .forward files (Note: dma is now setuid root) * Send multiple mails at once * Fix some style(9) issues (mostly return()) Some style(9) issues are still in the code. I take care if I have some spare time :) Please test! Submitted-by: Max Lindner <gisanka@gmail.com> Sponsored-by: Google Summer of Code 2008 [1] http://leaf.dragonflybsd.org/mailarchive/kernel/2008-08/msg00045.html
Add the DragonFly Mail Agent dma(8) to the base. dma is a small Mail Transport Agent (MTA), designed for home and office use. It accepts mails from locally installed Mail User Agents (MUA) and delivers the mails either locally or to a remote destination. Remote delivery includes several features like TLS/SSL support and SMTP authen- tication (AUTH LOGIN only). dma is not intended as a replacement for real, big MTAs like sendmail(8) or postfix(8). Consequently, dma does not listen on port 25 for incoming connections. Current list of features: - Local mail delivery with alias-support - Remote mail delivery either direct or via a smarthost - TLS/SSL and STARTTLS support for encrypted connections - virtualusers (address rewriting) support - SMTP authentication (currently only plain SMTP login) - Sendmail compatible command line options - IPv6 support Code-collaboration-with: codecode@ Man-page-collaboration-with: swildner@ Approved-by: dillon@