diff --git a/arpwatch-ethercodes.changes b/arpwatch-ethercodes.changes index baabee7..443912a 100644 --- a/arpwatch-ethercodes.changes +++ b/arpwatch-ethercodes.changes @@ -1,5 +1,29 @@ ------------------------------------------------------------------- -Wed Sep 22 06:40:08 CEST 2010 - autobuild@suse.de +Mon Sep 6 06:40:07 CEST 2010 - autobuild@suse.de -- automated update on 2010-09-22 +- automated update on 2010-09-06 +------------------------------------------------------------------- +Wed Jan 25 21:25:03 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Sat Nov 6 20:17:44 CET 2004 - lmuelle@suse.de + +- Change arpwatch of neededforbuild to arpwatch-ethercodes-build. + +------------------------------------------------------------------- +Sat Nov 6 18:18:44 CET 2004 - lmuelle@suse.de + +- Ensure size of ethercodes.dat is not zero, [#48005]. + +------------------------------------------------------------------- +Wed Oct 6 21:58:11 CEST 2004 - ro@suse.de + +- make package noarch + +------------------------------------------------------------------- +Fri Jun 25 22:18:23 CEST 2004 - lmuelle@suse.de + +- Initial package. diff --git a/arpwatch-ethercodes.spec b/arpwatch-ethercodes.spec new file mode 100644 index 0000000..bae9e6e --- /dev/null +++ b/arpwatch-ethercodes.spec @@ -0,0 +1,67 @@ +# +# spec file for package arpwatch-ethercodes (Version 2010.9.5) +# +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + +# norootforbuild + + +Name: arpwatch-ethercodes +BuildRequires: arpwatch-ethercodes-build +Url: http://standards.ieee.org/regauth/oui/ +License: BSD3c +Group: Productivity/Networking/Diagnostic +AutoReqProv: on +Summary: Ethercodes Data for arpwatch +Version: 2010.9.5 +Release: 1 +Source: http://standards.ieee.org/regauth/oui/oui.txt.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%description +OUI and company ID data as fetched from IEEE.org prepared for arpwatch. + + + +Authors: +-------- + IEEE.org + +%prep + +%build +pushd /usr/share/arpwatch +bzip2 -cd ${RPM_SOURCE_DIR}/oui.txt.bz2 | \ + ./massagevendor >${RPM_BUILD_DIR}/ethercodes.dat +popd +if [ ! -s ethercodes.dat ]; then + echo "File ethercodes.dat is empty!" + exit 1 +fi + +%install +mkdir -p \ + $RPM_BUILD_ROOT/%{_datadir}/arpwatch +install -m 0444 ethercodes.dat $RPM_BUILD_ROOT/%{_datadir}/arpwatch + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%{_datadir}/arpwatch + +%changelog diff --git a/get_version_number.sh b/get_version_number.sh new file mode 100644 index 0000000..c2d0d5b --- /dev/null +++ b/get_version_number.sh @@ -0,0 +1 @@ +get_date_version_string $( find_newest_file oui.txt.bz2) diff --git a/oui.txt.bz2 b/oui.txt.bz2 index e2310a7..aa0900f 100644 --- a/oui.txt.bz2 +++ b/oui.txt.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4508ae4e67366ddb74d968252b9c7f0baa6a2c9f10208963ac616c730ee654c9 -size 489784 +oid sha256:9de6dafb04f33df7ecd52101de964ad85e3b8020c67a11910ea235257b789740 +size 487358