pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/libmaa
Module Name: pkgsrc
Committed By: leot
Date: Tue Jun 16 12:40:23 UTC 2020
Modified Files:
pkgsrc/devel/libmaa: Makefile distinfo
Added Files:
pkgsrc/devel/libmaa/patches: patch-maa_log.c
Log Message:
libmaa: Limit hostname to 64 characters to avoid possible truncation
Discussed and ok <cheusov>
PKGREVISION++
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/libmaa/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/libmaa/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libmaa/patches/patch-maa_log.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/libmaa/Makefile
diff -u pkgsrc/devel/libmaa/Makefile:1.17 pkgsrc/devel/libmaa/Makefile:1.18
--- pkgsrc/devel/libmaa/Makefile:1.17 Fri Apr 10 22:44:23 2020
+++ pkgsrc/devel/libmaa/Makefile Tue Jun 16 12:40:23 2020
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2020/04/10 22:44:23 cheusov Exp $
+# $NetBSD: Makefile,v 1.18 2020/06/16 12:40:23 leot Exp $
DISTNAME= libmaa-1.4.7
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dict/}
Index: pkgsrc/devel/libmaa/distinfo
diff -u pkgsrc/devel/libmaa/distinfo:1.15 pkgsrc/devel/libmaa/distinfo:1.16
--- pkgsrc/devel/libmaa/distinfo:1.15 Fri Apr 10 22:44:23 2020
+++ pkgsrc/devel/libmaa/distinfo Tue Jun 16 12:40:23 2020
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.15 2020/04/10 22:44:23 cheusov Exp $
+$NetBSD: distinfo,v 1.16 2020/06/16 12:40:23 leot Exp $
SHA1 (libmaa-1.4.7.tar.gz) = 7406e7171c6fba4dba3f96244abc0715f0f4fee5
RMD160 (libmaa-1.4.7.tar.gz) = 362ccaee8650c1acd2dafe2ff46ec3c387544e81
SHA512 (libmaa-1.4.7.tar.gz) = 6aa0ec6de92d9512152116a2698f5e7d3166631832968d2b7942b8564a4d61ef6eaf304d863e682758636e55a0c5d26fde49db028b18c160abb2286683e8478b
Size (libmaa-1.4.7.tar.gz) = 173728 bytes
+SHA1 (patch-maa_log.c) = 72bfdee2f4e7c62552c505e613183fbfbf4ad4f8
Added files:
Index: pkgsrc/devel/libmaa/patches/patch-maa_log.c
diff -u /dev/null pkgsrc/devel/libmaa/patches/patch-maa_log.c:1.1
--- /dev/null Tue Jun 16 12:40:23 2020
+++ pkgsrc/devel/libmaa/patches/patch-maa_log.c Tue Jun 16 12:40:23 2020
@@ -0,0 +1,16 @@
+$NetBSD: patch-maa_log.c,v 1.1 2020/06/16 12:40:23 leot Exp $
+
+MAXHOSTNAMELEN can be already defined, limit to 64 characters to avoid
+possible truncation.
+
+--- maa/log.c.orig 2020-04-10 22:10:13.000000000 +0000
++++ maa/log.c
+@@ -314,7 +314,7 @@ static void _log_base_va(
+ buf_preamble [0] = 0;
+ } else {
+ snprintf (buf_preamble, sizeof (buf_preamble),
+- "%24.24s %s %s[%ld]: ",
++ "%24.24s %.64s %s[%ld]: ",
+ ctime(&t),
+ logHostname,
+ logIdent,
Home |
Main Index |
Thread Index |
Old Index