commit: 4479979e0b182d502a85f4769f71f5ce044ef467 parent 0606de44430ad93d9075c6297e428083ac99ae42 Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Date: Fri, 4 Jul 2025 17:31:11 +0200 mail-mta/opensmtpd: treecleanDiffstat:
D | mail-mta/opensmtpd/Manifest | 1 | - |
D | mail-mta/opensmtpd/files/smtpd.initd | 11 | ----------- |
D | mail-mta/opensmtpd/files/smtpd.pam | 4 | ---- |
D | mail-mta/opensmtpd/files/smtpd.service | 10 | ---------- |
D | mail-mta/opensmtpd/files/smtpd.socket | 8 | -------- |
D | mail-mta/opensmtpd/metadata.xml | 12 | ------------ |
D | mail-mta/opensmtpd/opensmtpd-6.8.0_p2-r2.ebuild | 86 | ------------------------------------------------------------------------------- |
7 files changed, 0 insertions(+), 132 deletions(-)diff --git a/mail-mta/opensmtpd/Manifest b/mail-mta/opensmtpd/Manifest
@@ -1 +0,0 @@ -DIST opensmtpd-6.8.0p2.tar.gz 860189 BLAKE2B 603e8516860eddefb1694ea4cb5631cec2df2a19fa3193b25388caf73c41e82d44e57847fc95b5187488cae629542e72ff2d5a17badc15cef1647bdb173d7827 SHA512 48f152b75575146fdd09bdf47123041ea62fefb6e5de33a69826bf91a2126a918f8db1caffadb2f142a1a21de8126d492de88cb65bdf169e61c0b22d3e78d290diff --git a/mail-mta/opensmtpd/files/smtpd.initd b/mail-mta/opensmtpd/files/smtpd.initd
@@ -1,11 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -command="smtpd" -pidfile="/run/smtpd.pid" -description="SMTP daemon from OpenBSD" - -depend() { - need net -}diff --git a/mail-mta/opensmtpd/files/smtpd.pam b/mail-mta/opensmtpd/files/smtpd.pam
@@ -1,4 +0,0 @@ -auth required pam_nologin.so -auth include system-auth -account include system-auth -session include system-authdiff --git a/mail-mta/opensmtpd/files/smtpd.service b/mail-mta/opensmtpd/files/smtpd.service
@@ -1,10 +0,0 @@ -[Unit] -Description=OpenSMTPD -After=network.target - -[Service] -Type=forking -ExecStart=/usr/sbin/smtpd - -[Install] -WantedBy=multi-user.targetdiff --git a/mail-mta/opensmtpd/files/smtpd.socket b/mail-mta/opensmtpd/files/smtpd.socket
@@ -1,8 +0,0 @@ -[Unit] -Description=OpenSMTPD Socket - -[Socket] -ListenStream=/var/run/smtpd.sock - -[Install] -WantedBy=sockets.targetdiff --git a/mail-mta/opensmtpd/metadata.xml b/mail-mta/opensmtpd/metadata.xml
@@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>contact@hacktivis.me</email> - <name>Haelwenn (lanodan) Monnier</name> - </maintainer> - <use> - <flag name="mta">Enable this to install as system-wide MTA</flag> - <flag name="mdoc">Use mdoc format for manpages</flag> - </use> -</pkgmetadata>diff --git a/mail-mta/opensmtpd/opensmtpd-6.8.0_p2-r2.ebuild b/mail-mta/opensmtpd/opensmtpd-6.8.0_p2-r2.ebuild
@@ -1,86 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Copyright 2018-2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me> -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit pam 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="berkdb +mta pam" - -# < openssl 3 for bug #881701 -DEPEND=" - acct-user/smtpd - acct-user/smtpq - <dev-libs/openssl-3:= - >=dev-libs/openssl-1.1.0:0= - sys-libs/zlib - pam? ( sys-libs/pam ) - berkdb? ( sys-libs/db:= ) - elibc_musl? ( - sys-libs/fts-standalone - sys-libs/queue-standalone - ) - 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}" - -# Broken build when libbsd is present at configure time -BDEPEND="!dev-libs/libbsd" - -S=${WORKDIR}/${P/_} - -src_configure() { - econf \ - --sysconfdir=/etc/smtpd \ - --with-path-mbox=/var/spool/mail \ - --with-path-empty=/var/empty \ - --with-path-socket=/run \ - --with-path-CAfile=/etc/ssl/certs/ca-certificates.crt \ - --with-user-smtpd=smtpd \ - --with-user-queue=smtpq \ - --with-group-queue=smtpq \ - --with-mantype=doc \ - $(use_with pam auth-pam) \ - $(use_with berkdb table-db) -} - -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 -}