Sync from SUSE:SLFO:Main vlan revision 18aa5ec4e89678b27aa9007bb3edcb90

This commit is contained in:
Adrian Schröter 2024-05-04 01:47:16 +02:00
commit 3684380319
5 changed files with 203 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
cisco_howto.html.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
vlan.1.9.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

111
vlan.changes Normal file
View File

@ -0,0 +1,111 @@
-------------------------------------------------------------------
Tue Nov 7 22:08:35 UTC 2023 - Dirk Müller <dmueller@suse.com>
- spec-cleaner run
-------------------------------------------------------------------
Thu Oct 19 13:21:08 UTC 2023 - Frederic Crozat <fcrozat@suse.com>
- Drop url for sources, they are no longer valid.
-------------------------------------------------------------------
Tue Dec 27 13:25:27 UTC 2022 - Ludwig Nussel <lnussel@suse.com>
- Replace transitional %usrmerged macro with regular version check (boo#1206798)
-------------------------------------------------------------------
Wed Nov 4 16:58:10 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- prepare usrmerge (boo#1029961)
-------------------------------------------------------------------
Wed Sep 24 05:47:11 UTC 2014 - mt@suse.com
- Removed obsolete README.SuSE (fate#316521,bnc#888999),
see ifcfg-vlan(5) manual page for actual informations.
-------------------------------------------------------------------
Wed Feb 15 16:19:04 UTC 2012 - mt@suse.com
- Corrected last change log entry.
-------------------------------------------------------------------
Mon Jan 30 18:42:27 UTC 2012 - rschweikert@suse.com
- Changed install of vconfig to /usr/sbin as part of usr merge
project. With having /usr on a remote fs is supported by
initrd, thus this does not effect issues reported in (#285472)
any more.
-------------------------------------------------------------------
Tue Dec 18 16:33:31 CET 2007 - mt@suse.de
- Removed obsolete hardware descriptions usage info from README
- Changed to install vconfig in /sbin for /usr on nfs (#285472)
-------------------------------------------------------------------
Mon Nov 6 19:38:44 CET 2006 - schwab@suse.de
- Clean debris before building.
-------------------------------------------------------------------
Fri Oct 27 15:55:07 CEST 2006 - poeml@suse.de
- update to 1.9:
- Fixed error exit codes to be !0 (makes it behave much better in
scripts.
- there are also changes in macvlan_config.c, which we don't
package though.
-------------------------------------------------------------------
Wed Mar 29 13:58:02 CEST 2006 - poeml@suse.de
- updated README for usage of hardware descriptions for ETHERDEVICE
[#150771]
-------------------------------------------------------------------
Wed Jan 25 21:42:41 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Sun Jan 15 20:43:22 CET 2006 - schwab@suse.de
- Don't strip binaries.
-------------------------------------------------------------------
Fri Mar 5 18:18:23 CET 2004 - poeml@suse.de
- update to 1.8
- vlan.1.6-strings.patch dropped, is fixed upstreams
-------------------------------------------------------------------
Thu Feb 26 12:25:44 CET 2004 - hmacht@suse.de
- added option norootforbuild in specfile
-------------------------------------------------------------------
Thu Jul 24 14:38:36 CEST 2003 - poeml@suse.de
- update to 1.7m
-------------------------------------------------------------------
Tue Jan 14 18:14:35 CET 2003 - nadvornik@suse.cz
- fixed multi-line string literals
-------------------------------------------------------------------
Wed Jul 17 12:38:01 CEST 2002 - okir@suse.de
- added README describing sysconfig/network hooks for VLAN
-------------------------------------------------------------------
Thu Apr 11 17:39:30 CEST 2002 - ro@suse.de
- up to version 1.6 to fix compile issues
-------------------------------------------------------------------
Sat Feb 2 18:20:52 CET 2002 - poeml@suse.de
- initial package...

63
vlan.spec Normal file
View File

@ -0,0 +1,63 @@
#
# spec file for package vlan
#
# Copyright (c) 2023 SUSE LLC
#
# 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: vlan
Version: 1.9
Release: 0
Summary: 802.1q VLAN Implementation for Linux
License: GPL-2.0-or-later
Group: Productivity/Networking/Other
URL: https://www.candelatech.com/~greear/vlan.html
# online url http://www.candelatech.com/~greear/vlan/vlan.1.9.tar.gz but tarball is broken there
# this is a bz2 version of it
Source: vlan.%{version}.tar.bz2
# from now offline http://scry.wanfear.com/~greear/vlan/cisco_howto.html, accessible through https://web.archive.org/web/20070429115150/http://scry.wanfear.com/~greear/vlan/cisco_howto.html
Source1: cisco_howto.html.bz2
BuildRequires: gcc-c++
%description
An 802.1q vlan implementation for Linux. See
http://www.candelatech.com/~greear/vlan.html for more information.
%prep
%setup -q -n vlan
cp -p %{SOURCE1} .
%build
%make_build clean
%make_build CCFLAGS="%{optflags} -D_GNU_SOURCE -Wall" STRIP=true
%install
make DESTDIR=%{buildroot}
mkdir -p %{buildroot}/{sbin,%{_sbindir},%{_mandir}/man8/}
install -m755 vconfig %{buildroot}/%{_sbindir}
install -m644 vconfig.8 %{buildroot}%{_mandir}/man8/
%if 0%{?suse_version} < 1550
ln -sf %{_sbindir}/vconfig %{buildroot}/sbin
%endif
%files
%defattr(644,root,root,755)
%doc *.html *.pl CHANGELOG README
%{_mandir}/man8/vconfig.8%{?ext_man}
%attr(755,root,root) %{_sbindir}/vconfig
%if 0%{?suse_version} < 1550
%attr(755,root,root) /sbin/vconfig
%endif
%changelog