From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/libmilter/
Date: Wed, 18 Aug 2021 19:39:27 +0000 (UTC) [thread overview]
Message-ID: <1629315368.748e1a7ac8b0073fe32f6e1b4d7cab42d43810e5.sam@gentoo> (raw)
commit: 748e1a7ac8b0073fe32f6e1b4d7cab42d43810e5
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 18 19:36:08 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 18 19:36:08 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=748e1a7a
mail-filter/libmilter: add 1.0.2_p2
Signed-off-by: Sam James <sam <AT> gentoo.org>
mail-filter/libmilter/Manifest | 1 +
mail-filter/libmilter/libmilter-1.0.2_p2.ebuild | 89 +++++++++++++++++++++++++
2 files changed, 90 insertions(+)
diff --git a/mail-filter/libmilter/Manifest b/mail-filter/libmilter/Manifest
index 88526081354..b38ddeefb19 100644
--- a/mail-filter/libmilter/Manifest
+++ b/mail-filter/libmilter/Manifest
@@ -1,3 +1,4 @@
DIST sendmail.8.14.5.tar.gz 2092508 BLAKE2B 3d90fa9778ebb42f2f334b35e46d0f24e8fcfd46fe69d6032f246c90fc998fbeb21e70c70bc454c688a76ea00c90ee9b5f0e5e0fc9b89b9f16fa9c814a825f9c SHA512 178addd247f1c7c8ca90d70b9240db4cad4e55f0710d5df0fe979e5473a182d2035150c352836576a28bb2b9660b0d5ebfcd95269a156ac0d2c3dba3edb60452
DIST sendmail.8.15.2.tar.gz 2207417 BLAKE2B 3d9dfb5bc2b535e30ef2fc61333e12a9b1fc45a5d730d2bed1ef956adb574721833f87aeba0475705b76e0c7d6cf00f9a10025bffb0de6c6b4dae606eb2ec399 SHA512 04feb37316c13b66b1518596507a7da7c16cb0bf1abf10367f7fd888a428fadb093a9efa55342fa55b936c3f0cbdc63b9e2505cd99201a69a0c05b8ad65f49f9
DIST sendmail.8.16.1.tar.gz 2236402 BLAKE2B 80a9c2f1d04719099703e55f0a0c54fd638cf69b72839d358ae6863c95c9e0965d1b7fdd5b1807bec1ffdf87bca0c7c9ba91060962e6de5da5bf14422f6279ea SHA512 d7d4aac3c6d7505782abdb166204901b8b51cac000d610dfe40eda9eef7441a073af9e8e0b14c8719b07b445f55a1e2c28ac63d663d0daa7f1eafc5a101788b2
+DIST sendmail.8.17.1.tar.gz 2284027 BLAKE2B 4cbbc2bb536a48ea27994721e9dfefff7739ef1c825bbc0397202e600d8dad8f9a2572a777204693cf9630f767865d50566f0827be6b52be41c1e25532cb394c SHA512 ae42343fb06c09f2db5d919d602afc4241914387dfdae0f15e0967dda3be25bf1d3a4637b57266763679646a3cea6aa07e6453266fd9b7358c1a09ec2b627a15
diff --git a/mail-filter/libmilter/libmilter-1.0.2_p2.ebuild b/mail-filter/libmilter/libmilter-1.0.2_p2.ebuild
new file mode 100644
index 00000000000..ef84d62af4d
--- /dev/null
+++ b/mail-filter/libmilter/libmilter-1.0.2_p2.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# Note: please bump this together with mail-mta/sendmail
+
+inherit toolchain-funcs
+
+# This library is part of sendmail, but it does not share the version number with it.
+# In order to find the right libmilter version number, check SMFI_VERSION definition
+# that can be found in ${S}/include/libmilter/mfapi.h (see also SM_LM_VRS_* defines).
+# For example, version 1.0.1 has a SMFI_VERSION of 0x01000001.
+SENDMAIL_VER=8.17.1
+
+DESCRIPTION="The Sendmail Filter API (Milter)"
+HOMEPAGE="http://www.sendmail.org/"
+SRC_URI="ftp://ftp.sendmail.org/pub/sendmail/sendmail.${SENDMAIL_VER}.tar.gz"
+S="${WORKDIR}/sendmail-${SENDMAIL_VER}"
+
+LICENSE="Sendmail"
+# We increment _pN when a new sendmail tarball comes out
+# We change the actual "main version" (1.0.2 at time of writing) when the version
+# of libmilter included in the tarball changes.
+SLOT="0/$(ver_cut 1-3)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="ipv6 poll"
+
+RDEPEND="!<mail-mta/sendmail-8.16.1"
+
+# build system patch copied from sendmail ebuild
+PATCHES=(
+ "${FILESDIR}"/sendmail-8.16.1-build-system.patch
+ "${FILESDIR}"/${PN}-sharedlib.patch
+)
+
+src_prepare() {
+ default
+
+ local ENVDEF="-DNETUNIX -DNETINET -DHAS_GETHOSTBYNAME2=1"
+
+ use ipv6 && ENVDEF+=" -DNETINET6"
+ use poll && ENVDEF+=" -DSM_CONF_POLL=1"
+
+ if use elibc_musl; then
+ use ipv6 && ENVDEF+=" -DNEEDSGETIPNODE"
+
+ eapply "${FILESDIR}"/${PN}-musl-stack-size.patch
+ eapply "${FILESDIR}"/${PN}-musl-disable-cdefs.patch
+ fi
+
+ sed -e "s|@@CC@@|$(tc-getCC)|" \
+ -e "s|@@CFLAGS@@|${CFLAGS}|" \
+ -e "s|@@ENVDEF@@|${ENVDEF}|" \
+ -e "s|@@LDFLAGS@@|${LDFLAGS}|" \
+ "${FILESDIR}"/gentoo.config.m4 > devtools/Site/site.config.m4 \
+ || die "failed to generate site.config.m4"
+}
+
+src_compile() {
+ emake -j1 -C libmilter AR="$(tc-getAR)" MILTER_SOVER=${PV}
+}
+
+src_install() {
+ dodir /usr/$(get_libdir)
+
+ local emakeargs=(
+ DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)"
+ MANROOT=/usr/share/man/man
+ SBINOWN=root SBINGRP=0 UBINOWN=root UBINGRP=0
+ LIBOWN=root LIBGRP=0 GBINOWN=root GBINGRP=0
+ MANOWN=root MANGRP=0 INCOWN=root INCGRP=0
+ MSPQOWN=root CFOWN=root CFGRP=0
+ MILTER_SOVER="$(ver_cut 1-3)"
+ )
+ emake -C obj.*/libmilter "${emakeargs[@]}" install
+
+ dodoc libmilter/README
+
+ docinto html
+ dodoc -r libmilter/docs/.
+
+ if [[ ${PV} != $(ver_cut 1-3) ]] ; then
+ # See comment above ${SLOT} definition above.
+ dosym ${PN}.so.$(ver_cut 1-3) /usr/$(get_libdir)/${PN}.so.${PV}
+ fi
+
+ find "${ED}" -name '*.a' -delete || die
+}
next reply other threads:[~2021-08-18 19:39 UTC|newest]
Thread overview: 82+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-18 19:39 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-06 15:31 [gentoo-commits] repo/gentoo:master commit in: mail-filter/libmilter/ Sam James
2025-09-06 15:26 Sam James
2025-09-06 15:26 Sam James
2025-09-06 15:26 Sam James
2025-09-06 15:26 Sam James
2025-05-27 6:39 Sam James
2025-05-27 6:39 Sam James
2025-05-27 6:31 Sam James
2025-05-27 6:31 Sam James
2025-05-27 6:31 Sam James
2025-05-27 6:31 Sam James
2025-04-10 9:34 Sam James
2025-04-02 1:43 Sam James
2025-04-02 1:43 Sam James
2022-12-14 1:53 Sam James
2022-12-09 6:54 Joonas Niilola
2022-11-18 20:06 Arthur Zamarin
2022-11-18 20:06 Arthur Zamarin
2022-09-19 6:31 Michał Górny
2022-08-28 6:59 Joonas Niilola
2022-08-28 6:59 Joonas Niilola
2022-08-26 10:08 Sam James
2022-08-24 16:09 Arthur Zamarin
2022-08-24 7:04 Sam James
2022-08-24 5:28 Agostino Sarubbo
2022-08-24 5:26 Agostino Sarubbo
2022-08-24 4:01 Arthur Zamarin
2022-08-24 4:01 Arthur Zamarin
2022-08-24 4:01 Arthur Zamarin
2022-08-24 4:01 Arthur Zamarin
2022-08-24 4:01 Arthur Zamarin
2022-08-24 4:01 Arthur Zamarin
2022-08-24 1:30 Sam James
2022-08-24 1:30 Sam James
2022-08-13 19:24 Sam James
2022-08-03 21:53 Sam James
2022-07-31 23:01 Sam James
2022-07-31 8:35 Sam James
2022-07-31 8:27 Sam James
2022-02-23 4:39 Arthur Zamarin
2022-02-19 12:53 Arthur Zamarin
2022-02-19 12:32 Arthur Zamarin
2022-02-19 12:02 Arthur Zamarin
2022-02-19 9:03 Arthur Zamarin
2022-02-19 8:20 Arthur Zamarin
2021-09-07 17:04 Sam James
2021-08-26 19:51 Sam James
2021-08-24 23:26 Sam James
2021-08-24 23:26 Sam James
2021-08-23 22:16 Agostino Sarubbo
2021-08-23 10:47 Agostino Sarubbo
2021-08-23 10:46 Agostino Sarubbo
2021-08-23 10:44 Agostino Sarubbo
2021-08-23 0:39 Sam James
2021-07-23 18:28 Marek Szuba
2021-07-18 1:57 Ionen Wolkens
2021-06-01 9:44 Ionen Wolkens
2021-06-01 9:44 Ionen Wolkens
2021-06-01 9:44 Ionen Wolkens
2021-01-22 21:42 Sam James
2021-01-22 21:42 Sam James
2020-08-18 12:24 Sam James
2020-06-28 10:41 Joonas Niilola
2020-04-04 9:24 Mart Raudsepp
2020-03-24 13:32 Ben Kohler
2020-03-18 11:13 Agostino Sarubbo
2020-03-18 11:11 Agostino Sarubbo
2020-03-18 11:04 Agostino Sarubbo
2020-03-18 9:56 Agostino Sarubbo
2020-03-18 9:46 Agostino Sarubbo
2020-03-17 18:44 Agostino Sarubbo
2020-03-16 18:25 Sergei Trofimovich
2019-05-06 15:25 Tobias Klausmann
2019-04-18 4:16 Aaron Bauman
2019-04-18 3:30 Aaron Bauman
2019-04-12 22:09 Andreas K. Hüttel
2019-03-28 5:50 Markus Meier
2019-03-25 22:18 Sergei Trofimovich
2019-03-24 20:12 Sergei Trofimovich
2019-03-24 19:44 Sergei Trofimovich
2019-03-23 9:58 Sergei Trofimovich
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=1629315368.748e1a7ac8b0073fe32f6e1b4d7cab42d43810e5.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