Changes
Page history
Update home
authored
Nov 01, 2018
by
Arthur Diniz
Show whitespace changes
Inline
Side-by-side
home.md
View page @
de8ba09d
...
...
@@ -18,7 +18,7 @@ non-free -> private software
## DEBUILD (forma mais manual de empacotamento)
```
bash
$
ar
-x
arquivo.deb -> Para extração
do
pacote .deb
$
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
$
debuild
-us
-uc
-> Faz a construção
do
pacote no diretório em cima
do
atual
```
## SBUILD -> https://wiki.debian.org/sbuild
Faz isolamento da sua maquina para diferentes ambientes
```
bash
$
schroot
-ls
-> lista os ambientes
$
schroot
-c
unstable-amd64 -> entra no ambiente
$
sbuild
-d
stable
```
export variaveis no bashrc DEBEMAIL DEBNAME...
```
bash
$
dch
-i
-> colocar um novo changelog
```
## LINT (Ferramenta de analise do pacote)
Faz a build do pacote e depois roda a analise
```
$ apt install lintian
```
-- Configuração do lint na wiki do sbuild
-- Depois só rodar o sbuild
## APT-FILE
```
bash
$
apt
install
apt-file
$
apt-file search -> procura um pacote
$
apt-file list -> lista tudo dentro
do
pacote
```
## sftwre livr pilares
...
...
@@ -74,16 +77,21 @@ ls /usr/share/common-licenses/ -> Contém as licenças mais comuns
----------------------------------------------------------
QUILT Construir patcher, aplicar, desaplicar, etc
----------------------------------------------------------
```
bash
$
apt
install
quilt
$
man quilt
```
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
Adicionar arquivo ao patch
```
bash
$
quilt add README
$
quilt edit README -> Editando o arquivo
...
...
@@ -97,12 +105,12 @@ $ quilt import -> importa patches
$
quilt push <nome-do-patch> -> Aplicar patch até um certo ponto
$
quilt pop <sha> -> Remove patch
$
quilt pop
-a
-> Remove todos os patch
```
## REPORT BUG
```
bash
$
apt-get
install
reportbug
```
wiki.debian/reportbug
...
...
@@ -123,11 +131,11 @@ package:
nick: kanashiro
kanashiro@debian.org
## Encontro 18/10/2018
----------------------------------------------------------
18/10/2018
----------------------------------------------------------
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://wiki.debian.org/Keysigning
\ No newline at end of file