mirror of
https://github.com/stefanberger/swtpm.git
synced 2025-12-31 02:55:53 +00:00
- debian/clean: Add files that were not being automatically cleaned
up by dh(1)'s `clean` target.
- debian/control:
- Add new recommended/required fields and bump Standards-Version.
- Remove redundant build dependencies that are implied transitively.
- Bump debhelper dependency version to match debian/compat.
- Move swtpm-libs'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 deliberately non-installed files to
avoid dh_missing(1) warnings.
- debian/rules:
- Pass --no-scripts to dh_makeshlibs(1) in order to keep a
ldconfig(8) trigger from being implicitly added, which for
this package was redundant and triggered Lintian warning
`package-has-unnecessary-activation-of-ldconfig-trigger`.
- Remove redundant --parallel dh flag.
- Remove redundant dh_usrlocal override.
- debian/*.install:
- Add swtpm-create-tpmca(8) and its manpage, which were missing.
- Remove redundant `#! /usr/bin/dh-exec` lines.
- Sort entries alphabetically as per wrap-and-sort(1).
- debian/swtpm-tools.postinst.in: Add `set -e` to fail in case of
error. Fixes `maintainer-script-ignores-errors` Lintian warning.
Signed-off-by: Nick Chevsky <nchevsky@users.noreply.github.com>
70 lines
2.1 KiB
Plaintext
70 lines
2.1 KiB
Plaintext
Source: swtpm
|
|
Maintainer: Stefan Berger <stefanb@linux.vnet.ibm.com>
|
|
Section: misc
|
|
Priority: optional
|
|
Standards-Version: 4.5.1
|
|
Rules-Requires-Root: no
|
|
Build-Depends: debhelper (>= 10),
|
|
expect,
|
|
gawk,
|
|
gnutls-bin,
|
|
gnutls-dev,
|
|
libfuse-dev,
|
|
libglib2.0-dev,
|
|
libgmp-dev,
|
|
libjson-glib-dev,
|
|
libseccomp-dev,
|
|
libssl-dev,
|
|
libtasn1-dev,
|
|
libtool,
|
|
libtpms-dev,
|
|
net-tools,
|
|
python3-twisted,
|
|
socat,
|
|
softhsm2
|
|
|
|
Package: swtpm
|
|
Architecture: any
|
|
Depends: swtpm-libs (= ${binary:Version}),
|
|
${misc:Depends},
|
|
${shlibs:Depends}
|
|
Description: Libtpms-based TPM emulator
|
|
The swtpm package provides TPM emulators that listen for TPM commands
|
|
on sockets, character devices, or CUSE devices.
|
|
|
|
Package: swtpm-dev
|
|
Architecture: any
|
|
Depends: ${misc:Depends}
|
|
Description: Include files for the TPM emulator's CUSE interface
|
|
The swtpm-dev package provides include files for developing clients
|
|
controlling the CUSE TPM through ioctls.
|
|
|
|
Package: swtpm-libs
|
|
Architecture: any
|
|
Multi-Arch: same
|
|
Pre-Depends: ${misc:Pre-Depends}
|
|
Depends: libglib2.0-0,
|
|
libtpms0,
|
|
openssl,
|
|
${misc:Depends},
|
|
${shlibs:Depends}
|
|
Description: Common libraries for TPM emulators
|
|
The swtpm-libs package provides the shared libraries for the swtpm
|
|
and swtpm-cuse packages.
|
|
|
|
Package: swtpm-tools
|
|
Architecture: any
|
|
Description: Tools for the TPM emulator
|
|
The swtpm-tools package contains the following types of tools:
|
|
- swtpm_bios: Tool for initializing the TPM
|
|
- swtpm_ioctl: Tool for controlling the CUSE TPM
|
|
- swtpm_setup: Tool for creating the initial state of the TPM; this
|
|
tool basically simulates TPM manufacturing where certificates are
|
|
written into the NVRAM of the TPM
|
|
- swtpm_cert: Creation of certificates for the TPM (x509)
|
|
Depends: gnutls-bin,
|
|
swtpm (= ${binary:Version}),
|
|
trousers (>= 0.3.9),
|
|
${misc:Depends},
|
|
${shlibs:Depends}
|