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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 72C6F158042 for ; Fri, 25 Oct 2024 06:53:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7877E0829; Fri, 25 Oct 2024 06:53:00 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8F7DCE0829 for ; Fri, 25 Oct 2024 06:53:00 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C10873430C4 for ; Fri, 25 Oct 2024 06:52:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0E6ADF32 for ; Fri, 25 Oct 2024 06:52:58 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1729839145.1809dc319f7ea33e6fab16b2c6c3bad88b1e34e2.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/mlmmj/files/, net-mail/mlmmj/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-mail/mlmmj/Manifest net-mail/mlmmj/files/mlmmj-1.4.7-cflags.patch net-mail/mlmmj/metadata.xml net-mail/mlmmj/mlmmj-1.4.7.ebuild X-VCS-Directories: net-mail/mlmmj/files/ net-mail/mlmmj/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 1809dc319f7ea33e6fab16b2c6c3bad88b1e34e2 X-VCS-Branch: master Date: Fri, 25 Oct 2024 06:52:58 +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: 37c3dab0-d770-4360-9d0b-c9ffee026874 X-Archives-Hash: 5cf4bbd72dce35f6dad1d0c600bb0943 commit: 1809dc319f7ea33e6fab16b2c6c3bad88b1e34e2 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Wed Aug 28 16:11:48 2024 +0000 Commit: Yixun Lan gentoo org> CommitDate: Fri Oct 25 06:52:25 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1809dc31 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 sysrq.in> Signed-off-by: Yixun Lan gentoo.org> net-mail/mlmmj/Manifest | 1 + net-mail/mlmmj/files/mlmmj-1.4.7-cflags.patch | 13 +++++ net-mail/mlmmj/metadata.xml | 9 +++- net-mail/mlmmj/mlmmj-1.4.7.ebuild | 70 +++++++++++++++++++++++++++ 4 files changed, 92 insertions(+), 1 deletion(-) 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 @@ - + + + mlmmj/mlmmj + + Baptiste Daroussin + bapt@nours.eu + + 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" +}