This commit is contained in:
commit
5f8a9c0e19
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
14
bridge-utils-1.2-hz.diff
Normal file
14
bridge-utils-1.2-hz.diff
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
--- libbridge/libbridge_private.h
|
||||||
|
+++ libbridge/libbridge_private.h
|
||||||
|
@@ -36,6 +36,11 @@
|
||||||
|
|
||||||
|
extern int br_socket_fd;
|
||||||
|
|
||||||
|
+#include <unistd.h>
|
||||||
|
+#ifndef HZ
|
||||||
|
+# define HZ sysconf(_SC_CLK_TCK)
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
static inline unsigned long __tv_to_jiffies(const struct timeval *tv)
|
||||||
|
{
|
||||||
|
unsigned long long jif;
|
3
bridge-utils-1.2.tar.bz2
Normal file
3
bridge-utils-1.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:41d52c199c6db6b7adcb53ce03588d46ad687d8e357e7d42356bd981b173b736
|
||||||
|
size 29773
|
47
bridge-utils.changes
Normal file
47
bridge-utils.changes
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 17 18:37:46 CEST 2006 - mjancar@suse.cz
|
||||||
|
|
||||||
|
- update to 1.2
|
||||||
|
* Fixed bug where setting port priority set path cost instead
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 8 00:49:53 CEST 2006 - ro@suse.de
|
||||||
|
|
||||||
|
- define HZ to sysconf(_SC_CLK_TCK) if not defined
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 27 15:32:52 CEST 2006 - mjancar@suse.cz
|
||||||
|
|
||||||
|
- update to 1.1
|
||||||
|
* Change to use libsysfs 2.0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 21:34:45 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 5 12:56:40 CEST 2005 - dmueller@suse.de
|
||||||
|
|
||||||
|
- add norootforbuild
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 1 17:14:48 CEST 2005 - mjancar@suse.cz
|
||||||
|
|
||||||
|
- update to 1.0.6
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 11 12:46:29 CET 2004 - ro@suse.de
|
||||||
|
|
||||||
|
- fixed file list
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 13 15:45:09 CEST 2004 - mjancar@suse.cz
|
||||||
|
|
||||||
|
- update to 1.0.4
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 20 15:16:48 CEST 2003 - mjancar@suse.cz
|
||||||
|
|
||||||
|
- initial version 0.9.6
|
||||||
|
|
95
bridge-utils.spec
Normal file
95
bridge-utils.spec
Normal file
@ -0,0 +1,95 @@
|
|||||||
|
#
|
||||||
|
# spec file for package bridge-utils (Version 1.2)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
# This file and all modifications and additions to the pristine
|
||||||
|
# package are under the same license as the package itself.
|
||||||
|
#
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
Name: bridge-utils
|
||||||
|
BuildRequires: libsysfs
|
||||||
|
Version: 1.2
|
||||||
|
Release: 1
|
||||||
|
Autoreqprov: on
|
||||||
|
Group: Productivity/Networking/Routing
|
||||||
|
License: GNU General Public License (GPL) - all versions
|
||||||
|
URL: http://linux-net.osdl.org/index.php/Bridge
|
||||||
|
Summary: Utilities for Configuring the Linux Ethernet Bridge
|
||||||
|
Source: %{name}-%{version}.tar.bz2
|
||||||
|
Patch: %{name}-%{version}-hz.diff
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package contains utilities for configuring the Linux ethernet
|
||||||
|
bridge. The Linux ethernet bridge can be used for connecting multiple
|
||||||
|
ethernet devices together. The connection is fully transparent: hosts
|
||||||
|
connected to one ethernet device see hosts connected to the other
|
||||||
|
ethernet devices directly.
|
||||||
|
|
||||||
|
Authors: Lennert Buytenhek <buytenh@gnu.org>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennert Buytenhek <buytenh@gnu.org>
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{suse_update_config -f}
|
||||||
|
aclocal --force
|
||||||
|
libtoolize --force
|
||||||
|
autoconf --force
|
||||||
|
autoheader --force
|
||||||
|
CFLAGS="$RPM_OPT_FLAGS -Wall" \
|
||||||
|
./configure \
|
||||||
|
--prefix=%{_prefix} \
|
||||||
|
--sbindir=%{_sbindir} \
|
||||||
|
--libdir=%{_libdir} \
|
||||||
|
--mandir=%{_mandir}
|
||||||
|
make
|
||||||
|
|
||||||
|
%install
|
||||||
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
install -d -m755 $RPM_BUILD_ROOT/sbin
|
||||||
|
mv $RPM_BUILD_ROOT%{_sbindir}/brctl $RPM_BUILD_ROOT/sbin
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc AUTHORS COPYING ChangeLog README THANKS TODO doc/[FHPRSW]*
|
||||||
|
%doc %{_mandir}/man?/*
|
||||||
|
%{_includedir}/*
|
||||||
|
%{_libdir}/lib*
|
||||||
|
/sbin/*
|
||||||
|
|
||||||
|
%changelog -n bridge-utils
|
||||||
|
* Tue Oct 17 2006 - mjancar@suse.cz
|
||||||
|
- update to 1.2
|
||||||
|
* Fixed bug where setting port priority set path cost instead
|
||||||
|
* Tue Aug 08 2006 - ro@suse.de
|
||||||
|
- define HZ to sysconf(_SC_CLK_TCK) if not defined
|
||||||
|
* Thu Jul 27 2006 - mjancar@suse.cz
|
||||||
|
- update to 1.1
|
||||||
|
* Change to use libsysfs 2.0
|
||||||
|
* Wed Jan 25 2006 - mls@suse.de
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
* Wed Oct 05 2005 - dmueller@suse.de
|
||||||
|
- add norootforbuild
|
||||||
|
* Mon Aug 01 2005 - mjancar@suse.cz
|
||||||
|
- update to 1.0.6
|
||||||
|
* Thu Nov 11 2004 - ro@suse.de
|
||||||
|
- fixed file list
|
||||||
|
* Fri Aug 13 2004 - mjancar@suse.cz
|
||||||
|
- update to 1.0.4
|
||||||
|
* Fri Jun 20 2003 - mjancar@suse.cz
|
||||||
|
- initial version 0.9.6
|
Loading…
Reference in New Issue
Block a user