diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
commit | 75808db17caf8b960b351e3408e74142f4c85aac (patch) | |
tree | 7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/files/ieee-data | |
parent | Initial commit. (diff) | |
download | lintian-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')
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] |