Index | Thread | Search

From:
gilles@poolp.org
Subject:
UPDATE: mail/mlmmj
To:
ports@openbsd.org
Date:
Thu, 02 May 2024 21:27:43 +0000

Download raw body.

Thread
Hello,

Hopefully I didn't completely mess up this port, I'm a bit rusty.

This bumps mlmmj from 1.3.0 to 1.4.5.

Tested on the opensmtpd mailing list this afternoon.

Gilles


Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/mlmmj/Makefile,v
diff -u -p -r1.26 Makefile
--- Makefile	26 Sep 2023 12:28:13 -0000	1.26
+++ Makefile	2 May 2024 21:21:28 -0000
@@ -1,19 +1,27 @@
 COMMENT=	mailing list manager
 
-DISTNAME=	mlmmj-1.3.0
+V=		1.4.5
 REVISION=	0
+
+DISTNAME=	mlmmj-${V}
+
 CATEGORIES=	mail
 
-HOMEPAGE=	http://mlmmj.org/
+HOMEPAGE=	htts://codeberg.org/mlmmj/mlmmj
 
 # MIT
 PERMIT_PACKAGE=	Yes
 
 WANTLIB += c iconv
 
-SITES=		http://mlmmj.org/releases/
+SITES=		https://codeberg.org/mlmmj/mlmmj/releases/download/RELEASE_${V:S/./_/g}/
+
+BUILD_DEPENDS=	devel/kyua-cli		\
+		devel/atf
 
 LIB_DEPENDS=	converters/libiconv
+
+AUTOCONF_VERSION=	2.69
 
 CONFIGURE_STYLE=gnu
 CONFIGURE_ARGS+=--enable-receive-strip=yes
Index: distinfo
===================================================================
RCS file: /cvs/ports/mail/mlmmj/distinfo,v
diff -u -p -r1.12 distinfo
--- distinfo	28 Nov 2017 03:43:07 -0000	1.12
+++ distinfo	2 May 2024 21:21:28 -0000
@@ -1,2 +1,2 @@
-SHA256 (mlmmj-1.3.0.tar.gz) = dgnQ3YBPDAhMLkg+tYxgAStpi8dkZFN4UqHuH/nG8Ok=
-SIZE (mlmmj-1.3.0.tar.gz) = 355298
+SHA256 (mlmmj-1.4.5.tar.gz) = UluUL2mGZmdubon/3KbdvDBlSsNp3ux/z27RBVyH6Aw=
+SIZE (mlmmj-1.4.5.tar.gz) = 465064
--- /dev/null	Thu May  2 23:21:56 2024
+++ patches/patch-Makefile.am	Thu May  2 22:37:58 2024
@@ -0,0 +1,12 @@
+Index: Makefile.am
+--- Makefile.am.orig
++++ Makefile.am
+@@ -30,7 +30,7 @@ tests_mlmmj_SOURCES = \
+ 	tests/mlmmj_tests.c
+ tests_mlmmj_LDADD = \
+ 	$(top_builddir)/src/libmlmmj.a \
+-	@ATF_LIBS@ -lrt
++	@ATF_LIBS@
+ 
+ tests_fakesmtpd_SOURCES = \
+ 	tests/fakesmtpd.c
--- /dev/null	Thu May  2 23:22:00 2024
+++ patches/patch-Makefile.in	Thu May  2 23:18:56 2024
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	Thu May  2 23:18:17 2024
++++ Makefile.in	Thu May  2 23:18:23 2024
+@@ -420,7 +420,7 @@ SUBDIRS = src listtexts contrib
+ 
+ @WANT_TESTS_TRUE@tests_mlmmj_LDADD = \
+ @WANT_TESTS_TRUE@	$(top_builddir)/src/libmlmmj.a \
+-@WANT_TESTS_TRUE@	@ATF_LIBS@ -lrt
++@WANT_TESTS_TRUE@	@ATF_LIBS@
+ 
+ @WANT_TESTS_TRUE@tests_fakesmtpd_SOURCES = \
+ @WANT_TESTS_TRUE@	tests/fakesmtpd.c