Hello community, here is the log from the commit of package jpnevulator for openSUSE:Factory checked in at 2020-08-29 20:43:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jpnevulator (Old) and /work/SRC/openSUSE:Factory/.jpnevulator.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jpnevulator" Sat Aug 29 20:43:42 2020 rev:2 rq:830335 version:2.3.6 Changes: -------- --- /work/SRC/openSUSE:Factory/jpnevulator/jpnevulator.changes 2018-10-01 08:17:01.897982696 +0200 +++ /work/SRC/openSUSE:Factory/.jpnevulator.new.3399/jpnevulator.changes 2020-08-29 20:43:46.821500991 +0200 @@ -1,0 +2,14 @@ +Sun Aug 23 08:28:45 UTC 2020 - Martin Hauke <[email protected]> + +- Update to version 2.3.6 + * Fix potential buffer overflow problem. + * Added dependency on misc.h. + * Fix spelling errors in manual page. + * Clarify a bit more why a certain part of the code does exist + to do nothing in certain cases. +- Update to version 2.3.5 + * Added cross compilation and Android (NDK) build support. +- Drop patch: + * jpnevulator-obey-cflags.patch (not longer needed) + +------------------------------------------------------------------- Old: ---- jpnevulator-2.3.4.tar.gz jpnevulator-obey-cflags.patch New: ---- jpnevulator-2.3.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jpnevulator.spec ++++++ --- /var/tmp/diff_new_pack.zgO00D/_old 2020-08-29 20:43:48.305501611 +0200 +++ /var/tmp/diff_new_pack.zgO00D/_new 2020-08-29 20:43:48.309501612 +0200 @@ -1,6 +1,7 @@ # # spec file for package jpnevulator # +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2018, Martin Hauke <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -12,12 +13,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: jpnevulator -Version: 2.3.4 +Version: 2.3.6 Release: 0 Summary: Serial Sniffer License: GPL-2.0-only @@ -25,7 +26,6 @@ URL: http://jpnevulator.snarl.nl/ #Git-Clone: https://github.com/snarlistic/jpnevulator Source: https://github.com/snarlistic/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -Patch0: jpnevulator-obey-cflags.patch %description jpnevulator is a serial sniffer. It can be used to send data on a @@ -43,7 +43,6 @@ %prep %setup -q -%patch0 -p1 %build export CFLAGS="%{optflags}" ++++++ jpnevulator-2.3.4.tar.gz -> jpnevulator-2.3.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/AUTHORS new/jpnevulator-2.3.6/AUTHORS --- old/jpnevulator-2.3.4/AUTHORS 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/AUTHORS 2020-07-28 12:54:59.000000000 +0200 @@ -6,3 +6,6 @@ * Colin Foster <[email protected]> --append functionality + + * Martin Blumenstingl <https://github.com/xdarklight> + Added cross compilation and Android (NDK) build support diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/Android.mk new/jpnevulator-2.3.6/Android.mk --- old/jpnevulator-2.3.4/Android.mk 1970-01-01 01:00:00.000000000 +0100 +++ new/jpnevulator-2.3.6/Android.mk 2020-07-28 12:54:59.000000000 +0200 @@ -0,0 +1,26 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + +LOCAL_MODULE := jpnevulator + +# we need at least API level 21 for posix_openpt +TARGET_PLATFORM := android-21 + +LOCAL_CFLAGS += -Wall + +LOCAL_SRC_FILES := main.c \ + options.c \ + jpnevulator.c \ + byte.c \ + interface.c \ + tty.c \ + pty.c \ + io.c \ + checksum.c \ + crc16.c \ + crc8.c \ + list.c \ + misc.c + +include $(BUILD_EXECUTABLE) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/Changelog new/jpnevulator-2.3.6/Changelog --- old/jpnevulator-2.3.4/Changelog 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/Changelog 2020-07-28 12:54:59.000000000 +0200 @@ -1,3 +1,25 @@ +jpnevulator (2.3.6); urgency=low + + * Fix potential buffer overflow problem. + * Added dependency on misc.h. + * Fix spelling errors in manual page. + * Clarify a bit more why a certain part of the code does exist to do nothing + in certain cases. + * Updated FAQ that more than one question is answered. Two, yes two + questions answered. Crazy!! It is like that for a mighty long + time already, but now the FAQ knows too. :) + + -- Freddy Spierenburg <[email protected]> Tue, 28 Jul 2020 12:39:34 +0200 + +jpnevulator (2.3.5); urgency=low + + * (Martin Blumenstingl) Added cross compilation and Android (NDK) build + support. + * Remove debian files. Moved them to their own repository at + https://github.com/snarlistic/jpnevulator-debian. + + -- Freddy Spierenburg <[email protected]> Fri, 08 May 2020 21:58:20 +0200 + jpnevulator (2.3.4); urgency=low * Note to self: drink less beer during a software release. Now everything diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/FAQ new/jpnevulator-2.3.6/FAQ --- old/jpnevulator-2.3.4/FAQ 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/FAQ 2020-07-28 12:54:59.000000000 +0200 @@ -1,8 +1,9 @@ FAQ === -This is actually a quiet lousy FAQ with only one question answered. But the -truth is that only one question is asked frequently. +This is actually a quiet lousy FAQ with not many questions answered. But the +truth is that only one question is asked frequently. The first here in this +FAQ. Please read it, please, please, pretty please. :) Q: Your serial tool seems to block my application. What am I doing wrong? diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/INSTALL new/jpnevulator-2.3.6/INSTALL --- old/jpnevulator-2.3.4/INSTALL 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/INSTALL 2020-07-28 12:54:59.000000000 +0200 @@ -25,4 +25,12 @@ After this make you will have a binary called jpnevulator in the main source directory. You can copy this binary everywhere you like. +You can also pass CC=cross-compile-gcc to the make command to build with a +different compiler (for example to cross-compile jpnevulator) than gcc. +Android binary +============== + + $ ndk-build APP_PLATFORM=android-21 APP_BUILD_SCRIPT=Android.mk NDK_PROJECT_PATH=. + +After this the resulting binaries can be found in libs/<platform>/jpnevulator diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/Makefile new/jpnevulator-2.3.6/Makefile --- old/jpnevulator-2.3.4/Makefile 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/Makefile 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ # jpnevulator - serial reader/writer -# Copyright (C) 2006-2016 Freddy Spierenburg +# Copyright (C) 2006-2020 Freddy Spierenburg # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -46,10 +46,10 @@ MANPAGES=jpnevulator.1.gz # Tools -CLIBS= -CFLAGS=-Wall -LDFLAGS= -CC=gcc +CLIBS?= +CFLAGS+=-Wall +LDFLAGS?= +CC?=gcc GZIP=gzip INSTALL=install diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/README new/jpnevulator-2.3.6/README --- old/jpnevulator-2.3.4/README 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/README 2020-07-28 12:54:59.000000000 +0200 @@ -22,8 +22,8 @@ love to hear from you by means of a postcard. You can send it to: Freddy Spierenburg - Veluwemeer 206 - 3446 JD Woerden + Meer van Annecy 5 + 3446 JT Woerden The Netherlands Thanks in advance and again; have fun using this program! @@ -65,6 +65,9 @@ provided binary output and I rewrote it so both the read and write mode of the software are able to use the binary format, see --base option. +Thanks to Martin Blumenstingl for adding cross compilation and Android (NDK) +build support. + History ======= @@ -103,7 +106,7 @@ Copyright notice ================ -Copyright (C) 2006-2016 Freddy Spierenburg +Copyright (C) 2006-2020 Freddy Spierenburg This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/byte.c new/jpnevulator-2.3.6/byte.c --- old/jpnevulator-2.3.4/byte.c 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/byte.c 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/byte.h new/jpnevulator-2.3.6/byte.h --- old/jpnevulator-2.3.4/byte.h 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/byte.h 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/checksum.c new/jpnevulator-2.3.6/checksum.c --- old/jpnevulator-2.3.4/checksum.c 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/checksum.c 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/checksum.h new/jpnevulator-2.3.6/checksum.h --- old/jpnevulator-2.3.4/checksum.h 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/checksum.h 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/crc16.c new/jpnevulator-2.3.6/crc16.c --- old/jpnevulator-2.3.4/crc16.c 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/crc16.c 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/crc16.h new/jpnevulator-2.3.6/crc16.h --- old/jpnevulator-2.3.4/crc16.h 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/crc16.h 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/crc8.c new/jpnevulator-2.3.6/crc8.c --- old/jpnevulator-2.3.4/crc8.c 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/crc8.c 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/crc8.h new/jpnevulator-2.3.6/crc8.h --- old/jpnevulator-2.3.4/crc8.h 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/crc8.h 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/debian/changelog new/jpnevulator-2.3.6/debian/changelog --- old/jpnevulator-2.3.4/debian/changelog 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/debian/changelog 1970-01-01 01:00:00.000000000 +0100 @@ -1,126 +0,0 @@ -jpnevulator (2.3.4-1) unstable; urgency=low - - * New upstream release. - - -- Freddy Spierenburg <[email protected]> Sat, 27 Aug 2016 01:23:01 +0200 - -jpnevulator (2.3.1-1) unstable; urgency=low - - * New upstream release. - - -- Freddy Spierenburg <[email protected]> Mon, 14 Dec 2015 00:31:08 +0100 - -jpnevulator (2.3.0-1) unstable; urgency=low - - * New upstream release. - - -- Freddy Spierenburg <[email protected]> Sun, 13 Dec 2015 22:37:37 +0100 - -jpnevulator (2.2.1-1) unstable; urgency=low - - * New upstream release. - - -- Freddy Spierenburg <[email protected]> Tue, 29 Sep 2015 21:18:55 +0200 - -jpnevulator (2.2.0-1) unstable; urgency=low - - * New upstream release. - - -- Freddy Spierenburg <[email protected]> Tue, 07 Oct 2014 19:00:24 +0200 - -jpnevulator (2.1.3-1) unstable; urgency=low - - * New upstream release. - * Fixed the conflicting parameter types, closes: bug#748568. - Actually this bug was already solved in version 2.1.2-1, but my - Debian mentor was not happy with that release, since it was - missing the information about this closed bug. He once again - was right and is hopefully happy with this release. - - -- Freddy Spierenburg <[email protected]> Tue, 05 Aug 2014 21:39:36 +0200 - -jpnevulator (2.1.2-1) unstable; urgency=low - - * New release. - - -- Freddy Spierenburg <[email protected]> Thu, 12 Jun 2014 18:49:13 +0200 - -jpnevulator (2.1.1-1) unstable; urgency=low - - * New release. - - -- Freddy Spierenburg <[email protected]> Mon, 06 Aug 2012 21:20:35 +0200 - -jpnevulator (2.1.0-1) unstable; urgency=low - - * New release. - - -- Freddy Spierenburg <[email protected]> Sun, 05 Aug 2012 22:47:38 +0200 - -jpnevulator (2.0.3-1) unstable; urgency=low - - * New release. - - -- Freddy Spierenburg <[email protected]> Wed, 09 May 2012 21:25:05 +0200 - -jpnevulator (2.0.2-1) unstable; urgency=low - - * New release. - - -- Freddy Spierenburg <[email protected]> Tue, 17 Apr 2012 18:51:18 +0200 - -jpnevulator (2.0.1-1) unstable; urgency=low - - * New release. - - -- Freddy Spierenburg <[email protected]> Mon, 16 Apr 2012 18:25:08 +0200 - -jpnevulator (2.0.0-1) unstable; urgency=low - - * New release. - - -- Freddy Spierenburg <[email protected]> Sun, 15 Apr 2012 23:26:33 +0200 - -jpnevulator (1.3.1-1) unstable; urgency=low - - * New release. - - -- Freddy Spierenburg <[email protected]> Sun, 22 Jan 2012 00:14:01 +0100 - -jpnevulator (1.3.0-1) unstable; urgency=low - - * New release. - - -- Freddy Spierenburg <[email protected]> Sat, 25 Apr 2009 13:00:53 +0200 - -jpnevulator (1.2.3-1) unstable; urgency=low - - * New upstream release. - * First official upload to Debian, closes bug#378671. - - -- Freddy Spierenburg <[email protected]> Fri, 21 Jul 2006 15:17:27 +0200 - -jpnevulator (1.2.2-1) unstable; urgency=low - - * New upstream release. - - -- Freddy Spierenburg <[email protected]> Mon, 17 Jul 2006 00:20:47 +0200 - -jpnevulator (1.2.1-1) unstable; urgency=low - - * New upstream release. - - -- Freddy Spierenburg <[email protected]> Sun, 25 Jun 2006 16:08:19 +0200 - -jpnevulator (1.2.0-1) unstable; urgency=low - - * New upstream version. - - -- Freddy Spierenburg <[email protected]> Sun, 25 Jun 2006 14:10:55 +0200 - -jpnevulator (1.1.0-1) unstable; urgency=low - - * Initial release. - - -- Freddy Spierenburg <[email protected]> Sat, 3 Jun 2006 15:34:17 +0200 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/debian/compat new/jpnevulator-2.3.6/debian/compat --- old/jpnevulator-2.3.4/debian/compat 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/debian/compat 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/debian/control new/jpnevulator-2.3.6/debian/control --- old/jpnevulator-2.3.4/debian/control 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/debian/control 1970-01-01 01:00:00.000000000 +0100 @@ -1,24 +0,0 @@ -Source: jpnevulator -Homepage: http://jpnevulator.snarl.nl/ -Section: comm -Priority: optional -Maintainer: Freddy Spierenburg <[email protected]> -Build-Depends: debhelper (>= 5) -Standards-Version: 3.9.8 - -Package: jpnevulator -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: Serial sniffer - jpnevulator is a handy serial sniffer. You can use it to send data on a - serial device too. You can read or write from/to one or more serial - devices at the same time. - . - In write mode data to be sent on the serial device(s) is read from a - file or stdin in hexadecimal notation. Data is sent on the serial - device(s) line by line. - . - In read mode data to be read from the serial device(s) is written to a - file or stdout in hexadecimal notation. It's even possible to pass the - data in between the serial device(s). Several options enhance the - way the data is displayed. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/debian/copyright new/jpnevulator-2.3.6/debian/copyright --- old/jpnevulator-2.3.4/debian/copyright 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/debian/copyright 1970-01-01 01:00:00.000000000 +0100 @@ -1,16 +0,0 @@ -This package was debianized by Freddy Spierenburg <[email protected]> on -Sat, 3 Jun 2006 15:34:17 +0200. - -It was downloaded from http://jpnevulator.snarl.nl/ - -Upstream Author: Freddy Spierenburg <[email protected]> - -This software is Copyright 2006-2015 by Freddy Spierenburg. - -You are free to distribute this software under the terms of -the GNU General Public License. -On Debian systems, the complete text of the GNU General Public -License can be found in the file `/usr/share/common-licenses/GPL'. - -The Debian packaging is Copyright 2006-2015, Freddy Spierenburg <[email protected]> and -is licensed under the GPL, see `/usr/share/common-licenses/GPL'. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/debian/docs new/jpnevulator-2.3.6/debian/docs --- old/jpnevulator-2.3.4/debian/docs 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/debian/docs 1970-01-01 01:00:00.000000000 +0100 @@ -1,4 +0,0 @@ -BUGS -README -TODO -FAQ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/debian/rules new/jpnevulator-2.3.6/debian/rules --- old/jpnevulator-2.3.4/debian/rules 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/debian/rules 1970-01-01 01:00:00.000000000 +0100 @@ -1,102 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - - - - -CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) -Wall -CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) -LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) - -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif - -configure: configure-stamp -configure-stamp: - dh_testdir - # Add here commands to configure the package. - - touch configure-stamp - - -build: build-arch build-indep -build-arch: build-stamp -build-indep: build-stamp - -build-stamp: configure-stamp - dh_testdir - - # Add here commands to compile the package. - $(MAKE) CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" - #docbook-to-man debian/jpnevulator.sgml > jpnevulator.1 - - touch $@ - -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - - # Add here commands to clean up after the build process. - $(MAKE) clean - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_prep - dh_installdirs - - # Add here commands to install the package into debian/jpnevulator. - $(MAKE) install DESTDIR=$(CURDIR)/debian/jpnevulator - - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build install - dh_testdir - dh_testroot - dh_installchangelogs Changelog - dh_installdocs - dh_installexamples -# dh_install -# dh_installmenu -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_python -# dh_installinit -# dh_installcron -# dh_installinfo - dh_installman - dh_link - dh_strip - dh_compress - dh_fixperms -# dh_perl -# dh_makeshlibs - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/debian/source/format new/jpnevulator-2.3.6/debian/source/format --- old/jpnevulator-2.3.4/debian/source/format 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/debian/source/format 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -3.0 (quilt) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/debian/watch new/jpnevulator-2.3.6/debian/watch --- old/jpnevulator-2.3.4/debian/watch 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/debian/watch 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -version=3 -http://jpnevulator.snarl.nl/download/jpnevulator-(.+).tgz diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/dependencies.in new/jpnevulator-2.3.6/dependencies.in --- old/jpnevulator-2.3.4/dependencies.in 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/dependencies.in 2020-07-28 12:54:59.000000000 +0200 @@ -15,4 +15,4 @@ crc16.o: crc16.c crc8.o: crc8.c list.o: list.c list.h -misc.o: misc.c +misc.o: misc.c misc.h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/interface.c new/jpnevulator-2.3.6/interface.c --- old/jpnevulator-2.3.4/interface.c 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/interface.c 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -36,7 +36,7 @@ enum interfaceRtrn interfaceAdd(char *name,int (*interfaceOpen)(char *,int),int (*interfaceControlGet)(int,char *),void (*interfaceControlWrite)(FILE *,int),void (*interfaceClose)(int)) { struct interface *interface; int charactersPrinted; - char error[256]; + char error[1024]; char *alias; /* Was an interface name given? */ if(name==NULL) { @@ -74,7 +74,7 @@ } interface->fd=interfaceOpen(interface->name,sizeof(interface->name)-1); if(interface->fd==-1) { - sprintf(error,"%s: Unable to open interface %s",PROGRAM_NAME,interface->name); + snprintf(error,sizeof(error)-1,"%s: Unable to open interface %s",PROGRAM_NAME,interface->name); perror(error); return(interfaceRtrnOpen); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/interface.h new/jpnevulator-2.3.6/interface.h --- old/jpnevulator-2.3.4/interface.h 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/interface.h 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/io.c new/jpnevulator-2.3.6/io.c --- old/jpnevulator-2.3.4/io.c 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/io.c 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/io.h new/jpnevulator-2.3.6/io.h --- old/jpnevulator-2.3.4/io.h 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/io.h 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/jpnevulator.1 new/jpnevulator-2.3.6/jpnevulator.1 --- old/jpnevulator-2.3.4/jpnevulator.1 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/jpnevulator.1 2020-07-28 12:54:59.000000000 +0200 @@ -1,4 +1,4 @@ -.TH JPNEVULATOR "1" "August 2016" "jpnevulator 2.3.2" "User Commands" +.TH JPNEVULATOR "1" "July 2020" "jpnevulator 2.3.6" "User Commands" .SH NAME jpnevulator \- Just another serial sniffer .SH SYNOPSIS @@ -110,7 +110,7 @@ .TP \fB\-e\fR, \fB\-\-timing\-delta\fR=\fIMICROSECONDS\fR The timing delta is the amount of microseconds between two bytes that the latter -is considered to be part of a new package. The default is 100 miliseconds. Use +is considered to be part of a new package. The default is 100 milliseconds. Use this option in conjunction with the \-\-timing\-print option. .TP \fB\-g\fR, \fB\-\-timing\-print\fR @@ -156,7 +156,7 @@ .TP \fB\-j\fR, \fB\-\-fuck\-up\fR This is the special fuck up option. When the calculation of a checksum is chosen -(see checksum and crc* options) the checkum will be crippled on purpose. Carefully +(see checksum and crc* options) the checksum will be crippled on purpose. Carefully named after the special Jan Arie de Bruin 'fuck up crc' button. .TP \fB\-n\fR, \fB\-\-no\-send\fR @@ -232,4 +232,4 @@ .SH "REPORTING BUGS" Report bugs to <[email protected]>. .SH COPYRIGHT -Copyright \(co 2006-2016 Freddy Spierenburg +Copyright \(co 2006-2020 Freddy Spierenburg diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/jpnevulator.c new/jpnevulator-2.3.6/jpnevulator.c --- old/jpnevulator-2.3.4/jpnevulator.c 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/jpnevulator.c 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -452,7 +452,10 @@ if(rtrn==-1) { /* Forgotten why, but we do not do anything here. I once must have had a * very good reason, but I can't recall anymore. Let's just put in - * another funny bullshit comment to give this all some kind of meaning. */ + * another funny bullshit comment to give this all some kind of meaning. + * I start to think it has to do something with the control option. I + * don't think you want to write control information every time select + * fails. But I could be wrong. It is too long ago. */ } else if(rtrn) { /* If we have received some data, we obviously need to reset out timeout counter. Otherwise it would * be considered cheating. Forgetting to reset this counter results in a slight different interpretation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/jpnevulator.h new/jpnevulator-2.3.6/jpnevulator.h --- old/jpnevulator-2.3.4/jpnevulator.h 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/jpnevulator.h 2020-07-28 12:54:59.000000000 +0200 @@ -1,6 +1,6 @@ #ifndef __JPNEVULATOR_H /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,7 +22,7 @@ #include "options.h" #define PROGRAM_NAME "jpnevulator" -#define PROGRAM_VERSION "2.3.1" +#define PROGRAM_VERSION "2.3.6" enum jpnevulatorRtrn { jpnevulatorRtrnOk=0, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/list.c new/jpnevulator-2.3.6/list.c --- old/jpnevulator-2.3.4/list.c 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/list.c 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/list.h new/jpnevulator-2.3.6/list.h --- old/jpnevulator-2.3.4/list.h 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/list.h 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/main.c new/jpnevulator-2.3.6/main.c --- old/jpnevulator-2.3.4/main.c 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/main.c 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/misc.c new/jpnevulator-2.3.6/misc.c --- old/jpnevulator-2.3.4/misc.c 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/misc.c 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/misc.h new/jpnevulator-2.3.6/misc.h --- old/jpnevulator-2.3.4/misc.h 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/misc.h 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/options.c new/jpnevulator-2.3.6/options.c --- old/jpnevulator-2.3.4/options.c 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/options.c 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -337,7 +337,7 @@ case 'v': { printf( "%s version %s\n" - "Copyright (C) 2006-2015 Freddy Spierenburg <[email protected]>\n" + "Copyright (C) 2006-2020 Freddy Spierenburg <[email protected]>\n" "This is free software. You may redistribute copies of it under the terms of\n" "the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n" "There is NO WARRANTY, to the extent permitted by law.\n", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/options.h new/jpnevulator-2.3.6/options.h --- old/jpnevulator-2.3.4/options.h 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/options.h 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/pty.c new/jpnevulator-2.3.6/pty.c --- old/jpnevulator-2.3.4/pty.c 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/pty.c 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/pty.h new/jpnevulator-2.3.6/pty.h --- old/jpnevulator-2.3.4/pty.h 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/pty.h 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/tty.c new/jpnevulator-2.3.6/tty.c --- old/jpnevulator-2.3.4/tty.c 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/tty.c 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpnevulator-2.3.4/tty.h new/jpnevulator-2.3.6/tty.h --- old/jpnevulator-2.3.4/tty.h 2016-08-27 01:41:30.000000000 +0200 +++ new/jpnevulator-2.3.6/tty.h 2020-07-28 12:54:59.000000000 +0200 @@ -1,5 +1,5 @@ /* jpnevulator - serial reader/writer - * Copyright (C) 2006-2016 Freddy Spierenburg + * Copyright (C) 2006-2020 Freddy Spierenburg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
