Skip to content

Commit

Permalink
mail-filter/imapfilter: bump to 2.7.6, EAPI=8, add proxy-maintainer
Browse files Browse the repository at this point in the history
Signed-off-by: Holger Hoffstätte <[email protected]>
Closes: gentoo#27174
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
hhoffstaette authored and thesamesam committed Sep 10, 2022
1 parent 3bd9dde commit 5a03d19
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 1 deletion.
1 change: 1 addition & 0 deletions mail-filter/imapfilter/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST imapfilter-2.7.5.tar.gz 59441 BLAKE2B 0326a698f3be18da47c99cbe20e5e51cde8abcaebf365b3f00e5b1dba6bfaed5139b65766bd447dc596736da504063d5c87c21d1c5c11d6bc7ebd947d9d44835 SHA512 a64747d745ecd5a2f61d486cd8fec1bceeb97ce459ec57454311a960dbfce526c15e8bddeb16860b8efd9710de93845adec61ec892355a0bef7bddc4517e1442
DIST imapfilter-2.7.6.tar.gz 58644 BLAKE2B 6fd5b8400527c3749cdb8a1df0ca0cbab7b77e8fa29e0bc1bd0eee95832aa16c9b3a586b4e4dc9f9632319febdc619ebe6b05e60c46fd8ccf430f6714900588d SHA512 c76a0986d338e2b74ccf38106e05d4c0a25789a6d80f0cb79ed4a165447a4c96cbcffb57e856fdfd465283feebca6445efba52e65289442a7f313d343c519083
48 changes: 48 additions & 0 deletions mail-filter/imapfilter/imapfilter-2.7.6.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

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:=
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
}
9 changes: 8 additions & 1 deletion mail-filter/imapfilter/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<maintainer type="person" proxied="yes">
<email>[email protected]</email>
<name>Holger Hoffstätte</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>[email protected]</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">lefcha/imapfilter</remote-id>
</upstream>
Expand Down

0 comments on commit 5a03d19

Please sign in to comment.