2007-07-19 13:33:13 +04:00
%define _altdata_dir %_datadir/alterator
2009-04-09 17:16:03 +04:00
Name : alterator-net-functions
2024-01-23 21:14:42 +03:00
Version : 2.1.2
2010-09-09 14:42:31 +04:00
Release : alt1
2007-07-19 13:33:13 +04:00
2016-03-23 17:17:13 +03:00
Requires : libshell >= 0.1.3 etcnet
Requires : alterator-hw-functions >= 0.7.5
2009-04-09 17:16:03 +04:00
Provides : alterator-net-common = %version
Obsoletes : alterator-net-common
2007-07-19 13:33:13 +04:00
BuildArch : noarch
2009-04-09 17:16:03 +04:00
# for test
BuildRequires : alterator-hw-functions
2007-07-19 13:33:13 +04:00
Source : %name-%version.tar
Summary : helpers for etcnet administration
License : GPL
Group : System/Base
Requires : openssl
2016-03-23 17:17:13 +03:00
Conflicts : alterator-net-eth < 5.0.0
2007-07-19 13:33:13 +04:00
%description
helpers for etcnet administration
%prep
2016-03-23 17:17:13 +03:00
%setup
2007-07-19 13:33:13 +04:00
2008-12-01 14:43:55 +03:00
%build
%make check
2007-07-19 13:33:13 +04:00
%install
%makeinstall
%files
2008-06-17 13:00:41 +04:00
%_bindir /*
2007-07-19 13:33:13 +04:00
%_libexecdir /%name/
%changelog
2024-01-23 21:14:42 +03:00
* 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).
2022-02-17 15:21:41 +03:00
* 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).
2021-10-29 05:21:42 +04:00
* Fri Oct 29 2021 Evgeny Sinelnikov <sin@altlinux.org> 2.1.0-alt1
- Add support systemd-networkd iface control functions
2020-02-10 21:22:36 +03:00
* Mon Feb 10 2020 Mikhail Gordeev <obirvalger@altlinux.org> 2.0.3-alt1
- Add support of several bridge types
2017-08-23 13:28:11 +03:00
* Wed Aug 23 2017 Evgeny Sinelnikov <sin@altlinux.ru> 2.0.2-alt1
- valid_ipv4addr: Allow 0 in last byte. (closes: #33795)
2016-06-21 19:34:13 +03:00
* Tue Jun 21 2016 Mikhail Efremov <sem@altlinux.org> 2.0.1-alt1
- valid_ipv4addr: Allow 255 in 2nd and 3th bytes.
2016-03-23 17:17:13 +03:00
* 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.
2015-01-20 21:57:47 +03:00
* Tue Jan 20 2015 Mikhail Efremov <sem@altlinux.org> 1.3.4-alt1
- Fix valid_ipv4addr().
2014-12-26 18:07:41 +03:00
* 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.
2014-10-07 21:37:41 +04:00
* Tue Oct 07 2014 Mikhail Efremov <sem@altlinux.org> 1.3.2-alt1
- Improve is_ipv6_enabled() (thx stanv@).
2014-08-12 21:35:51 +04:00
* Mon Aug 11 2014 Mikhail Efremov <sem@altlinux.org> 1.3.1-alt1
- Added is_ipv6_enabled() function.
2012-12-14 17:18:08 +04:00
* 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.
2012-12-06 20:17:08 +04:00
* 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.
2012-10-24 11:26:33 +04:00
* Wed Oct 24 2012 Anton V. Boyarshinov <boyarsh@altlinux.ru> 1.2-alt1
- added initial IPv6 support (sem@)
- added read_iface_current_addr* functions
2010-09-09 14:42:31 +04:00
* Thu Sep 09 2010 Sergey V Turchin <zerg@altlinux.org> 1.1-alt1
- add multiple interface addresses support
2009-09-03 12:38:52 +04:00
* 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
2009-09-02 17:29:12 +04:00
* Wed Sep 02 2009 Mikhail Efremov <sem@altlinux.org> 1.0-alt2
- fix ipv4addr_is_in_subnet().
2009-09-02 16:57:28 +04:00
* Wed Sep 02 2009 Stanislav Ievlev <inger@altlinux.org> 1.0-alt1
- add a new set of excellent functions for various ipv4address calculations (sem@)
2009-04-30 15:53:03 +04:00
* Thu Apr 30 2009 Vladislav Zavjalov <slazav@altlinux.org> 0.9-alt4
- list_iface: skip ifaces with type=801 (wmaster0) (closes: #19866)
2009-04-30 13:43:30 +04:00
* 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
2009-04-17 15:41:33 +04:00
* Fri Apr 17 2009 Vladislav Zavjalov <slazav@altlinux.org> 0.9-alt2
- add comments in obsolete scripts
2009-04-16 14:40:41 +04:00
* Thu Apr 16 2009 Vladislav Zavjalov <slazav@altlinux.org> 0.9-alt1
- list_iface: skip ifaces connected to a bridges
2009-04-13 16:31:38 +04:00
* Mon Apr 13 2009 Stanislav Ievlev <inger@altlinux.org> 0.8-alt3
- improve iface_up and iface_down functions
2009-04-10 17:52:04 +04:00
* Fri Apr 10 2009 Mikhail Efremov <sem@altlinux.org> 0.8-alt2
- improve next_iface function
- improve read_iface_addr function (by inger@)
2009-04-10 13:15:19 +04:00
* 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
2009-03-18 18:43:52 +03:00
* Wed Mar 18 2009 Stanislav Ievlev <inger@altlinux.org> 0.7-alt1
- add functions to edit local resolv.conf
2009-03-03 18:00:49 +03:00
* Tue Mar 03 2009 Stanislav Ievlev <inger@altlinux.org> 0.6-alt1
- add script to generate reverse dns zones
2009-01-22 19:32:20 +03:00
* Thu Jan 22 2009 Vladislav Zavjalov <slazav@altlinux.org> 0.5-alt5
- fix typo (by inger@)
2008-12-01 14:50:49 +03:00
* Mon Dec 01 2008 Stanislav Ievlev <inger@altlinux.org> 0.5-alt4
- add unit tests
2008-12-01 14:00:52 +03:00
* Mon Dec 01 2008 Stanislav Ievlev <inger@altlinux.org> 0.5-alt3
- resurrect read_iface_option behavior
2008-10-24 08:22:30 +04:00
* Fri Oct 24 2008 Stanislav Ievlev <inger@altlinux.org> 0.5-alt2
- s,ash,sh,
2008-10-21 15:25:17 +04:00
* 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
2008-10-01 14:54:34 +04:00
2008-08-28 12:13:16 +04:00
* Thu Aug 28 2008 Stanislav Ievlev <inger@altlinux.org> 0.4-alt1
- add functions: netname, list_iface, list_network
2008-06-17 13:00:41 +04:00
* Tue Jun 17 2008 Stanislav Ievlev <inger@altlinux.org> 0.3-alt1
- add alterator-net-functions library
2008-01-15 17:00:11 +03:00
* Tue Jan 15 2008 Stanislav Ievlev <inger@altlinux.org> 0.2-alt4
- hal workaround: ignore device duplicates
2008-01-14 12:02:04 +03:00
* Mon Jan 14 2008 Stanislav Ievlev <inger@altlinux.org> 0.2-alt3
- add ifread utility
2008-01-04 18:11:56 +03:00
* Fri Jan 04 2008 Stanislav Ievlev <inger@altlinux.org> 0.2-alt2
- ifaceinfo: add support for pcmcia network cards
2007-11-14 15:05:35 +03:00
* Wed Nov 14 2007 Stanislav Ievlev <inger@altlinux.org> 0.2-alt1
- use hal
2007-10-30 16:30:02 +03:00
* Tue Oct 30 2007 Stanislav Ievlev <inger@altlinux.org> 0.1-alt3
- add iftabupdate utility
2007-10-25 11:56:02 +04:00
* Thu Oct 25 2007 Stanislav Ievlev <inger@altlinux.org> 0.1-alt2
- simplify ifcheckup utility
- add maskname and ifaceinfo utilities
2007-07-19 13:33:13 +04:00
* Thu Jul 19 2007 Stanislav Ievlev <inger@altlinux.org> 0.1-alt1
- Initial release