Commit Graph

11 Commits

Author SHA1 Message Date
Nick Chevsky
d68ef5f0bc Debian packaging improvements
- debian/clean: Clean up files not automatically caught by
  `debian/rules clean`.
- debian/control:
  - Add new recommended/required fields and bump Standards-Version.
  - Remove redundant build dependences that are implied transitively.
  - Move libtpms0's ${misc:Pre-Depends} dependency to `Pre-Depends`.
    Resolves `depends-on-misc-pre-depends` Lintian warning.
  - Sort packages and dependency lists alphabetically as per
    wrap-and-sort(1).
- debian/not-installed: List non-installed files to avoid
  dh_missing(1) warnings.
- debian/rules:
  - Remove unused architecture variable.
  - Remove redundant --parallel, --with autoreconf flags.
  - Remove redundant `dh_update_autotools_config` call.
- debian/*.install:
  - Remove redundant `#! /usr/bin/dh-exec` lines.
  - Sort entries alphabetically as per wrap-and-sort(1).

Signed-off-by: Nick Chevsky <nchevsky@users.noreply.github.com>
2021-07-22 16:48:09 -04:00
Stefan Berger
ae4c5f780f debian: Add missing pkg-config to debian/control
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2021-02-25 19:15:11 -05:00
Neil Roza
3476560a44 make debhelper play nice with autotools
We need to inform debhelper that it will be driving the action using autotools.

edit `debian/control` field `Build-Depends`: add `autotools-dev` and
`dh-autoreconf`

edit `debian/rules`:

* change the default target `%` to invoke `dh` with `autotools-dev` and
  `autoreconf`

* remove from `override_dh_auto_configure` the invocation to `./autogen.sh`
  obsoleted by `dh-autoreconf`
2020-04-06 12:22:48 -04:00
Neil Roza
d4d01a1f73 fix debian/{control,changelog} 2020-04-06 11:01:07 -04:00
Stefan Berger
62c93cf0d3 debian: Address linitian issues in control file
Address a few issues in the control file as reported by lintian.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2020-01-14 14:53:00 -05:00
Stefan Berger
d061d8065b debian: Build now also requires g++ for fuzz test
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2019-07-19 12:27:37 -04:00
Stefan Berger
6ef15f2a77 debian: Fix Architecture and Depends of libtpms-dev
Fix Architecture and Depends entries of libtpms-dev in control file.

Thanks to alex@strugee.net for pointing this out in PR#22.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2019-01-11 07:39:50 -05:00
Stefan Berger
567ece331f debian: Fix the build dependencies
Fix the build dependencies.

Thanks to alex@strugee.net for pointing this out in PR#22.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2019-01-11 07:39:50 -05:00
Stefan Berger
1e71cf48eb debian: Rename package libtpms to libtpms0
Fix the lintian complaint about wrong package name for the shared library.

Thanks to alex@strugee.net for pointing this out in PR#22.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2019-01-11 07:39:50 -05:00
Stefan Berger
c82ef4f44e build: Some improvement to the Debian packaging
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2016-01-13 17:02:10 -05:00
Stefan Berger
7c51a9cfed build: Enable building of Debian package
Add debian build files to enable building of Debian package using for example

debuild -b   or   dpkg-buildpackage -us -uc

Extend the .gitignore.

The debhelper checks show warnings and errors that will need to be addressed
some other time. For some I don't know how to solve them at the moment.

Signed-off-by: Stefan Berger <stefanb@linux.watson.ibm.com>
2016-01-12 16:30:31 -05:00