Compare commits
20 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| e945eb6039 | |||
| 30a812180f | |||
| d7ed99f9b5 | |||
| 96dd315e68 | |||
| 12e486add8 | |||
| 322c3a54f5 | |||
| 13c3a71807 | |||
| 5e027e11aa | |||
| efb78f9d8b | |||
| fa6e2f24d0 | |||
| f9e3181140 | |||
| 63747ed695 | |||
| 3bd5655f4a | |||
| fca270e26e | |||
| b0d7a6931e | |||
| eecb5e959c | |||
| a0e555f7bc | |||
| 132f1f806b | |||
| 1a1b649644 | |||
| 93d76624fc |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:148c263a1058f6643bd7e347d8f34e59caa9fcb71d1938f1344b077784f7f8fb
|
||||
size 184703
|
||||
3
di-6.0.0.tar.gz
Normal file
3
di-6.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7b663e4db044b1fa4986bd018f827c18e96fe6d1f9a36732dcbb0450e7f518cb
|
||||
size 133060
|
||||
179
di.changes
179
di.changes
@@ -1,3 +1,182 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 16 11:19:47 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- update to 6.0.0:
|
||||
* Fix crash in incorrect processing when di_get_all_disk_info
|
||||
fails
|
||||
* ABI Change: di_get_all_disk_info now returns an exit flag
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 4 20:29:29 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- update to 5.0.14:
|
||||
* Fix -I, -x: incorrect parse issue left over from re-write
|
||||
* Fix crash with initialization and free of quota data
|
||||
* Environment variables: Also handle XiB scale sizes
|
||||
* Fix Robi and Quebi prefix names
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 26 16:30:39 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- update to 5.0.13:
|
||||
* build system fixes for other platforms, mkconfig updates
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 21 17:21:16 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- Update to 5.0.12:
|
||||
* Fix --si option block size
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 19 05:51:44 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- Update to 5.0.11:
|
||||
* build fixes to mo files, package them
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 17:34:29 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- Update to 5.0.10:
|
||||
* more build system tweaks and fixes for other platforms
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 10 19:44:29 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- Update to 5.0.6:
|
||||
* build system fixes and compiler warning fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 8 18:52:51 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- Update to version 5 (5.0.5), a new major version:
|
||||
* Code base updated, display processing is entirely new code.
|
||||
* now uses a shared library
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 9 17:17:07 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- di 4.51:
|
||||
* Handle EPERM errors
|
||||
- di 4.50:
|
||||
* JSON: Exclude extraneous format characters from the json output
|
||||
* JSON: Fix quoting around human-readable values
|
||||
* Totals: Support APFS filesystem
|
||||
* Linux: Put filesytems using 'tmpfs' or 'cgroup' as the
|
||||
device name on the ignore list
|
||||
- di 4.49:
|
||||
* Added the -j (--json-output) option to output json data
|
||||
- di 4.48:
|
||||
* disable spurious compiler warnings
|
||||
* Various build fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 2 08:48:01 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
- Update to version 4.47.3
|
||||
* Fixed missing link flags for clang.
|
||||
version 4.47.2:
|
||||
* Minor makefile cleanup.
|
||||
version 4.47.1:
|
||||
* Update mkconfig to version 2.1.1 (fixes build on 32-bit).
|
||||
* Add configs/config.ms.cl (visual studio definitions).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 13 08:28:20 UTC 2018 - mvetter@suse.com
|
||||
|
||||
- Update to 4.47:
|
||||
* Fixed bugs located by scan.coverity.com.
|
||||
This should fix a numeric sort bug.
|
||||
* Update mkconfig to version 2.0.0 and make changes to
|
||||
support it.
|
||||
* Get perl extension build working again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 14 08:56:39 UTC 2018 - mvetter@suse.com
|
||||
|
||||
- Update to 4.46:
|
||||
* Tcl: Fix bad allocation.
|
||||
* Tcl: Raise errors rather than exiting.
|
||||
* Exit program when incorrect options are specified.
|
||||
* Update mkconfig to version 1.31.
|
||||
* Add missing mkconfig/runtests.sh.
|
||||
* Update mkconfig to version 1.30 to fix modern libintl.h/printf tests.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 19 08:42:01 UTC 2018 - aloisio@gmx.com
|
||||
|
||||
- Update to version 4.44
|
||||
* Fixed check of exabyte sized filesystems. The signed check
|
||||
now only checks for -1 and -2; there could still be situations
|
||||
where the overflow exactly matches these values.
|
||||
* Added faster method for windows check for missing removable
|
||||
filesystems.
|
||||
version 4.43
|
||||
* Cleaned up some compiler warnings.
|
||||
* Fixed memory allocation problem.
|
||||
* Tcl interface fixes
|
||||
version 4.42
|
||||
* Fixed a parsing bug in the Tcl interface.
|
||||
* Added a Perl interface.
|
||||
version 4.41
|
||||
* Fixed bug specifying more than one filesystem on the command
|
||||
line.
|
||||
* Added sort by free space, total space.
|
||||
* Updated manual page: missing, new sort options.
|
||||
version 4.40
|
||||
* Updated the Tcl interface to return the 'display' key as a list.
|
||||
version 4.39
|
||||
* Added a Tcl interface.
|
||||
* Fixed CSV header to honor -n flag.
|
||||
* Added -C, --csv-tabs to output CSV with tabs.
|
||||
* Update mkconfig to version 1.27
|
||||
version 4.38
|
||||
* Update mkconfig to version 1.26
|
||||
version 4.37
|
||||
* Fixed a problem when processing the DI_ARGS environment variable.
|
||||
* Hardened compiler options: reference:
|
||||
http://wiki.debian.org/Hardening
|
||||
* Code cleanup to fix compiler warnings.
|
||||
version 4.36
|
||||
* Updated test for NFS remote filesystems.
|
||||
version 4.35
|
||||
* Fixed a bug when -I/-x were specified in addition to a filespec.
|
||||
* Updated build system to mkconfig-1.24
|
||||
version 4.34
|
||||
* When a filename is specified on the command line, attempt to
|
||||
choose the best filesystem to display when there are multiple
|
||||
choices.
|
||||
* Error check realpath() return value.
|
||||
* Only canonicalize device names if it has a trailing uuid.
|
||||
* Add -R (--dont-resolve-symlink) option to turn off
|
||||
canonicalization.
|
||||
* Clean up code to fix clang warnings.
|
||||
version 4.33
|
||||
* Recoded quota handling as information was improperly
|
||||
losing precision.
|
||||
* Added support for hammer-pfs (pooled filesystems).
|
||||
* Exclude rootfs, devfs, procfs, kernfs, ptyfs and devtmpfs by
|
||||
default.
|
||||
* Minor updates to main makefile.
|
||||
* Minor directory rearrangement for os-specific config files.
|
||||
* Fixed possible case of systems with a memcpy macro and
|
||||
no library function.
|
||||
* Make sure D tests are not run.
|
||||
* Updated build system to mkconfig-1.22.
|
||||
version 4.32
|
||||
* Exclude rootfs by default.
|
||||
* Canonicalize the special device name.
|
||||
* Updated build system to mkconfig-1.21.
|
||||
version 4.31
|
||||
* Filesystems that would return a 'Permission Denied'
|
||||
are not displayed at all, even with -a.
|
||||
* Fixed totals with pooled filesystems (when main pool not
|
||||
mounted).
|
||||
* Fixed a very rare divide by 0 condition.
|
||||
* Code cleanup.
|
||||
* Updated build system to mkconfig-1.19.
|
||||
|
||||
- Spec cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 21 18:25:11 UTC 2011 - pascal.bleser@opensuse.org
|
||||
|
||||
|
||||
113
di.spec
113
di.spec
@@ -1,15 +1,38 @@
|
||||
# vim: set sw=4 ts=4 et nu:
|
||||
#
|
||||
# spec file for package di
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
Name: di
|
||||
Version: 4.31
|
||||
Release: 0
|
||||
Summary: Disk Information Utility
|
||||
Source: http://gentoo.com/di/di-%{version}.tar.gz
|
||||
URL: http://www.gentoo.com/di/
|
||||
Group: Productivity/File utilities
|
||||
License: zlib/libpng License
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
BuildRequires: gcc make glibc-devel pkgconfig
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define sover 6
|
||||
Name: di
|
||||
Version: 6.0.0
|
||||
Release: 0
|
||||
Summary: Disk Information Utility
|
||||
License: Zlib
|
||||
URL: https://diskinfo-di.sourceforge.io/
|
||||
Source: https://sourceforge.net/projects/diskinfo-di/files/%{name}-%{version}.tar.gz
|
||||
BuildRequires: cmake
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(libtirpc)
|
||||
%if 0%{?sle_version} <= 150600 && 0%{?is_opensuse}
|
||||
BuildRequires: gmp-devel
|
||||
%else
|
||||
BuildRequires: pkgconfig(gmp)
|
||||
%endif
|
||||
|
||||
%description
|
||||
di is a disk information utility that displays everything that df does and
|
||||
@@ -19,41 +42,53 @@ space available for their use, not the system wide disk space. It is designed
|
||||
to be highly portable across many platforms and is great for heterogenous
|
||||
networks.
|
||||
|
||||
%package -n libdi%{sover}
|
||||
Summary: Disk Information Utility share library
|
||||
|
||||
%description -n libdi%{sover}
|
||||
di (libdi) is a disk information utility library.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for di
|
||||
Requires: libdi%{sover} = %{version}
|
||||
|
||||
%description devel
|
||||
di (libdi) is a disk information utility library.
|
||||
|
||||
This package contains the files needed to develop using libdi.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%__make %{?_smp_flags} \
|
||||
prefix="%{_prefix}" \
|
||||
LOCALEDIR="%{_datadir}/locale" \
|
||||
CC="%__cc" \
|
||||
CFLAGS="%{optflags}"
|
||||
%cmake
|
||||
%make_build
|
||||
|
||||
%install
|
||||
# actually needed on some non-openSUSE dists as the install
|
||||
# target doesn't use "mkdir -p" but just "mkdir"
|
||||
%__install -d "%{buildroot}"
|
||||
%cmake_install
|
||||
%find_lang %{name}
|
||||
|
||||
%__make \
|
||||
prefix="%{_prefix}" \
|
||||
LOCALEDIR="%{_datadir}/locale" \
|
||||
CC="%__cc" \
|
||||
CFLAGS="%{optflags}" \
|
||||
INSTALL_DIR="%{buildroot}%{_prefix}" \
|
||||
INSTALL_BIN_DIR="%{buildroot}%{_bindir}" \
|
||||
INSTALL_LOCALEDIR="%{buildroot}%{_datadir}/locale" \
|
||||
DI_MANINSTDIR="%{buildroot}%{_mandir}" \
|
||||
install
|
||||
%check
|
||||
%ctest
|
||||
|
||||
%find_lang "%{name}"
|
||||
%ldconfig_scriptlets -n libdi%{sover}
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
%files -f "%{name}.lang"
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE MANIFEST README
|
||||
%files -f %{name}.lang
|
||||
%license LICENSE.txt
|
||||
%doc README.txt
|
||||
%{_bindir}/di
|
||||
%{_bindir}/mi
|
||||
%doc %{_mandir}/man1/di.1*
|
||||
%{_mandir}/man1/di.1%{?ext_man}
|
||||
|
||||
%files -n libdi%{sover}
|
||||
%license LICENSE.txt
|
||||
%{_libdir}/libdi.so.%{sover}
|
||||
%{_libdir}/libdi.so.%{sover}.*
|
||||
|
||||
%files devel
|
||||
%license LICENSE.txt
|
||||
%{_includedir}/di.h
|
||||
%{_libdir}/libdi.so
|
||||
%{_libdir}/pkgconfig/di.pc
|
||||
%{_mandir}/man3/libdi.3%{?ext_man}
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user