Wednesday, November 03, 2021

update databases/pspg

Hello,

please find attached the patch to update pspg to its latest release.
The changelog is:

- new visual effects --highlight-odd-rec and --hide-header-line
- possibility to read SQLcl (Oracle) tables in ANSICONSOLE format
- support streaming mode over files on BSD like systems (kqueue support)
- one char horizontal scrolling

Sadly, the "kqueue support" needs NOTE_CLOSE_WRITE that our kqueue
doesn't have so I'm disabling it. Upstream notified.

Index: Makefile
===================================================================
RCS file: /home/cvs/ports/databases/pspg/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile 25 Oct 2021 07:45:35 -0000 1.1.1.1
+++ Makefile 3 Nov 2021 11:22:20 -0000
@@ -4,7 +4,7 @@ COMMENT = UNIX pager optimized for tabul

GH_ACCOUNT = okbob
GH_PROJECT = pspg
-GH_TAGNAME = 5.4.0
+GH_TAGNAME = 5.5.0

CATEGORIES = databases

Index: distinfo
===================================================================
RCS file: /home/cvs/ports/databases/pspg/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo 25 Oct 2021 07:45:35 -0000 1.1.1.1
+++ distinfo 3 Nov 2021 11:23:12 -0000
@@ -1,2 +1,2 @@
-SHA256 (pspg-5.4.0.tar.gz) = b5EySFHZ6rHajR1GYb44avPYUx7gDfAkPH2bAzYf1EU=
-SIZE (pspg-5.4.0.tar.gz) = 1944096
+SHA256 (pspg-5.5.0.tar.gz) = Y4weF+mKW7nOhY8lnqLQUOoBPq/RSzMgxsMKRqWMEDg=
+SIZE (pspg-5.5.0.tar.gz) = 2282620
Index: patches/patch-configure_ac
===================================================================
RCS file: /home/cvs/ports/databases/pspg/patches/patch-configure_ac,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-configure_ac
--- patches/patch-configure_ac 25 Oct 2021 07:45:35 -0000 1.1.1.1
+++ patches/patch-configure_ac 3 Nov 2021 11:22:38 -0000
@@ -3,6 +3,9 @@ $OpenBSD: patch-configure_ac,v 1.1.1.1 2
AX_LIB_READLINE picks up base readline which is too old. Force it to
use readline from ports.

+disable kqueue since tries to monitor events not supported by our kqueue
+(NOTE_CLOSE_WRITE.)
+
Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -16,3 +19,12 @@ Index: configure.ac
AX_LIB_POSTGRESQL([],[], AC_MSG_NOTICE([PostgreSQL library not found]))

case "$ax_cv_ncurses" in "no")
+@@ -75,8 +76,6 @@ if test "x$have_inotify" = "xyes"; then
+ fi
+ fi
+
+-
+-AC_CHECK_HEADERS([sys/event.h], have_kqueue=yes, have_kqueue=no)
+
+ if test "x$have_kqueue" = "xyes"; then
+

No comments:

Post a Comment