Received: by mail.netbsd.org (Postfix, from userid 605) id A0F8084F2F; Mon, 25 Apr 2022 22:02:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3560884F30 for ; Mon, 25 Apr 2022 21:57:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id LKOc1Cw9h0Ao for ; Mon, 25 Apr 2022 21:56:59 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id AECF384F29 for ; Mon, 25 Apr 2022 21:56:59 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 62158FB1A; Mon, 25 Apr 2022 21:56:59 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1650923819240510" MIME-Version: 1.0 Date: Mon, 25 Apr 2022 21:56:59 +0000 From: "Tobias Nygren" Subject: CVS commit: pkgsrc/converters/txt2man To: pkgsrc-changes@NetBSD.org Reply-To: tnn@netbsd.org X-Mailer: log_accum Message-Id: <20220425215659.62158FB1A@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1650923819240510 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: tnn Date: Mon Apr 25 21:56:59 UTC 2022 Modified Files: pkgsrc/converters/txt2man: distinfo Added Files: pkgsrc/converters/txt2man/patches: patch-bookman Log Message: txt2man: shell portability To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 pkgsrc/converters/txt2man/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/converters/txt2man/patches/patch-bookman Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1650923819240510 Content-Disposition: inline Content-Length: 1612 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/converters/txt2man/distinfo diff -u pkgsrc/converters/txt2man/distinfo:1.8 pkgsrc/converters/txt2man/distinfo:1.9 --- pkgsrc/converters/txt2man/distinfo:1.8 Tue Oct 26 10:06:53 2021 +++ pkgsrc/converters/txt2man/distinfo Mon Apr 25 21:56:59 2022 @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.8 2021/10/26 10:06:53 nia Exp $ +$NetBSD: distinfo,v 1.9 2022/04/25 21:56:59 tnn Exp $ BLAKE2s (txt2man-1.5.6.tar.gz) = db45f3b53214ac2bba4fc2961e6fb9f988f53479b3dcd6803719a74f4a9a0663 SHA512 (txt2man-1.5.6.tar.gz) = dd1cb5a6385d75b459fb61c49e0b73e5cafa5af8b11d9b89e5c206a9c5b65e4daac4d0e768c28963aacde772b715cb11ed0e843e42397b2df894a1f68c70ca65 Size (txt2man-1.5.6.tar.gz) = 16293 bytes SHA1 (patch-Makefile) = 89ad5ec47104cc7c0a563ea65b731ac3b0cdacd8 +SHA1 (patch-bookman) = 6b540f39fa811d6412792617666a6a1bd39df4f2 Added files: Index: pkgsrc/converters/txt2man/patches/patch-bookman diff -u /dev/null pkgsrc/converters/txt2man/patches/patch-bookman:1.1 --- /dev/null Mon Apr 25 21:56:59 2022 +++ pkgsrc/converters/txt2man/patches/patch-bookman Mon Apr 25 21:56:59 2022 @@ -0,0 +1,18 @@ +$NetBSD: patch-bookman,v 1.1 2022/04/25 21:56:59 tnn Exp $ + +shell portability + +--- bookman.orig 2011-02-18 18:12:35.000000000 +0000 ++++ bookman +@@ -83,9 +83,9 @@ done + shift $(($OPTIND - 1)) + date=${date:-$(date +'%d %B %Y')} + +-[[ $1 ]] || set -- $(while read; do echo $REPLY; done) ++[ $1 ] || set -- $(while read; do echo $REPLY; done) + +-[[ $outfile ]] && post="$post >$outfile" ++[ $outfile ] && post="$post >$outfile" + + { + # Compute table of content from postscript output. --_----------=_1650923819240510--