pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/rarian



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Sat Jun 11 02:55:14 UTC 2022

Modified Files:
        pkgsrc/textproc/rarian: Makefile distinfo
Added Files:
        pkgsrc/textproc/rarian/patches: patch-util_rarian-sk-update.in

Log Message:
rarian: avoid unnecessary error output

This package expects GNU getopt, as it uses the -n option. Restore a
patch that addresses this, so we don't get a bunch of logging spam from
non-GNU versions during the install phase of various dependant packages.
(The package already explicitly depends on GNU getopt from pkgsrc.)

Addresses PR pkg/56871 from Yasushi Oshima, who provided the analysis.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/textproc/rarian/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/rarian/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/textproc/rarian/patches/patch-util_rarian-sk-update.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/rarian/Makefile
diff -u pkgsrc/textproc/rarian/Makefile:1.19 pkgsrc/textproc/rarian/Makefile:1.20
--- pkgsrc/textproc/rarian/Makefile:1.19        Mon Apr 18 19:12:12 2022
+++ pkgsrc/textproc/rarian/Makefile     Sat Jun 11 02:55:14 2022
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.19 2022/04/18 19:12:12 adam Exp $
+# $NetBSD: Makefile,v 1.20 2022/06/11 02:55:14 gutteridge Exp $
 #
 
 DISTNAME=      rarian-0.8.1
-PKGREVISION=   9
+PKGREVISION=   10
 CATEGORIES=    textproc
 MASTER_SITES=  https://rarian.freedesktop.org/Releases/
 MASTER_SITES+= ${MASTER_SITE_GNOME:=sources/rarian/0.8/}

Index: pkgsrc/textproc/rarian/distinfo
diff -u pkgsrc/textproc/rarian/distinfo:1.8 pkgsrc/textproc/rarian/distinfo:1.9
--- pkgsrc/textproc/rarian/distinfo:1.8 Tue Oct 26 11:23:19 2021
+++ pkgsrc/textproc/rarian/distinfo     Sat Jun 11 02:55:14 2022
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 11:23:19 nia Exp $
+$NetBSD: distinfo,v 1.9 2022/06/11 02:55:14 gutteridge Exp $
 
 BLAKE2s (rarian-0.8.1.tar.bz2) = 1744c122dfb4b40f0716a743fe3afe5b3a744bfd7a575bd2d650326df30e614b
 SHA512 (rarian-0.8.1.tar.bz2) = 64f3e7fbe423e45a59453805fe6b4116e0ffad43c7e88fe362d76a326c70936c6b46c4a4dc57cf43e3535c16f2f07fa1b2affa0aaeae637ee3ede48850c1fc60
 Size (rarian-0.8.1.tar.bz2) = 324441 bytes
 SHA1 (patch-librarian_Makefile.in) = 0f41cbaacd43a8f3358671dc9604a1092b7ba971
+SHA1 (patch-util_rarian-sk-update.in) = fe0b5c9303e31bcb4a04385c560c5075f0e04637

Added files:

Index: pkgsrc/textproc/rarian/patches/patch-util_rarian-sk-update.in
diff -u /dev/null pkgsrc/textproc/rarian/patches/patch-util_rarian-sk-update.in:1.1
--- /dev/null   Sat Jun 11 02:55:14 2022
+++ pkgsrc/textproc/rarian/patches/patch-util_rarian-sk-update.in       Sat Jun 11 02:55:14 2022
@@ -0,0 +1,24 @@
+$NetBSD: patch-util_rarian-sk-update.in,v 1.1 2022/06/11 02:55:14 gutteridge Exp $
+
+Use the GNU version of getopt, so the -n option is available. Avoids
+significant output spamming from versions of getopt that don't support
+it, e.g., the version NetBSD includes in base.
+
+--- util/rarian-sk-update.in.orig      2008-09-01 18:40:21.000000000 +0000
++++ util/rarian-sk-update.in
+@@ -264,7 +264,7 @@ process_directory ()
+ # They are inherited from scrollkeeper :(
+ 
+ # We use TEMP as set -- seems to nuke the return value of getopt
+-TEMP=`getopt -u -n$(basename $0) -o "o:r:p:vqnhV" \
++TEMP=`${prefix}/bin/getopt -u -n$(basename $0) -o "o:r:p:vqnhV" \
+            -- "$@"` \
+     || print_usage
+ 
+@@ -422,4 +422,4 @@ then
+ fi
+ rm -rf $tmpdir
+ 
+-fi # ENABLE_OMF_READ
+\ No newline at end of file
++fi # ENABLE_OMF_READ



Home | Main Index | Thread Index | Old Index