Tips about Debian packaging: mudanças entre as edições

De Eriberto Wiki
Ir para navegação Ir para pesquisar
Linha 23: Linha 23:


== Common issues and solutions ==
== Common issues and solutions ==
==== debian/rules: how to pass extra parameters to ./configure command ====
==== debian/rules: adding a SONAME to a library ====
==== debian/rules: adding a SONAME to a library ====
==== debian/watch: how to make? ====
==== debian/watch: how to make? ====

Edição das 05h54min de 6 de abril de 2015

The main goal of this article is gather quick tips about software packaging in Debian. I will use these tips to help to sponsor third party packages.

Mandatory checks after packaging

Remove all trash and extra blank lines

Use cowbuilder to verify if the package builds in a clean jail

Use blhc to verify the full hardening status

References:

Use spell to check spelling errors

Try to use dh-autoreconf

References:

Common issues and solutions

debian/rules: how to pass extra parameters to ./configure command

debian/rules: adding a SONAME to a library

debian/watch: how to make?

Please, see this post.

dpkg-shlibdeps: warning: package could avoid a useless dependency if FOO was not linked against BAR.so.1.2 (it uses none of the library's symbols)

lintian: hardening-no-relro / hardening-no-fortify-functions

Use blhc... Change = to += CFLAGS and LDFLAGS appends

References:

lintian: how to see Pedantic, Experimental and other messages?

Please, see this post.