Your message dated Mon, 21 Sep 2020 14:47:43 +0000
with message-id <[email protected]>
and subject line Bug#948536: fixed in nyancat 1.5.2-0.1
has caused the Debian Bug report #948536,
regarding nyancat: diff for NMU version 1.5.2-0.1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
948536: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948536
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nyancat
Version: 1.5.1-1+build1
Severity: normal
Tags: patch  pending

Dear maintainer,

I've updated the package and prepared an NMU for nyancat (versioned as
1.5.2-0.1)
The new version includes a new minor upstream version and some packaging
updates.

Regards.
 - Adrian

diff -Nru nyancat-1.5.1/debian/changelog nyancat-1.5.2/debian/changelog
--- nyancat-1.5.1/debian/changelog	2020-01-05 22:54:15.000000000 +0100
+++ nyancat-1.5.2/debian/changelog	2020-01-09 17:50:15.000000000 +0100
@@ -1,3 +1,22 @@
+nyancat (1.5.2-0.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * New upstream release.
+  * debian/compat: Switch from debian/compat to versioned debhelper-compat
+    B-D.
+  * debian/rules:
+    + Remove --with dh_systemd. It's no longer required by newer debhelper
+      versions.
+  * debian/control:
+    + Bump Standards-Version to 4.4.1. No changes required.
+    + B-Ds: Remove dh-systemd it's oboslet now.
+    + B-Ds: Use debhelper-compat = 12 instead.
+    + Switch from priority extra to optional.
+    + Add Rules-Requires-Root flag.
+  * debian/copyright: Switch to secure Format URL.
+
+ -- Adrian Vondendriesch <[email protected]>  Thu, 09 Jan 2020 17:50:15 +0100
+
 nyancat (1.5.1-1+build1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru nyancat-1.5.1/debian/compat nyancat-1.5.2/debian/compat
--- nyancat-1.5.1/debian/compat	2014-07-17 02:49:53.000000000 +0200
+++ nyancat-1.5.2/debian/compat	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-9
diff -Nru nyancat-1.5.1/debian/control nyancat-1.5.2/debian/control
--- nyancat-1.5.1/debian/control	2016-02-13 19:23:41.000000000 +0100
+++ nyancat-1.5.2/debian/control	2020-01-09 17:50:15.000000000 +0100
@@ -1,10 +1,11 @@
 Source: nyancat
 Section: misc
-Priority: extra
+Priority: optional
 Maintainer: Jonathan McCrohan <[email protected]>
-Build-Depends: debhelper (>= 9), dh-systemd
-Standards-Version: 3.9.6
+Build-Depends: debhelper-compat (= 12)
+Standards-Version: 4.4.1
 Homepage: https://github.com/klange/nyancat
+Rules-Requires-Root: no
 
 Package: nyancat
 Architecture: any
diff -Nru nyancat-1.5.1/debian/copyright nyancat-1.5.2/debian/copyright
--- nyancat-1.5.1/debian/copyright	2014-07-17 02:49:53.000000000 +0200
+++ nyancat-1.5.2/debian/copyright	2020-01-09 17:50:15.000000000 +0100
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: nyancat
 Source: https://github.com/klange/nyancat
 
diff -Nru nyancat-1.5.1/debian/rules nyancat-1.5.2/debian/rules
--- nyancat-1.5.1/debian/rules	2016-02-13 19:28:12.000000000 +0100
+++ nyancat-1.5.2/debian/rules	2020-01-09 17:50:15.000000000 +0100
@@ -10,4 +10,4 @@
 	debian/get-git-source.sh
 
 %:
-	dh $@ --with systemd
+	dh $@
diff -Nru nyancat-1.5.1/Makefile nyancat-1.5.2/Makefile
--- nyancat-1.5.1/Makefile	2015-11-24 06:05:00.000000000 +0100
+++ nyancat-1.5.2/Makefile	2018-08-18 15:40:20.000000000 +0200
@@ -1,5 +1,5 @@
 package = nyancat
-version = 1.5.1
+version = 1.5.2
 tarname = $(package)
 distdir = $(tarname)-$(version)
 
diff -Nru nyancat-1.5.1/nyancat.1 nyancat-1.5.2/nyancat.1
--- nyancat-1.5.1/nyancat.1	2015-11-24 06:05:00.000000000 +0100
+++ nyancat-1.5.2/nyancat.1	2018-08-18 15:40:20.000000000 +0200
@@ -61,7 +61,7 @@
 .B Repository:
 https://github.com/klange/nyancat
 .SH AUTHOR
-nyancat was written by Kevin Lange.
+nyancat was written by K. Lange <[email protected]>.
 .PP
 This manual page was written by Jonathan McCrohan <[email protected]>,
 for the Debian project (and may be used by others).
diff -Nru nyancat-1.5.1/README.md nyancat-1.5.2/README.md
--- nyancat-1.5.1/README.md	2015-11-24 06:05:00.000000000 +0100
+++ nyancat-1.5.2/README.md	2018-08-18 15:40:20.000000000 +0200
@@ -8,7 +8,7 @@
 
 Nyancat is available in the following distributions:
 
-- [Arch](http://aur.archlinux.org/packages.php?ID=55279)
+- [Arch](https://www.archlinux.org/packages/?q=nyancat)
 - [Debian](http://packages.qa.debian.org/n/nyancat.html)
 - [Gentoo](http://packages.gentoo.org/package/games-misc/nyancat)
 - [Mandriva](http://sophie.zarb.org/rpms/928724d4aea0efdbdeda1c80cb59a7d3)
@@ -18,6 +18,7 @@
 
 - [FreeBSD](http://www.freshports.org/net/nyancat/)
 - [OpenBSD](http://openports.se/misc/nyancat)
+- [NetBSD](http://pkgsrc.se/misc/nyancat)
 
 ## Setup
 
diff -Nru nyancat-1.5.1/src/nyancat.c nyancat-1.5.2/src/nyancat.c
--- nyancat-1.5.1/src/nyancat.c	2015-11-24 06:05:00.000000000 +0100
+++ nyancat-1.5.2/src/nyancat.c	2018-08-18 15:40:20.000000000 +0200
@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2011-2013 Kevin Lange.  All rights reserved.
+ * Copyright (c) 2011-2018 K. Lange.  All rights reserved.
  *
- * Developed by:            Kevin Lange
+ * Developed by:            K. Lange
  *                          http://github.com/klange/nyancat
  *                          http://nyancat.dakko.us
  *
@@ -12,7 +12,7 @@
  * Build tools unified by:  Aaron Peschel
  *                          https://github.com/apeschel
  *
- * For a complete listing of contributers, please see the git commit history.
+ * For a complete listing of contributors, please see the git commit history.
  *
  * This is a simple telnet server / standalone application which renders the
  * classic Nyan Cat (or "poptart cat") to your terminal.
@@ -35,7 +35,7 @@
  *   2. Redistributions in binary form must reproduce the above copyright
  *      notice, this list of conditions and the following disclaimers in the
  *      documentation and/or other materials provided with the distribution.
- *   3. Neither the names of the Association for Computing Machinery, Kevin
+ *   3. Neither the names of the Association for Computing Machinery, K.
  *      Lange, nor the names of its contributors may be used to endorse
  *      or promote products derived from this Software without specific prior
  *      written permission.
@@ -49,9 +49,10 @@
  * WITH THE SOFTWARE.
  */
 
-#define _XOPEN_SOURCE 500
+#define _XOPEN_SOURCE 700
 #define _DARWIN_C_SOURCE 1
 #define _BSD_SOURCE
+#define _DEFAULT_SOURCE
 #define __BSD_VISIBLE 1
 #include <ctype.h>
 #include <stdio.h>
@@ -118,7 +119,7 @@
 unsigned int frame_count = 0;
 
 /*
- * Clear the screen between frames (as opposed to reseting
+ * Clear the screen between frames (as opposed to resetting
  * the cursor position)
  */
 int clear_screen = 1;
@@ -347,8 +348,7 @@
 
 int main(int argc, char ** argv) {
 
-	/* The default terminal is ANSI */
-	char term[1024] = {'a','n','s','i', 0};
+	char *term = NULL;
 	unsigned int k;
 	int ttype;
 	uint32_t option = 0, done = 0, sb_mode = 0;
@@ -485,7 +485,7 @@
 								/* This was a response to the TTYPE command, meaning
 								 * that this should be a terminal type */
 								alarm(2);
-								strcpy(term, (char *)&sb[2]);
+								term = strndup((char *)&sb[2], sizeof(sb)-2);
 								done++;
 							}
 							else if (sb[0] == NAWS) {
@@ -562,10 +562,7 @@
 	} else {
 		/* We are running standalone, retrieve the
 		 * terminal type from the environment. */
-		char * nterm = getenv("TERM");
-		if (nterm) {
-			strcpy(term, nterm);
-		}
+		term = getenv("TERM");
 
 		/* Also get the number of columns */
 		struct winsize w;
@@ -574,36 +571,39 @@
 		terminal_height = w.ws_row;
 	}
 
-	/* Convert the entire terminal string to lower case */
-	for (k = 0; k < strlen(term); ++k) {
-		term[k] = tolower(term[k]);
-	}
-
-	/* Do our terminal detection */
-	if (strstr(term, "xterm")) {
-		ttype = 1; /* 256-color, spaces */
-	} else if (strstr(term, "toaru")) {
-		ttype = 1; /* emulates xterm */
-	} else if (strstr(term, "linux")) {
-		ttype = 3; /* Spaces and blink attribute */
-	} else if (strstr(term, "vtnt")) {
-		ttype = 5; /* Extended ASCII fallback == Windows */
-	} else if (strstr(term, "cygwin")) {
-		ttype = 5; /* Extended ASCII fallback == Windows */
-	} else if (strstr(term, "vt220")) {
-		ttype = 6; /* No color support */
-	} else if (strstr(term, "fallback")) {
-		ttype = 4; /* Unicode fallback */
-	} else if (strstr(term, "rxvt-256color")) {
-		ttype = 1; /* xterm 256-color compatible */
-	} else if (strstr(term, "rxvt")) {
-		ttype = 3; /* Accepts LINUX mode */
-	} else if (strstr(term, "vt100") && terminal_width == 40) {
-		ttype = 7; /* No color support, only 40 columns */
-	} else if (!strncmp(term, "st", 2)) {
-		ttype = 1; /* suckless simple terminal is xterm-256color-compatible */
-	} else {
-		ttype = 2; /* Everything else */
+	/* Default ttype */
+	ttype = 2;
+
+	if (term) {
+		/* Convert the entire terminal string to lower case */
+		for (k = 0; k < strlen(term); ++k) {
+			term[k] = tolower(term[k]);
+		}
+
+		/* Do our terminal detection */
+		if (strstr(term, "xterm")) {
+			ttype = 1; /* 256-color, spaces */
+		} else if (strstr(term, "toaru")) {
+			ttype = 1; /* emulates xterm */
+		} else if (strstr(term, "linux")) {
+			ttype = 3; /* Spaces and blink attribute */
+		} else if (strstr(term, "vtnt")) {
+			ttype = 5; /* Extended ASCII fallback == Windows */
+		} else if (strstr(term, "cygwin")) {
+			ttype = 5; /* Extended ASCII fallback == Windows */
+		} else if (strstr(term, "vt220")) {
+			ttype = 6; /* No color support */
+		} else if (strstr(term, "fallback")) {
+			ttype = 4; /* Unicode fallback */
+		} else if (strstr(term, "rxvt-256color")) {
+			ttype = 1; /* xterm 256-color compatible */
+		} else if (strstr(term, "rxvt")) {
+			ttype = 3; /* Accepts LINUX mode */
+		} else if (strstr(term, "vt100") && terminal_width == 40) {
+			ttype = 7; /* No color support, only 40 columns */
+		} else if (!strncmp(term, "st", 2)) {
+			ttype = 1; /* suckless simple terminal is xterm-256color-compatible */
+		}
 	}
 
 	int always_escape = 0; /* Used for text mode */
@@ -774,7 +774,7 @@
 			newline(3);
 			printf("                             \033[1mNyancat Telnet Server\033[0m");
 			newline(2);
-			printf("                   written and run by \033[1;32mKevin Lange\033[1;34m @kevinlange\033[0m");
+			printf("                   written and run by \033[1;32mK. Lange\033[1;34m @_klange\033[0m");
 			newline(2);
 			printf("        If things don't look right, try:");
 			newline(1);

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: nyancat
Source-Version: 1.5.2-0.1
Done: Adrian Vondendriesch <[email protected]>

We believe that the bug you reported is fixed in the latest version of
nyancat, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Vondendriesch <[email protected]> (supplier of updated 
nyancat package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 09 Jan 2020 17:50:15 +0100
Source: nyancat
Architecture: source
Version: 1.5.2-0.1
Distribution: unstable
Urgency: medium
Maintainer: Jonathan McCrohan <[email protected]>
Changed-By: Adrian Vondendriesch <[email protected]>
Closes: 948536 958614
Changes:
 nyancat (1.5.2-0.1) unstable; urgency=medium
 .
   * Non-maintainer upload. (Closes: #948536)
   * New upstream release.
   * debian/compat: Switch from debian/compat to versioned debhelper-compat
     B-D.
   * debian/rules:
     + Remove --with dh_systemd. It's no longer required by newer debhelper
       versions.
   * debian/control:
     + Bump Standards-Version to 4.4.1. No changes required.
     + B-Ds: Remove dh-systemd, it's oboslete now. (Closes: #958614)
     + B-Ds: Use debhelper-compat = 12 instead.
     + Switch from priority extra to optional.
     + Add Rules-Requires-Root flag.
   * debian/copyright: Switch to secure Format URL.
Checksums-Sha1:
 2c98991197b317fda03fd9bf2743f1a75661c524 1777 nyancat_1.5.2-0.1.dsc
 0fb02df62dcf17c46fb8887ea6bb23d5633315c4 15126 nyancat_1.5.2.orig.tar.gz
 cd7dddd9d59359af5a92b88d018bc6497658533b 4792 nyancat_1.5.2-0.1.debian.tar.xz
 93bf73a29e499d620b21e11f4bffcc27196b51cd 6030 
nyancat_1.5.2-0.1_source.buildinfo
Checksums-Sha256:
 a9ad01eea1075e0adfe8b188050741f4214bd344f01661d02881bc0c17cb2a7a 1777 
nyancat_1.5.2-0.1.dsc
 88cdcaa9c7134503dd0364a97fa860da3381a09cb555c3aae9918360827c2032 15126 
nyancat_1.5.2.orig.tar.gz
 216fc505c5c36013bb8130908638c3ee0421d7b536130a120fd64fea57f01b7c 4792 
nyancat_1.5.2-0.1.debian.tar.xz
 a029d3a6372dc8f1ae23ca156402283585ebcdb627e4c3e686f1a4de681e9524 6030 
nyancat_1.5.2-0.1_source.buildinfo
Files:
 ef78a0545307f8a731d945dc3c1265f0 1777 misc optional nyancat_1.5.2-0.1.dsc
 a0445ebda241513d7a7792a1f0a6e489 15126 misc optional nyancat_1.5.2.orig.tar.gz
 c4bc6e6eaa4247f1fd78b315d44e0dcc 4792 misc optional 
nyancat_1.5.2-0.1.debian.tar.xz
 590005fda7faa3a74baa341f7f267f2b 6030 misc optional 
nyancat_1.5.2-0.1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEERoyJeTtCmBnp12Ema+Zjx1o1yXUFAl9mCF0ACgkQa+Zjx1o1
yXVOxhAAzBeBYB1v/VOVAmqyLTv9lrbTGrhRIqfZWbEUjzK0RuQW3kKZ6xCwAf3g
QcT2CbjMncrIjiRPRB0/PJnS2/C1wIfcyQo8Qj13e94J6TSkO/ASDcYhNTyezmKf
cYRxEDlbt6rHAQ0GpNeOE/q4f+2vacsQOGB2P8UU/XV/UkCpFp8oFHxc3g2ng8BZ
6VwLSTJCJtdym52uM+FJa+s/wG2Lg7/2j7BAMV7oeW4unEHWl5eSKfHiM2LMKycj
f9kyufXvMZjObxRDLZz17k5+J/tfYnrHuOtWUjDFe+5noSqaVtSrKy5L6FNAZvNh
Mt1IdWxi98GWqQW7yGeCwqnp70CoHY5Fo3CbGj64a4c5LlHm9dD1e4XuJ8I4Qoku
zWetaj0E01AUThldAinICkuVHIAVS+e1VsJaWHf5ijuZKc+Zv3J8xlqspQ0mwwHL
h/SJh2xtp/dC1TUYagaTmEVGdJaz6KxeLoBo87vNo4oZl+v/fF3PRmH7Pzq9pOls
IvKN4sPTA9vCjfQfEnGV4MsHi/ji2E0i2BKAjsBQqc/Fc1ge7ZYfkWiotXUW1uzj
MfUROc6ZJkdFE/uWxuxiUsIvopgTc+bTJt1dHIstvcP04INdeGPZ2V35hZTpFJCp
2RDLumK08xlyNKYlUFj4IOwdfn2NHkHOTn8kJJGx2sG3YM0fU7E=
=G6Vx
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to