[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/, net-mail/fdm/files/

2024-02-11 Thread Sam James
commit: 2eb7c97b5c6e84778b9a569795dc326994848ecb
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 11 11:00:21 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 11 11:01:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eb7c97b

net-mail/fdm: backport misc fixes

* Backport fallout fix for libpcre2 port
* Backport fix for use-after-free
* Backport fix for POP3 servers w/ UTF8

Signed-off-by: Sam James  gentoo.org>

 net-mail/fdm/fdm-2.2-r2.ebuild | 57 +
 net-mail/fdm/files/fdm-2.2-pcre2.patch | 79 ++
 net-mail/fdm/files/fdm-2.2-pop3-utf8.patch | 50 +++
 net-mail/fdm/files/fdm-2.2-uaf.patch   | 26 ++
 4 files changed, 212 insertions(+)

diff --git a/net-mail/fdm/fdm-2.2-r2.ebuild b/net-mail/fdm/fdm-2.2-r2.ebuild
new file mode 100644
index ..9acc390b1144
--- /dev/null
+++ b/net-mail/fdm/fdm-2.2-r2.ebuild
@@ -0,0 +1,57 @@
+# 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-pcre2.patch 
b/net-mail/fdm/files/fdm-2.2-pcre2.patch
new file mode 100644
index ..b4d9c0623f71
--- /dev/null
+++ b/net-mail/fdm/files/fdm-2.2-pcre2.patch
@@ -0,0 +1,79 @@
+https://github.com/nicm/fdm/commit/f1ec1982725d60045c0d871f3e613f2880046c22
+
+From f1ec1982725d60045c0d871f3e613f2880046c22 Mon Sep 17 00:00:00 2001
+From: Nicholas Marriott 
+Date: Wed, 1 Feb 2023 15:31:30 +
+Subject: [PATCH] Fix bugs in PCRE2 code - don't walk off the end of the match
+ list if NOMATCH is returned, and don't stop on empty matches. From Thomas
+ Hurst.
+
+---
+ pcre.c | 45 ++---
+ 1 file changed, 26 insertions(+), 19 deletions(-)
+
+diff --git a/pcre.c b/pcre.c
+index e9a7f84..8d53532 100644
+--- a/pcre.c
 b/pcre.c
+@@ -66,7 +66,7 @@ int
+ re_block(struct re *re, const void *buf, size_t len, struct rmlist *rml,
+ char **cause)
+ {
+-  int  res;
++  int  res, ret;
+   pcre2_match_data*pmd;
+   PCRE2_SIZE  *ovector;
+   u_inti, j;
+@@ -85,27 +85,34 @@ re_block(struct re *re, const void *buf, size_t len, 
struct rmlist *rml,
+   }
+ 
+   pmd = pcre2_match_data_create_from_pattern(re->pcre2, NULL);
+-  res = pcre2_match(re->pcre2, buf, len, 0, 0, pmd, NULL);
+-  if (res < 0 && res != PCRE2_ERROR_NOMATCH) {
+-  xasprintf(cause, "%s: regexec failed", re->str);
+-  pcre2_match_data_free(pmd);
+-  return (-1);
+-  }
++  if (pmd == NULL)
++  fatalx("pcre2_match_data_create_from_pattern failed");
+ 
+-  if (rml != NULL) {
+-  ovector = pcre2_get_ovector_pointer(pmd);
+-  for (i = 0; i < res; i++) {
+-  j = i * 2;
+-  if (ovector[j + 1] <= ovector[j])
+-  break;
+-  rml->list[i].valid = 1;
+-  rml->list[i].so = ovector[j];
+-  rml->list[i].eo = ovector[j + 1];
++  res = pcre2_match(re->pcre2, buf, len, 0, 0, pmd, NULL);
++  if (res > 0) {
++  if (rml != NULL) {
++  if (res > NPMATCH)
++  res = NPMATCH;
++  ovector = pcre2_get_ovector_pointer(pmd);
++  for (i = 0; i < res; i++) {
++  j = i * 2;
++  if (ovector[j + 1] < ovector[j])
++  break;
++  rml->list[i].valid = 1;
++  rml->list[i].so = ovector[j];
++  rml->list[i].eo = ovector[j + 1];
++  }
++  rml->valid = 1;
+   }
+- 

[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/files/, net-mail/fdm/

2023-03-18 Thread Sam James
commit: c56bfb9f4f4b728f0d9e47f1aac0be355ad5e1b3
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 18 21:54:02 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 18 21:54:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c56bfb9f

net-mail/fdm: fix configure w/ clang 16, fix strlcpy check

Closes: https://bugs.gentoo.org/731262
Thanks-to: Markus Peloquin  cs.wisc.edu>
Signed-off-by: Sam James  gentoo.org>

 net-mail/fdm/{fdm-2.2.ebuild => fdm-2.2-r1.ebuild} |  8 
 net-mail/fdm/files/fdm-2.2-configure-strlcpy.patch | 20 
 2 files changed, 28 insertions(+)

diff --git a/net-mail/fdm/fdm-2.2.ebuild b/net-mail/fdm/fdm-2.2-r1.ebuild
similarity index 88%
rename from net-mail/fdm/fdm-2.2.ebuild
rename to net-mail/fdm/fdm-2.2-r1.ebuild
index 895dd72d1b2c..cac36667dc18 100644
--- a/net-mail/fdm/fdm-2.2.ebuild
+++ b/net-mail/fdm/fdm-2.2-r1.ebuild
@@ -3,6 +3,8 @@
 
 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;
@@ -25,11 +27,17 @@ RDEPEND="
 
 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() {

diff --git a/net-mail/fdm/files/fdm-2.2-configure-strlcpy.patch 
b/net-mail/fdm/files/fdm-2.2-configure-strlcpy.patch
new file mode 100644
index ..443a7240c40a
--- /dev/null
+++ b/net-mail/fdm/files/fdm-2.2-configure-strlcpy.patch
@@ -0,0 +1,20 @@
+diff --git a/configure.ac b/configure.ac
+index e356e9c..d91ae66 100644
+--- a/configure.ac
 b/configure.ac
+@@ -124,13 +124,13 @@ if test "x$found_libssl" = xno; then
+   AC_MSG_ERROR("libssl not found")
+ fi
+ 
+-AC_CHECK_DECL(strlcpy, found_strlcpy=yes, found_strlcpy=no)
++AC_CHECK_FUNC(strlcpy, found_strlcpy=yes, found_strlcpy=no)
+ if test "x$found_strlcpy" = xyes; then
+   AC_DEFINE(HAVE_STRLCPY)
+ fi
+ AM_CONDITIONAL(NO_STRLCPY, [test "x$found_strlcpy" = xno])
+ 
+-AC_CHECK_DECL(strlcat, found_strlcat=yes, found_strlcat=no)
++AC_CHECK_FUNC(strlcat, found_strlcat=yes, found_strlcat=no)
+ if test "x$found_strlcat" = xyes; then
+   AC_DEFINE(HAVE_STRLCAT)
+ fi



[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/

2023-03-18 Thread Sam James
commit: 5c2df683e61302ed60853f1b3b94b4e2c353750c
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 18 21:19:14 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 18 21:54:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c2df683

net-mail/fdm: drop 2.0-r1, 2.1

Signed-off-by: Sam James  gentoo.org>

 net-mail/fdm/Manifest  |  2 --
 net-mail/fdm/fdm-2.0-r1.ebuild | 46 --
 net-mail/fdm/fdm-2.1.ebuild| 46 --
 3 files changed, 94 deletions(-)

diff --git a/net-mail/fdm/Manifest b/net-mail/fdm/Manifest
index ca39643a6375..248e133dffcd 100644
--- a/net-mail/fdm/Manifest
+++ b/net-mail/fdm/Manifest
@@ -1,3 +1 @@
-DIST fdm-2.0.tar.gz 313596 BLAKE2B 
8b323f4a8953a46773a4e5a121dc97db4346f50990fcfb4c9d79ae40bbb73b61e3bf41bc95b76e44f6bed7b398cb210d58901823752e92ca7b83189cbc7e
 SHA512 
14e923202d17083ceb3b91b3a442d7e512c37f3d29535f22d8c0c4e1d57c97acc5d5465d643ed0cf437b3945ef777a6e38da3117219c2d54dcec88ecab1e10d9
-DIST fdm-2.1.tar.gz 318803 BLAKE2B 
2bb693177c69665d2354c382ab663a3283c5edae2cdf6f3bf2fe4133309de9d43e0e8ad38304eb002fe202eb20f982cdc892fb0b0d1698b13aa79f22be0a
 SHA512 
6a864048e1f25eedbb6af86451b258678b91e3c225b3b065a1aeb043f125405dfa109a0fbd77363394e14050053c7d81093d5b9d6a2dd155fb00dc98455028b4
 DIST fdm-2.2.tar.gz 319140 BLAKE2B 
dde9126aaf3183444123bb3b546f8997a5a25f5dc58bb7fc08818e491e2193543f4f06e758b479e61da7feaf752e3d3ddfd8103c616a49f0d65c41972bae7e12
 SHA512 
13efa0f272c5f6146b90e094602e8a9b52016af79ae0b6cd80dc9f36b2ba37f64cadae7313bd8db90bcb007dd07206a3614987f11bb82c3535e04f0511c9fc6d

diff --git a/net-mail/fdm/fdm-2.0-r1.ebuild b/net-mail/fdm/fdm-2.0-r1.ebuild
deleted file mode 100644
index a98298a350e4..
--- a/net-mail/fdm/fdm-2.0-r1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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:0=
-   sys-libs/tdb
-   pcre? ( dev-libs/libpcre )
-"
-RDEPEND="
-   ${DEPEND}
-   acct-group/fdm
-   acct-user/fdm
-"
-
-DOCS=( CHANGES README TODO MANUAL )
-
-src_prepare() {
-   default
-
-   # Change user '_fdm' to 'fdm'
-   sed -e 's/_fdm/fdm/g' -i fdm.h || die
-}
-
-src_configure() {
-   econf $(use_enable pcre)
-}
-
-src_install() {
-   default
-
-   if use examples ; then
-   docinto examples
-   dodoc examples/*
-   fi
-}

diff --git a/net-mail/fdm/fdm-2.1.ebuild b/net-mail/fdm/fdm-2.1.ebuild
deleted file mode 100644
index bf1b62354bb5..
--- a/net-mail/fdm/fdm-2.1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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:0=
-   sys-libs/tdb
-   pcre? ( dev-libs/libpcre )
-"
-RDEPEND="
-   ${DEPEND}
-   acct-group/fdm
-   acct-user/fdm
-"
-
-DOCS=( CHANGES README TODO MANUAL )
-
-src_prepare() {
-   default
-
-   # Change user '_fdm' to 'fdm'
-   sed -e 's/_fdm/fdm/g' -i fdm.h || die
-}
-
-src_configure() {
-   econf $(use_enable pcre)
-}
-
-src_install() {
-   default
-
-   if use examples ; then
-   docinto examples
-   dodoc examples/*
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/

2023-03-17 Thread Sam James
commit: c1ff6661cdd264defd7fcbb32cf85a1661a9ac62
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 17 17:26:17 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 17 17:26:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1ff6661

net-mail/fdm: Stabilize 2.2 amd64, #901953

Signed-off-by: Sam James  gentoo.org>

 net-mail/fdm/fdm-2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/fdm/fdm-2.2.ebuild b/net-mail/fdm/fdm-2.2.ebuild
index f31f16f8524e..895dd72d1b2c 100644
--- a/net-mail/fdm/fdm-2.2.ebuild
+++ b/net-mail/fdm/fdm-2.2.ebuild
@@ -9,7 +9,7 @@ 
SRC_URI="https://github.com/nicm/fdm/releases/download/${PV}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 x86"
+KEYWORDS="amd64 ~arm64 x86"
 IUSE="examples pcre"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/

2023-03-17 Thread Sam James
commit: 5f4df926b4842b062e75a93cfda646df8f9802cd
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 17 16:58:41 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 17 16:59:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f4df926

net-mail/fdm: Stabilize 2.2 x86, #901953

Signed-off-by: Sam James  gentoo.org>

 net-mail/fdm/fdm-2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/fdm/fdm-2.2.ebuild b/net-mail/fdm/fdm-2.2.ebuild
index 6f672a81bac9..f31f16f8524e 100644
--- a/net-mail/fdm/fdm-2.2.ebuild
+++ b/net-mail/fdm/fdm-2.2.ebuild
@@ -9,7 +9,7 @@ 
SRC_URI="https://github.com/nicm/fdm/releases/download/${PV}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 x86"
 IUSE="examples pcre"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/

2023-01-09 Thread Sam James
commit: d667f0aca5e2855ecbf040bcfdb27d8db7aaf2bc
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 10 03:12:26 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 10 03:12:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d667f0ac

net-mail/fdm: add 2.2

Closes: https://bugs.gentoo.org/886525
Signed-off-by: Sam James  gentoo.org>

 net-mail/fdm/Manifest   |  1 +
 net-mail/fdm/fdm-2.2.ebuild | 46 +
 2 files changed, 47 insertions(+)

diff --git a/net-mail/fdm/Manifest b/net-mail/fdm/Manifest
index 43e26b5d3da1..ca39643a6375 100644
--- a/net-mail/fdm/Manifest
+++ b/net-mail/fdm/Manifest
@@ -1,2 +1,3 @@
 DIST fdm-2.0.tar.gz 313596 BLAKE2B 
8b323f4a8953a46773a4e5a121dc97db4346f50990fcfb4c9d79ae40bbb73b61e3bf41bc95b76e44f6bed7b398cb210d58901823752e92ca7b83189cbc7e
 SHA512 
14e923202d17083ceb3b91b3a442d7e512c37f3d29535f22d8c0c4e1d57c97acc5d5465d643ed0cf437b3945ef777a6e38da3117219c2d54dcec88ecab1e10d9
 DIST fdm-2.1.tar.gz 318803 BLAKE2B 
2bb693177c69665d2354c382ab663a3283c5edae2cdf6f3bf2fe4133309de9d43e0e8ad38304eb002fe202eb20f982cdc892fb0b0d1698b13aa79f22be0a
 SHA512 
6a864048e1f25eedbb6af86451b258678b91e3c225b3b065a1aeb043f125405dfa109a0fbd77363394e14050053c7d81093d5b9d6a2dd155fb00dc98455028b4
+DIST fdm-2.2.tar.gz 319140 BLAKE2B 
dde9126aaf3183444123bb3b546f8997a5a25f5dc58bb7fc08818e491e2193543f4f06e758b479e61da7feaf752e3d3ddfd8103c616a49f0d65c41972bae7e12
 SHA512 
13efa0f272c5f6146b90e094602e8a9b52016af79ae0b6cd80dc9f36b2ba37f64cadae7313bd8db90bcb007dd07206a3614987f11bb82c3535e04f0511c9fc6d

diff --git a/net-mail/fdm/fdm-2.2.ebuild b/net-mail/fdm/fdm-2.2.ebuild
new file mode 100644
index ..6f672a81bac9
--- /dev/null
+++ b/net-mail/fdm/fdm-2.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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 )
+
+src_prepare() {
+   default
+
+   # Change user '_fdm' to 'fdm'
+   sed -e 's/_fdm/fdm/g' -i fdm.h || die
+}
+
+src_configure() {
+   econf $(use_enable pcre pcre2)
+}
+
+src_install() {
+   default
+
+   if use examples ; then
+   docinto examples
+   dodoc examples/*
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/

2022-12-17 Thread Sam James
commit: 9185fe1f4da39f9c847e8f39fcb54593b9e5f3fa
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 18 03:19:40 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 18 04:01:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9185fe1f

net-mail/fdm: add 2.1

Signed-off-by: Sam James  gentoo.org>

 net-mail/fdm/Manifest   |  1 +
 net-mail/fdm/fdm-2.1.ebuild | 46 +
 2 files changed, 47 insertions(+)

diff --git a/net-mail/fdm/Manifest b/net-mail/fdm/Manifest
index 1a6c5cc60af1..43e26b5d3da1 100644
--- a/net-mail/fdm/Manifest
+++ b/net-mail/fdm/Manifest
@@ -1 +1,2 @@
 DIST fdm-2.0.tar.gz 313596 BLAKE2B 
8b323f4a8953a46773a4e5a121dc97db4346f50990fcfb4c9d79ae40bbb73b61e3bf41bc95b76e44f6bed7b398cb210d58901823752e92ca7b83189cbc7e
 SHA512 
14e923202d17083ceb3b91b3a442d7e512c37f3d29535f22d8c0c4e1d57c97acc5d5465d643ed0cf437b3945ef777a6e38da3117219c2d54dcec88ecab1e10d9
+DIST fdm-2.1.tar.gz 318803 BLAKE2B 
2bb693177c69665d2354c382ab663a3283c5edae2cdf6f3bf2fe4133309de9d43e0e8ad38304eb002fe202eb20f982cdc892fb0b0d1698b13aa79f22be0a
 SHA512 
6a864048e1f25eedbb6af86451b258678b91e3c225b3b065a1aeb043f125405dfa109a0fbd77363394e14050053c7d81093d5b9d6a2dd155fb00dc98455028b4

diff --git a/net-mail/fdm/fdm-2.1.ebuild b/net-mail/fdm/fdm-2.1.ebuild
new file mode 100644
index ..bf1b62354bb5
--- /dev/null
+++ b/net-mail/fdm/fdm-2.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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:0=
+   sys-libs/tdb
+   pcre? ( dev-libs/libpcre )
+"
+RDEPEND="
+   ${DEPEND}
+   acct-group/fdm
+   acct-user/fdm
+"
+
+DOCS=( CHANGES README TODO MANUAL )
+
+src_prepare() {
+   default
+
+   # Change user '_fdm' to 'fdm'
+   sed -e 's/_fdm/fdm/g' -i fdm.h || die
+}
+
+src_configure() {
+   econf $(use_enable pcre)
+}
+
+src_install() {
+   default
+
+   if use examples ; then
+   docinto examples
+   dodoc examples/*
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/

2021-10-03 Thread Sam James
commit: 8be210726a8c67154ae1b6ab835e72ba86fd8723
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct  4 00:30:39 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct  4 00:30:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8be21072

net-mail/fdm: fix MissingInherits (complete GLEP 81 migration)

Signed-off-by: Sam James  gentoo.org>

 net-mail/fdm/fdm-2.0-r1.ebuild | 8 +---
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/net-mail/fdm/fdm-2.0-r1.ebuild b/net-mail/fdm/fdm-2.0-r1.ebuild
index b371fd17ac3..a98298a350e 100644
--- a/net-mail/fdm/fdm-2.0-r1.ebuild
+++ b/net-mail/fdm/fdm-2.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-DESCRIPTION="fetch, filter and deliver mail"
+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;
 
@@ -44,9 +44,3 @@ src_install() {
dodoc examples/*
fi
 }
-
-pkg_preinst() {
-   # This user is hard-coded in fdm.h. If fdm is started as root,
-   # it will attempt to drop privileges (to this user).
-   enewuser _fdm
-}



[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/

2021-07-15 Thread Conrad Kostecki
commit: 3e88226442418c989843a24b131c227c5115a3bb
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Thu Jul 15 22:02:30 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Thu Jul 15 22:11:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e882264

net-mail/fdm: drop old version

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 net-mail/fdm/fdm-2.0.ebuild | 41 -
 1 file changed, 41 deletions(-)

diff --git a/net-mail/fdm/fdm-2.0.ebuild b/net-mail/fdm/fdm-2.0.ebuild
deleted file mode 100644
index 694efe07388..000
--- a/net-mail/fdm/fdm-2.0.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit user
-
-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:0=
-   sys-libs/tdb
-   pcre? ( dev-libs/libpcre )"
-RDEPEND="${DEPEND}"
-
-DOCS=( CHANGES README TODO MANUAL )
-
-src_configure() {
-   econf $(use_enable pcre)
-}
-
-src_install() {
-   default
-
-   if use examples ; then
-   docinto examples
-   dodoc examples/*
-   fi
-}
-
-pkg_preinst() {
-   # This user is hard-coded in fdm.h. If fdm is started as root,
-   # it will attempt to drop privileges (to this user).
-   enewuser _fdm
-}



[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/

2021-07-15 Thread Sam James
commit: ef6d195691d588b40d84eb6cae76b8b32ba58c89
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 15 21:36:31 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 15 21:38:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef6d1956

net-mail/fdm: Stabilize 2.0-r1 amd64, #802330

Signed-off-by: Sam James  gentoo.org>

 net-mail/fdm/fdm-2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/fdm/fdm-2.0-r1.ebuild b/net-mail/fdm/fdm-2.0-r1.ebuild
index 5d9a5e778b1..b371fd17ac3 100644
--- a/net-mail/fdm/fdm-2.0-r1.ebuild
+++ b/net-mail/fdm/fdm-2.0-r1.ebuild
@@ -9,7 +9,7 @@ 
SRC_URI="https://github.com/nicm/fdm/releases/download/${PV}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 x86"
+KEYWORDS="amd64 ~arm64 x86"
 IUSE="examples pcre"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/

2021-07-15 Thread Sam James
commit: a30986508f63d90af3085c557527a1b820a4577b
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 15 21:33:08 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 15 21:33:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3098650

net-mail/fdm: Stabilize 2.0-r1 x86, #802330

Signed-off-by: Sam James  gentoo.org>

 net-mail/fdm/fdm-2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/fdm/fdm-2.0-r1.ebuild b/net-mail/fdm/fdm-2.0-r1.ebuild
index 565b705e22c..5d9a5e778b1 100644
--- a/net-mail/fdm/fdm-2.0-r1.ebuild
+++ b/net-mail/fdm/fdm-2.0-r1.ebuild
@@ -9,7 +9,7 @@ 
SRC_URI="https://github.com/nicm/fdm/releases/download/${PV}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 x86"
 IUSE="examples pcre"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/

2021-05-02 Thread Mikle Kolyada
commit: 0fc3525cdf7d5641f8fb7fc60974396c725858b2
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun May  2 14:44:24 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun May  2 14:51:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fc3525c

net-mail/fdm: remove libressl support

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-mail/fdm/fdm-2.0-r1.ebuild | 5 ++---
 net-mail/fdm/fdm-2.0.ebuild| 7 +++
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/net-mail/fdm/fdm-2.0-r1.ebuild b/net-mail/fdm/fdm-2.0-r1.ebuild
index 4e24d3c741f..565b705e22c 100644
--- a/net-mail/fdm/fdm-2.0-r1.ebuild
+++ b/net-mail/fdm/fdm-2.0-r1.ebuild
@@ -10,11 +10,10 @@ 
SRC_URI="https://github.com/nicm/fdm/releases/download/${PV}/${P}.tar.gz;
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="examples libressl pcre"
+IUSE="examples pcre"
 
 DEPEND="
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
+   dev-libs/openssl:0=
sys-libs/tdb
pcre? ( dev-libs/libpcre )
 "

diff --git a/net-mail/fdm/fdm-2.0.ebuild b/net-mail/fdm/fdm-2.0.ebuild
index c74527c128e..694efe07388 100644
--- a/net-mail/fdm/fdm-2.0.ebuild
+++ b/net-mail/fdm/fdm-2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,10 +12,9 @@ 
SRC_URI="https://github.com/nicm/fdm/releases/download/${PV}/${P}.tar.gz;
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 ~arm64 x86"
-IUSE="examples libressl pcre"
+IUSE="examples pcre"
 
-DEPEND="!libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
+DEPEND="dev-libs/openssl:0=
sys-libs/tdb
pcre? ( dev-libs/libpcre )"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/

2021-04-11 Thread Conrad Kostecki
commit: 64e15f7416bd638ed12830b5a94c3a453921af4b
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Apr 11 20:46:23 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Apr 11 20:52:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64e15f74

net-mail/fdm: migrate to GLEP 81

Closes: https://bugs.gentoo.org/781404
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 net-mail/fdm/fdm-2.0-r1.ebuild | 53 ++
 1 file changed, 53 insertions(+)

diff --git a/net-mail/fdm/fdm-2.0-r1.ebuild b/net-mail/fdm/fdm-2.0-r1.ebuild
new file mode 100644
index 000..4e24d3c741f
--- /dev/null
+++ b/net-mail/fdm/fdm-2.0-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 libressl pcre"
+
+DEPEND="
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   sys-libs/tdb
+   pcre? ( dev-libs/libpcre )
+"
+RDEPEND="
+   ${DEPEND}
+   acct-group/fdm
+   acct-user/fdm
+"
+
+DOCS=( CHANGES README TODO MANUAL )
+
+src_prepare() {
+   default
+
+   # Change user '_fdm' to 'fdm'
+   sed -e 's/_fdm/fdm/g' -i fdm.h || die
+}
+
+src_configure() {
+   econf $(use_enable pcre)
+}
+
+src_install() {
+   default
+
+   if use examples ; then
+   docinto examples
+   dodoc examples/*
+   fi
+}
+
+pkg_preinst() {
+   # This user is hard-coded in fdm.h. If fdm is started as root,
+   # it will attempt to drop privileges (to this user).
+   enewuser _fdm
+}



[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/

2020-11-29 Thread David Seifert
commit: 082039dad08e2ea40b5135f4ba0962e35051dc1c
Author: David Seifert  gentoo  org>
AuthorDate: Sun Nov 29 09:55:27 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Nov 29 09:55:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=082039da

net-mail/fdm: Remove old

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: David Seifert  gentoo.org>

 net-mail/fdm/Manifest   |  1 -
 net-mail/fdm/fdm-1.9.ebuild | 41 -
 net-mail/fdm/metadata.xml   |  3 ---
 3 files changed, 45 deletions(-)

diff --git a/net-mail/fdm/Manifest b/net-mail/fdm/Manifest
index 1efb740bd86..1a6c5cc60af 100644
--- a/net-mail/fdm/Manifest
+++ b/net-mail/fdm/Manifest
@@ -1,2 +1 @@
-DIST fdm-1.9.tar.gz 299916 BLAKE2B 
0c9bb9514a4d36fb1168be73fe745aa136cea75e0ebde28ab181be7d4b7e093c0bec775222e8a333e14baa90871739fa095a89bf8d1f16a86dee03b6d01021aa
 SHA512 
e7e5c8aae8be3e82ff6015d2d87fd9d0dad4fe24796b4f30d6874f761e2df6900c8940d39de28bb2db6ee3ea3faf494c57149037657d986a3b54db3a6a601ca7
 DIST fdm-2.0.tar.gz 313596 BLAKE2B 
8b323f4a8953a46773a4e5a121dc97db4346f50990fcfb4c9d79ae40bbb73b61e3bf41bc95b76e44f6bed7b398cb210d58901823752e92ca7b83189cbc7e
 SHA512 
14e923202d17083ceb3b91b3a442d7e512c37f3d29535f22d8c0c4e1d57c97acc5d5465d643ed0cf437b3945ef777a6e38da3117219c2d54dcec88ecab1e10d9

diff --git a/net-mail/fdm/fdm-1.9.ebuild b/net-mail/fdm/fdm-1.9.ebuild
deleted file mode 100644
index 7aeec589137..000
--- a/net-mail/fdm/fdm-1.9.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils multilib toolchain-funcs user
-
-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 x86"
-IUSE="courierauth examples libressl pcre"
-
-DEPEND="!libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   sys-libs/tdb
-   courierauth? ( net-libs/courier-authlib )
-   pcre? ( dev-libs/libpcre )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
-   enewuser _fdm
-}
-
-src_compile() {
-   emake CC="$(tc-getCC)" \
-   COURIER=$(use courierauth && echo 1) \
-   PCRE=$(use pcre && echo 1)
-}
-
-src_install() {
-   emake DESTDIR="${D}" PREFIX=/usr MANDIR=/usr/share/man install
-   dodoc CHANGES README TODO MANUAL
-   if use examples ; then
-   docinto examples
-   dodoc examples/*
-   fi
-}

diff --git a/net-mail/fdm/metadata.xml b/net-mail/fdm/metadata.xml
index dae07138c6d..61a735f7ec6 100644
--- a/net-mail/fdm/metadata.xml
+++ b/net-mail/fdm/metadata.xml
@@ -2,9 +2,6 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 
   
-  
-Add support for Courier authentication 
library
-  
   
 fdm
 nicm/fdm



[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/

2020-11-29 Thread Agostino Sarubbo
commit: 0eba744f4b6ed4ea25e45b7f5669b27b91bcf7c3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Nov 29 08:13:20 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Nov 29 08:13:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eba744f

net-mail/fdm: amd64 stable wrt bug #757195

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-mail/fdm/fdm-2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/fdm/fdm-2.0.ebuild b/net-mail/fdm/fdm-2.0.ebuild
index 90719cb0333..c74527c128e 100644
--- a/net-mail/fdm/fdm-2.0.ebuild
+++ b/net-mail/fdm/fdm-2.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/nicm/fdm/releases/download/${PV}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 x86"
+KEYWORDS="amd64 ~arm64 x86"
 IUSE="examples libressl pcre"
 
 DEPEND="!libressl? ( dev-libs/openssl:0= )



[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/

2020-11-27 Thread Thomas Deutschmann
commit: d9d1ab0eebbb62575de709d675a1ae62ccc88ddc
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Nov 27 16:44:07 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Nov 27 16:44:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9d1ab0e

net-mail/fdm: x86 stable (bug #757195)

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-mail/fdm/fdm-2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/fdm/fdm-2.0.ebuild b/net-mail/fdm/fdm-2.0.ebuild
index 4646a55c96e..90719cb0333 100644
--- a/net-mail/fdm/fdm-2.0.ebuild
+++ b/net-mail/fdm/fdm-2.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/nicm/fdm/releases/download/${PV}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 x86"
 IUSE="examples libressl pcre"
 
 DEPEND="!libressl? ( dev-libs/openssl:0= )



[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/

2020-09-19 Thread Stephen Klimaszewski
commit: 04761b50101fe5be215295ad72bee1ff3a66d445
Author: Steev Klimaszewski  gentoo  org>
AuthorDate: Sat Sep 19 19:39:07 2020 +
Commit: Stephen Klimaszewski  gentoo  org>
CommitDate: Sat Sep 19 20:05:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04761b50

net-mail/fdm: Add ~arm64

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Stephen Klimaszewski  gentoo.org>

 net-mail/fdm/fdm-2.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-mail/fdm/fdm-2.0.ebuild b/net-mail/fdm/fdm-2.0.ebuild
index 72b297c3ac2..4646a55c96e 100644
--- a/net-mail/fdm/fdm-2.0.ebuild
+++ b/net-mail/fdm/fdm-2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/nicm/fdm/releases/download/${PV}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="examples libressl pcre"
 
 DEPEND="!libressl? ( dev-libs/openssl:0= )



[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/

2019-06-25 Thread Michael Orlitzky
commit: 5372dc2164679ced7d53b2918059f1dfc76b5ea8
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Jun 25 14:27:39 2019 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Jun 25 14:28:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5372dc21

net-mail/fdm: new version 2.0.

This new version is intended to fix bug 677484 that is killing the
build. The previous version is a few years old, and an upgrade is
probably easier than patching. The new version also has some other
improvements:

  * Courier support was dropped (upstream commit bc34a567).

  * The ./configure script now supports --enable-pcre instead
of passing PCRE=1 to "make".

  * The build system installs stuff into the correct locations
without us passing variables to "make install".

  * User creation has been moved to pkg_preinst() since the user
is only needed at runtime.

  * Use EAPI=7.

  * Drop unused eutils, multilib, and toolchain-funcs eclasses.

Bug: https://bugs.gentoo.org/677484
Signed-off-by: Michael Orlitzky  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 net-mail/fdm/Manifest   |  1 +
 net-mail/fdm/fdm-2.0.ebuild | 42 ++
 2 files changed, 43 insertions(+)

diff --git a/net-mail/fdm/Manifest b/net-mail/fdm/Manifest
index fcf3fa2af8a..1efb740bd86 100644
--- a/net-mail/fdm/Manifest
+++ b/net-mail/fdm/Manifest
@@ -1 +1,2 @@
 DIST fdm-1.9.tar.gz 299916 BLAKE2B 
0c9bb9514a4d36fb1168be73fe745aa136cea75e0ebde28ab181be7d4b7e093c0bec775222e8a333e14baa90871739fa095a89bf8d1f16a86dee03b6d01021aa
 SHA512 
e7e5c8aae8be3e82ff6015d2d87fd9d0dad4fe24796b4f30d6874f761e2df6900c8940d39de28bb2db6ee3ea3faf494c57149037657d986a3b54db3a6a601ca7
+DIST fdm-2.0.tar.gz 313596 BLAKE2B 
8b323f4a8953a46773a4e5a121dc97db4346f50990fcfb4c9d79ae40bbb73b61e3bf41bc95b76e44f6bed7b398cb210d58901823752e92ca7b83189cbc7e
 SHA512 
14e923202d17083ceb3b91b3a442d7e512c37f3d29535f22d8c0c4e1d57c97acc5d5465d643ed0cf437b3945ef777a6e38da3117219c2d54dcec88ecab1e10d9

diff --git a/net-mail/fdm/fdm-2.0.ebuild b/net-mail/fdm/fdm-2.0.ebuild
new file mode 100644
index 000..72b297c3ac2
--- /dev/null
+++ b/net-mail/fdm/fdm-2.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit user
+
+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 ~x86"
+IUSE="examples libressl pcre"
+
+DEPEND="!libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   sys-libs/tdb
+   pcre? ( dev-libs/libpcre )"
+RDEPEND="${DEPEND}"
+
+DOCS=( CHANGES README TODO MANUAL )
+
+src_configure() {
+   econf $(use_enable pcre)
+}
+
+src_install() {
+   default
+
+   if use examples ; then
+   docinto examples
+   dodoc examples/*
+   fi
+}
+
+pkg_preinst() {
+   # This user is hard-coded in fdm.h. If fdm is started as root,
+   # it will attempt to drop privileges (to this user).
+   enewuser _fdm
+}



[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/

2019-02-16 Thread Pacho Ramos
commit: 015928f27ce15b08e2d15c30ab5a91eeb1a0bd34
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Feb 16 09:23:11 2019 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Feb 16 09:28:41 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=015928f2

net-mail/fdm: Drop old

Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: Pacho Ramos  gentoo.org>

 net-mail/fdm/Manifest   |  2 --
 net-mail/fdm/fdm-1.7.ebuild | 47 
 net-mail/fdm/fdm-1.8.ebuild | 48 -
 3 files changed, 97 deletions(-)

diff --git a/net-mail/fdm/Manifest b/net-mail/fdm/Manifest
index 9b89e0f7310..fcf3fa2af8a 100644
--- a/net-mail/fdm/Manifest
+++ b/net-mail/fdm/Manifest
@@ -1,3 +1 @@
-DIST fdm-1.7.tar.gz 199808 BLAKE2B 
92abf639c5ced219ddc70842820493e57914e23298c1b07bf8abc3c343b0dd58c71694afb34fad4bacbbf34109b8651511c75adccff81ee3caa1c1a298def866
 SHA512 
d438c96b1d3bdf08d14cfbb3b78ab5180e6bbc32121b7dfdd47ac14a4f8a19d1309f7742f78cc9db2d68b64b3422ec96f8f729931168d2fc411c36d0cc3e9386
-DIST fdm-1.8.tar.gz 193220 BLAKE2B 
bea041cc1cc8937831525f622e6f4ef70c8b11e5a4ad0f89cf1c0503cb4bcfb882f1d3a22abfd93c6ced524dcb2984c381728297454d2a5a7aed39f87d8eac35
 SHA512 
eaf868628c7c98385804ebdcf1756547ee487109fe02ca3d8177eb25ebdc4c61e6d4ad820c52fd9e39ac4d2f93408aa6787446e8330a87a6cb75da2be0b5f337
 DIST fdm-1.9.tar.gz 299916 BLAKE2B 
0c9bb9514a4d36fb1168be73fe745aa136cea75e0ebde28ab181be7d4b7e093c0bec775222e8a333e14baa90871739fa095a89bf8d1f16a86dee03b6d01021aa
 SHA512 
e7e5c8aae8be3e82ff6015d2d87fd9d0dad4fe24796b4f30d6874f761e2df6900c8940d39de28bb2db6ee3ea3faf494c57149037657d986a3b54db3a6a601ca7

diff --git a/net-mail/fdm/fdm-1.7.ebuild b/net-mail/fdm/fdm-1.7.ebuild
deleted file mode 100644
index 0c5d011d77b..000
--- a/net-mail/fdm/fdm-1.7.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils multilib toolchain-funcs user
-
-DESCRIPTION="fetch, filter and deliver mail"
-HOMEPAGE="http://fdm.sourceforge.net;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="courierauth examples pcre"
-
-DEPEND="dev-libs/openssl:0
-   sys-libs/tdb
-   courierauth? ( net-libs/courier-authlib )
-   pcre? ( dev-libs/libpcre )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
-   enewuser _fdm
-}
-
-src_prepare() {
-   rm Makefile || die
-   sed -e '/^FDEBUG=/s:=.*:=:' \
-   -e "/ifdef COURIER/aLIBS+=-L/usr/$(get_libdir)/courier-authlib" 
\
-   -i GNUmakefile || die
-}
-
-src_compile() {
-   emake CC="$(tc-getCC)" \
-   COURIER=$(use courierauth && echo 1) \
-   PCRE=$(use pcre && echo 1)
-}
-
-src_install() {
-   emake DESTDIR="${D}" PREFIX=/usr MANDIR=/usr/share/man install
-   dodoc CHANGES README TODO
-   if use examples ; then
-   docinto examples
-   dodoc examples/*
-   fi
-}

diff --git a/net-mail/fdm/fdm-1.8.ebuild b/net-mail/fdm/fdm-1.8.ebuild
deleted file mode 100644
index f3143004b7c..000
--- a/net-mail/fdm/fdm-1.8.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils multilib toolchain-funcs user
-
-DESCRIPTION="fetch, filter and deliver mail"
-HOMEPAGE="https://github.com/nicm/fdm;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="courierauth examples pcre"
-
-DEPEND="dev-libs/openssl:0
-   sys-libs/tdb
-   courierauth? ( net-libs/courier-authlib )
-   pcre? ( dev-libs/libpcre )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
-   enewuser _fdm
-}
-
-src_prepare() {
-   rm Makefile || die
-   sed -e '/^FDEBUG=/s:=.*:=:' \
-   -e "/ifdef 
COURIER/aLIBS+=-L${EROOT}usr/$(get_libdir)/courier-authlib" \
-   -e '/CPPFLAGS/s: -I/usr/local/include : :' \
-   -i GNUmakefile || die
-}
-
-src_compile() {
-   emake CC="$(tc-getCC)" \
-   COURIER=$(use courierauth && echo 1) \
-   PCRE=$(use pcre && echo 1)
-}
-
-src_install() {
-   emake DESTDIR="${D}" PREFIX=/usr MANDIR=/usr/share/man install
-   dodoc CHANGES README TODO MANUAL
-   if use examples ; then
-   docinto examples
-   dodoc examples/*
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/

2019-02-16 Thread Pacho Ramos
commit: b8c083943a037c58ae150fe6b96ca36f3f19169c
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Feb 16 09:22:51 2019 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Feb 16 09:28:40 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8c08394

net-mail/fdm: amd64 stable, bug #676736

Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: Pacho Ramos  gentoo.org>

 net-mail/fdm/fdm-1.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/fdm/fdm-1.9.ebuild b/net-mail/fdm/fdm-1.9.ebuild
index db82f933063..7aeec589137 100644
--- a/net-mail/fdm/fdm-1.9.ebuild
+++ b/net-mail/fdm/fdm-1.9.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/nicm/fdm/releases/download/${PV}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE="courierauth examples libressl pcre"
 
 DEPEND="!libressl? ( dev-libs/openssl:0= )



[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/

2016-05-30 Thread Michael Weber
commit: dc4ae2f989754df1a3fc973a4c42105666e44cb3
Author: Michael Weber  gentoo  org>
AuthorDate: Mon May 30 19:35:01 2016 +
Commit: Michael Weber  gentoo  org>
CommitDate: Mon May 30 19:35:21 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc4ae2f9

net-mail/fdm: Version bump (thanks Wonko7, 
https://github.com/gentoo/gentoo/pull/1550/).

Package-Manager: portage-2.3.0_rc1

 net-mail/fdm/Manifest   |  1 +
 net-mail/fdm/fdm-1.9.ebuild | 42 ++
 2 files changed, 43 insertions(+)

diff --git a/net-mail/fdm/Manifest b/net-mail/fdm/Manifest
index 903a203..34f4740 100644
--- a/net-mail/fdm/Manifest
+++ b/net-mail/fdm/Manifest
@@ -1,2 +1,3 @@
 DIST fdm-1.7.tar.gz 199808 SHA256 
484474094f124ce438c89dfab05519fe7b3aa8c8346d00f790a512ab950cef2a SHA512 
d438c96b1d3bdf08d14cfbb3b78ab5180e6bbc32121b7dfdd47ac14a4f8a19d1309f7742f78cc9db2d68b64b3422ec96f8f729931168d2fc411c36d0cc3e9386
 WHIRLPOOL 
ad5f7b1253f660424f29237d99b9ec0f9d7c9e701e76ea1d49a0fd340527e20f429f517333a108b81f23a29488c7fc25cc0fda4d9e44b26b16222075209c
 DIST fdm-1.8.tar.gz 193220 SHA256 
4f4c000d3e2cd11936c23c0d7a95da860743b7543790d5797268df18864b2342 SHA512 
eaf868628c7c98385804ebdcf1756547ee487109fe02ca3d8177eb25ebdc4c61e6d4ad820c52fd9e39ac4d2f93408aa6787446e8330a87a6cb75da2be0b5f337
 WHIRLPOOL 
6ad9ceae0c11ea1d7e83dd5378fc5c75885fea5d2871919c6c32bd27a814612a309583b13cfa8acf592efb2a6d5f33393c2fe965120d842b7ef123376ba348bf
+DIST fdm-1.9.tar.gz 299916 SHA256 
16416c38a9a7e32d187220cc5ae61a51463d5e4e47419c5c513f422523d39914 SHA512 
e7e5c8aae8be3e82ff6015d2d87fd9d0dad4fe24796b4f30d6874f761e2df6900c8940d39de28bb2db6ee3ea3faf494c57149037657d986a3b54db3a6a601ca7
 WHIRLPOOL 
62f214ac4bbb388864c383b3e84910fb275970f4a326e2c3ad712e3f19208d2a660f771d63577288123269b64896ecfb1ce680e394d8a8aea3f6750615ddb112

diff --git a/net-mail/fdm/fdm-1.9.ebuild b/net-mail/fdm/fdm-1.9.ebuild
new file mode 100644
index 000..7864c00
--- /dev/null
+++ b/net-mail/fdm/fdm-1.9.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib toolchain-funcs user
+
+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 ~x86"
+IUSE="courierauth examples libressl pcre"
+
+DEPEND="!libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   sys-libs/tdb
+   courierauth? ( net-libs/courier-authlib )
+   pcre? ( dev-libs/libpcre )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+   enewuser _fdm
+}
+
+src_compile() {
+   emake CC="$(tc-getCC)" \
+   COURIER=$(use courierauth && echo 1) \
+   PCRE=$(use pcre && echo 1)
+}
+
+src_install() {
+   emake DESTDIR="${D}" PREFIX=/usr MANDIR=/usr/share/man install
+   dodoc CHANGES README TODO MANUAL
+   if use examples ; then
+   docinto examples
+   dodoc examples/*
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/

2015-08-27 Thread Tim Harder
commit: 89c7c9c6fd4fea0523baa0d24267e1552ef09b12
Author: Tim Harder radhermit AT gentoo DOT org
AuthorDate: Thu Aug 27 07:56:21 2015 +
Commit: Tim Harder radhermit AT gentoo DOT org
CommitDate: Thu Aug 27 08:03:55 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89c7c9c6

net-mail/fdm: update HOMEPAGE

 net-mail/fdm/fdm-1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/fdm/fdm-1.8.ebuild b/net-mail/fdm/fdm-1.8.ebuild
index ec3e36d..9f81537 100644
--- a/net-mail/fdm/fdm-1.8.ebuild
+++ b/net-mail/fdm/fdm-1.8.ebuild
@@ -7,7 +7,7 @@ EAPI=5
 inherit eutils multilib toolchain-funcs user
 
 DESCRIPTION=fetch, filter and deliver mail
-HOMEPAGE=http://fdm.sourceforge.net;
+HOMEPAGE=https://github.com/nicm/fdm;
 SRC_URI=mirror://sourceforge/${PN}/${P}.tar.gz
 
 LICENSE=BSD