Hello community, here is the log from the commit of package growlight for openSUSE:Factory checked in at 2020-10-27 18:59:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/growlight (Old) and /work/SRC/openSUSE:Factory/.growlight.new.3463 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "growlight" Tue Oct 27 18:59:25 2020 rev:5 rq:844111 version:1.2.17 Changes: -------- --- /work/SRC/openSUSE:Factory/growlight/growlight.changes 2020-10-20 16:22:07.554342656 +0200 +++ /work/SRC/openSUSE:Factory/.growlight.new.3463/growlight.changes 2020-10-27 18:59:54.434785250 +0100 @@ -1,0 +2,8 @@ +Sun Oct 25 18:32:48 UTC 2020 - Martin Hauke <mar...@gmx.de> + +- Update to version 1.2.17 + * purge glibc version lookup to work on musl. + * remove pre-2.0.1 notcurses compat code. + * CMake: require notcurses 2.0.1+. + +------------------------------------------------------------------- Old: ---- growlight-1.2.16.tar.gz New: ---- growlight-1.2.17.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ growlight.spec ++++++ --- /var/tmp/diff_new_pack.NwbDHd/_old 2020-10-27 18:59:55.502786026 +0100 +++ /var/tmp/diff_new_pack.NwbDHd/_new 2020-10-27 18:59:55.510786032 +0100 @@ -18,7 +18,7 @@ Name: growlight -Version: 1.2.16 +Version: 1.2.17 Release: 0 Summary: Disk manipulation and system setup tool License: GPL-3.0-or-later ++++++ growlight-1.2.16.tar.gz -> growlight-1.2.17.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/.drone.yml new/growlight-1.2.17/.drone.yml --- old/growlight-1.2.16/.drone.yml 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/.drone.yml 2020-10-25 19:20:23.000000000 +0100 @@ -5,9 +5,10 @@ steps: - name: debian-build - image: dankamongmen/unstable_builder:2020-10-10b + image: dankamongmen/unstable_builder:2020-10-25a commands: - export LANG=en_US.UTF-8 + - apt-get -y install nettle-dev - mkdir build - cd build - cmake -DUSE_LIBZFS=off .. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/CMakeLists.txt new/growlight-1.2.17/CMakeLists.txt --- old/growlight-1.2.16/CMakeLists.txt 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/CMakeLists.txt 2020-10-25 19:20:23.000000000 +0100 @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.14) -project(growlight VERSION 1.2.16 +project(growlight VERSION 1.2.17 DESCRIPTION "Block device and filesystem manager" HOMEPAGE_URL "https://nick-black.com/dankwiki/index.php/Growlight" LANGUAGES C) @@ -23,7 +23,7 @@ find_package(PkgConfig REQUIRED) find_package(Threads) set_package_properties(Threads PROPERTIES TYPE REQUIRED) -find_package(Notcurses 2.0.0 CONFIG) +find_package(Notcurses 2.0.1 CONFIG) set_package_properties(Notcurses PROPERTIES TYPE REQUIRED) feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) pkg_check_modules(LIBATASMART REQUIRED libatasmart>=0.19) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/doc/man/man8/growlight-readline.8.md new/growlight-1.2.17/doc/man/man8/growlight-readline.8.md --- old/growlight-1.2.16/doc/man/man8/growlight-readline.8.md 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/doc/man/man8/growlight-readline.8.md 2020-10-25 19:20:23.000000000 +0100 @@ -1,6 +1,6 @@ % growlight-readline(8) % nick black <nickbl...@linux.com> -% v1.2.16 +% v1.2.17 # NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/doc/man/man8/growlight.8.md new/growlight-1.2.17/doc/man/man8/growlight.8.md --- old/growlight-1.2.16/doc/man/man8/growlight.8.md 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/doc/man/man8/growlight.8.md 2020-10-25 19:20:23.000000000 +0100 @@ -1,6 +1,6 @@ % growlight(8) % nick black <nickbl...@linux.com> -% v1.2.16 +% v1.2.17 # NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/aggregate.c new/growlight-1.2.17/src/aggregate.c --- old/growlight-1.2.16/src/aggregate.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/aggregate.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include "zfs.h" #include "mdadm.h" #include "popen.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/aggregate.h new/growlight-1.2.17/src/aggregate.h --- old/growlight-1.2.16/src/aggregate.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/aggregate.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_AGGREGATE #define GROWLIGHT_AGGREGATE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/apm.c new/growlight-1.2.17/src/apm.c --- old/growlight-1.2.16/src/apm.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/apm.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <assert.h> #include <fcntl.h> #include <errno.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/apm.h new/growlight-1.2.17/src/apm.h --- old/growlight-1.2.16/src/apm.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/apm.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_APM #define GROWLIGHT_APM diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/crypt.c new/growlight-1.2.17/src/crypt.c --- old/growlight-1.2.16/src/crypt.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/crypt.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <stdio.h> // libcryptsetup.h needs size_t #include <libcryptsetup.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/crypt.h new/growlight-1.2.17/src/crypt.h --- old/growlight-1.2.16/src/crypt.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/crypt.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_CRYPT #define GROWLIGHT_CRYPT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/dm.c new/growlight-1.2.17/src/dm.c --- old/growlight-1.2.16/src/dm.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/dm.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <errno.h> #include <stdlib.h> #include <unistd.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/dm.h new/growlight-1.2.17/src/dm.h --- old/growlight-1.2.16/src/dm.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/dm.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_DM #define GROWLIGHT_DM diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/dmi.c new/growlight-1.2.17/src/dmi.c --- old/growlight-1.2.16/src/dmi.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/dmi.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <errno.h> #include <fcntl.h> #include <string.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/dmi.h new/growlight-1.2.17/src/dmi.h --- old/growlight-1.2.16/src/dmi.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/dmi.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_DMI #define GROWLIGHT_DMI diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/fs.c new/growlight-1.2.17/src/fs.c --- old/growlight-1.2.16/src/fs.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/fs.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <assert.h> #include <errno.h> #include <stdio.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/fs.h new/growlight-1.2.17/src/fs.h --- old/growlight-1.2.16/src/fs.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/fs.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_FS #define GROWLIGHT_FS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/gpt.c new/growlight-1.2.17/src/gpt.c --- old/growlight-1.2.16/src/gpt.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/gpt.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <assert.h> #include <zlib.h> #include <fcntl.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/gpt.h new/growlight-1.2.17/src/gpt.h --- old/growlight-1.2.16/src/gpt.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/gpt.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_GPT #define GROWLIGHT_GPT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/growlight.c new/growlight-1.2.17/src/growlight.c --- old/growlight-1.2.16/src/growlight.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/growlight.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <assert.h> #include <wchar.h> #include <ctype.h> @@ -28,7 +29,6 @@ #include <sys/inotify.h> #include <libdevmapper.h> #include <sys/capability.h> -#include <gnu/libc-version.h> #include "fs.h" #include "sg.h" @@ -2035,9 +2035,8 @@ return -1; } dm_get_library_version(buf, sizeof(buf)); - verbf("%s %s\nlibblkid %s, libpci 0x%x, libdm %s, glibc %s %s\n", PACKAGE, - VERSION, BLKID_VERSION, PCI_LIB_VERSION, buf, - gnu_get_libc_version(), gnu_get_libc_release()); + verbf("%s %s\nlibblkid %s, libpci 0x%x, libdm %s\n", PACKAGE, + VERSION, BLKID_VERSION, PCI_LIB_VERSION, buf); if(glight_pci_init()){ diag("Couldn't init libpciaccess (%s)\n", strerror(errno)); }else{ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/growlight.h new/growlight-1.2.17/src/growlight.h --- old/growlight-1.2.16/src/growlight.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/growlight.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_GROWLIGHT #define GROWLIGHT_GROWLIGHT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/health.c new/growlight-1.2.17/src/health.c --- old/growlight-1.2.16/src/health.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/health.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <assert.h> #include <stdio.h> #include <fcntl.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/health.h new/growlight-1.2.17/src/health.h --- old/growlight-1.2.16/src/health.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/health.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_HEALTH #define GROWLIGHT_HEALTH diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/libblkid.c new/growlight-1.2.17/src/libblkid.c --- old/growlight-1.2.16/src/libblkid.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/libblkid.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <assert.h> #include <wchar.h> #include <stdio.h> @@ -119,8 +120,7 @@ diag("Couldn't enable blkid superprobe for %s (%s)\n", dev, strerror(errno)); goto err; } - if(blkid_probe_set_superblocks_flags(bp, BLKID_SUBLKS_DEFAULT | - BLKID_SUBLKS_VERSION)){ + if(blkid_probe_set_superblocks_flags(bp, BLKID_SUBLKS_DEFAULT | BLKID_SUBLKS_VERSION)){ diag("Couldn't set blkid superflags for %s (%s)\n", dev, strerror(errno)); goto err; } @@ -208,8 +208,7 @@ d->partdev.ptype = parttype; }else if(!parttype || d->partdev.ptype != parttype){ if(d->partdev.ptype){ - diag("Partition type changed (%04x->%04x)\n", - d->partdev.ptype, parttype); + diag("Partition type changed (%04x->%04x)\n", d->partdev.ptype, parttype); } d->partdev.ptype = parttype; } @@ -217,8 +216,7 @@ d->partdev.uuid = partuuid; }else if(!partuuid || strcmp(d->partdev.uuid, partuuid)){ if(d->partdev.uuid){ - diag("Partition UUID changed (%s->%s)\n", - d->partdev.uuid, partuuid ? partuuid : "none"); + diag("Partition UUID changed (%s->%s)\n", d->partdev.uuid, partuuid ? partuuid : "none"); } free(d->partdev.uuid); d->partdev.uuid = partuuid; @@ -227,8 +225,7 @@ d->partdev.pname = pname; }else if(!pname || wcscmp(d->partdev.pname, pname)){ if(d->partdev.pname){ - diag("Partition name changed (%ls->%ls)\n", - d->partdev.pname, pname ? pname : L"none"); + diag("Partition name changed (%ls->%ls)\n", d->partdev.pname, pname ? pname : L"none"); } free(d->partdev.pname); d->partdev.pname = pname; @@ -238,8 +235,7 @@ d->mnttype = mnttype; }else if(!mnttype || strcmp(mnttype, d->mnttype)){ if(d->mnttype){ - diag("FS type changed (%s->%s)\n", - d->mnttype, mnttype ? mnttype : "none"); + diag("FS type changed (%s->%s)\n", d->mnttype, mnttype ? mnttype : "none"); } free(d->mnttype); d->mnttype = mnttype; @@ -250,8 +246,7 @@ d->uuid = uuid; }else if(!uuid || strcmp(uuid, d->uuid)){ if(d->uuid){ - diag("FS UUID changed (%s->%s)\n", d->uuid, - uuid ? uuid : "none"); + diag("FS UUID changed (%s->%s)\n", d->uuid, uuid ? uuid : "none"); } free(d->uuid); d->uuid = uuid; @@ -262,8 +257,7 @@ d->label = label; }else if(!label || strcmp(label, d->label)){ if(d->label){ - diag("FS label changed (%s->%s)\n", d->label, - label ? label : "none"); + diag("FS label changed (%s->%s)\n", d->label, label ? label : "none"); } free(d->label); d->label = label; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/libblkid.h new/growlight-1.2.17/src/libblkid.h --- old/growlight-1.2.16/src/libblkid.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/libblkid.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_LIBBLKID #define GROWLIGHT_LIBBLKID diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/mbr.c new/growlight-1.2.17/src/mbr.c --- old/growlight-1.2.16/src/mbr.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/mbr.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <assert.h> #include <ctype.h> #include <fcntl.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/mbr.h new/growlight-1.2.17/src/mbr.h --- old/growlight-1.2.16/src/mbr.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/mbr.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_MBR #define GROWLIGHT_MBR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/mdadm.c new/growlight-1.2.17/src/mdadm.c --- old/growlight-1.2.16/src/mdadm.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/mdadm.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <assert.h> #include <errno.h> #include <stdio.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/mdadm.h new/growlight-1.2.17/src/mdadm.h --- old/growlight-1.2.16/src/mdadm.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/mdadm.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_MDADM #define GROWLIGHT_MDADM diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/mmap.c new/growlight-1.2.17/src/mmap.c --- old/growlight-1.2.16/src/mmap.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/mmap.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <fcntl.h> #include <stdio.h> #include <errno.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/mmap.h new/growlight-1.2.17/src/mmap.h --- old/growlight-1.2.16/src/mmap.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/mmap.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_MMAP #define GROWLIGHT_MMAP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/mounts.c new/growlight-1.2.17/src/mounts.c --- old/growlight-1.2.16/src/mounts.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/mounts.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <fcntl.h> #include <ctype.h> #include <stdio.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/mounts.h new/growlight-1.2.17/src/mounts.h --- old/growlight-1.2.16/src/mounts.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/mounts.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_MOUNTS #define GROWLIGHT_MOUNTS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/msdos.c new/growlight-1.2.17/src/msdos.c --- old/growlight-1.2.16/src/msdos.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/msdos.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <assert.h> #include <fcntl.h> #include <errno.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/msdos.h new/growlight-1.2.17/src/msdos.h --- old/growlight-1.2.16/src/msdos.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/msdos.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_MSDOS #define GROWLIGHT_MSDOS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/notcurses/notcurses-ui.h new/growlight-1.2.17/src/notcurses/notcurses-ui.h --- old/growlight-1.2.16/src/notcurses/notcurses-ui.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/notcurses/notcurses-ui.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_SRC_UI_NOTCURSES #define GROWLIGHT_SRC_UI_NOTCURSES diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/notcurses/notcurses.c new/growlight-1.2.17/src/notcurses/notcurses.c --- old/growlight-1.2.16/src/notcurses/notcurses.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/notcurses/notcurses.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <assert.h> #include <ctype.h> #include <stdio.h> @@ -21,12 +22,6 @@ #include "aggregate.h" #include "notui-aggregate.h" -// FIXME remove after notcurses 2.0.1 is widespread -#ifndef NCKEY_ESC -#define NCKEY_ESC 27 -#define NCKEY_SPACE 32 -#endif - static void shutdown_cycle(void) __attribute__ ((noreturn)); void locked_diag(const char *fmt,...) __attribute__ ((format (printf,1,2))); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/notcurses/notui-aggregate.c new/growlight-1.2.17/src/notcurses/notui-aggregate.c --- old/growlight-1.2.16/src/notcurses/notui-aggregate.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/notcurses/notui-aggregate.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <errno.h> #include <assert.h> #include <stdlib.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/notcurses/notui-aggregate.h new/growlight-1.2.17/src/notcurses/notui-aggregate.h --- old/growlight-1.2.16/src/notcurses/notui-aggregate.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/notcurses/notui-aggregate.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_SRC_NOTUI_AGGREGATE #define GROWLIGHT_SRC_NOTUI_AGGREGATE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/nvme.c new/growlight-1.2.17/src/nvme.c --- old/growlight-1.2.16/src/nvme.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/nvme.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include "sg.h" #include "nvme.h" #include <stdio.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/nvme.h new/growlight-1.2.17/src/nvme.h --- old/growlight-1.2.16/src/nvme.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/nvme.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_NVME #define GROWLIGHT_NVME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/popen.c new/growlight-1.2.17/src/popen.c --- old/growlight-1.2.16/src/popen.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/popen.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <assert.h> #include <wchar.h> #include <errno.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/popen.h new/growlight-1.2.17/src/popen.h --- old/growlight-1.2.16/src/popen.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/popen.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_POPEN #define GROWLIGHT_POPEN diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/ptable.c new/growlight-1.2.17/src/ptable.c --- old/growlight-1.2.16/src/ptable.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/ptable.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <assert.h> #include <fcntl.h> #include <stdio.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/ptable.h new/growlight-1.2.17/src/ptable.h --- old/growlight-1.2.16/src/ptable.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/ptable.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_PTABLE #define GROWLIGHT_PTABLE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/ptypes.c new/growlight-1.2.17/src/ptypes.c --- old/growlight-1.2.16/src/ptypes.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/ptypes.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <stdint.h> #include <stdlib.h> #include "ptypes.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/ptypes.h new/growlight-1.2.17/src/ptypes.h --- old/growlight-1.2.16/src/ptypes.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/ptypes.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_PTYPES #define GROWLIGHT_PTYPES diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/readline/readline.c new/growlight-1.2.17/src/readline/readline.c --- old/growlight-1.2.16/src/readline/readline.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/readline/readline.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <wchar.h> #include <errno.h> #include <unistd.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/secure.c new/growlight-1.2.17/src/secure.c --- old/growlight-1.2.16/src/secure.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/secure.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <assert.h> #include <stdio.h> #include <errno.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/secure.h new/growlight-1.2.17/src/secure.h --- old/growlight-1.2.16/src/secure.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/secure.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_SECURE #define GROWLIGHT_SECURE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/sg.c new/growlight-1.2.17/src/sg.c --- old/growlight-1.2.16/src/sg.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/sg.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black, except where otherwise noted below #include <assert.h> #include <errno.h> #include <ctype.h> @@ -17,6 +18,16 @@ #include "growlight.h" // Consult T10/04-262r3 "ATA Comand Pass-Through" revision 3 2004-08-31 +// The following defines and enums are taken from sgio.h from hdparm 9.58. +// That file is copyright Mark Lord (ml...@pobox.com), and licensed as follows: +// +// You may freely use, modify, and redistribute the hdparm program, +// as either binary or source, or both. +// +// The only condition is that my name and copyright notice +// remain in the source code as-is. +// +// Mark Lord (ml...@pobox.com) static const int SG_ATA_16 = 0x85; // 16-byte ATA pass-though command #define SG_ATA_16_LEN 16 static const int SG_ATA_PROTO_PIO_IN = 4; @@ -78,6 +89,7 @@ unsigned int duration; unsigned int info; }; +// Material taken from hdparm ends here int sg_interrogate(device *d, int fd){ #define IDSECTORS 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/sg.h new/growlight-1.2.17/src/sg.h --- old/growlight-1.2.16/src/sg.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/sg.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_SG #define GROWLIGHT_SG diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/sha.c new/growlight-1.2.17/src/sha.c --- old/growlight-1.2.16/src/sha.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/sha.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <stdio.h> #include "sha.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/sha.h new/growlight-1.2.17/src/sha.h --- old/growlight-1.2.16/src/sha.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/sha.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_SHA #define GROWLIGHT_SHA diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/smart.c new/growlight-1.2.17/src/smart.c --- old/growlight-1.2.16/src/smart.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/smart.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <assert.h> #include <stdio.h> #include <fcntl.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/smart.h new/growlight-1.2.17/src/smart.h --- old/growlight-1.2.16/src/smart.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/smart.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_SMART #define GROWLIGHT_SMART diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/ssd.c new/growlight-1.2.17/src/ssd.c --- old/growlight-1.2.16/src/ssd.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/ssd.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include "ssd.h" #include "popen.h" #include "growlight.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/ssd.h new/growlight-1.2.17/src/ssd.h --- old/growlight-1.2.16/src/ssd.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/ssd.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_SSD #define GROWLIGHT_SSD diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/stats.c new/growlight-1.2.17/src/stats.c --- old/growlight-1.2.16/src/stats.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/stats.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <fcntl.h> #include <errno.h> #include <ctype.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/stats.h new/growlight-1.2.17/src/stats.h --- old/growlight-1.2.16/src/stats.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/stats.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_STATS #define GROWLIGHT_STATS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/swap.c new/growlight-1.2.17/src/swap.c --- old/growlight-1.2.16/src/swap.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/swap.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <assert.h> #include <ctype.h> #include <stdio.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/swap.h new/growlight-1.2.17/src/swap.h --- old/growlight-1.2.16/src/swap.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/swap.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_SWAP #define GROWLIGHT_SWAP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/sysfs.c new/growlight-1.2.17/src/sysfs.c --- old/growlight-1.2.16/src/sysfs.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/sysfs.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <assert.h> #include <ctype.h> #include <stdio.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/sysfs.h new/growlight-1.2.17/src/sysfs.h --- old/growlight-1.2.16/src/sysfs.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/sysfs.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_SYSFS #define GROWLIGHT_SYSFS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/target.c new/growlight-1.2.17/src/target.c --- old/growlight-1.2.16/src/target.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/target.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <assert.h> #include <fcntl.h> #include <stdio.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/target.h new/growlight-1.2.17/src/target.h --- old/growlight-1.2.16/src/target.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/target.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_TARGET #define GROWLIGHT_TARGET diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/udev.c new/growlight-1.2.17/src/udev.c --- old/growlight-1.2.16/src/udev.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/udev.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <assert.h> #include <errno.h> #include <stdio.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/udev.h new/growlight-1.2.17/src/udev.h --- old/growlight-1.2.16/src/udev.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/udev.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_UDEV #define GROWLIGHT_UDEV diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/version.h.in new/growlight-1.2.17/src/version.h.in --- old/growlight-1.2.16/src/version.h.in 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/version.h.in 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #define growlight_VERSION_MAJOR "@growlight_VERSION_MAJOR@" #define growlight_VERSION_MINOR "@growlight_VERSION_MINOR@" #define growlight_VERSION_PATCH "@growlight_VERSION_PATCH@" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/zfs.c new/growlight-1.2.17/src/zfs.c --- old/growlight-1.2.16/src/zfs.c 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/zfs.c 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #include <assert.h> #include <stdio.h> #include <errno.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/src/zfs.h new/growlight-1.2.17/src/zfs.h --- old/growlight-1.2.16/src/zfs.h 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/src/zfs.h 2020-10-25 19:20:23.000000000 +0100 @@ -1,3 +1,4 @@ +// copyright 2012–2020 nick black #ifndef GROWLIGHT_ZFS #define GROWLIGHT_ZFS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/growlight-1.2.16/tools/release new/growlight-1.2.17/tools/release --- old/growlight-1.2.16/tools/release 2020-10-19 05:54:48.000000000 +0200 +++ new/growlight-1.2.17/tools/release 2020-10-25 19:20:23.000000000 +0100 @@ -42,5 +42,5 @@ echo "The bastards are trying to immanentize the Eschaton" # requires token in ~/.netrc -github-release dankamongmen/growlight create v$VERSION --name "v$VERSION—$QUIP" --publish $TARBALL.asc +github-release dankamongmen/growlight create v$VERSION --name "v$VERSION" --publish $TARBALL.asc rm $TARBALL.asc