From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7E322158086 for ; Mon, 25 Oct 2021 17:22:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B36B1E087E; Mon, 25 Oct 2021 17:22:23 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 83658E087E for ; Mon, 25 Oct 2021 17:22:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A5EDB343488 for ; Mon, 25 Oct 2021 17:22:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 41708157 for ; Mon, 25 Oct 2021 17:22:21 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1635182537.1e3fe23e7247dd1a86584577b1e3ac8437da31c2.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/libspf2/files/, mail-filter/libspf2/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-filter/libspf2/Manifest mail-filter/libspf2/files/libspf2-1.2.11-memset-include-string-h.patch mail-filter/libspf2/libspf2-1.2.11.ebuild X-VCS-Directories: mail-filter/libspf2/ mail-filter/libspf2/files/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 1e3fe23e7247dd1a86584577b1e3ac8437da31c2 X-VCS-Branch: master Date: Mon, 25 Oct 2021 17:22:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c81b25bd-0c2b-452a-86b3-d2ac6dced653 X-Archives-Hash: 5f467398fae339c3fe3de1d71e1cf360 commit: 1e3fe23e7247dd1a86584577b1e3ac8437da31c2 Author: Fabian Groffen gentoo org> AuthorDate: Mon Oct 25 17:22:07 2021 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Mon Oct 25 17:22:17 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e3fe23e mail-filter/libspf2-1.2.11: version bump Bug: https://bugs.gentoo.org/807739 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Fabian Groffen gentoo.org> mail-filter/libspf2/Manifest | 1 + .../libspf2-1.2.11-memset-include-string-h.patch | 12 ++++++ mail-filter/libspf2/libspf2-1.2.11.ebuild | 48 ++++++++++++++++++++++ 3 files changed, 61 insertions(+) diff --git a/mail-filter/libspf2/Manifest b/mail-filter/libspf2/Manifest index c0838749845..723253e0d97 100644 --- a/mail-filter/libspf2/Manifest +++ b/mail-filter/libspf2/Manifest @@ -1 +1,2 @@ DIST libspf2-1.2.10.tar.gz 508842 BLAKE2B d15a44f64c5e3da20aa349e61a6cc02a15f83ed3acff93fe4c23970e30533d6424b1db35d7d60ff488c9a239d343f8544426fbf8fcb66271237155e0b57df1b5 SHA512 162ce382628c6fcadac3e11f5a12442db622bb23f7ec503e16f5ba7fc88afdd777bce6b093c12a58210355985fd11b74b140f08fab347334d82d953dd183b130 +DIST libspf2-1.2.11.tar.gz 565497 BLAKE2B 4000e15204c962ef438cc8bcf6411f4f965e1451e356923e2764d5a1209cbc9153a38e1d83d25c8b4b26646bfb306ec49b71d273fdbabe200b78ac2694c05a4f SHA512 ad7bea800ad6ec8d00a7f8f381b59d9ba074fb6c5932d8babcb05ab5ca59defb78445dd7bd89767e5c272b6c6638c8000c8c525c560d1803c35712f0ff86fa9b diff --git a/mail-filter/libspf2/files/libspf2-1.2.11-memset-include-string-h.patch b/mail-filter/libspf2/files/libspf2-1.2.11-memset-include-string-h.patch new file mode 100644 index 00000000000..5b5a7729830 --- /dev/null +++ b/mail-filter/libspf2/files/libspf2-1.2.11-memset-include-string-h.patch @@ -0,0 +1,12 @@ +grobian@gentoo.org: include string.h so memset is declared + +--- a/src/libspf2/spf_utils.c ++++ b/src/libspf2/spf_utils.c +@@ -19,6 +19,7 @@ + #ifdef STDC_HEADERS + # include /* malloc / free */ + # include /* isupper / tolower */ ++# include /* memset */ + #endif + + #ifdef HAVE_MEMORY_H diff --git a/mail-filter/libspf2/libspf2-1.2.11.ebuild b/mail-filter/libspf2/libspf2-1.2.11.ebuild new file mode 100644 index 00000000000..a7e6b40b96c --- /dev/null +++ b/mail-filter/libspf2/libspf2-1.2.11.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +GHASH=4915c308d57ff3abac9fb241f09c4bed2ab54815 # 1.2.11 +DESCRIPTION="implementation of Sender Policy Framework (SPF)" +HOMEPAGE="https://www.libspf2.org" +SRC_URI="https://github.com/shevek/${PN}/archive/${GHASH}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( LGPL-2.1 BSD-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND="!dev-perl/Mail-SPF-Query" + +PATCHES=( + "${FILESDIR}"/${PN}-1.2.11-memset-include-string-h.patch +) + +S=${WORKDIR}/${PN}-${GHASH} + +src_prepare() { + default + + sed -i -e '/bin_PROGRAMS/s/spfquery_static//' src/spfquery/Makefile.am \ + -e '/bin_PROGRAMS/s/spftest_static//' src/spftest/Makefile.am \ + -e '/bin_PROGRAMS/s/spfd_static//' src/spfd/Makefile.am \ + -e '/bin_PROGRAMS/s/spf_example_static//' src/spf_example/Makefile.am \ + || die + + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac || die + + eautoreconf +} + +src_configure() { + econf --disable-static +} + +src_install() { + emake DESTDIR="${D}" install + dodoc README TODO INSTALL + + find "${ED}" -name '*.la' -delete || die +}