summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/files/ieee-data
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/files/ieee-data
parentInitial commit. (diff)
downloadlintian-upstream.tar.xz
lintian-upstream.zip
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/recipes/checks/files/ieee-data')
-rw-r--r--t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/debian/install1
-rwxr-xr-xt/recipes/checks/files/ieee-data/files-ieee-data/build-spec/debian/rules23
-rw-r--r--t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/fill-values3
-rw-r--r--t/recipes/checks/files/ieee-data/files-ieee-data/build-spec/orig/src/oui.txt1
-rw-r--r--t/recipes/checks/files/ieee-data/files-ieee-data/eval/desc2
-rw-r--r--t/recipes/checks/files/ieee-data/files-ieee-data/eval/hints4
6 files changed, 34 insertions, 0 deletions
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]