Files
ripcalc/ripcalc.spec
Heitor da Silva 525e219ffa - Update to version 0.3.0:
* filter arguments to filter STDIN for address lines only
  * read and make cdb files
  * example cdb maker
  * countseen adds occurrence count of IP when in encapsulating and group mode, this option automatically sets encapsulating and group to 128
  * abuseipdb support
  * add cdb pairs to output when no format is specified
  * when cdb or abuseipdb are present, without a format, all key pairs will be shown
  * option makethymecdb to download IP information from thyme.apnic.net, options --data-raw-table, --ipv6-raw-table, --data-used-autnums can be used with a file or URL if format is specified filter should output that style
  * add a useragent string to http client
  * basic top-like function with --delay, --noclear and --iterations arguments --group4 and --group6 to override --group respectively
  * experimental geoip2 lite support
  * adding network match iter
  * bump nix -> 0.30
  * making Ip functions pub
  * quiet option
  * use a /32 mask for encapsulation if --mask is not present and addresses are from command line arguments
  * assume v4/32 and v6/128 in csv if not specified

OBS-URL: https://build.opensuse.org/package/show/network:utilities/ripcalc?expand=0&rev=10
2026-01-20 21:53:25 +00:00

59 lines
1.6 KiB
RPMSpec

#
# spec file for package ripcalc
#
# Copyright (c) 2026 SUSE LLC and contributors
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: ripcalc
Version: 0.3.0
Release: 0
Summary: Tool for network addresses
License: GPL-3.0-or-later
URL: https://www.usenix.org.uk/content/ripcalc.html
# git: https://gitlab.com/edneville/ripcalc
Source0: %{name}-%{version}.tar.xz
Source1: vendor.tar.zst
BuildRequires: cargo-packaging
BuildRequires: rust >= 1.88
BuildRequires: pkgconfig(openssl)
ExclusiveArch: %{rust_tier1_arches}
%description
Ripcalc is a tool for calculate or looking up network addresses. Supports CSV
file formats for network information lists.
%prep
%autosetup -p1 -a1
%build
%{cargo_build}
%install
%{cargo_install}
mkdir -p %{buildroot}%{_mandir}/man1/
cp -v ripcalc.1 %{buildroot}%{_mandir}/man1/
%check
%{cargo_test}
%files
%license LICENSE
%{_bindir}/ripcalc
%doc changelog.md README.md ripcalc.md
%{_mandir}/man1/ripcalc.1%{?ext_man}
%changelog