git: 636c2d6b0a1c - main - www/newsraft: Update to 0.31
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 08 Jun 2025 20:01:02 UTC
The branch main has been updated by uzsolt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=636c2d6b0a1c122d40839f4f20b9459158dc2efd
commit 636c2d6b0a1c122d40839f4f20b9459158dc2efd
Author: Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2025-06-08 19:59:27 +0000
Commit: Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2025-06-08 20:00:49 +0000
www/newsraft: Update to 0.31
Remove unneded ncurses dependency.
Patch project's makefile to build fine.
Changelog:
https://codeberg.org/newsraft/newsraft/releases/tag/newsraft-0.31
---
www/newsraft/Makefile | 4 ++--
www/newsraft/distinfo | 6 +++---
www/newsraft/files/patch-makefile | 11 +++++++++++
3 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/www/newsraft/Makefile b/www/newsraft/Makefile
index c633de7cc336..f76dd552d6f5 100644
--- a/www/newsraft/Makefile
+++ b/www/newsraft/Makefile
@@ -1,5 +1,5 @@
PORTNAME= newsraft
-DISTVERSION= 0.30
+DISTVERSION= 0.31
CATEGORIES= www
MASTER_SITES= https://codeberg.org/${PORTNAME}/${PORTNAME}/archive/
@@ -14,7 +14,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
libexpat.so:textproc/expat2 \
libgumbo.so:devel/gumbo
-USES= ncurses pkgconfig sqlite
+USES= pkgconfig sqlite
MAKEFILE= makefile
MAKE_ARGS+= CFLAGS="${CFLAGS}"
diff --git a/www/newsraft/distinfo b/www/newsraft/distinfo
index 969ba0cf00d8..278eac2c3ed7 100644
--- a/www/newsraft/distinfo
+++ b/www/newsraft/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1746758523
-SHA256 (newsraft-0.30.tar.gz) = 5ae782d7eb19042cd05e260c8ec0fe4d0544e51716885a4b1e96a673576bd998
-SIZE (newsraft-0.30.tar.gz) = 196870
+TIMESTAMP = 1749407113
+SHA256 (newsraft-0.31.tar.gz) = de0d96664d9a276dbe58cf4b44a6861bc18b6fd4c0f41a97450c5b3509904ae8
+SIZE (newsraft-0.31.tar.gz) = 224575
diff --git a/www/newsraft/files/patch-makefile b/www/newsraft/files/patch-makefile
new file mode 100644
index 000000000000..444ab3451d32
--- /dev/null
+++ b/www/newsraft/files/patch-makefile
@@ -0,0 +1,11 @@
+--- makefile.orig 2025-06-08 19:06:10 UTC
++++ makefile
+@@ -17,7 +17,7 @@ AUXCFLAGS = $(CURL_CFLAGS) $(EXPAT_CFLAGS) $(GUMBO
+ #LDFLAGS = -static
+ #CURL_LIBS = -lcurl -lbrotlidec -lbrotlienc -lbrotlicommon -lssl -lcrypto -lnghttp2 -lz
+ AUXCFLAGS = $(CURL_CFLAGS) $(EXPAT_CFLAGS) $(GUMBO_CFLAGS) $(SQLITE_CFLAGS)
+-FEATURECFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
++FEATURECFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE
+ LDLIBS = $(CURL_LIBS) $(EXPAT_LIBS) $(GUMBO_LIBS) $(SQLITE_LIBS) $(PTHREAD_LIBS)
+ DESTDIR =
+ PREFIX = /usr/local