forked from pool/IPAddress
Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
8f3dfdc94e | |||
5fdb15ac45 | |||
051f52c84a |
@@ -1,3 +1,79 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 7 14:30:24 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Upgrade to version 5.5.1
|
||||||
|
* Fixes of 5.3.4:
|
||||||
|
+ a fix to avoid ClassCastException when converting IPv4-mapped
|
||||||
|
address to java.net.Inet6Address (#73)
|
||||||
|
+ fixed the creation of HostName from an unresolved
|
||||||
|
compressed-IPv6 socket address (#74)
|
||||||
|
+ added IPAddressString.isIPv4Mapped for issue #75
|
||||||
|
+ fixed a class-loading issue with string parsing (#79)
|
||||||
|
+ removed AddressDivision.getDivisionValueCount() and
|
||||||
|
AddressDivision.getDivisionPrefixCount(int) because of
|
||||||
|
potential overflow with divisions 63 or 64 bits long. If you
|
||||||
|
have a segment, use getValueCount(), or with IPAddressSegment
|
||||||
|
use getPrefixValueCount(int), which both return int.
|
||||||
|
Otherwise, use getPrefixCount(int) or getCount() which return
|
||||||
|
BigInteger
|
||||||
|
+ fixed issues with comparing non-standard division groupings
|
||||||
|
with address comparators
|
||||||
|
+ added verification when host-masking multiple-valued segments
|
||||||
|
+ added verification when splitting IPv6AddressSegment
|
||||||
|
+ fixed check when reversing per-byte multiple-valued division
|
||||||
|
+ fixed trie-printing method option withNonAddedKeys
|
||||||
|
+ fixed an issue with serialization of parsed hosts with
|
||||||
|
qualifiers
|
||||||
|
+ added control over parsing empty zones (a zone specifier
|
||||||
|
followed by no zone)
|
||||||
|
+ added a small fix to host name parsing some unusual host names
|
||||||
|
+ a fix to IPv4AddressSection.toMaxHost
|
||||||
|
+ fixed a rare synchronization issue when generating division
|
||||||
|
strings in AddressDivisionBase
|
||||||
|
* Fixes of 5.4.0:
|
||||||
|
+ added PrefixBlockAllocator for automatic CIDR prefix block
|
||||||
|
allocation
|
||||||
|
+ added AddedTree and AssociativeAddedTree classes for expanded
|
||||||
|
constructAddedNodesTree methods
|
||||||
|
+ added getBlockSize and getBitsForCount in AddressItem
|
||||||
|
+ added matchUnordered and matchOrdered in Address
|
||||||
|
+ eliminated invalid AddressValueException when joining a range
|
||||||
|
with the IPv4 max value to an IPv6 range (#86)
|
||||||
|
+ fix to generation of strings from parsed address data (#87)
|
||||||
|
+ fix to IPv4 address primitive int upper value generation (#96)
|
||||||
|
* Fix of 5.4.1:
|
||||||
|
+ fix to invalid radix argument infinite loop
|
||||||
|
(#118, CVE-2023-50570)
|
||||||
|
* Fixes of 5.4.2:
|
||||||
|
+ removed unnecessary SDK dependency incompatible with Java 8
|
||||||
|
that was introduced with version 5.4.1 (#121)
|
||||||
|
* Fixes of 5.5.0:
|
||||||
|
+ added collection types for dual IPv4/v6 tries and for dual
|
||||||
|
IPv4/v6 associative tries, issue #103
|
||||||
|
+ trie performance improvements for all trie operations
|
||||||
|
+ added shortestPrefixMatch trie methods
|
||||||
|
+ added enumerate methods, the inverse of the increment methods,
|
||||||
|
to find the position of an address in a subnet, or to find
|
||||||
|
the distance between two addresses
|
||||||
|
+ added an increment method accepting a BigInteger argument to
|
||||||
|
IPv6Address and IPv6AddressSection
|
||||||
|
+ added the ability to construct an IPv6Address from two longs
|
||||||
|
+ added replace methods with address section parameter to
|
||||||
|
address classes
|
||||||
|
+ added overlaps methods to check for overlapping subnets, and
|
||||||
|
for checking sequential range overlap with a subnet
|
||||||
|
+ added floor/lower/ceiling/higher methods to the address trie
|
||||||
|
types, these methods previously accessible only from trie sets
|
||||||
|
+ added the extraneous digits IPv4 parsing option
|
||||||
|
allow_inet_aton_extraneous_digits (#105)
|
||||||
|
* Fixes of 5.5.1:
|
||||||
|
+ added new merge functions mergeToDualPrefixBlocks and
|
||||||
|
mergeToDualSequentialBlocks for combined IPv4/IPv6 merging
|
||||||
|
+ added public constructors accepting message strings to
|
||||||
|
AddressValueException and IncompatibleAddressException (#127)
|
||||||
|
+ removed caching functionality from containingFirstIterator,
|
||||||
|
use all-node containingFirstAllNodeIterator instead
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 21 09:19:51 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
Wed Feb 21 09:19:51 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: IPAddress
|
Name: IPAddress
|
||||||
Version: 5.3.3
|
Version: 5.5.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for handling IP addresses and subnets, both IPv4 and IPv6
|
Summary: Library for handling IP addresses and subnets, both IPv4 and IPv6
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@@ -55,7 +55,7 @@ echo "-snapshot: SNAPSHOT" >> IPAddress/ipaddress.bnd
|
|||||||
%build
|
%build
|
||||||
pushd IPAddress
|
pushd IPAddress
|
||||||
mkdir bin
|
mkdir bin
|
||||||
%{ant} "create dist jar" "create javadoc"
|
%{ant} "create dist jar" "create javadoc" "create pom"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# jar
|
# jar
|
||||||
@@ -64,7 +64,7 @@ install -m 0644 IPAddress/dist/IPAddress*.jar %{buildroot}%{_javadir}/%{name}.ja
|
|||||||
|
|
||||||
# pom
|
# pom
|
||||||
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||||
%{mvn_install_pom} IPAddress/pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
|
%{mvn_install_pom} IPAddress/dist/mavenlib/pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
|
||||||
%add_maven_depmap %{name}.pom %{name}.jar
|
%add_maven_depmap %{name}.pom %{name}.jar
|
||||||
|
|
||||||
# javadoc
|
# javadoc
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a2d841f72c7559c56a4f87b1471cba0cb9d8a39885dc91b9a4179eb70556219c
|
|
||||||
size 20027555
|
|
3
v5.5.1.tar.gz
Normal file
3
v5.5.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:12f23125e40bed90ddd1571ddd5d18accfdabb54da4e21b844da8ade08eb1ef4
|
||||||
|
size 20281285
|
Reference in New Issue
Block a user