From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1466857-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 8F09C158020
	for <garchives@archives.gentoo.org>; Wed, 14 Dec 2022 01:53:15 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C51D3E0855;
	Wed, 14 Dec 2022 01:53:14 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 7EB1BE0855
	for <gentoo-commits@lists.gentoo.org>; Wed, 14 Dec 2022 01:53:14 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 4527834112E
	for <gentoo-commits@lists.gentoo.org>; Wed, 14 Dec 2022 01:53:13 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 8A824783
	for <gentoo-commits@lists.gentoo.org>; Wed, 14 Dec 2022 01:53:11 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1670982516.e2040ae539bcd498fd30e588303fe8278e8dd4c1.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/libmilter/
X-VCS-Repository: repo/gentoo
X-VCS-Files: mail-filter/libmilter/Manifest mail-filter/libmilter/libmilter-1.0.2_p1-r2.ebuild mail-filter/libmilter/libmilter-1.0.2_p2-r1.ebuild mail-filter/libmilter/libmilter-1.0.2_p2.ebuild mail-filter/libmilter/libmilter-1.0.2_p3-r1.ebuild
X-VCS-Directories: mail-filter/libmilter/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: e2040ae539bcd498fd30e588303fe8278e8dd4c1
X-VCS-Branch: master
Date: Wed, 14 Dec 2022 01:53:11 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: e4877045-4041-42af-85da-4bc5aa5d0acc
X-Archives-Hash: b7b2ccad9c45ce5b53b7842b36f9e7b5

commit:     e2040ae539bcd498fd30e588303fe8278e8dd4c1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 14 01:48:36 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 14 01:48:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2040ae5

mail-filter/libmilter: drop versions

Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-filter/libmilter/Manifest                     |   2 -
 mail-filter/libmilter/libmilter-1.0.2_p1-r2.ebuild |  81 -------------
 mail-filter/libmilter/libmilter-1.0.2_p2-r1.ebuild |  94 ---------------
 mail-filter/libmilter/libmilter-1.0.2_p2.ebuild    |  89 --------------
 mail-filter/libmilter/libmilter-1.0.2_p3-r1.ebuild | 131 ---------------------
 5 files changed, 397 deletions(-)

diff --git a/mail-filter/libmilter/Manifest b/mail-filter/libmilter/Manifest
index 89867690d895..06a2a87683b6 100644
--- a/mail-filter/libmilter/Manifest
+++ b/mail-filter/libmilter/Manifest
@@ -1,3 +1 @@
-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

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
-}