mirror of
https://github.com/stefanberger/libtpms
synced 2026-08-07 01:05:02 +00:00
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>
This commit is contained in:
parent
04f85e2fc1
commit
d68ef5f0bc
2
debian/clean
vendored
Normal file
2
debian/clean
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
include/libtpms/*.gch
|
||||
tests/NVChip
|
||||
43
debian/control
vendored
43
debian/control
vendored
@ -2,33 +2,30 @@ Source: libtpms
|
||||
Maintainer: Stefan Berger <stefanb@linux.vnet.ibm.com>
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Standards-Version: 3.9.7
|
||||
Build-Depends:
|
||||
autoconf,
|
||||
automake,
|
||||
autotools-dev,
|
||||
debhelper (>= 9),
|
||||
dh-autoreconf,
|
||||
dh-exec,
|
||||
gawk,
|
||||
libssl-dev,
|
||||
libtool,
|
||||
pkg-config
|
||||
|
||||
Package: libtpms0
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: openssl,
|
||||
${shlibs:Depends},
|
||||
${misc:Pre-Depends},
|
||||
${misc:Depends}
|
||||
Description: TPM emulation library
|
||||
Libtpms is a library that provides TPM functionality.
|
||||
Standards-Version: 4.5.1
|
||||
Rules-Requires-Root: no
|
||||
Build-Depends: debhelper (>= 10),
|
||||
dh-exec,
|
||||
gawk,
|
||||
libssl-dev,
|
||||
libtool,
|
||||
pkg-config
|
||||
|
||||
Package: libtpms-dev
|
||||
Architecture: any
|
||||
Section: libdevel
|
||||
Depends: ${misc:Depends}, libtpms0 (= ${binary:Version})
|
||||
Depends: libtpms0 (= ${binary:Version}),
|
||||
${misc:Depends}
|
||||
Description: libtpms header files and man pages
|
||||
The libtpms-dev package provides header files and man pages for the
|
||||
functions provided by libtpms.
|
||||
|
||||
Package: libtpms0
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: openssl,
|
||||
${misc:Depends},
|
||||
${shlibs:Depends}
|
||||
Description: TPM emulation library
|
||||
Libtpms is a library that provides TPM functionality.
|
||||
|
||||
8
debian/libtpms-dev.install
vendored
8
debian/libtpms-dev.install
vendored
@ -1,5 +1,5 @@
|
||||
#! /usr/bin/dh-exec
|
||||
usr/lib/*/*.so
|
||||
usr/lib/*/pkgconfig/
|
||||
/usr/include/libtpms/*.h
|
||||
/usr/share/man/man3/*.3
|
||||
/usr/lib/*/*.a
|
||||
/usr/lib/*/*.so
|
||||
/usr/lib/*/pkgconfig/
|
||||
/usr/share/man/man3/*.3
|
||||
|
||||
1
debian/libtpms0.install
vendored
1
debian/libtpms0.install
vendored
@ -1,2 +1 @@
|
||||
#! /usr/bin/dh-exec
|
||||
/usr/lib/*/*.so.*
|
||||
|
||||
1
debian/not-installed
vendored
Normal file
1
debian/not-installed
vendored
Normal file
@ -0,0 +1 @@
|
||||
usr/lib/*/*.la
|
||||
7
debian/rules
vendored
7
debian/rules
vendored
@ -1,12 +1,9 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
# export DH_VERBOSE=1
|
||||
|
||||
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
%:
|
||||
dh_update_autotools_config
|
||||
dh $@ --parallel --with autoreconf
|
||||
dh $@
|
||||
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- --with-openssl --with-tpm2
|
||||
|
||||
Loading…
Reference in New Issue
Block a user