public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/
Date: Sun, 11 Apr 2021 20:52:54 +0000 (UTC)	[thread overview]
Message-ID: <1618174352.64e15f7416bd638ed12830b5a94c3a453921af4b.conikost@gentoo> (raw)

commit:     64e15f7416bd638ed12830b5a94c3a453921af4b
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 11 20:46:23 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Apr 11 20:52:32 2021 +0000
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 <conikost <AT> 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 00000000000..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
+}


             reply	other threads:[~2021-04-11 20:52 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-11 20:52 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-03-18 21:54 [gentoo-commits] repo/gentoo:master commit in: net-mail/fdm/ Sam James
2023-03-17 17:26 Sam James
2023-03-17 17:00 Sam James
2023-01-10  3:14 Sam James
2022-12-18  4:20 Sam James
2021-10-04  0:47 Sam James
2021-07-15 22:12 Conrad Kostecki
2021-07-15 21:39 Sam James
2021-07-15 21:33 Sam James
2021-05-02 14:51 Mikle Kolyada
2020-11-29  9:56 David Seifert
2020-11-29  8:15 Agostino Sarubbo
2020-11-27 16:49 Thomas Deutschmann
2020-09-19 20:05 Stephen Klimaszewski
2019-06-25 14:31 Michael Orlitzky
2019-02-16  9:28 Pacho Ramos
2019-02-16  9:28 Pacho Ramos
2016-05-30 19:36 Michael Weber
2015-08-27  8:04 Tim Harder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1618174352.64e15f7416bd638ed12830b5a94c3a453921af4b.conikost@gentoo \
    --to=conikost@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox