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 A958615813A for ; Fri, 10 Jan 2025 10:50:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1E40E0729; Fri, 10 Jan 2025 10:50:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C4A71E0729 for ; Fri, 10 Jan 2025 10:50:31 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C30D0340C3C for ; Fri, 10 Jan 2025 10:50:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2A0E1194F for ; Fri, 10 Jan 2025 10:50:29 +0000 (UTC) From: "Petr Vaněk" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Petr Vaněk" Message-ID: <1736506200.722ead6e024105daff6a166e4b3b8462641091d4.arkamar@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/, net-mail/fdm/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-mail/fdm/fdm-2.2-r1.ebuild net-mail/fdm/fdm-2.2-r2.ebuild net-mail/fdm/files/fdm-2.2-pop3-utf8.patch X-VCS-Directories: net-mail/fdm/files/ net-mail/fdm/ X-VCS-Committer: arkamar X-VCS-Committer-Name: Petr Vaněk X-VCS-Revision: 722ead6e024105daff6a166e4b3b8462641091d4 X-VCS-Branch: master Date: Fri, 10 Jan 2025 10:50:29 +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: 6473397b-55a4-4f2e-8a1b-0a310199abac X-Archives-Hash: 56490ed4c4d05ac8784bfa84b57dab44 commit: 722ead6e024105daff6a166e4b3b8462641091d4 Author: Petr Vaněk gentoo org> AuthorDate: Fri Jan 10 10:13:55 2025 +0000 Commit: Petr Vaněk gentoo org> CommitDate: Fri Jan 10 10:50:00 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=722ead6e net-mail/fdm: drop 2.2-r1, 2.2-r2 Signed-off-by: Petr Vaněk gentoo.org> net-mail/fdm/fdm-2.2-r1.ebuild | 54 ---------------------------- net-mail/fdm/fdm-2.2-r2.ebuild | 57 ------------------------------ net-mail/fdm/files/fdm-2.2-pop3-utf8.patch | 50 -------------------------- 3 files changed, 161 deletions(-) diff --git a/net-mail/fdm/fdm-2.2-r1.ebuild b/net-mail/fdm/fdm-2.2-r1.ebuild deleted file mode 100644 index cac36667dc18..000000000000 --- a/net-mail/fdm/fdm-2.2-r1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 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 -) - -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 -} diff --git a/net-mail/fdm/fdm-2.2-r2.ebuild b/net-mail/fdm/fdm-2.2-r2.ebuild deleted file mode 100644 index d916992998f7..000000000000 --- a/net-mail/fdm/fdm-2.2-r2.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# 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 - "${FILESDIR}"/${P}-pop3-utf8.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 -} diff --git a/net-mail/fdm/files/fdm-2.2-pop3-utf8.patch b/net-mail/fdm/files/fdm-2.2-pop3-utf8.patch deleted file mode 100644 index 71cc08197ad7..000000000000 --- a/net-mail/fdm/files/fdm-2.2-pop3-utf8.patch +++ /dev/null @@ -1,50 +0,0 @@ -https://github.com/nicm/fdm/commit/0918b78a82a789d63cebe44b7662f0a8dc603000 - -From 0918b78a82a789d63cebe44b7662f0a8dc603000 Mon Sep 17 00:00:00 2001 -From: Nicholas Marriott -Date: Mon, 4 Sep 2023 09:03:47 +0100 -Subject: [PATCH] Send UTF8 command to POP3 server (ignore the response), - because some servers don't like UTF-8 without it. - ---- - pop3-common.c | 19 +++++++++++++++++++ - 1 file changed, 19 insertions(+) - -diff --git a/pop3-common.c b/pop3-common.c -index 0724887..e038172 100644 ---- a/pop3-common.c -+++ b/pop3-common.c -@@ -54,6 +54,7 @@ int pop3_invalid(struct account *, const char *); - int pop3_state_connect(struct account *, struct fetch_ctx *); - int pop3_state_starttls(struct account *, struct fetch_ctx *); - int pop3_state_connected(struct account *, struct fetch_ctx *); -+int pop3_state_utf8(struct account *, struct fetch_ctx *); - int pop3_state_user(struct account *, struct fetch_ctx *); - int pop3_state_cache1(struct account *, struct fetch_ctx *); - int pop3_state_cache2(struct account *, struct fetch_ctx *); -@@ -436,6 +437,24 @@ pop3_state_connected(struct account *a, struct fetch_ctx *fctx) - } - } - -+ if (pop3_putln(a, "UTF8") != 0) -+ return (FETCH_ERROR); -+ fctx->state = pop3_state_utf8; -+ return (FETCH_BLOCK); -+} -+ -+/* UTF8 state. */ -+int -+pop3_state_utf8(struct account *a, struct fetch_ctx *fctx) -+{ -+ struct fetch_pop3_data *data = a->data; -+ char *line; -+ -+ if (pop3_getln(a, fctx, &line) != 0) -+ return (FETCH_ERROR); -+ if (line == NULL) -+ return (FETCH_BLOCK); -+ - if (pop3_putln(a, "USER %s", data->user) != 0) - return (FETCH_ERROR); - fctx->state = pop3_state_user; -