Group :: System/Kernel and hardware
RPM: vlan-utils
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: vlan-utils
Version: 1.9
Release: alt2
Summary: Userspace utilities for controlling VLANs on ethernet devices
License: GPL
Group: System/Kernel and hardware
Url: http://www.candelatech.com/~greear/vlan.html
Packager: Dmitry V. Levin <ldv at altlinux.org>
# http://www.candelatech.com/~greear/vlan/vlan.%version.tar.gz
Source: vlan-%version.tar
Patch: vlan-1.9-deb-error-codes.patch
Provides: vlan-utils24 = %version-%release
Obsoletes: vlan-utils24 < %version
Conflicts: vlan-utils22
%description
Virtual networking refers to the ability of switches and routers to
configure logical topologies on top of the physical network
infrastructure, allowing any arbitrary collection of LAN segments
within a network to be combined into an autonomous user group,
appearing as a single LAN.
This package implement support (along with the kernel patch) :
+ Implements 802.1Q VLAN spec.
+ Can support up to 4094 VLANs per ethernet interface.
+ Scales well in critical paths: O(n), where n is the number of
PHYSICAL ethernet interfaces, and that is only on ingress.
O(1) in every other critical path, as far as I know.
+ Supports MULTICAST.
+ Can change MAC address of VLAN.
+ Multiple naming conventions supported, and adjustable at runtime.
+ Optional header-reordering, to make the VLAN interface look JUST
LIKE an Ethernet interface. This fixes some problems with DHCPd
and anything else that uses a SOCK_PACKET socket. Default setting
is off, which works for every other protocol, and is slightly faster.
%prep
%setup -q -n vlan-%version
%patch -p1
%build
make clean
%make_build VERSION=%version CCFLAGS='%optflags -D_GNU_SOURCE'
# fix broken refs
sed -i -e 's|<a href="vlan/howto|<a href="howto|' \
-e 's|<a href="vlan/vlan|<a href="http://www.candelatech.com/~greear/vlan/vlan|' \
vlan.html
%install
mkdir -p %buildroot{%_bindir,%_man8dir}
install -pm755 vconfig %buildroot%_bindir/
install -pm755 vlan_test.pl %buildroot%_bindir/vlan-test
install -pm644 vconfig.8 %buildroot%_man8dir/
%files
%_bindir/*
%_man8dir/*
%doc CHANGELOG README *.html
%changelog
…
Full changelog you can see here
Version: 1.9
Release: alt2
Summary: Userspace utilities for controlling VLANs on ethernet devices
License: GPL
Group: System/Kernel and hardware
Url: http://www.candelatech.com/~greear/vlan.html
Packager: Dmitry V. Levin <ldv at altlinux.org>
# http://www.candelatech.com/~greear/vlan/vlan.%version.tar.gz
Source: vlan-%version.tar
Patch: vlan-1.9-deb-error-codes.patch
Provides: vlan-utils24 = %version-%release
Obsoletes: vlan-utils24 < %version
Conflicts: vlan-utils22
%description
Virtual networking refers to the ability of switches and routers to
configure logical topologies on top of the physical network
infrastructure, allowing any arbitrary collection of LAN segments
within a network to be combined into an autonomous user group,
appearing as a single LAN.
This package implement support (along with the kernel patch) :
+ Implements 802.1Q VLAN spec.
+ Can support up to 4094 VLANs per ethernet interface.
+ Scales well in critical paths: O(n), where n is the number of
PHYSICAL ethernet interfaces, and that is only on ingress.
O(1) in every other critical path, as far as I know.
+ Supports MULTICAST.
+ Can change MAC address of VLAN.
+ Multiple naming conventions supported, and adjustable at runtime.
+ Optional header-reordering, to make the VLAN interface look JUST
LIKE an Ethernet interface. This fixes some problems with DHCPd
and anything else that uses a SOCK_PACKET socket. Default setting
is off, which works for every other protocol, and is slightly faster.
%prep
%setup -q -n vlan-%version
%patch -p1
%build
make clean
%make_build VERSION=%version CCFLAGS='%optflags -D_GNU_SOURCE'
# fix broken refs
sed -i -e 's|<a href="vlan/howto|<a href="howto|' \
-e 's|<a href="vlan/vlan|<a href="http://www.candelatech.com/~greear/vlan/vlan|' \
vlan.html
%install
mkdir -p %buildroot{%_bindir,%_man8dir}
install -pm755 vconfig %buildroot%_bindir/
install -pm755 vlan_test.pl %buildroot%_bindir/vlan-test
install -pm644 vconfig.8 %buildroot%_man8dir/
%files
%_bindir/*
%_man8dir/*
%doc CHANGELOG README *.html
%changelog
…
Full changelog you can see here