From 75808db17caf8b960b351e3408e74142f4c85aac Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 15:42:30 +0200 Subject: Adding upstream version 2.117.0. Signed-off-by: Daniel Baumann --- .../files-ieee-data/build-spec/debian/install | 1 + .../files-ieee-data/build-spec/debian/rules | 23 ++++++++++++++++++++++ .../files-ieee-data/build-spec/fill-values | 3 +++ .../files-ieee-data/build-spec/orig/src/oui.txt | 1 + .../files/ieee-data/files-ieee-data/eval/desc | 2 ++ .../files/ieee-data/files-ieee-data/eval/hints | 4 ++++ 6 files changed, 34 insertions(+) create mode 100644 t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/debian/install create mode 100755 t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/debian/rules create mode 100644 t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/fill-values create mode 100644 t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/orig/src/oui.txt create mode 100644 t/recipes/checks/files/ieee-data/files-ieee-data/eval/desc create mode 100644 t/recipes/checks/files/ieee-data/files-ieee-data/eval/hints (limited to 't/recipes/checks/files/ieee-data') diff --git a/t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/debian/install b/t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/debian/install new file mode 100644 index 0000000..1b91047 --- /dev/null +++ b/t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/debian/install @@ -0,0 +1 @@ +usr/ diff --git a/t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/debian/rules b/t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/debian/rules new file mode 100755 index 0000000..ecf629b --- /dev/null +++ b/t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f +PKG:=files-ieee-data +INSTPATH:=$(CURDIR)/debian/tmp/usr/share/$(PKG) + + +%: + dh $@ + +override_dh_install: + mkdir -p $(INSTPATH) + gzip -c -n --best src/oui.txt > $(INSTPATH)/oui.txt.gz + cp src/oui.txt $(INSTPATH)/oui.idx + cp src/oui.txt $(INSTPATH)/oui.db + cp src/oui.txt $(INSTPATH)/iab.idx + cp src/oui.txt $(INSTPATH)/ieee-oui.idx + cp src/oui.txt $(INSTPATH)/get-iab + cp src/oui.txt $(INSTPATH)/download-oui +# false positive + ln -s /usr/share/ieee-data/iab.txt $(INSTPATH)/iab.txt + dh_install + + + diff --git a/t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/fill-values b/t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/fill-values new file mode 100644 index 0000000..a2c4d8f --- /dev/null +++ b/t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: files-ieee-data +Description: Check for different ieee data install diff --git a/t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/orig/src/oui.txt b/t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/orig/src/oui.txt new file mode 100644 index 0000000..c09934d --- /dev/null +++ b/t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/orig/src/oui.txt @@ -0,0 +1 @@ +# oui database \ No newline at end of file diff --git a/t/recipes/checks/files/ieee-data/files-ieee-data/eval/desc b/t/recipes/checks/files/ieee-data/files-ieee-data/eval/desc new file mode 100644 index 0000000..6bd423c --- /dev/null +++ b/t/recipes/checks/files/ieee-data/files-ieee-data/eval/desc @@ -0,0 +1,2 @@ +Testname: files-ieee-data +Check: files/ieee-data diff --git a/t/recipes/checks/files/ieee-data/files-ieee-data/eval/hints b/t/recipes/checks/files/ieee-data/files-ieee-data/eval/hints new file mode 100644 index 0000000..98d029d --- /dev/null +++ b/t/recipes/checks/files/ieee-data/files-ieee-data/eval/hints @@ -0,0 +1,4 @@ +files-ieee-data (binary): package-installs-ieee-data [usr/share/files-ieee-data/oui.txt.gz] +files-ieee-data (binary): package-installs-ieee-data [usr/share/files-ieee-data/oui.idx] +files-ieee-data (binary): package-installs-ieee-data [usr/share/files-ieee-data/oui.db] +files-ieee-data (binary): package-installs-ieee-data [usr/share/files-ieee-data/iab.idx] -- cgit v1.2.3