version bump net-mail/mlmmj-1.6.0
This commit is contained in:
1
net-mail/mlmmj/Manifest
Normal file
1
net-mail/mlmmj/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST mlmmj-1.6.0.tar.xz 279544 BLAKE2B 247018d16ef82c96ead6d381e5dfc7bac18daf4286f567a37715ab6beeff7f8587f740438228f25012952af18ccd30d6b03884849cce92116d380bac5f000f67 SHA512 9d0452608faf4bb5fa4f29868cd5cd8c742c2a6b821581ad2d7cbf4077f71d6dc1233984367785bf680e96ca808eb6e3814b939c0e879e8f82de5b3b3d0e9cff
|
13
net-mail/mlmmj/files/mlmmj-1.4.7-cflags.patch
Normal file
13
net-mail/mlmmj/files/mlmmj-1.4.7-cflags.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Don't add "-g" by default.
|
||||
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -95,7 +95,7 @@ AM_CONDITIONAL([WANT_TESTS], [test x"$enable_tests" = xyes])
|
||||
AM_CPPFLAGS="-I\$(top_srcdir)/include -DDEFAULTTEXTDIR='\"\$(textlibdir)\"'"
|
||||
AC_SUBST(AM_CPPFLAGS)
|
||||
|
||||
-AM_CFLAGS="-g -Wall -std=gnu99 -D_GNU_SOURCE=1 -Wextra -pedantic -Wsign-compare $COVERAGE_CFLAGS $ASAN_CFLAGS $UBSAN_CFLAGS"
|
||||
+AM_CFLAGS="-Wall -std=gnu99 -D_GNU_SOURCE=1 -Wextra -pedantic -Wsign-compare $COVERAGE_CFLAGS $ASAN_CFLAGS $UBSAN_CFLAGS"
|
||||
AC_SUBST(AM_CFLAGS)
|
||||
|
||||
AM_LDFLAGS="$COVERAGE_LDFLAGS $ASAN_LDFLAGS $UBSAN_LDFLAGS"
|
70
net-mail/mlmmj/mlmmj-1.6.0.ebuild
Normal file
70
net-mail/mlmmj/mlmmj-1.6.0.ebuild
Normal 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"
|
||||
}
|
Reference in New Issue
Block a user