logo

overlay

My own overlay for experimentations, use with caution, no support is provided
commit: 5c9320cb2129e113314d2dd8f6920c5de74744f3
parent: d000787f3e9e1ff90d00ed3b3942033208b9ccf4
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 30 May 2020 15:09:06 +0200

mail-mta/opensmtpd: Version clean, 6.6.4_p1

Diffstat:

Mmail-mta/opensmtpd/Manifest1-
Dmail-mta/opensmtpd/opensmtpd-6.6.4_p1.ebuild107-------------------------------------------------------------------------------
2 files changed, 0 insertions(+), 108 deletions(-)

diff --git a/mail-mta/opensmtpd/Manifest b/mail-mta/opensmtpd/Manifest @@ -1,2 +1 @@ -DIST opensmtpd-6.6.4p1.tar.gz 790754 BLAKE2B 18cc19569ae764eff3d672cbfb87df7bd00afcce93705ad128e935c0a47a246c3a6166fca7b6f844c0dd5e728492d8aeb7e0f8a8c1f5a756bf356ae9afb80852 SHA512 267307c91f4fcf21624b0897dfb1f5638b77da7b8d9a02211d734ed2cc5bd39ea7542ae7f200255e2945518fbe7609a0e5aa4e5c6dcb8146014f08b3845c108b DIST opensmtpd-6.7.1p1.tar.gz 859364 BLAKE2B 5b4002e8f15ab31810c9a4ccf22a0efc240f9db8bd14b8bb78aedf853b9c9db77cc4d6602a8d4b8d73904682cb1b345cb34aee69d10152d5be5cdf8d6cd37b96 SHA512 403952e77b360f42d8dc8ae7cd7faeced831b9e37bffd7c67d338b7208f7471d50f3594c3475a9282d18cb17435efd305ec8c05f89eaeab5d363ddb1c4d54a2e diff --git a/mail-mta/opensmtpd/opensmtpd-6.6.4_p1.ebuild b/mail-mta/opensmtpd/opensmtpd-6.6.4_p1.ebuild @@ -1,107 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Copyright 2018-2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit multilib user flag-o-matic pam toolchain-funcs autotools systemd - -DESCRIPTION="Lightweight but featured SMTP daemon from OpenBSD" -HOMEPAGE="https://www.opensmtpd.org" -SRC_URI="https://www.opensmtpd.org/archives/${P/_}.tar.gz" - -LICENSE="ISC BSD BSD-1 BSD-2 BSD-4" -SLOT="0" -KEYWORDS="~amd64" -IUSE="libressl pam mdoc +mta" - -DEPEND=" - !libressl? ( >=dev-libs/openssl-1.1.0:0 ) - libressl? ( >=dev-libs/libressl-3.0.2 ) - sys-libs/zlib - pam? ( sys-libs/pam ) - elibc_musl? ( - sys-libs/fts-standalone - sys-libs/queue-standalone - ) - sys-libs/db:= - dev-libs/libevent - app-misc/ca-certificates - net-mail/mailbase - net-libs/libasr - !mail-mta/courier - !mail-mta/esmtp - !mail-mta/exim - !mail-mta/mini-qmail - !mail-mta/msmtp[mta] - !mail-mta/netqmail - !mail-mta/nullmailer - !mail-mta/postfix - !mail-mta/qmail-ldap - !mail-mta/sendmail - !mail-mta/ssmtp[mta] -" -RDEPEND="${DEPEND}" - -S=${WORKDIR}/${P/_} - -src_prepare() { - default - - # Use /run instead of /var/run - sed -i -e '/pidfile_path/s:_PATH_VARRUN:"/run/":' openbsd-compat/pidfile.c || die - sed -i -e 's;/usr/libexec/;/usr/libexec/opensmtpd/;g' smtpd/parse.y || die - - append-cflags "-ffunction-sections" - append-ldflags "-Wl,--gc-sections" - - eautoreconf -} - -src_configure() { - tc-export AR - AR="$(which "$AR")" econf \ - --with-table-db \ - --with-user-smtpd=smtpd \ - --with-user-queue=smtpq \ - --with-group-queue=smtpq \ - --with-path-socket=/run \ - --with-path-CAfile=/etc/ssl/certs/ca-certificates.crt \ - --sysconfdir=/etc/opensmtpd \ - --with-mantype=$(usex mdoc doc man) \ - $(use_with pam auth-pam) -} - -src_install() { - default - - newinitd "${FILESDIR}"/smtpd.initd smtpd - systemd_dounit "${FILESDIR}"/smtpd.{service,socket} - - use pam && newpamd "${FILESDIR}"/smtpd.pam smtpd - - dosym /usr/sbin/smtpctl /usr/sbin/makemap - dosym /usr/sbin/smtpctl /usr/sbin/newaliases - - if use mta ; then - dodir /usr/sbin - dosym /usr/sbin/smtpctl /usr/sbin/sendmail - dosym /usr/sbin/smtpctl /usr/bin/sendmail - dosym /usr/sbin/smtpctl /usr/$(get_libdir)/sendmail - fi -} - -pkg_preinst() { - enewgroup smtpd 25 - enewuser smtpd 25 -1 /var/empty smtpd - enewgroup smtpq 252 - enewuser smtpq 252 -1 /var/empty smtpq -} - -pkg_postinst() { - einfo - einfo "Plugins for SQLite, MySQL, PostgreSQL, LDAP, socketmaps," - einfo "Redis, and many other useful addons and filters are" - einfo "available in the mail-filter/opensmtpd-extras package." - einfo -}