From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/milter-regex/
Date: Thu, 4 Aug 2022 01:45:48 +0000 (UTC) [thread overview]
Message-ID: <1659575112.d38d07e672b06d152211965d1e464dc9650f41dc.sam@gentoo> (raw)
commit: d38d07e672b06d152211965d1e464dc9650f41dc
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 4 01:00:45 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 4 01:05:12 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d38d07e6
mail-filter/milter-regex: depend on libmilter
libmilter and sendmail no longer block each other, and we also need a := dep on
libmilter.
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../milter-regex/milter-regex-2.7-r1.ebuild | 46 ++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/mail-filter/milter-regex/milter-regex-2.7-r1.ebuild b/mail-filter/milter-regex/milter-regex-2.7-r1.ebuild
new file mode 100644
index 000000000000..a4095fb37dbb
--- /dev/null
+++ b/mail-filter/milter-regex/milter-regex-2.7-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="A milter-based regular expression filter"
+HOMEPAGE="https://www.benzedrine.ch/milter-regex.html"
+SRC_URI="https://www.benzedrine.ch/${P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="acct-user/milter-regex
+ >=mail-filter/libmilter-1.0.2_p2:="
+DEPEND="${RDEPEND}
+ virtual/yacc"
+
+src_prepare() {
+ eapply "${FILESDIR}/${PN}-2.6-gentoo.patch"
+ eapply_user
+ # Change default user
+ sed -i -e 's/_\(milter-regex\)/\1/g' ${PN}.[8c] || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" -f Makefile.linux all
+}
+
+src_install() {
+ dobin ${PN}
+ insinto /etc
+ newins rules ${PN}.conf
+ newconfd "${FILESDIR}/${PN}-conf-2.6" ${PN}
+ newinitd "${FILESDIR}/${PN}-init" ${PN}
+ doman *.8
+}
+
+pkg_postinst() {
+ elog "Postfix configuration example (add to main.cf or master.cf):"
+ elog " smtpd_milters=unix:/run/milter-regex/socket"
+ elog "Sendmail configuration example:"
+ elog " INPUT_MAIL_FILTER(\`${PN}',\`S=unix:/run/milter-regex/socket,T=S:30s;R:2m')"
+}
next reply other threads:[~2022-08-04 1:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-04 1:45 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-12-18 18:50 [gentoo-commits] repo/gentoo:master commit in: mail-filter/milter-regex/ Arthur Zamarin
2022-12-18 12:15 Sam James
2022-11-02 14:24 Joonas Niilola
2022-11-02 14:24 Joonas Niilola
2021-04-13 15:59 Sam James
2020-10-13 10:01 Agostino Sarubbo
2020-10-13 9:26 Agostino Sarubbo
2019-12-21 15:06 Joonas Niilola
2019-07-25 13:06 Agostino Sarubbo
2019-07-24 20:49 Thomas Deutschmann
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=1659575112.d38d07e672b06d152211965d1e464dc9650f41dc.sam@gentoo \
--to=sam@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