pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [pkgsrc-2017Q1] pkgsrc/devel/scmcvs
Module Name: pkgsrc
Committed By: spz
Date: Mon Apr 3 16:29:13 UTC 2017
Modified Files:
pkgsrc/devel/scmcvs [pkgsrc-2017Q1]: Makefile distinfo
Added Files:
pkgsrc/devel/scmcvs/patches [pkgsrc-2017Q1]: patch-src_error.c
Log Message:
Pullup ticket #5231 - requested by sevan
devel/scmcvs: bug fix
Revisions pulled up:
- devel/scmcvs/Makefile 1.16
- devel/scmcvs/distinfo 1.16
- devel/scmcvs/patches/patch-src_error.c 1.1
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: jakllsch
Date: Fri Mar 31 15:15:22 UTC 2017
Modified Files:
pkgsrc/devel/scmcvs: Makefile distinfo
Added Files:
pkgsrc/devel/scmcvs/patches: patch-src_error.c
Log Message:
Patch cvs with same patch as r1.2 of src/external/gpl2/xcvs/dist/src/error.c:
"Use LOG_ERR instead of LOG_EMERG, as LOG_EMERG causes syslogd to tell all
ttys."
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/scmcvs/Makefile \
pkgsrc/devel/scmcvs/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/scmcvs/patches/patch-src_error.c
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.15.10.1 pkgsrc/devel/scmcvs/Makefile
cvs rdiff -u -r1.15 -r1.15.12.1 pkgsrc/devel/scmcvs/distinfo
cvs rdiff -u -r0 -r1.1.2.2 pkgsrc/devel/scmcvs/patches/patch-src_error.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/scmcvs/Makefile
diff -u pkgsrc/devel/scmcvs/Makefile:1.15 pkgsrc/devel/scmcvs/Makefile:1.15.10.1
--- pkgsrc/devel/scmcvs/Makefile:1.15 Thu Feb 25 12:12:49 2016
+++ pkgsrc/devel/scmcvs/Makefile Mon Apr 3 16:29:13 2017
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2016/02/25 12:12:49 jperkin Exp $
+# $NetBSD: Makefile,v 1.15.10.1 2017/04/03 16:29:13 spz Exp $
DISTNAME= cvs-1.12.13
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= devel scm
MASTER_SITES= http://ftp.gnu.org/non-gnu/cvs/source/feature/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tar.bz2
Index: pkgsrc/devel/scmcvs/distinfo
diff -u pkgsrc/devel/scmcvs/distinfo:1.15 pkgsrc/devel/scmcvs/distinfo:1.15.12.1
--- pkgsrc/devel/scmcvs/distinfo:1.15 Tue Nov 3 03:29:32 2015
+++ pkgsrc/devel/scmcvs/distinfo Mon Apr 3 16:29:13 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2015/11/03 03:29:32 agc Exp $
+$NetBSD: distinfo,v 1.15.12.1 2017/04/03 16:29:13 spz Exp $
SHA1 (cvs-1.12.13.tar.bz2) = 93a8dacc6ff0e723a130835713235863f1f5ada9
RMD160 (cvs-1.12.13.tar.bz2) = ba3048e3e2d99ae78f6a759889b615acf65dd487
@@ -28,5 +28,6 @@ SHA1 (patch-ba) = 7153e12e5da86effd4285e
SHA1 (patch-bb) = 09a607426b672f44c1882b82812e6ca81efdcf8e
SHA1 (patch-lib_mktime.c) = 526a0e24c6399d527ae6a463ea91e993f9f7e920
SHA1 (patch-lib_vasnprintf.c) = 6b078c16de6256e33fb86340fe39d663af1b0888
+SHA1 (patch-src_error.c) = 60aba581be95aebbb6fb16c888fd384d855fe56e
SHA1 (patch-src_ignore.c) = 90ac25311c83bb5713b83b9cfb6b2c03790ee787
SHA1 (patch-src_zlib.c) = fee3becf1cc2e45d1241a302ed65c5f11b477a0a
Added files:
Index: pkgsrc/devel/scmcvs/patches/patch-src_error.c
diff -u /dev/null pkgsrc/devel/scmcvs/patches/patch-src_error.c:1.1.2.2
--- /dev/null Mon Apr 3 16:29:13 2017
+++ pkgsrc/devel/scmcvs/patches/patch-src_error.c Mon Apr 3 16:29:13 2017
@@ -0,0 +1,40 @@
+$NetBSD: patch-src_error.c,v 1.1.2.2 2017/04/03 16:29:13 spz Exp $
+
+Use LOG_ERR instead of LOG_EMERG, as LOG_EMERG causes syslogd to tell all
+ttys.
+
+--- src/error.c.orig 2005-06-03 16:06:07.000000000 +0000
++++ src/error.c
+@@ -208,7 +208,7 @@ memerror:
+ * with the message here.
+ */
+ #if HAVE_SYSLOG_H
+- syslog (LOG_DAEMON | LOG_EMERG, "Memory exhausted. Aborting.");
++ syslog (LOG_DAEMON | LOG_ERR, "Memory exhausted. Aborting.");
+ #endif /* HAVE_SYSLOG_H */
+
+ goto sidestep_done;
+@@ -219,18 +219,18 @@ recursion_error:
+ * error while attempting to send the last error message to the client.
+ */
+
+- syslog (LOG_DAEMON | LOG_EMERG,
++ syslog (LOG_DAEMON | LOG_ERR,
+ "error (%d, %d) called recursively. Original message was:",
+ last_status, last_errnum);
+- syslog (LOG_DAEMON | LOG_EMERG, "%s", last_message);
++ syslog (LOG_DAEMON | LOG_ERR, "%s", last_message);
+
+
+- syslog (LOG_DAEMON | LOG_EMERG,
++ syslog (LOG_DAEMON | LOG_ERR,
+ "error (%d, %d) called recursively. Second message was:",
+ status, errnum);
+- syslog (LOG_DAEMON | LOG_EMERG, "%s", buf2);
++ syslog (LOG_DAEMON | LOG_ERR, "%s", buf2);
+
+- syslog (LOG_DAEMON | LOG_EMERG, "Aborting.");
++ syslog (LOG_DAEMON | LOG_ERR, "Aborting.");
+ #endif /* HAVE_SYSLOG_H */
+
+ sidestep_done:
Home |
Main Index |
Thread Index |
Old Index