diff --git a/include_sys_wait.patch b/include_sys_wait.patch new file mode 100644 index 0000000..3e0fe06 --- /dev/null +++ b/include_sys_wait.patch @@ -0,0 +1,25 @@ +From 29f347c19cb7ad17c4b401e1d984fce8eafaaafa Mon Sep 17 00:00:00 2001 +From: Yorhel +Date: Tue, 7 Apr 2015 10:39:46 +0200 +Subject: shell.c: Include sys/wait.h + +Required for the W* macros on OpenBSD. Reported by Brian Callahan. +--- + src/shell.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/shell.c b/src/shell.c +index d601b5a..eb275cd 100644 +--- a/src/shell.c ++++ b/src/shell.c +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + + void shell_draw() { + char *full_path; +-- +cgit v0.12 + diff --git a/ncdu-1.10.tar.gz b/ncdu-1.10.tar.gz deleted file mode 100644 index 314dc48..0000000 --- a/ncdu-1.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f5994a4848dbbca480d39729b021f057700f14ef72c0d739bbd82d862f2f0c67 -size 131810 diff --git a/ncdu-1.10.tar.gz.asc b/ncdu-1.10.tar.gz.asc deleted file mode 100644 index 79fbc47..0000000 --- a/ncdu-1.10.tar.gz.asc +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iQIcBAABCgAGBQJRi7X1AAoJEGI5TGmMJzn6zykP/R+fvme3YBRU82IDb2L6Yx+b -gWHV2IQvYjFF+9x/2tUatKSt8c0y8SCyxfE9Ypqnqtd2CK+7RxQeGLKsA6xDlSne -lLsm7SzuF1Ta1D66pLuilFrtu8TcSXvwBiSm3+hQ8T5hOiZv1jjJ/NfMokH99R/a -y0199hoPl+TQtvqQGT5WdTd4yNudE2rMSUwhSdwfYgUpKjw2dnN9bjHVMo4XkRm/ -SFKHu3f4d21oSX3vao70FJyRlpSuNpFhQgj5V88s4a7mwU8nfYSRSZTDA8PKPFRQ -Yin6t8PEvyLnLUtLM7zJUU6GDU+lmYJYjxzEAZBBd7CS/n8dlmGraDK0Au7rEuSD -ecNYD+jpSAg/M7N0hV5S7IUanIhrYV8GgjKGlhAibqvpJKz14IiCynXbH6IfZDPe -eeir/v4fNWudpmFwAslbacBbkqa8gWsIyHA+A8CS3PN0bYX7AolfUCjwa+si3UNy -fAcHjABxYjKw5rMopYaOMroCom9Drjj3xE7d82iPPqIhLSl/I4eOvirkfgJAZCNs -nPvG4jfXpk2aXDt22YtNYTTSRhOBI5cC9k8iObN0F74D1+U+bDIVocEOGf6rwKkE -uSqFms0Zvpvl9tRubapeSvPnbJ4vqn2Jr5zBG1J8RvjtG5KaKCgCxUCLLEblGGXN -Da/zBl8Hfatm30hyCVsg -=ww6q ------END PGP SIGNATURE----- diff --git a/ncdu-1.11.tar.gz b/ncdu-1.11.tar.gz new file mode 100644 index 0000000..fab672b --- /dev/null +++ b/ncdu-1.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0aea772e47463c281007f279a9041252155a2b2349b18adb9055075e141bb7b +size 134093 diff --git a/ncdu-1.11.tar.gz.asc b/ncdu-1.11.tar.gz.asc new file mode 100644 index 0000000..0857fea --- /dev/null +++ b/ncdu-1.11.tar.gz.asc @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQIcBAABCgAGBQJVIO1TAAoJEGI5TGmMJzn6iOoQAL3UlfW62oEhg6PxhxpXaVi9 ++o1NK0mWlrg+0qXfCUX7yZK6g7TZUtBjXZd9REafjQU+RIj/UhadFHMS4Dps4SJ1 +4E+qeciZBdGs5H6vCwgpRX6bLJNit4CZc/2vPa8NlMmwT/d03bIQqIcS1QKiUB7L +hTTmngpZDjtrLgCspYd+HolQFl8xnTb+VJA9zC+1U3rD02gH1/iRs7WsK4krGOD6 +iVBPeiNtMEaHiIfnme43l13il3MUZ9yAatQpDG3oYVNKIvTaKkR6i1FOzsAkUhgn +TW+7PsZl6MZkebMsBuS4X8A+8euLX+z/VAa6/BcTY6vxrr+MKZogAx2MItELHtwp +vYrOKoNQtLYPQ8RFtmCAo3cnt/zL5KaKHdgSAHyzSX88vauqp4pKAT/Xdpj/hRe3 +YvI0DXFHix9Pyc52h58vRtldQ4qNKp41Jp5frbtEgweq+jJ9Q5kkm2w/5NiyXiat +/L+UIySKmSIHgkJoQDhwHPIOO1S4vvP4W8s6d1r+jMLaLgLDmoIK9Eicdx9OAJ7s +G9r3WP43mq1gjW+xf2ujLDKolUNiaSev6cno18E+dTRioWAj497MfSRpEXO1eoL4 +5GDP5PaQbfXsdKEJrs9bmrJz4pRbTrDAzpKo66ysFUpr3v5V5k0r2AWqgO3pPqaQ +rOT5YYg6Lu6yiOmrbnO6 +=alZd +-----END PGP SIGNATURE----- diff --git a/ncdu.changes b/ncdu.changes index d89e17a..dbceecf 100644 --- a/ncdu.changes +++ b/ncdu.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Apr 28 18:28:00 UTC 2016 - toddrme2178@gmail.com + +- Update to 1.11 + * Added 'b' key to spawn shell in the current directory + * Support scanning (and refreshing) of empty directories + * Added --si flag for base 10 prefixes + * Fix toggle dirs before files +- Spec file cleanups +- Add include_sys_wait.patch. Fixes building on earlier distros. + The patch is includes upstream and should be in the next release. + Pleas see: + + https://dev.yorhel.nl/ncdu/bug/70 + + https://g.blicky.net/ncdu.git/commit/?id=29f347c19cb7ad17c4b401e1d984fce8eafaaafa + ------------------------------------------------------------------- Sat Aug 31 09:43:41 UTC 2013 - lazy.kent@opensuse.org diff --git a/ncdu.spec b/ncdu.spec index ef7fd49..ab4995c 100644 --- a/ncdu.spec +++ b/ncdu.spec @@ -1,8 +1,6 @@ -# vim: set sw=4 ts=4 et: -# # spec file for package ncdu # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +16,7 @@ Name: ncdu -Version: 1.10 +Version: 1.11 Release: 0 Summary: NCurses Disk Usage License: MIT @@ -26,6 +24,8 @@ Group: System/Filesystems Url: http://dev.yorhel.nl/ncdu/ Source0: http://dev.yorhel.nl/download/ncdu-%{version}.tar.gz Source1: http://dev.yorhel.nl/download/ncdu-%{version}.tar.gz.asc +# PATCH-FIX-UPSTREAM include_sys_wait.patch https://dev.yorhel.nl/ncdu/bug/70 +Patch0: include_sys_wait.patch Source2: %{name}.keyring BuildRequires: ncurses-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -37,21 +37,19 @@ directories are using your disk space. %prep %setup -q +%patch0 -p1 %build %configure -%__make %{?_smp_flags} +make %{?_smp_flags} %install -%makeinstall - -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} +%make_install %files -%defattr(-,root,root,0755) +%defattr(-,root,root,-) %doc ChangeLog README COPYING -%doc %{_mandir}/man1/%{name}.1* %{_bindir}/%{name} +%{_mandir}/man1/%{name}.1* %changelog