net-mail/mlmmj: add 1.5.2

Bug: https://bugs.gentoo.org/945515
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-06-12 10:31:07 +01:00
parent fbe3298fcc
commit 91c34e337d
2 changed files with 71 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST mlmmj-1.3.0.tar.bz2 292519 BLAKE2B abaf5c7ad53034d2201a2d3ba6d7f99ca83f47ec83df59e12a90a7118fbbde941d5ed2d14864a4af1568f67e74ea082fbc70fc9e44390673b76377bb3679c817 SHA512 c704d89f8a96c0ffc751a744ffdefb5e4304ab74be89292f06ce0c337b8ff1cc5a91737c8b1bd96fe3e993338986fa42bf360cfefc508e1eac74ab88ffda2494
DIST mlmmj-1.4.7.tar.xz 308224 BLAKE2B edf9caa10643374a02dfea633348ab8da1af33961f5d1496615863aec1c4d1b8366b88ac30f34a4fa704bf719e07357a78e6bf4eb95ab793b5c37f66d2ab20c1 SHA512 db26c5135469bc826d148175bf7f9abc6336a8fb09b0628734d2b50747781c418ec51e4dae5ffd2c4a5b8c62a45fcfb80ddb0fd5539146925852db6fb56d9bfb
DIST mlmmj-1.5.2.tar.xz 278016 BLAKE2B 905782fbbbc82993124cd0ebd6f99b5683c743e6053ddfcf6bdab7f601a7a2737a2dad2c7ad2b36a7a31201a8a4bd4066a57b7feceac739b5bec9b8840a13a49 SHA512 618deb15868bc3f38cf0111517baf116a3b6b171b942779337aa398ddfba7405a0a68e60ee18ddf3226b0aeedb5ff370ead3756c2bc604189b8926032089735e

View File

@@ -0,0 +1,70 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Mailing list managing made joyful"
HOMEPAGE="https://codeberg.org/mlmmj/mlmmj"
SRC_URI="https://codeberg.org/${PN}/${PN}/releases/download/RELEASE_${PV}/${P}.tar.xz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="test"
RESTRICT="!test? ( test )"
COMMON_DEPEND="virtual/libiconv"
DEPEND="
${COMMON_DEPEND}
test? (
dev-libs/atf
dev-util/kyua
)
"
RDEPEND="
${COMMON_DEPEND}
virtual/mta
"
BDEPEND="test? ( virtual/pkgconfig )"
DOCS=( AUTHORS ChangeLog FAQ TODO TUNABLES.md UPGRADE )
PATCHES=(
"${FILESDIR}"/mlmmj-1.4.7-cflags.patch
)
src_prepare() {
default
eautoreconf
# bug #259962
sed -i contrib/web/perl-admin/htdocs/subscribers.cgi \
-e "s:/usr/local/bin/:${EPREFIX}/usr/bin/:g" || die
}
src_configure() {
local myeconfargs=(
$(use_enable test tests)
--enable-receive-strip
)
econf "${myeconfargs[@]}"
}
src_install() {
default
insinto /usr/share/mlmmj
doins -r contrib/web/*
dodoc README.*
}
pkg_postinst() {
elog "mlmmj comes with serveral webinterfaces:"
elog "- One for user subscribing/unsubscribing"
elog "- One for admin tasks"
elog "both available in a php and perl module."
elog "For more info have a look in ${EROOT}/usr/share/mlmmj"
}