diff options
author | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2024-08-28 21:11:48 +0500 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2024-10-25 14:52:25 +0800 |
commit | 1809dc319f7ea33e6fab16b2c6c3bad88b1e34e2 (patch) | |
tree | 57fa23bc0e5701466846d86c838b647f5436e3bf /net-mail | |
parent | mail-mta/postfix: add 3.10_pre20241024, drop 3.10_pre20241010 (diff) | |
download | gentoo-1809dc319f7ea33e6fab16b2c6c3bad88b1e34e2.tar.gz gentoo-1809dc319f7ea33e6fab16b2c6c3bad88b1e34e2.tar.bz2 gentoo-1809dc319f7ea33e6fab16b2c6c3bad88b1e34e2.zip |
net-mail/mlmmj: add 1.4.7
Closes: https://bugs.gentoo.org/923563
Closes: https://github.com/gentoo/gentoo/pull/38895
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/mlmmj/Manifest | 1 | ||||
-rw-r--r-- | net-mail/mlmmj/files/mlmmj-1.4.7-cflags.patch | 13 | ||||
-rw-r--r-- | net-mail/mlmmj/metadata.xml | 9 | ||||
-rw-r--r-- | net-mail/mlmmj/mlmmj-1.4.7.ebuild | 70 |
4 files changed, 92 insertions, 1 deletions
diff --git a/net-mail/mlmmj/Manifest b/net-mail/mlmmj/Manifest index 486b67f60733..672cdadb2bdc 100644 --- a/net-mail/mlmmj/Manifest +++ b/net-mail/mlmmj/Manifest @@ -1 +1,2 @@ DIST mlmmj-1.3.0.tar.bz2 292519 BLAKE2B abaf5c7ad53034d2201a2d3ba6d7f99ca83f47ec83df59e12a90a7118fbbde941d5ed2d14864a4af1568f67e74ea082fbc70fc9e44390673b76377bb3679c817 SHA512 c704d89f8a96c0ffc751a744ffdefb5e4304ab74be89292f06ce0c337b8ff1cc5a91737c8b1bd96fe3e993338986fa42bf360cfefc508e1eac74ab88ffda2494 +DIST mlmmj-1.4.7.tar.xz 308224 BLAKE2B edf9caa10643374a02dfea633348ab8da1af33961f5d1496615863aec1c4d1b8366b88ac30f34a4fa704bf719e07357a78e6bf4eb95ab793b5c37f66d2ab20c1 SHA512 db26c5135469bc826d148175bf7f9abc6336a8fb09b0628734d2b50747781c418ec51e4dae5ffd2c4a5b8c62a45fcfb80ddb0fd5539146925852db6fb56d9bfb diff --git a/net-mail/mlmmj/files/mlmmj-1.4.7-cflags.patch b/net-mail/mlmmj/files/mlmmj-1.4.7-cflags.patch new file mode 100644 index 000000000000..f48c3d31287d --- /dev/null +++ b/net-mail/mlmmj/files/mlmmj-1.4.7-cflags.patch @@ -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" diff --git a/net-mail/mlmmj/metadata.xml b/net-mail/mlmmj/metadata.xml index 85e4ed814fa2..c15483f7493d 100644 --- a/net-mail/mlmmj/metadata.xml +++ b/net-mail/mlmmj/metadata.xml @@ -1,5 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<!-- maintainer-needed --> + <!-- maintainer-needed --> + <upstream> + <remote-id type="codeberg">mlmmj/mlmmj</remote-id> + <maintainer> + <name>Baptiste Daroussin</name> + <email>bapt@nours.eu</email> + </maintainer> + </upstream> </pkgmetadata> diff --git a/net-mail/mlmmj/mlmmj-1.4.7.ebuild b/net-mail/mlmmj/mlmmj-1.4.7.ebuild new file mode 100644 index 000000000000..5d7e8b38635c --- /dev/null +++ b/net-mail/mlmmj/mlmmj-1.4.7.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 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_$(ver_rs 1- _)/${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" +} |