pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/miniircd



Module Name:    pkgsrc
Committed By:   leot
Date:           Fri Aug 21 16:44:11 UTC 2020

Modified Files:
        pkgsrc/chat/miniircd: Makefile distinfo
Added Files:
        pkgsrc/chat/miniircd/patches: patch-miniircd

Log Message:
miniircd: Fix `--help' option

Backported from upstream commit.

PKGREVISION++


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/chat/miniircd/Makefile \
    pkgsrc/chat/miniircd/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/miniircd/patches/patch-miniircd

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

Modified files:

Index: pkgsrc/chat/miniircd/Makefile
diff -u pkgsrc/chat/miniircd/Makefile:1.2 pkgsrc/chat/miniircd/Makefile:1.3
--- pkgsrc/chat/miniircd/Makefile:1.2   Thu Jul 16 15:32:11 2020
+++ pkgsrc/chat/miniircd/Makefile       Fri Aug 21 16:44:11 2020
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2020/07/16 15:32:11 leot Exp $
+# $NetBSD: Makefile,v 1.3 2020/08/21 16:44:11 leot Exp $
 
 DISTNAME=      miniircd-2.0
+PKGREVISION=   1
 CATEGORIES=    chat python
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=jrosdahl/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
Index: pkgsrc/chat/miniircd/distinfo
diff -u pkgsrc/chat/miniircd/distinfo:1.2 pkgsrc/chat/miniircd/distinfo:1.3
--- pkgsrc/chat/miniircd/distinfo:1.2   Thu Jul 16 15:32:11 2020
+++ pkgsrc/chat/miniircd/distinfo       Fri Aug 21 16:44:11 2020
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2020/07/16 15:32:11 leot Exp $
+$NetBSD: distinfo,v 1.3 2020/08/21 16:44:11 leot Exp $
 
 SHA1 (miniircd-2.0.tar.gz) = e44fd1aca1760942304deccdf229a117df2943cc
 RMD160 (miniircd-2.0.tar.gz) = c200bdb13b7a190c0e6152e6c17a2df9f61f9c09
 SHA512 (miniircd-2.0.tar.gz) = b3a65d5b54d2e4163b878fb311221dd1e16bcdc9d53718b687e18d1af8ec3f331903b0ef73fd94e2540ff6d41693bf491a8de04b45d1e00c3215b7427108ff56
 Size (miniircd-2.0.tar.gz) = 22151 bytes
+SHA1 (patch-miniircd) = 39d26714e24fb280a754df79937db9cedcf691c7

Added files:

Index: pkgsrc/chat/miniircd/patches/patch-miniircd
diff -u /dev/null pkgsrc/chat/miniircd/patches/patch-miniircd:1.1
--- /dev/null   Fri Aug 21 16:44:11 2020
+++ pkgsrc/chat/miniircd/patches/patch-miniircd Fri Aug 21 16:44:11 2020
@@ -0,0 +1,27 @@
+$NetBSD: patch-miniircd,v 1.1 2020/08/21 16:44:11 leot Exp $
+
+Properly format default parameter in argparse help messages (fixes
+`--help' option).
+
+Backport from upstream commit dd04e1352102f5d30920334e71f4b376b75c4f17.
+
+--- miniircd.orig      2020-07-16 11:48:28.000000000 +0000
++++ miniircd
+@@ -1087,7 +1087,7 @@ def main(argv: Sequence[str]) -> None:
+         metavar="X",
+         default=10,
+         type=int,
+-        help="keep X log files; default: %default",
++        help="keep X log files; default: %(default)s",
+     )
+     ap.add_argument("--log-file", metavar="X", help="store log in file X")
+     ap.add_argument(
+@@ -1095,7 +1095,7 @@ def main(argv: Sequence[str]) -> None:
+         metavar="X",
+         default=10,
+         type=int,
+-        help="set maximum log file size to X MiB; default: %default MiB",
++        help="set maximum log file size to X MiB; default: %(default)s MiB",
+     )
+     ap.add_argument(
+         "--motd", metavar="X", help="display file X as message of the day"



Home | Main Index | Thread Index | Old Index