From 3684380319fb6db473086b24d1b7354c37eed9fc74a26c71b9d752ed8791afbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Sat, 4 May 2024 01:47:16 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main vlan revision 18aa5ec4e89678b27aa9007bb3edcb90 --- .gitattributes | 23 +++++++++ cisco_howto.html.bz2 | 3 ++ vlan.1.9.tar.bz2 | 3 ++ vlan.changes | 111 +++++++++++++++++++++++++++++++++++++++++++ vlan.spec | 63 ++++++++++++++++++++++++ 5 files changed, 203 insertions(+) create mode 100644 .gitattributes create mode 100644 cisco_howto.html.bz2 create mode 100644 vlan.1.9.tar.bz2 create mode 100644 vlan.changes create mode 100644 vlan.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/cisco_howto.html.bz2 b/cisco_howto.html.bz2 new file mode 100644 index 0000000..a949a84 --- /dev/null +++ b/cisco_howto.html.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c467a3fcf0542133776e75e6c9bddfdd8b17c1d05f52b80850e6d2c5aa4e1af5 +size 9841 diff --git a/vlan.1.9.tar.bz2 b/vlan.1.9.tar.bz2 new file mode 100644 index 0000000..cfaec0c --- /dev/null +++ b/vlan.1.9.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ee99a9abf4f71c138c9137e603a8b0aef03935758e9d2627404b46f97bd2115 +size 128518 diff --git a/vlan.changes b/vlan.changes new file mode 100644 index 0000000..c34eca5 --- /dev/null +++ b/vlan.changes @@ -0,0 +1,111 @@ +------------------------------------------------------------------- +Tue Nov 7 22:08:35 UTC 2023 - Dirk Müller + +- spec-cleaner run + +------------------------------------------------------------------- +Thu Oct 19 13:21:08 UTC 2023 - Frederic Crozat + +- Drop url for sources, they are no longer valid. + +------------------------------------------------------------------- +Tue Dec 27 13:25:27 UTC 2022 - Ludwig Nussel + +- Replace transitional %usrmerged macro with regular version check (boo#1206798) + +------------------------------------------------------------------- +Wed Nov 4 16:58:10 UTC 2020 - Ludwig Nussel + +- 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... + diff --git a/vlan.spec b/vlan.spec new file mode 100644 index 0000000..6f96223 --- /dev/null +++ b/vlan.spec @@ -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