Commit Graph

26 Commits

Author SHA1 Message Date
Stefan Berger
b7ba0a69a5 debian: Adjust changelog for 0.10.0~dev1
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2021-10-17 13:07:02 -04:00
Stefan Berger
dc4e3f6313 rpm/debian: Add 0.9.0 entry in changelog
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2021-09-28 16:55:28 -04:00
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
31925c8e33 debian: Fix build warnings by updating compat to '10' and dh functions
This patch fixes the following issue pointed out in issue #212:

dh clean --parallel --with autotools-dev --with autoreconf
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh: warning: The autotools-dev sequence is deprecated and replaced by dh in debhelper (>= 9.20160115)
dh: warning: This feature will be removed in compat 12.
   dh_auto_clean -O--parallel
dh_auto_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use)
	make -j4 distclean

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2021-05-07 15:05:58 -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
Stefan Berger
1253aa359b Bump up the revision of the library for next version to 0.9.0
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2021-02-24 15:08:38 -05:00
Stefan Berger
3fd4b94903 rpm/debian: Adjust date of 0.8.0 entry in changelog
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2021-02-24 12:58:38 -05:00
Stefan Berger
d5e419ea34 rpm/debian: Add 0.8.0-1 entry to changelog
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2020-06-15 11:55:41 -04: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
625abcc688 Bump up the revision of the library for next version to 0.8.0
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2019-07-19 13:54:18 -04: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
0ea02181e5 debian: Adapt changelog for 0.7.0 release
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2019-07-19 12:03:52 -04:00
Stefan Berger
af7e924372 Bump up the revision of the library for next version to 0.7.0
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2019-03-18 21:14:49 -04:00
Stefan Berger
61440eebf8 debian: Set version to 0.6.0-1 for release.
Set the version to 0.6.0-1 for a release. Cheat a bit on the previous
version by changing the suffix to ~dev from -dev.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2019-01-11 07:39:50 -05: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
5cc673f73d debian: Use autogen.sh and pass --with-tpm2 to configure
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2018-09-13 09:13:30 -04:00
Stefan Berger
f5ff8b93f5 build: Build Debian 0.6.0-1-dev1
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2018-06-15 18:07:48 -04:00
Stefan Berger
5e64f96378 Extend license texts with TPM 2 specifics
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2018-06-15 18:07:47 -04:00
Stefan Berger
37d9432a4e build: run bootstrap.sh as part of Debian build
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2016-01-13 17:07:52 -05:00
Stefan Berger
4a65fc6dbd debian: add copyright notice
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2016-01-13 17:05:05 -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