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.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 4A335158094 for ; Tue, 28 Jun 2022 09:32:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 715A6E0AFB; Tue, 28 Jun 2022 09:32:01 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 508C3E0AFB for ; Tue, 28 Jun 2022 09:32:01 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6DFDD3414E5 for ; Tue, 28 Jun 2022 09:32:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A6EE151E for ; Tue, 28 Jun 2022 09:31:57 +0000 (UTC) From: "Sam James" 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" Message-ID: <1656408698.0e1e8ba45af1913742d440c63efde2390eca9e2c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/imapfilter/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-filter/imapfilter/imapfilter-2.7.5-r1.ebuild X-VCS-Directories: mail-filter/imapfilter/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0e1e8ba45af1913742d440c63efde2390eca9e2c X-VCS-Branch: master Date: Tue, 28 Jun 2022 09:31:57 +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: 61f33f2b-11a9-47f2-b1cd-19a12845dbf8 X-Archives-Hash: 1d0bc837c40f191a3906a571fd7f52ea commit: 0e1e8ba45af1913742d440c63efde2390eca9e2c Author: Holger Hoffstätte applied-asynchrony com> AuthorDate: Sun Jun 26 19:18:57 2022 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jun 28 09:31:38 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e1e8ba4 mail-filter/imapfilter: add 5.4 & luajit to LUA_COMPAT, correctly depend on libpcre2 Closes: https://bugs.gentoo.org/828110 Closes: https://bugs.gentoo.org/854471 Signed-off-by: Holger Hoffstätte applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/26082 Signed-off-by: Sam James gentoo.org> mail-filter/imapfilter/imapfilter-2.7.5-r1.ebuild | 48 +++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/mail-filter/imapfilter/imapfilter-2.7.5-r1.ebuild b/mail-filter/imapfilter/imapfilter-2.7.5-r1.ebuild new file mode 100644 index 000000000000..6f25c2f85bc8 --- /dev/null +++ b/mail-filter/imapfilter/imapfilter-2.7.5-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit lua-single toolchain-funcs + +DESCRIPTION="An IMAP mail filtering utility" +HOMEPAGE="https://github.com/lefcha/imapfilter" +SRC_URI="https://github.com/lefcha/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +REQUIRED_USE="${LUA_REQUIRED_USE}" + +RDEPEND=" + dev-libs/openssl:0= + dev-libs/libpcre2 + ${LUA_DEPS}" +DEPEND="${RDEPEND}" + +DOCS="AUTHORS NEWS README samples/*" + +src_prepare() { + default + sed -i -e "/^PREFIX/s:/usr/local:${EPREFIX}/usr:" \ + -e "/^MANDIR/s:man:share/man:" \ + -e "/^CFLAGS/s:CFLAGS =:CFLAGS +=:" \ + -e "/^CFLAGS/s/-O//" \ + src/Makefile || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + LDFLAGS="${LDFLAGS}" \ + INCDIRS=$(lua_get_CFLAGS) \ + LIBLUA=$(lua_get_LIBS) +} + +src_install() { + default + doman doc/imapfilter.1 doc/imapfilter_config.5 +}