alterator-net-functions/alterator-net-functions.spec
2024-11-25 12:42:54 +03:00

217 lines
6.9 KiB
RPMSpec

%define _altdata_dir %_datadir/alterator
Name: alterator-net-functions
Version: 2.1.2
Release: alt2
Requires: libshell >= 0.1.3
Requires: alterator-hw-functions >= 0.7.5
Provides: alterator-net-common = %version
Obsoletes: alterator-net-common
BuildArch: noarch
# for test
BuildRequires: alterator-hw-functions
Source: %name-%version.tar
Summary: helpers for etcnet administration
License: GPL
Group: System/Base
Requires: openssl
Conflicts: alterator-net-eth < 5.0.0
%description
helpers for etcnet administration
%prep
%setup
%build
%make check
%install
%makeinstall
%files
%_bindir/*
%_libexecdir/%name/
%changelog
* Tue Jan 23 2024 Mikhail Efremov <sem@altlinux.org> 2.1.2-alt1
- Fix write_systemd_networkd_bootproto() (closes: #49159).
- Fix sed regex for systemd-networkd config (closes: #49158).
* Thu Feb 17 2022 Mikhail Efremov <sem@altlinux.org> 2.1.1-alt1
- tests: Add test for valid x.x.x.255 ipv4 address.
- valid_ipv4addr: Allow 255 in a last byte (closes: #30084).
* Fri Oct 29 2021 Evgeny Sinelnikov <sin@altlinux.org> 2.1.0-alt1
- Add support systemd-networkd iface control functions
* Mon Feb 10 2020 Mikhail Gordeev <obirvalger@altlinux.org> 2.0.3-alt1
- Add support of several bridge types
* Wed Aug 23 2017 Evgeny Sinelnikov <sin@altlinux.ru> 2.0.2-alt1
- valid_ipv4addr: Allow 0 in last byte. (closes: #33795)
* Tue Jun 21 2016 Mikhail Efremov <sem@altlinux.org> 2.0.1-alt1
- valid_ipv4addr: Allow 255 in 2nd and 3th bytes.
* Wed Mar 23 2016 Mikhail Efremov <sem@altlinux.org> 2.0.0-alt1
- Drop unneeded line.
- Add functions for read current default route and DNS settings.
- Suppress 'broken pipe' error message.
- Add list_bridge() and list_bridge_with_cache().
- Add function for host interfaces.
- list_iface(): Skip ifaces in a bonding.
- list_eth(): Don't replace interface with bridge.
- Add init_slave_eth_iface_cache().
- tests: Add more ipv*addr tests.
- Add warning for deprecated functions.
- Remove read_iface_slaves().
- Add remove_iface_with_cache().
- Add list_vlans_for_iface() and list_vlans_for_iface_with_cache().
- iface_has_host(): Suppress find's error messages.
- Add list_vlan() and list_vlan_with_cache().
- Introduce function for work with cached data.
- next_iface(): Pass ifaces directory as argument.
- list_network(): Pass ifaces directory as second argument.
- Use list_etcnet_iface_filtered() to list interfaces.
- Use list_etcnet_iface_filtered for list_ppp().
- Add functions for filtered interfaces list.
- iface_has_host: Handle VLAN interfaces too.
- Rename read_iface_slaves -> read_iface_host_var.
* Tue Jan 20 2015 Mikhail Efremov <sem@altlinux.org> 1.3.4-alt1
- Fix valid_ipv4addr().
* Thu Dec 25 2014 Mikhail Efremov <sem@altlinux.org> 1.3.3-alt1
- Add read_iface_slaves() and iface_has_host() functions.
- Add list_bond() function.
* Tue Oct 07 2014 Mikhail Efremov <sem@altlinux.org> 1.3.2-alt1
- Improve is_ipv6_enabled() (thx stanv@).
* Mon Aug 11 2014 Mikhail Efremov <sem@altlinux.org> 1.3.1-alt1
- Added is_ipv6_enabled() function.
* Fri Dec 14 2012 Mikhail Efremov <sem@altlinux.org> 1.3.0-alt1
- refdns: Replace valid_ipv4() with valid_ipv4addr().
- Added valid_ipv4addr() function.
- Added tests for ipv6addr_is_in_subnet() function.
- Added get_ip_version() function.
- revdns: Added IPv6 support.
- Added ipv6addr_is_in_subnet() function.
- ipv6_network(): Use valid_ipv6prefix().
- Added valid_ipv6prefix() and valid_ipv4prefix() functions.
* Thu Dec 06 2012 Mikhail Efremov <sem@altlinux.org> 1.2.1-alt1
- Update tests for IPv6 functions.
- ipv6addr_expand(): Expand each segment of IPv4 address.
- Improve ipv6addr_terse().
- Rename ipv6add_terse -> ipv6addr_terse.
* Wed Oct 24 2012 Anton V. Boyarshinov <boyarsh@altlinux.ru> 1.2-alt1
- added initial IPv6 support (sem@)
- added read_iface_current_addr* functions
* Thu Sep 09 2010 Sergey V Turchin <zerg@altlinux.org> 1.1-alt1
- add multiple interface addresses support
* Thu Sep 03 2009 Stanislav Ievlev <inger@altlinux.org> 1.0-alt3
- add ipv4addr_prefix_to_mask() (maskname replacement)
- remove obsolete functions:
* faceinfo
* ifcheckdhcp
* ifcheckplug
* ifcheckup
* ifcheckwireless
* ifdriver
* iflist
* ifread
* iftabupdate
* Wed Sep 02 2009 Mikhail Efremov <sem@altlinux.org> 1.0-alt2
- fix ipv4addr_is_in_subnet().
* Wed Sep 02 2009 Stanislav Ievlev <inger@altlinux.org> 1.0-alt1
- add a new set of excellent functions for various ipv4address calculations (sem@)
* Thu Apr 30 2009 Vladislav Zavjalov <slazav@altlinux.org> 0.9-alt4
- list_iface: skip ifaces with type=801 (wmaster0) (closes: #19866)
* Thu Apr 30 2009 Stanislav Ievlev <inger@altlinux.org> 0.9-alt3
- replace function chomp with shell_var_trim from modern libshell
- add read_iface_default_gw/write_iface_default_gw
* Fri Apr 17 2009 Vladislav Zavjalov <slazav@altlinux.org> 0.9-alt2
- add comments in obsolete scripts
* Thu Apr 16 2009 Vladislav Zavjalov <slazav@altlinux.org> 0.9-alt1
- list_iface: skip ifaces connected to a bridges
* Mon Apr 13 2009 Stanislav Ievlev <inger@altlinux.org> 0.8-alt3
- improve iface_up and iface_down functions
* Fri Apr 10 2009 Mikhail Efremov <sem@altlinux.org> 0.8-alt2
- improve next_iface function
- improve read_iface_addr function (by inger@)
* Fri Apr 10 2009 Stanislav Ievlev <inger@altlinux.org> 0.8-alt1
- rename package to alterator-net-functions
- use alterator-hw-functions instead of old if* helpers
- if* helper functions are deprecated now
* Wed Mar 18 2009 Stanislav Ievlev <inger@altlinux.org> 0.7-alt1
- add functions to edit local resolv.conf
* Tue Mar 03 2009 Stanislav Ievlev <inger@altlinux.org> 0.6-alt1
- add script to generate reverse dns zones
* Thu Jan 22 2009 Vladislav Zavjalov <slazav@altlinux.org> 0.5-alt5
- fix typo (by inger@)
* Mon Dec 01 2008 Stanislav Ievlev <inger@altlinux.org> 0.5-alt4
- add unit tests
* Mon Dec 01 2008 Stanislav Ievlev <inger@altlinux.org> 0.5-alt3
- resurrect read_iface_option behavior
* Fri Oct 24 2008 Stanislav Ievlev <inger@altlinux.org> 0.5-alt2
- s,ash,sh,
* Tue Oct 21 2008 Stanislav Ievlev <inger@altlinux.org> 0.5-alt1
- improve netname, add: netcheck, list_static_iface, read_iface_addr, write_iface_addr
* Thu Aug 28 2008 Stanislav Ievlev <inger@altlinux.org> 0.4-alt1
- add functions: netname, list_iface, list_network
* Tue Jun 17 2008 Stanislav Ievlev <inger@altlinux.org> 0.3-alt1
- add alterator-net-functions library
* Tue Jan 15 2008 Stanislav Ievlev <inger@altlinux.org> 0.2-alt4
- hal workaround: ignore device duplicates
* Mon Jan 14 2008 Stanislav Ievlev <inger@altlinux.org> 0.2-alt3
- add ifread utility
* Fri Jan 04 2008 Stanislav Ievlev <inger@altlinux.org> 0.2-alt2
- ifaceinfo: add support for pcmcia network cards
* Wed Nov 14 2007 Stanislav Ievlev <inger@altlinux.org> 0.2-alt1
- use hal
* Tue Oct 30 2007 Stanislav Ievlev <inger@altlinux.org> 0.1-alt3
- add iftabupdate utility
* Thu Oct 25 2007 Stanislav Ievlev <inger@altlinux.org> 0.1-alt2
- simplify ifcheckup utility
- add maskname and ifaceinfo utilities
* Thu Jul 19 2007 Stanislav Ievlev <inger@altlinux.org> 0.1-alt1
- Initial release