From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 624D11581F3 for ; Tue, 26 Nov 2024 07:03:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5F2CE07F1; Tue, 26 Nov 2024 07:03:43 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 988ECE07F1 for ; Tue, 26 Nov 2024 07:03:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E0A4433BEED for ; Tue, 26 Nov 2024 07:03:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7C83818B9 for ; Tue, 26 Nov 2024 07:03:41 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1732604600.6eec61998a5548c266dbe496be1473314b9d8e76.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-mail/fdm/fdm-2.2-r3.ebuild X-VCS-Directories: net-mail/fdm/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 6eec61998a5548c266dbe496be1473314b9d8e76 X-VCS-Branch: master Date: Tue, 26 Nov 2024 07:03:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e80d6797-cbc4-4149-930e-33dddd732e0f X-Archives-Hash: d744d58508a36cd2b60d36ad69344c67 commit: 6eec61998a5548c266dbe496be1473314b9d8e76 Author: Sam James gentoo org> AuthorDate: Tue Nov 26 07:02:48 2024 +0000 Commit: Sam James gentoo org> CommitDate: Tue Nov 26 07:03:20 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6eec6199 net-mail/fdm: drop broken pop3 patch The pop3 patch was a backport from upstream master but it appears broken. Drop it straight-to-stable. Bug: https://github.com/nicm/fdm/issues/140 Closes: https://bugs.gentoo.org/944888 Signed-off-by: Sam James gentoo.org> net-mail/fdm/fdm-2.2-r3.ebuild | 56 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/net-mail/fdm/fdm-2.2-r3.ebuild b/net-mail/fdm/fdm-2.2-r3.ebuild new file mode 100644 index 000000000000..404b0182e72b --- /dev/null +++ b/net-mail/fdm/fdm-2.2-r3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Fetch, filter and deliver mail" +HOMEPAGE="https://github.com/nicm/fdm" +SRC_URI="https://github.com/nicm/fdm/releases/download/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="examples pcre" + +DEPEND=" + dev-libs/openssl:= + sys-libs/tdb + pcre? ( dev-libs/libpcre2 ) +" +RDEPEND=" + ${DEPEND} + acct-group/fdm + acct-user/fdm +" + +DOCS=( CHANGES README TODO MANUAL ) + +PATCHES=( + "${FILESDIR}"/${PN}-2.2-configure-strlcpy.patch + "${FILESDIR}"/${P}-pcre2.patch + "${FILESDIR}"/${P}-uaf.patch +) + +src_prepare() { + default + + # Change user '_fdm' to 'fdm' + sed -e 's/_fdm/fdm/g' -i fdm.h || die + + eautoreconf +} + +src_configure() { + econf $(use_enable pcre pcre2) +} + +src_install() { + default + + if use examples ; then + docinto examples + dodoc examples/* + fi +}