public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Eray Aslan" <eras@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/mailutils/files/, net-mail/mailutils/
Date: Thu, 24 Dec 2015 07:44:25 +0000 (UTC)	[thread overview]
Message-ID: <1450942692.262d9d7e58d664c50b12bf84e9dbc97cc9cb4539.eras@gentoo> (raw)

commit:     262d9d7e58d664c50b12bf84e9dbc97cc9cb4539
Author:     Eray Aslan <eras <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 24 07:38:12 2015 +0000
Commit:     Eray Aslan <eras <AT> gentoo <DOT> org>
CommitDate: Thu Dec 24 07:38:12 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=262d9d7e

Fix building with -tcpd USE flag (#569066)

Package-Manager: portage-2.2.26

 .../mailutils/files/mailutils-tcp_wrappers.patch   | 22 ++++++++++++++++++++++
 net-mail/mailutils/mailutils-2.99.99.ebuild        |  7 +++++--
 2 files changed, 27 insertions(+), 2 deletions(-)

diff --git a/net-mail/mailutils/files/mailutils-tcp_wrappers.patch b/net-mail/mailutils/files/mailutils-tcp_wrappers.patch
new file mode 100644
index 0000000..81517ca
--- /dev/null
+++ b/net-mail/mailutils/files/mailutils-tcp_wrappers.patch
@@ -0,0 +1,22 @@
+--- a/maidag/maidag.c	2015-07-02 22:45:39.000000000 +0300
++++ b/maidag/maidag.c	2015-12-22 11:55:17.000000000 +0200
+@@ -518,7 +518,9 @@
+   
+   mu_gocs_register ("sieve", mu_sieve_module_init);
+ 
++#ifdef WITH_LIBWRAP
+   mu_tcpwrapper_cfg_init ();
++#endif
+   mu_acl_cfg_init ();
+   mu_m_server_cfg_init (NULL);
+   maidag_cfg_init ();
+@@ -531,7 +533,9 @@
+ 
+   mu_m_server_create (&server, program_version);
+   mu_m_server_set_conn (server, lmtp_connection);
++#ifdef WITH_LIBWRAP
+   mu_m_server_set_prefork (server, mu_tcp_wrapper_prefork);
++#endif
+   mu_m_server_set_mode (server, MODE_INTERACTIVE);
+   mu_m_server_set_max_children (server, 20);
+   mu_m_server_set_timeout (server, 600);

diff --git a/net-mail/mailutils/mailutils-2.99.99.ebuild b/net-mail/mailutils/mailutils-2.99.99.ebuild
index 16a9fec..aac4a57 100644
--- a/net-mail/mailutils/mailutils-2.99.99.ebuild
+++ b/net-mail/mailutils/mailutils-2.99.99.ebuild
@@ -48,7 +48,8 @@ RDEPEND="!mail-client/nmh
 DEPEND="${RDEPEND}
 	virtual/pkgconfig"
 
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
+	servers? ( tcpd )"
 
 pkg_setup() {
 	use python && python-single-r1_pkg_setup
@@ -58,10 +59,11 @@ src_prepare() {
 	# Disable bytecompilation of Python modules.
 	echo "#!/bin/sh" > build-aux/py-compile
 	epatch "${FILESDIR}/${PN}-2.99.98-readline-6.3.patch" #503954
+	epatch "${FILESDIR}/${PN}-tcp_wrappers.patch"
 	if use mysql; then
 		sed -i -e /^INCLUDES/"s:$:$(mysql_config --include):" \
 			sql/Makefile.am || die
-		eautoreconf
+			eautoreconf
 	fi
 }
 
@@ -90,6 +92,7 @@ src_configure() {
 		$(use_enable threads pthread) \
 		$(use_with tokyocabinet) \
 		$(use_with kyotocabinet) \
+		$(use_with tcpd tcp-wrappers) \
 		$(use_enable servers build-servers) \
 		$(use_enable clients build-clients) \
 		--with-mail-spool=/var/spool/mail \


             reply	other threads:[~2015-12-24  7:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-24  7:44 Eray Aslan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-06-19 15:58 [gentoo-commits] repo/gentoo:master commit in: net-mail/mailutils/files/, net-mail/mailutils/ Eray Aslan
2018-06-22 12:21 Eray Aslan
2019-02-07 13:14 Eray Aslan
2019-08-08  6:00 Eray Aslan
2020-03-23 11:51 Eray Aslan
2021-04-17  9:05 Eray Aslan
2021-07-30  7:08 Eray Aslan
2025-01-08 10:12 Eray Aslan

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=1450942692.262d9d7e58d664c50b12bf84e9dbc97cc9cb4539.eras@gentoo \
    --to=eras@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