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/debian/rules/generic-dh-make-2005 | |
parent | Initial commit. (diff) | |
download | lintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz lintian-75808db17caf8b960b351e3408e74142f4c85aac.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/debian/rules/generic-dh-make-2005')
12 files changed, 164 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/README.Debian b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/README.Debian new file mode 100644 index 0000000..5ce4495 --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/README.Debian @@ -0,0 +1,6 @@ +dh-test for Debian +------------------ + +<possible notes regarding this package - if none, delete this file> + + -- Frank Lichtenheld <djpig@debian.org>, Thu, 4 Aug 2005 23:09:00 +0200 diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/changelog.in b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/changelog.in new file mode 100644 index 0000000..580f946 --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +generic-dh-make-2005 ([% $version %]) [% $distribution %]; urgency=low + + * Initial release Closes: #nnnn (nnnn is the bug number of your ITP) + + -- Frank Lichtenheld <djpig@debian.org> Thu, 4 Aug 2005 23:09:00 +0200 + diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/compat.in b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/control.in b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/control.in new file mode 100644 index 0000000..4cbbc4e --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/control.in @@ -0,0 +1,12 @@ +Source: generic-dh-make-2005 +Section: unknown +Priority: optional +Maintainer: Frank Lichtenheld <djpig@debian.org> +Build-Depends: debhelper (>= 4.0.0) +Standards-Version: 3.6.2 + +Package: generic-dh-make-2005 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: <insert up to 60 chars description> + <insert long description, indented with spaces> diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/copyright b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/copyright new file mode 100644 index 0000000..2bcce49 --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/copyright @@ -0,0 +1,10 @@ +This package was debianized by Frank Lichtenheld <djpig@debian.org> on +Thu, 4 Aug 2005 23:09:00 +0200. + +It was downloaded from <fill in ftp site> + +Copyright Holder: <put author(s) name and email here> + +License: + +<Put the license of the package here> diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/rules b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/rules new file mode 100755 index 0000000..ee4bffb --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/debian/rules @@ -0,0 +1,100 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. +# $(MAKE) + #docbook-to-man debian/dh-test.sgml > dh-test.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/dh-test. +# $(MAKE) install DESTDIR=$(CURDIR)/debian/dh-test + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install +# dh_testversion + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman +# dh_dhelp + #dh_suidregister # originally there, but no longer supported + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/fill-values b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/fill-values new file mode 100644 index 0000000..01371b6 --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/fill-values @@ -0,0 +1,8 @@ +Testname: generic-dh-make-2005 +Skeleton: upload-builder-only +Author: Frank Lichtenheld <djpig@debian.org> +Version: 1-1 +Package-Architecture: any +Dh-Compat-Level: 7 +Description: Generic dh_make template generated in 2005 +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/orig/README b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/orig/README new file mode 100644 index 0000000..e6a5a27 --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/orig/README @@ -0,0 +1,9 @@ +This is something close to the results of running dh_make on a basically +empty upstream tarball in 2005, but with the example files removed. It's +a useful test for the various dh_make template and boilerplate tags, as +well as many tags for ways of doing things dh_make used to promote but are +now deprecated or old debhelper commands that are now deprecated. + +Please don't modify anything about the files in this package; instead, add +new tags as needed when Lintian adds new checks. This test case is +intended to continue to be a test of Lintian's handling of old packages. diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/pre-build.in b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/pre-build.in new file mode 100755 index 0000000..bbdb5cb --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/build-spec/pre-build.in @@ -0,0 +1,5 @@ +#!/bin/sh + +# not using any templates, but dh_clean requires compat + +echo "[% $dh_compat_level %]" > "$1/debian/compat" diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/eval/desc b/t/recipes/checks/debian/rules/generic-dh-make-2005/eval/desc new file mode 100644 index 0000000..0608338 --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/eval/desc @@ -0,0 +1,2 @@ +Testname: generic-dh-make-2005 +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/eval/hints b/t/recipes/checks/debian/rules/generic-dh-make-2005/eval/hints new file mode 100644 index 0000000..ccb5124 --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/eval/hints @@ -0,0 +1,4 @@ +generic-dh-make-2005 (source): debian-rules-should-not-set-CFLAGS-from-noopt [debian/rules] +generic-dh-make-2005 (source): debian-rules-missing-required-target build-indep [debian/rules] +generic-dh-make-2005 (source): debian-rules-missing-required-target build-arch [debian/rules] +generic-dh-make-2005 (source): debian-rules-ignores-make-clean-error [debian/rules:47] diff --git a/t/recipes/checks/debian/rules/generic-dh-make-2005/eval/post-test b/t/recipes/checks/debian/rules/generic-dh-make-2005/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/debian/rules/generic-dh-make-2005/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ |