Download raw body.
abook update
Hi all, I noticed that abook (finally) released a new version, 0.6.2,
and so tried to update the port. Seems to work with no issues on arm64.
Strangely pthread is reported as superfluous by port-lib-depends-check
so I removed it from WANTLIB for now. Any issues I missed? Ok to import?
Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/abook/Makefile,v
diff -u -p -r1.46 Makefile
--- Makefile 21 Jul 2025 15:55:57 -0000 1.46
+++ Makefile 2 Aug 2026 17:09:00 -0000
@@ -1,15 +1,16 @@
COMMENT= addressbook program with mutt support
-DISTNAME= abook-0.6.1
-REVISION= 5
+DISTNAME= abook-0.6.2
CATEGORIES= mail
+WRKDIST= ${WRKDIR}
+
HOMEPAGE= https://abook.sourceforge.net/
-# GPLv2
+# GPLv3
PERMIT_PACKAGE= Yes
-WANTLIB = c curses iconv intl pthread readline
+WANTLIB = c curses iconv intl readline
SITES= https://abook.sourceforge.net/devel/
@@ -19,13 +20,16 @@ LIB_DEPENDS= converters/libiconv \
CONFIGURE_STYLE= autoreconf
BUILD_DEPENDS= devel/gettext,-tools
-AUTOCONF_VERSION= 2.69
-AUTOMAKE_VERSION= 1.14
+AUTOCONF_VERSION= 2.71
+AUTOMAKE_VERSION= 1.16
EXAMPLEDIR= ${PREFIX}/share/examples/abook/
+DOCSDIR= ${PREFIX}/share/doc/abook/
post-install:
${INSTALL_DATA_DIR} ${EXAMPLEDIR}
${INSTALL_DATA} ${WRKSRC}/sample.abookrc ${EXAMPLEDIR}
+ ${INSTALL_DATA_DIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/{BUGS,ChangeLog,FAQ,README,TODO} ${DOCSDIR}
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/mail/abook/distinfo,v
diff -u -p -r1.12 distinfo
--- distinfo 17 Nov 2015 23:21:04 -0000 1.12
+++ distinfo 2 Aug 2026 17:09:00 -0000
@@ -1,2 +1,2 @@
-SHA256 (abook-0.6.1.tar.gz) = 8KkN+GlPs0aF7N1F2X2yi4gEbBXJXnsHAFlgKL2LwPk=
-SIZE (abook-0.6.1.tar.gz) = 319558
+SHA256 (abook-0.6.2.tar.gz) = LWveLS0DUj8WT5MOT97GAl86lKvkikNwb1Q4gKGiHr4=
+SIZE (abook-0.6.2.tar.gz) = 334612
Index: patches/patch-database_c
===================================================================
RCS file: /cvs/ports/mail/abook/patches/patch-database_c,v
diff -u -p -r1.2 patch-database_c
--- patches/patch-database_c 11 Mar 2022 19:34:31 -0000 1.2
+++ patches/patch-database_c 2 Aug 2026 17:09:00 -0000
@@ -1,6 +1,15 @@
---- database.c.orig Sun Oct 4 04:38:25 2015
-+++ database.c Wed Apr 19 16:45:13 2017
-@@ -859,7 +859,7 @@ item_merge(list_item dest, list_item src)
+Index: database.c
+--- database.c.orig
++++ database.c
+@@ -7,6 +7,7 @@
+ * Copyright (C) Jaakko Heinonen
+ */
+
++#include <ctype.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -936,7 +937,7 @@ item_merge(list_item dest, list_item src)
*/
/* quick lookup by "standard" field number */
Index: patches/patch-ui_c
===================================================================
RCS file: /cvs/ports/mail/abook/patches/patch-ui_c,v
diff -u -p -r1.4 patch-ui_c
--- patches/patch-ui_c 11 Mar 2022 19:34:31 -0000 1.4
+++ patches/patch-ui_c 2 Aug 2026 17:09:00 -0000
@@ -4,7 +4,7 @@ when the enter key is pressed in some te
Index: ui.c
--- ui.c.orig
+++ ui.c
-@@ -573,6 +573,7 @@ get_commands()
+@@ -598,6 +598,7 @@ get_commands()
refresh_screen();
break;
case 'a': add_item(); break;
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/mail/abook/pkg/PLIST,v
diff -u -p -r1.12 PLIST
--- pkg/PLIST 11 Mar 2022 19:34:31 -0000 1.12
+++ pkg/PLIST 2 Aug 2026 17:09:00 -0000
@@ -1,6 +1,12 @@
@bin bin/abook
@man man/man1/abook.1
@man man/man5/abookrc.5
+share/doc/abook/
+share/doc/abook/BUGS
+share/doc/abook/ChangeLog
+share/doc/abook/FAQ
+share/doc/abook/README
+share/doc/abook/TODO
share/examples/abook/
share/examples/abook/sample.abookrc
share/locale/de/LC_MESSAGES/abook.mo
abook update