summaryrefslogtreecommitdiff
path: root/mail-mta
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-03 00:07:26 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-03 00:07:26 +0100
commita3bb28551df94028000fb72308a9e9baa01458b0 (patch)
tree33b14c7bf0dffbd5bb04dbd5b395514ebdda4896 /mail-mta
parent6657c680376cedf378fcf328e5fa03ed3b41d580 (diff)
gentoo auto-resync : 03:06:2024 - 00:07:25
Diffstat (limited to 'mail-mta')
-rw-r--r--mail-mta/Manifest.gzbin2382 -> 2385 bytes
-rw-r--r--mail-mta/opensmtpd/Manifest3
-rw-r--r--mail-mta/opensmtpd/opensmtpd-7.5.0_p0.ebuild111
3 files changed, 114 insertions, 0 deletions
diff --git a/mail-mta/Manifest.gz b/mail-mta/Manifest.gz
index 3f80a2c724f2..4587276a47ba 100644
--- a/mail-mta/Manifest.gz
+++ b/mail-mta/Manifest.gz
Binary files differ
diff --git a/mail-mta/opensmtpd/Manifest b/mail-mta/opensmtpd/Manifest
index 1e47f8872fa7..e85dc1380b0c 100644
--- a/mail-mta/opensmtpd/Manifest
+++ b/mail-mta/opensmtpd/Manifest
@@ -5,6 +5,9 @@ AUX smtpd.pam 147 BLAKE2B 1706fe27cf53621428f563af146d1197dfc59133dda79fe08141ec
DIST opensmtpd-7.3.0p1.tar.gz 849026 BLAKE2B bdb83468df12af2a2b39664a4408acfaf0cd81551074fb3823f7eb1b0d30ce79d812876fcea2ff940ddaac8b1a96700e1f4d2c275beab106fed010b733cff5c2 SHA512 2106de43e4b7435e49df759570ec758672ca8271dc451e30a261c250b41908b6ffe28e571a5f52e2ac14f59af132d1df45b272f8fcafeab04fcfb6bd5db970bb
DIST opensmtpd-7.4.0p1.sum.sig 256 BLAKE2B 312bf5913f7da5178dc6442fa1aa01334a4323252ba6441ba4bf65904f2609332f0da850174306ae7ec8bba6c93a667151c11e2fea84bca4585f402f6ba1d823 SHA512 f7126a1ddc47775d9cf460b2f71267721ee543bdf9f42b712eb22579cf929a07515657551f4e94834b6727c8692d018193e97668749766765a147a0a192016fb
DIST opensmtpd-7.4.0p1.tar.gz 908307 BLAKE2B f3e919b248da1d10d4ffe3073a19f3239ee3db7f58278103a52b50900c4a5b460d27e97ec974ad504cbe758f0a60f8cf2f58b238190e156d60a61b1a4476bc3e SHA512 23aad112ed8f45547e808592823ba8818d8b0ac6ca82d9f83ee33c4a61cfa6326488e10b6beaa3c9e40030eb680478f485b552c15c4ae2835c7a71af509ce94f
+DIST opensmtpd-7.5.0p0.sum.sig 256 BLAKE2B 535753841c0bb6201a6dcc7c1659436fa25270ed2b0066b97b4e8e8934c5bc131c51e5337ef97c33661c3086071be92ccc31cdf6cf3a774caa34f62e701d7b53 SHA512 78075cc0170cbbf9367cde1201aaa34c3a86e023b3d4f1f79ffc28bfe90bcb74236b48e2242e3076294b1cb9133b9ecd720c10011b7508a9cc67cb9221d911cd
+DIST opensmtpd-7.5.0p0.tar.gz 926333 BLAKE2B 25c5786f423bd3efeae0b00de56ae1737e53b2206c179ba7650012ba7eaaefbfec8d942a3eba43d3b56e83616d8adb7e808f0ff35cb93e64439790f3f7045347 SHA512 1e4bf23e623d40732e4055a8db330b0dc69dbfbd4f3d89ef092ead3359aac4123f8a58feb61661be47d84c58e27d22c706dc308dfa245fa76f1d36ed2bb9a822
EBUILD opensmtpd-7.3.0_p1-r1.ebuild 2210 BLAKE2B 66f20c04b1fce33fd76c4cbfb1672441eaf4eaacce69680af51d75f132a85018aa6d589b3089c51df28ce90efcbe7d1a6ba896f6bc3916b0e93876d205d93c07 SHA512 7ed7c7a1b9c93e6c1bee11b980827685ca1fcd9be5677e12fa0ef0f9ecdbdaf90fb30c406c17481db7481249d084f5d3afe4a88496b2eeb614f9180971e130c0
EBUILD opensmtpd-7.4.0_p1.ebuild 2774 BLAKE2B 2a6d9cf2e17287b189fd5e2226c3f1cd7ce3041a28a79da00f86b3c4bd652e64c905e939c2bab7505bad6eb08d0501b9eb0023f0a30cdf3affd0dd1efc1b3410 SHA512 de951adcc39fdc353ae16e1ff52b4add42e02e8bee002bf5c7bfb771068f99759ab826fff5af115ed7019055c0ee49571066717d1cb74396463c20f36e03c261
+EBUILD opensmtpd-7.5.0_p0.ebuild 2713 BLAKE2B 1ed061a003627a87c53add7607542d073bcc0c0ed13838eecbfd80f067629fb427e20cf8a703b8e9a4a7b9921bce7df6bcedd666c7d5d19d5563f66118b695e1 SHA512 d40c9e4412af05b660fb47989ddb44c484414beab2c6655e84f92f0cc7075c9ac097471817bcda1f8a6a13709e2f4e53e28cc3c87e5fcec9aad169fd8bf79f36
MISC metadata.xml 658 BLAKE2B 95b20eb87c312fa721dff4fa3a360d5ffa1b369596e00ca2cac3e39f0b402a44c2a631aebd9ece485d08692535687900b46140f386960f0633c5cf8fe346e745 SHA512 389dbec4c5e81a205e7c5c2f7c4b80adc88819894a8e4e94d9babab25165efcfb86e1fc243275739eece4cfd0eba105aeabca344f78df3c33988e59d097307bd
diff --git a/mail-mta/opensmtpd/opensmtpd-7.5.0_p0.ebuild b/mail-mta/opensmtpd/opensmtpd-7.5.0_p0.ebuild
new file mode 100644
index 000000000000..c5b98eddea63
--- /dev/null
+++ b/mail-mta/opensmtpd/opensmtpd-7.5.0_p0.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_METHOD="signify"
+inherit pam systemd verify-sig
+
+DESCRIPTION="Lightweight but featured SMTP daemon from OpenBSD"
+HOMEPAGE="https://www.opensmtpd.org"
+SRC_URI="
+ https://www.opensmtpd.org/archives/${P/_}.tar.gz
+ verify-sig? ( https://www.opensmtpd.org/archives/${P/_}.sum.sig )
+"
+S="${WORKDIR}/${P/_}"
+
+LICENSE="ISC BSD BSD-1 BSD-2 BSD-4"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="berkdb +mta pam split-usr"
+
+DEPEND="
+ dev-libs/libbsd
+ dev-libs/libevent:=
+ dev-libs/openssl:=
+ sys-libs/zlib:=
+ virtual/libcrypt:=
+ berkdb? ( sys-libs/db:= )
+ elibc_musl? ( sys-libs/fts-standalone )
+ pam? ( sys-libs/pam )
+"
+RDEPEND="${DEPEND}
+ acct-user/smtpd
+ acct-user/smtpq
+ app-misc/ca-certificates
+ net-mail/mailbase
+ !mail-client/mailx-support
+ !mail-mta/courier
+ !mail-mta/esmtp
+ !mail-mta/exim
+ !mail-mta/msmtp[mta]
+ !mail-mta/netqmail
+ !mail-mta/nullmailer
+ !mail-mta/postfix
+ !mail-mta/sendmail
+ !mail-mta/ssmtp[mta]
+"
+BDEPEND="
+ app-alternatives/yacc
+ virtual/pkgconfig
+ verify-sig? ( sec-keys/signify-keys-opensmtpd )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/signify-keys/${PN}.pub"
+
+QA_CONFIG_IMPL_DECL_SKIP=( closefrom )
+
+DOCS=( {CHANGES,README}.md )
+
+src_unpack() {
+ if use verify-sig; then
+ # Too many levels of symbolic links
+ cp "${DISTDIR}"/${P/_}.{sum.sig,tar.gz} "${WORKDIR}" || die
+ verify-sig_verify_signed_checksums \
+ ${P/_}.sum.sig sha256 ${P/_}.tar.gz
+ fi
+ default
+}
+
+src_configure() {
+ local myeconfargs=(
+ --sysconfdir="${EPREFIX}"/etc/smtpd
+ --with-path-CAfile="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt
+ --with-path-empty="${EPREFIX}"/var/empty
+ --with-path-mbox="${EPREFIX}"/var/spool/mail
+ --with-path-queue="${EPREFIX}"/var/spool/smtpd
+ --with-path-pidfile=/run
+ --with-path-socket=/run
+ --with-user-smtpd=smtpd
+ --with-user-queue=smtpq
+ --with-group-queue=smtpq
+ --with-libevent="${EPREFIX}"/usr/$(get_libdir)
+ --with-libssl="${EPREFIX}"/usr/$(get_libdir)
+ $(use_with berkdb table-db)
+ $(use_with pam auth-pam)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ newinitd "${FILESDIR}"/smtpd.initd smtpd
+ systemd_newunit "${FILESDIR}"/smtpd-r1.service smtpd.service
+
+ use pam && newpamd "${FILESDIR}"/smtpd.pam smtpd
+
+ dosym smtpctl /usr/sbin/makemap
+ dosym smtpctl /usr/sbin/newaliases
+
+ if use mta; then
+ dodir /usr/sbin
+ dosym smtpctl /usr/sbin/sendmail
+ # on USE="-split-usr" system sbin and bin are merged
+ # so symlink made above will collide with one below
+ use split-usr && dosym ../sbin/smtpctl /usr/bin/sendmail
+ dodir /usr/$(get_libdir)
+ dosym -r /usr/sbin/smtpctl /usr/$(get_libdir)/sendmail
+ fi
+}