diff options
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/Manifest.gz | bin | 8379 -> 8372 bytes | |||
-rw-r--r-- | mail-filter/libmilter/Manifest | 6 | ||||
-rw-r--r-- | mail-filter/libmilter/libmilter-1.0.2_p1-r2.ebuild | 81 | ||||
-rw-r--r-- | mail-filter/libmilter/libmilter-1.0.2_p2-r1.ebuild | 94 | ||||
-rw-r--r-- | mail-filter/libmilter/libmilter-1.0.2_p2.ebuild | 89 | ||||
-rw-r--r-- | mail-filter/libmilter/libmilter-1.0.2_p3-r1.ebuild | 131 |
6 files changed, 0 insertions, 401 deletions
diff --git a/mail-filter/Manifest.gz b/mail-filter/Manifest.gz Binary files differindex 8ca83cf76bc9..3c40636da588 100644 --- a/mail-filter/Manifest.gz +++ b/mail-filter/Manifest.gz diff --git a/mail-filter/libmilter/Manifest b/mail-filter/libmilter/Manifest index a3921c20a751..d83340046c6a 100644 --- a/mail-filter/libmilter/Manifest +++ b/mail-filter/libmilter/Manifest @@ -3,12 +3,6 @@ AUX libmilter-musl-disable-cdefs.patch 352 BLAKE2B 192218bd59e4b5b4b7b7dd8f0a7a3 AUX libmilter-musl-stack-size.patch 1522 BLAKE2B c2348f569cf69d52418beef8b2fc5fea31d5e100ab849220aca1ebbae44a955c482c375a02ddf43524894574355cebdc292b9566bfa420dead96df2d229a44a8 SHA512 d3e12943fe7e9babdf700a2d8c0229bc16fa2ea16097615600341dee13f137b157ffa4b03f76c92ba9c5552ca3bf01cb598f6a6201720408df3a37247001a219 AUX libmilter-sharedlib.patch 2843 BLAKE2B d64be1f4f4561a4056bca9784f00b4c965adbf30e99e1b9318162e6a3dad043eb508e925234a586443a8e8fd992f8aee67557f6c3d1e54f644d9c6c8fa7c267a SHA512 31c36b57739946c1b9c7c85307fe5c53c45d7f8cbf427a0f2248db8b74871a6f5a30ef1af524915821aeca54310d28272bcd0a587cb918192214fa5c30e4a8da AUX sendmail-8.16.1-build-system.patch 9701 BLAKE2B f1bbf82ab321b502ecbd5d2658e549275330ec6f6fdd2a31af36aba580adc1fafa74acaf1213798787c5b6c985e86f366f68e4c260212e4856e5778201400bfc SHA512 9a3dad2df6a84729a5dd7dfc7c696acacdb96d1b0856f763604e1183f9fb7e7e5fc6012d4299c9e0a6a57c65d763d4ca607f3c7862a2055aa3aedf3994ed22fe -DIST sendmail.8.16.1.tar.gz 2236402 BLAKE2B 80a9c2f1d04719099703e55f0a0c54fd638cf69b72839d358ae6863c95c9e0965d1b7fdd5b1807bec1ffdf87bca0c7c9ba91060962e6de5da5bf14422f6279ea SHA512 d7d4aac3c6d7505782abdb166204901b8b51cac000d610dfe40eda9eef7441a073af9e8e0b14c8719b07b445f55a1e2c28ac63d663d0daa7f1eafc5a101788b2 DIST sendmail.8.17.1.9.tar.gz 2345302 BLAKE2B 378f2f98ffff6457c49f934228964e792acec6f33fbabd89a8712f09f1dc7afc951b7c984a397aa7dd3773d86bdf57a946ea9ac54ae426bc0b8ea4c040e2ad4a SHA512 ad8198b12bdc0037de5b64b2504bd5e0a42bf054274a4834163a7c46953b9aec23d52d58063cc6b925d90199973608f35edeb40128671ae32889f4558e5c0d4b -DIST sendmail.8.17.1.tar.gz 2284027 BLAKE2B 4cbbc2bb536a48ea27994721e9dfefff7739ef1c825bbc0397202e600d8dad8f9a2572a777204693cf9630f767865d50566f0827be6b52be41c1e25532cb394c SHA512 ae42343fb06c09f2db5d919d602afc4241914387dfdae0f15e0967dda3be25bf1d3a4637b57266763679646a3cea6aa07e6453266fd9b7358c1a09ec2b627a15 -EBUILD libmilter-1.0.2_p1-r2.ebuild 2272 BLAKE2B 8979bd7f2d12c3c18abadbeaae5d82f1b7e04d6db17041de4378b1f3a95c11b0a3911ae149e4266484b9e257cfaa69b2998ba1141db8de0e71c8135b6a4325b0 SHA512 27552b30e4dc91c8100d0382cc578a1a900d6fc7cc10e07b6aee45ce75c5313fb9fcb10531a59d085aaf6c5b7fb4ed5d13342cb9838d8648b57d71efafb5b4a1 -EBUILD libmilter-1.0.2_p2-r1.ebuild 2915 BLAKE2B f555bb76417f037823485cb37c59434392e0d65400c1b53770143046c72a6e74f9525141d9f18b09d0d068d84a929a3704a51f7e528ec79f2c6e5a0201f66852 SHA512 4f2d5e240579c2b515fa821ec932112d78282b6646709221bd9f6817e2e976a8481622a07658339e58289188ad5fb6f71be7b527002817023004fb06c1dc5f58 -EBUILD libmilter-1.0.2_p2.ebuild 2645 BLAKE2B ea4b32e132f329b8ba209032a48c9557ef63ba4103752b6ce4594ff5a93139568f9ce93d9edc6f0c5d3b329672c7efb04ab8871afcb8428223f9540029a6d5a1 SHA512 65b7590d1c85249aa0e4fb32cd1ab1acc766649b1dd63cb77246d6b890662dfe2c3967e88c1aaae39a30755f5e61a6c6571241a6f2a7bd293333ca256dfe43b0 -EBUILD libmilter-1.0.2_p3-r1.ebuild 4695 BLAKE2B b39e5fc397aa5b729b0a482190fee416688f987bfc055bf867cde0c4eb64516fa8d4d9c3038c8dbdfce4d8c7751e87e1594e854b1ad3cb1e6ca428c869cc3369 SHA512 70973be6da8fb00978e46a38a24af049b248639103e93db83b03b4722d618af1f217b9b875be2f45a3a44a0ea12ec4e8f9512d8a572c36ff9924450924309b8a EBUILD libmilter-1.0.2_p3-r2.ebuild 4986 BLAKE2B 433e3c227fda48a8e6a4cc86541c1f25725b73a8fd1276fcddd071f05ab42879aa0fb3b181da017f6af3ca1aa4a7f7b8d165fdb3cda87cce3fb1dbe0d6570c35 SHA512 d38495fdb674b9e464bc0f9011d75ce5326fce0133e9a6999f1fa714d6c49f029053ae47086b567188d7f984ae939e03ca9f21626605acb06ec2b85d35f2fea1 MISC metadata.xml 242 BLAKE2B a1470d88ad351df055ea5db2b64a027099793950747d234bac52821b06e634b26f7ee7b8390ef036b8ed46d00e4b4e6e06879e190a94e7f5d83613075fbce3b2 SHA512 3973306ad870afaf30305f9f79177798bde6c1bd2f826bc57a9e772c57ec83762c460c25357d4aa286a5d74469ad470c9acc171648bdd0cedd5df268a107c45f diff --git a/mail-filter/libmilter/libmilter-1.0.2_p1-r2.ebuild b/mail-filter/libmilter/libmilter-1.0.2_p1-r2.ebuild deleted file mode 100644 index df1a48b1fe6c..000000000000 --- a/mail-filter/libmilter/libmilter-1.0.2_p1-r2.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2022 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.16.1 - -DESCRIPTION="The Sendmail Filter API (Milter)" -HOMEPAGE="https://www.proofpoint.com/us/products/email-protection/open-source-email-solution" -SRC_URI="ftp://ftp.sendmail.org/pub/sendmail/sendmail.${SENDMAIL_VER}.tar.gz" -S="${WORKDIR}/sendmail-${SENDMAIL_VER}" - -LICENSE="Sendmail" -SLOT="0/${PV}" -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=${PV} - ) - emake -C obj.*/libmilter "${emakeargs[@]}" install - - dodoc libmilter/README - - docinto html - dodoc -r libmilter/docs/. - - find "${ED}" -name '*.a' -delete || die -} diff --git a/mail-filter/libmilter/libmilter-1.0.2_p2-r1.ebuild b/mail-filter/libmilter/libmilter-1.0.2_p2-r1.ebuild deleted file mode 100644 index 8485a9d79bd9..000000000000 --- a/mail-filter/libmilter/libmilter-1.0.2_p2-r1.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2022 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="https://www.proofpoint.com/us/products/email-protection/open-source-email-solution" -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 ~s390 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 - # Move the .so file to the more specific name so it becomes a chain like - # .so -> .so.1.0.2 -> .so.1.0.2_p2, otherwise ldconfig can get confused - # (bug #864563). - # - # See comment above ${SLOT} definition above. - mv "${ED}"/usr/$(get_libdir)/"${PN}.so.$(ver_cut 1-3)" "${ED}"/usr/$(get_libdir)/${PN}.so.${PV} - dosym ${PN}.so.${PV} /usr/$(get_libdir)/${PN}.so.$(ver_cut 1-3) - fi - - find "${ED}" -name '*.a' -delete || die -} diff --git a/mail-filter/libmilter/libmilter-1.0.2_p2.ebuild b/mail-filter/libmilter/libmilter-1.0.2_p2.ebuild deleted file mode 100644 index 628cd870af52..000000000000 --- a/mail-filter/libmilter/libmilter-1.0.2_p2.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2022 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="https://www.proofpoint.com/us/products/email-protection/open-source-email-solution" -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 ~s390 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 -} diff --git a/mail-filter/libmilter/libmilter-1.0.2_p3-r1.ebuild b/mail-filter/libmilter/libmilter-1.0.2_p3-r1.ebuild deleted file mode 100644 index 0426a65050a9..000000000000 --- a/mail-filter/libmilter/libmilter-1.0.2_p3-r1.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# 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. -# -# See check in src_prepare too. -SENDMAIL_VER=8.17.1.9 - -DESCRIPTION="The Sendmail Filter API (Milter)" -HOMEPAGE="https://www.proofpoint.com/us/products/email-protection/open-source-email-solution" -if [[ -n $(ver_cut 4 ${SENDMAIL_VER}) ]] ; then - # Snapshots have an extra version component (e.g. 8.17.1 vs 8.17.1.9) - SRC_URI+="https://ftp.sendmail.org/snapshots/sendmail.${SENDMAIL_VER}.tar.gz - ftp://ftp.sendmail.org/pub/sendmail/snapshots/sendmail.${SENDMAIL_VER}.tar.gz" -else - SRC_URI="https://ftp.sendmail.org/sendmail.${SENDMAIL_VER}.tar.gz - ftp://ftp.sendmail.org/pub/sendmail/sendmail.${SENDMAIL_VER}.tar.gz" -fi - -S="${WORKDIR}/sendmail-${SENDMAIL_VER}" - -LICENSE="Sendmail" -# We increment _pN when a new sendmail tarball comes out and change the actual -# "main version" (1.0.2 at time of writing) when the version -# of libmilter included in the tarball changes. -# We used to use $(ver_cut 1-3) here (assuming ABI stability between sendmail -# versions) but that doesn't seem to apply for sendmail snapshots. -SLOT="0/${PV}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~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 - - extract_version_from_source() { - # Extract "# define SMFI_VERSION 0x01000002" from include/libmilter/mfapi.h - local actual_libmilter_ver=$(grep -o -E -m 1 "0[xX][0-9a-fA-F]+" include/libmilter/mfapi.h) - - # SM_LM_VRS_MAJOR(v) (((v) & 0x7f000000) >> 24) - local actual_libmilter_ver_major=$(((actual_libmilter_ver & 0x7f000000) >> 24)) - - # SM_LM_VRS_MINOR(v) (((v) & 0x007fff00) >> 8) - local actual_libmilter_ver_minor=$(((actual_libmilter_ver & 0x007fff00) >> 8)) - - # SM_LM_VRS_PLVL(v) ((v) & 0x0000007f) - local actual_libmilter_ver_plvl=$((actual_libmilter_ver & 0x0000007f)) - - einfo "Extracted version (hex): ${actual_libmilter_ver}" - einfo "Extracted version (major): ${actual_libmilter_ver_major}" - einfo "Extracted version (minor): ${actual_libmilter_ver_minor}" - einfo "Extracted version (plvl): ${actual_libmilter_ver_plvl}" - einfo "Extracted version (final): ${actual_libmilter_ver_major}.${actual_libmilter_ver_minor}.${actual_libmilter_ver_plvl}" - - echo ${actual_libmilter_ver_major}.${actual_libmilter_ver_minor}.${actual_libmilter_ver_plvl} - } - - local actual_libmilter_ver_final=$(extract_version_from_source) - if [[ $(ver_cut 1-3) != ${actual_libmilter_ver_final} ]] ; then - eerror "Ebuild version ${PV} does not match detected version ${actual_libmilter_ver_final}!" - eerror "Expected version: $(ver_cut 1-3)" - eerror "Detected version: ${actual_libmilter_ver_final}" - die "Package version ${PV} appears to be incorrect. Please check the source or rename the ebuild." - fi - - 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 -} |