Update home authored by Arthur Diniz's avatar Arthur Diniz
...@@ -18,7 +18,7 @@ non-free -> private software ...@@ -18,7 +18,7 @@ non-free -> private software
## DEBUILD (forma mais manual de empacotamento) ## DEBUILD (forma mais manual de empacotamento)
```bash
$ ar -x arquivo.deb -> Para extração do pacote .deb $ ar -x arquivo.deb -> Para extração do pacote .deb
$ apt source <package> . -> get source code of package $ apt source <package> . -> get source code of package
...@@ -26,40 +26,43 @@ $ apt source <package> . -> get source code of package ...@@ -26,40 +26,43 @@ $ apt source <package> . -> get source code of package
$ apt install devs -> necessário pra construir pacotes $ apt install devs -> necessário pra construir pacotes
$ debuild -us -uc -> Faz a construção do pacote no diretório em cima do atual $ debuild -us -uc -> Faz a construção do pacote no diretório em cima do atual
```
## SBUILD -> https://wiki.debian.org/sbuild ## SBUILD -> https://wiki.debian.org/sbuild
Faz isolamento da sua maquina para diferentes ambientes Faz isolamento da sua maquina para diferentes ambientes
```bash
$ schroot -ls -> lista os ambientes $ schroot -ls -> lista os ambientes
$ schroot -c unstable-amd64 -> entra no ambiente $ schroot -c unstable-amd64 -> entra no ambiente
$ sbuild -d stable $ sbuild -d stable
```
export variaveis no bashrc DEBEMAIL DEBNAME... export variaveis no bashrc DEBEMAIL DEBNAME...
```bash
$ dch -i -> colocar um novo changelog $ dch -i -> colocar um novo changelog
```
## LINT (Ferramenta de analise do pacote) ## LINT (Ferramenta de analise do pacote)
Faz a build do pacote e depois roda a analise Faz a build do pacote e depois roda a analise
```
$ apt install lintian $ apt install lintian
```
-- Configuração do lint na wiki do sbuild -- Configuração do lint na wiki do sbuild
-- Depois só rodar o sbuild -- Depois só rodar o sbuild
## APT-FILE ## APT-FILE
```bash
$ apt install apt-file $ apt install apt-file
$ apt-file search -> procura um pacote $ apt-file search -> procura um pacote
$ apt-file list -> lista tudo dentro do pacote $ apt-file list -> lista tudo dentro do pacote
```
## sftwre livr pilares ## sftwre livr pilares
...@@ -74,16 +77,21 @@ ls /usr/share/common-licenses/ -> Contém as licenças mais comuns ...@@ -74,16 +77,21 @@ ls /usr/share/common-licenses/ -> Contém as licenças mais comuns
---------------------------------------------------------- ----------------------------------------------------------
QUILT Construir patcher, aplicar, desaplicar, etc QUILT Construir patcher, aplicar, desaplicar, etc
---------------------------------------------------------- ----------------------------------------------------------
```bash
$ apt install quilt $ apt install quilt
$ man quilt $ man quilt
```
Exemplo de patch para alterar o README Exemplo de patch para alterar o README
$ quilt new <nome> Ex nome: 0001-update-readme.patch
```bash
$ quilt new <nome> Ex nome: 0001-update-readme.patch
```
Criou um diretório patcher Criou um diretório patcher
Adicionar arquivo ao patch Adicionar arquivo ao patch
```bash
$ quilt add README $ quilt add README
$ quilt edit README -> Editando o arquivo $ quilt edit README -> Editando o arquivo
...@@ -97,12 +105,12 @@ $ quilt import -> importa patches ...@@ -97,12 +105,12 @@ $ quilt import -> importa patches
$ quilt push <nome-do-patch> -> Aplicar patch até um certo ponto $ quilt push <nome-do-patch> -> Aplicar patch até um certo ponto
$ quilt pop <sha> -> Remove patch $ quilt pop <sha> -> Remove patch
$ quilt pop -a -> Remove todos os patch $ quilt pop -a -> Remove todos os patch
```
## REPORT BUG ## REPORT BUG
```bash
$ apt-get install reportbug $ apt-get install reportbug
```
wiki.debian/reportbug wiki.debian/reportbug
...@@ -123,11 +131,11 @@ package: ...@@ -123,11 +131,11 @@ package:
nick: kanashiro nick: kanashiro
kanashiro@debian.org kanashiro@debian.org
## Encontro 18/10/2018
----------------------------------------------------------
18/10/2018
----------------------------------------------------------
http://honk.sigxcpu.org/projects/git-buildpackage/manual-html http://honk.sigxcpu.org/projects/git-buildpackage/manual-html
https://riseup.net/en/security/message-security/openpgp/gpg-keys#using-the-linux-command-line https://riseup.net/en/security/message-security/openpgp/gpg-keys#using-the-linux-command-line
https://wiki.debian.org/Keysigning https://wiki.debian.org/Keysigning
\ No newline at end of file