- automated update on 2010-09-06

- converted neededforbuild to BuildRequires

- Change arpwatch of neededforbuild to arpwatch-ethercodes-build.

- Ensure size of ethercodes.dat is not zero, [#48005].

- make package noarch

- Initial package.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/arpwatch-ethercodes?expand=0&rev=216
This commit is contained in:
Ruediger Oertel 2010-09-22 14:41:33 +00:00 committed by Git OBS Bridge
parent a071f2f5dc
commit cb74d1fdd9
4 changed files with 96 additions and 4 deletions

View File

@ -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.

67
arpwatch-ethercodes.spec Normal file
View File

@ -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

1
get_version_number.sh Normal file
View File

@ -0,0 +1 @@
get_date_version_string $( find_newest_file oui.txt.bz2)

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4508ae4e67366ddb74d968252b9c7f0baa6a2c9f10208963ac616c730ee654c9
size 489784
oid sha256:9de6dafb04f33df7ecd52101de964ad85e3b8020c67a11910ea235257b789740
size 487358