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

De Eriberto Wiki
Ir para navegação Ir para pesquisar
Sem resumo de edição
Linha 1: Linha 1:
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.
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.


== debian/rules: adding a SONAME to a library ==
== Mandatory checks after packaging ==
== debian/watch: how to make? ==
 
==== 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 ====
 
==== Use spell to check spelling errors ====
 
References:
 
* https://wiki.debian.org/HardeningWalkthrough
 
== Common issues and solutions ==
==== debian/rules: adding a SONAME to a library ====
==== debian/watch: how to make? ====


Please, see this [http://eriberto.pro.br/blog/?p=1459 post].
Please, see this [http://eriberto.pro.br/blog/?p=1459 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) ==
==== 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 ==
==== lintian: hardening-no-relro / hardening-no-fortify-functions ====


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


References:
References:
Linha 19: Linha 36:
* https://wiki.debian.org/HardeningWalkthrough
* https://wiki.debian.org/HardeningWalkthrough


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


Please, see this [http://eriberto.pro.br/blog/?p=1289 post].
Please, see this [http://eriberto.pro.br/blog/?p=1289 post].

Edição das 05h40min 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

Use spell to check spelling errors

References:

Common issues and solutions

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.