[PATCH] Debian package support
Sergio Durigan Junior
sergiodj en sergiodj.net
Sab Abr 19 19:45:38 UTC 2014
On Friday, April 18 2014, Thadeu Lima de Souza Cascardo wrote:
> ---
> Versão inicial, com o mínimo necessário pra gerar um pacote deb sem erros
> no lintian, com exceção da falta de uma manpage e de um bug ITP.
Enviei o patch da manpage agora :-).
> diff --git a/debian/changelog b/debian/changelog
> new file mode 100644
> index 0000000..e7eaef7
> --- /dev/null
> +++ b/debian/changelog
> @@ -0,0 +1,6 @@
> +rnetclient (2014.1-1) unstable; urgency=low
> +
> + * New upstream version.
> +
> + -- Thadeu Lima de Souza Cascardo <cascardo em debian.org> Fri, 18 Apr 2014 07:25:52 -0300
> +
> diff --git a/debian/compat b/debian/compat
> new file mode 100644
> index 0000000..ec63514
> --- /dev/null
> +++ b/debian/compat
> @@ -0,0 +1 @@
> +9
> diff --git a/debian/control b/debian/control
> new file mode 100644
> index 0000000..2b3d2de
> --- /dev/null
> +++ b/debian/control
> @@ -0,0 +1,13 @@
> +Source: rnetclient
> +Build-Depends: debhelper (>= 9), libgcrypt11-dev, zlib1g-dev, libgnutls-dev
> +Section: net
> +Priority: optional
> +Standards-Version: 3.9.5
> +Maintainer: Thadeu Lima de Souza Cascardo <cascardo em debian.org>
> +
> +Package: rnetclient
> +Depends: ${shlibs:Depends}, ${misc:Depends}
> +Architecture: any
> +Description: client to send Brazil Tax Report
> + rnetclient is a network client reverse-engineered to allow Brazilian
> + citizens to send their tax reports
> diff --git a/debian/copyright b/debian/copyright
> new file mode 100644
> index 0000000..459e360
> --- /dev/null
> +++ b/debian/copyright
> @@ -0,0 +1,33 @@
> +bootstrap.sh: GPL (v3 or later) GENERATED FILE
> + [Copyright: 2014 Sergio Durigan Junior <sergiodj em sergiodj.net>]
> +
> +config.h: *No copyright* GENERATED FILE
> +
> +decfile.c: GPL (v3 or later)
> + [Copyright: 2014 Alexandre Oliva <lxoliva em fsfla.org> / 2012-2014 Thadeu Lima de Souza Cascardo <cascardo em minaslivre.org>]
> +
> +decfile.h: GPL (v3 or later)
> + [Copyright: 2012-2014 Thadeu Lima de Souza Cascardo <cascardo em minaslivre.org> / 2014 Alexandre Oliva <lxoliva em fsfla.org>]
> +
> +pmhash.c: GPL (v3 or later)
> + [Copyright: 2012-2013 Thadeu Lima de Souza Cascardo <cascardo em minaslivre.org>]
> +
> +pmhash.h: GPL (v3 or later)
> + [Copyright: 2012-2013 Thadeu Lima de Souza Cascardo <cascardo em minaslivre.org>]
> +
> +rnetclient.c: GPL (v3 or later)
> + [Copyright: 2012-2014 Thadeu Lima de Souza Cascardo <cascardo em minaslivre.org> / 2014 Sergio Durigan Junior <sergiodj em sergiodj.net> / 2014 Alexandre Oliva <lxoliva em fsfla.org>]
> +
> +rnet_encode.c: GPL (v3 or later)
> + [Copyright: 2014 Alexandre Oliva <lxoliva em fsfla.org> / 2013-2014 Thadeu Lima de Souza Cascardo <cascardo em minaslivre.org>]
> +
> +rnet_encode.h: GPL (v3 or later)
> + [Copyright: 2013 Thadeu Lima de Souza Cascardo <cascardo em minaslivre.org>]
> +
> +rnet_message.c: GPL (v3 or later)
> + [Copyright: 2013 Thadeu Lima de Souza Cascardo <cascardo em minaslivre.org> / 2014 Alexandre Oliva <lxoliva em fsfla.org>]
> +
> +rnet_message.h: GPL (v3 or later)
> + [Copyright: 2013 Thadeu Lima de Souza Cascardo <cascardo em minaslivre.org>]
> +
> +License: GPLv3 (/usr/share/common-licenses/GPL-3
Vai ser necessário incluir os arquivos do diretório doc/ (e dos
subdiretórios também). Só um reminder.
> diff --git a/debian/rules b/debian/rules
> new file mode 100755
> index 0000000..2d33f6a
> --- /dev/null
> +++ b/debian/rules
> @@ -0,0 +1,4 @@
> +#!/usr/bin/make -f
> +
> +%:
> + dh $@
> diff --git a/debian/source/format b/debian/source/format
> new file mode 100644
> index 0000000..163aaf8
> --- /dev/null
> +++ b/debian/source/format
> @@ -0,0 +1 @@
> +3.0 (quilt)
Acho que tá legal. Com aquele roadmap que eu postei anteontem já dá pra
fazermos uma release pra mandarmos o pacote pro Debian.
Falou!
--
Sergio
Más información sobre la lista de distribución Softwares-impostos