summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@gentoo.org>2025-01-10 11:13:55 +0100
committerPetr Vaněk <arkamar@gentoo.org>2025-01-10 11:50:00 +0100
commit722ead6e024105daff6a166e4b3b8462641091d4 (patch)
tree1a8eafece6bdddc246d383ef0be96d1d7b3ab70c /net-mail/fdm
parentapp-containers/cadvisor: add systemd service file (diff)
downloadgentoo-722ead6e024105daff6a166e4b3b8462641091d4.tar.gz
gentoo-722ead6e024105daff6a166e4b3b8462641091d4.tar.bz2
gentoo-722ead6e024105daff6a166e4b3b8462641091d4.zip
net-mail/fdm: drop 2.2-r1, 2.2-r2
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'net-mail/fdm')
-rw-r--r--net-mail/fdm/fdm-2.2-r1.ebuild54
-rw-r--r--net-mail/fdm/fdm-2.2-r2.ebuild57
-rw-r--r--net-mail/fdm/files/fdm-2.2-pop3-utf8.patch50
3 files changed, 0 insertions, 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 <nicholas.marriott@gmail.com>
-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;
-