diff --git a/documentation/content/pt-br/articles/freebsd-update-server/_index.adoc b/documentation/content/pt-br/articles/freebsd-update-server/_index.adoc index b6e8a19bd1..ddd7d17025 100644 --- a/documentation/content/pt-br/articles/freebsd-update-server/_index.adoc +++ b/documentation/content/pt-br/articles/freebsd-update-server/_index.adoc @@ -1,604 +1,610 @@ --- authors: - author: 'Jason Helfman' email: jgh@FreeBSD.org copyright: '2009-2011, 2013 Jason Helfman' description: 'Construir seu próprio servidor freebsd-update permite que um administrador de sistema realize atualizações rápidas para vários computadores a partir de um espelho local' tags: ["FreeBSD", "Update", "Server", "internal"] title: 'Construa seu próprio servidor de atualização do FreeBSD' trademarks: ["freebsd", "amd", "intel", "general"] --- = Construa seu próprio servidor de atualização do FreeBSD :doctype: article :toc: macro :toclevels: 1 :icons: font :sectnums: :sectnumlevels: 6 :source-highlighter: rouge :experimental: :images-path: articles/freebsd-update-server/ ifdef::env-beastie[] ifdef::backend-html5[] include::shared/authors.adoc[] include::shared/mirrors.adoc[] include::shared/releases.adoc[] include::shared/attributes/attributes-{{% lang %}}.adoc[] include::shared/{{% lang %}}/teams.adoc[] include::shared/{{% lang %}}/mailing-lists.adoc[] include::shared/{{% lang %}}/urls.adoc[] :imagesdir: ../../../images/{images-path} endif::[] ifdef::backend-pdf,backend-epub3[] include::../../../../shared/asciidoctor.adoc[] endif::[] endif::[] ifndef::env-beastie[] include::../../../../../shared/asciidoctor.adoc[] endif::[] + +[WARNING] +==== +As instruções neste artigo se referem a uma versão mais antiga do FreeBSD e podem não funcionar corretamente em versões recentes do SO. Com a disponibilidade do pkgbase, o utilitário freebsd-update está programado para ser removido do FreeBSD no futuro. Quando isso acontecer, este artigo será atualizado para refletir os novos procedimentos ou removido completamente. +==== + [.abstract-title] Resumo Este artigo descreve a construção de um Servidor Interno de Atualização do FreeBSD. O https://github.com/freebsd/freebsd-update-build/[freebsd-update-server] é escrito por `{cperciva}`, Oficial de Segurança Emérito do FreeBSD. Para usuários que acham conveniente atualizar seus sistemas em relação a um servidor de atualização oficial, a construção de seu próprio Servidor de Atualização do FreeBSD pode ajudar a estender sua funcionalidade ao suportar versões do FreeBSD ajustadas manualmente ou fornecer um espelho local que permitirá atualizações mais rápidas para vários computadores. ''' toc::[] [[acknowledgments]] == Agradecimentos Este artigo foi posteriormente impresso na revista https://people.freebsd.org/~jgh/files/fus/BSD_03_2010_EN.pdf[BSD Magazine]. [[introduction]] == Introdução Usuários ou administradores experientes frequentemente são responsáveis por várias máquinas ou ambientes. Eles entendem as exigências e desafios difíceis de manter essa infraestrutura. Executar um Servidor de Atualização do FreeBSD torna mais fácil implantar patches de segurança e atualizações de software para máquinas de teste selecionadas antes de implementá-los nos servidores de produção. Também significa que vários sistemas podem ser atualizados a partir da rede local em vez de uma conexão com a Internet potencialmente mais lenta. Este artigo descreve os passos envolvidos na criação de um Servidor Interno de Atualização do FreeBSD. [[prerequisites]] == Pré-requisitos Para construir um Servidor Interno de Atualização do FreeBSD, alguns requisitos devem ser atendidos. * Um sistema FreeBSD em execução. + [NOTE] ==== No mínimo, as atualizações requerem a criação de uma versão do FreeBSD maior ou igual a versão do release alvo para a distribuição. ==== * Uma conta de usuário com pelo menos 4 GB de espaço disponível. Isso permitirá a criação de atualizações para 7.1 e 7.2, mas os requisitos de espaço exatos podem mudar de versão para versão. * Uma conta man:ssh[1] em uma máquina remota para fazer o upload das atualizações que serão distribuídas. * Um servidor web, como o extref:{handbook}[Apache, network-apache], com mais da metade do espaço necessário para a compilação. Por exemplo, as compilações de teste para 7.1 e 7.2 consomem uma quantidade total de 4 GB, e o espaço necessário no servidor web para distribuir essas atualizações é de 2,6 GB. * Conhecimento básico de script shell com o shell Bourne, man:sh[1]. [[Configuration]] == Configuração: Instalação e Setup Faça o download do software https://github.com/freebsd/freebsd-update-build/[freebsd-update-server] instalando os pacotes package:devel/git[] e package:security/ca_root_nss[], e execute: [source, shell] .... % git clone https://github.com/freebsd/freebsd-update-build.git freebsd-update-server .... Atualize o arquivo [.filename]#scripts/build.conf# adequadamente. Ele será usado durante todas as operações de compilação. Aqui está o [.filename]#build.conf# padrão, que deve ser modificado para atender ao seu ambiente. [.programlisting] .... # Arquivo de configuração principal para compilações do FreeBSD Update. # Os dados de configuração específicos do lançamento estão mais abaixo # na árvore de scripts. # Local de onde buscar os releases export FTP=ftp://ftp2.freebsd.org/pub/FreeBSD/releases <.> # Plataforma do host export HOSTPLATFORM=`uname -m` # Nome do host a ser usado dentro das jails export BUILDHOSTNAME=${HOSTPLATFORM}-builder.daemonology.net <.> # Localização da chave privada SSH export SSHKEY=/root/.ssh/id_dsa <.> # Conta SSH para a qual os arquivos são enviados MASTERACCT=builder@wadham.daemonology.net <.> # Diretório para o qual os arquivos são enviados MASTERDIR=update-master.freebsd.org <.> .... Os parâmetros a serem considerados seriam: <.> Este é o local de onde as imagens ISO são baixadas (pela sub-rotina `fetchiso()` do arquivo [.filename]#scripts/build.subr#). A localização configurada não se limita a URIs FTP. Qualquer esquema de URI suportado pelo utilitário padrão man:fetch[1] deve funcionar bem. Personalizações para o código `fetchiso()` podem ser instaladas copiando o arquivo padrão [.filename]#build.subr# para a área específica de release e arquitetura em [.filename]#scripts/RELEASE/ARCHITECTURE/build.subr# e aplicando alterações locais. <.> O nome do host de compilação. Essa informação será exibida em sistemas atualizados ao emitir o comando: + [source, shell] .... % uname -v .... + <.> A chave SSH para enviar arquivos para o servidor de atualização. Um par de chaves pode ser criado digitando `ssh-keygen -t dsa`. Este parâmetro é opcional; a autenticação padrão por senha será usada como método de autenticação de fallback quando o `SSHKEY` não estiver definido. A página do manual man:ssh-keygen[1] contém informações mais detalhadas sobre o SSH e os passos apropriados para criar e usar uma chave. <.> Conta para enviar os arquivos para o servidor de atualização. <.> Diretório no servidor de atualização onde os arquivos são enviados. O [.filename]#build.conf# padrão fornecido com o código fonte do freebsd-update-server é adequado para compilar releases do FreeBSD para a arquitetura i386. Como exemplo de compilação de um servidor de atualização para outras arquiteturas, os seguintes passos resumem as alterações de configuração necessárias para a arquitetura amd64: [.procedure] ==== . Crie um ambiente de compilação para o amd64: + [source, shell] .... % mkdir -p /usr/local/freebsd-update-server/scripts/7.2-RELEASE/amd64 .... . Instale um arquivo [.filename]#build.conf# no diretório de compilação recém-criado. As opções de configuração de compilação para o FreeBSD 7.2-RELEASE em amd64 devem ser semelhantes a: + [.programlisting] .... # SHA256 hash of RELEASE disc1.iso image. export RELH=1ea1f6f652d7c5f5eab7ef9f8edbed50cb664b08ed761850f95f48e86cc71ef5 <.> # Components of the world, source, and kernels export WORLDPARTS="base catpages dict doc games info manpages proflibs lib32" export SOURCEPARTS="base bin contrib crypto etc games gnu include krb5 \ lib libexec release rescue sbin secure share sys tools \ ubin usbin cddl" export KERNELPARTS="generic" # EOL date export EOL=1275289200 <.> .... + <.> A chave hash man:sha256[1] para o release desejado está publicada dentro do respectivo link:https://www.FreeBSD.org/releases/[anúncio de release]. <.> Para gerar o número "End of Life" para o arquivo [.filename]#build.conf#, consulte o "Estimated EOL" publicado no link:https://www.FreeBSD.org/security/security/[Site de Segurança do FreeBSD]. O valor de `EOL` pode ser derivado da data listada no site da web, usando o utilitário man:date[1], por exemplo: + [source, shell] .... % date -j -f '%Y%m%d-%H%M%S' '20090401-000000' '+%s' .... ==== [[build]] == Compilando o Código de Atualização O primeiro passo é executar o [.filename]#scripts/make.sh#. Isso irá compilar alguns binários, criar diretórios e gerar uma chave de assinatura RSA usada para aprovar as compilações. Nesta etapa, uma frase secreta terá que ser fornecida para a criação final da chave de assinatura. [source, shell] .... # sh scripts/make.sh cc -O2 -fno-strict-aliasing -pipe findstamps.c -o findstamps findstamps.c: In function 'usage': findstamps.c:45: warning: incompatible implicit declaration of built-in function 'exit' cc -O2 -fno-strict-aliasing -pipe unstamp.c -o unstamp install findstamps ../bin install unstamp ../bin rm -f findstamps unstamp Generating RSA private key, 4096 bit long modulus ................................................................................++ ...................++ e is 65537 (0x10001) Public key fingerprint: 27ef53e48dc869eea6c3136091cc6ab8589f967559824779e855d58a2294de9e Encrypting signing key for root enter aes-256-cbc encryption password: Verifying - enter aes-256-cbc encryption password: .... [NOTE] ==== Anote a impressão digital da chave gerada. Este valor será necessário no [.filename]#/etc/freebsd-update.conf# para as atualizações binárias. ==== Neste ponto, estamos prontos para preparar uma compilação. [source, shell] .... # cd /usr/local/freebsd-update-server # sh scripts/init.sh amd64 7.2-RELEASE .... A seguir, segue um exemplo da execução de uma compilação _inicial_. [source, shell] .... # sh scripts/init.sh amd64 7.2-RELEASE Mon Aug 24 16:04:36 PDT 2009 Starting fetch for FreeBSD/amd64 7.2-RELEASE /usr/local/freebsd-update-server/work/7.2-RELE100 of 588 MB 359 kBps 00m00s Mon Aug 24 16:32:38 PDT 2009 Verifying disc1 hash for FreeBSD/amd64 7.2-RELEASE Mon Aug 24 16:32:44 PDT 2009 Extracting components for FreeBSD/amd64 7.2-RELEASE Mon Aug 24 16:34:05 PDT 2009 Constructing world+src image for FreeBSD/amd64 7.2-RELEASE Mon Aug 24 16:35:57 PDT 2009 Extracting world+src for FreeBSD/amd64 7.2-RELEASE Mon Aug 24 23:36:24 UTC 2009 Building world for FreeBSD/amd64 7.2-RELEASE Tue Aug 25 00:31:29 UTC 2009 Distributing world for FreeBSD/amd64 7.2-RELEASE Tue Aug 25 00:32:36 UTC 2009 Building and distributing kernels for FreeBSD/amd64 7.2-RELEASE Tue Aug 25 00:44:44 UTC 2009 Constructing world components for FreeBSD/amd64 7.2-RELEASE Tue Aug 25 00:44:56 UTC 2009 Distributing source for FreeBSD/amd64 7.2-RELEASE Mon Aug 24 17:46:18 PDT 2009 Moving components into staging area for FreeBSD/amd64 7.2-RELEASE Mon Aug 24 17:46:33 PDT 2009 Identifying extra documentation for FreeBSD/amd64 7.2-RELEASE Mon Aug 24 17:47:13 PDT 2009 Extracting extra docs for FreeBSD/amd64 7.2-RELEASE Mon Aug 24 17:47:18 PDT 2009 Indexing release for FreeBSD/amd64 7.2-RELEASE Mon Aug 24 17:50:44 PDT 2009 Indexing world0 for FreeBSD/amd64 7.2-RELEASE Files built but not released: Files released but not built: Files which differ by more than contents: Files which differ between release and build: kernel|generic|/GENERIC/hptrr.ko kernel|generic|/GENERIC/kernel src|sys|/sys/conf/newvers.sh world|base|/boot/loader world|base|/boot/pxeboot world|base|/etc/mail/freebsd.cf world|base|/etc/mail/freebsd.submit.cf world|base|/etc/mail/sendmail.cf world|base|/etc/mail/submit.cf world|base|/lib/libcrypto.so.5 world|base|/usr/bin/ntpq world|base|/usr/lib/libalias.a world|base|/usr/lib/libalias_cuseeme.a world|base|/usr/lib/libalias_dummy.a world|base|/usr/lib/libalias_ftp.a ... .... Em seguida, a compilação do target "world" é realizada novamente, com patches de "world". Uma explicação mais detalhada pode ser encontrada em [.filename]#scripts/build.subr#. [WARNING] ==== Durante esse segundo ciclo de compilação, o daemon do protocolo de tempo de rede, man:ntpd[8], é desativado. Conforme o `{cperciva}`, Oficial de Segurança Emérito do FreeBSD, "o código de compilação do https://github.com/freebsd/freebsd-update-build/[freebsd-update-server] precisa identificar carimbos de data/hora que são armazenados em arquivos para que eles possam ser ignorados ao comparar compilações e determinar quais arquivos precisam ser atualizados. Esse processo de localização de carimbos de data/hora funciona fazendo duas compilações com 400 dias de intervalo e comparando os resultados." ==== [source, shell] .... Mon Aug 24 17:54:07 PDT 2009 Extracting world+src for FreeBSD/amd64 7.2-RELEASE Wed Sep 29 00:54:34 UTC 2010 Building world for FreeBSD/amd64 7.2-RELEASE Wed Sep 29 01:49:42 UTC 2010 Distributing world for FreeBSD/amd64 7.2-RELEASE Wed Sep 29 01:50:50 UTC 2010 Building and distributing kernels for FreeBSD/amd64 7.2-RELEASE Wed Sep 29 02:02:56 UTC 2010 Constructing world components for FreeBSD/amd64 7.2-RELEASE Wed Sep 29 02:03:08 UTC 2010 Distributing source for FreeBSD/amd64 7.2-RELEASE Tue Sep 28 19:04:31 PDT 2010 Moving components into staging area for FreeBSD/amd64 7.2-RELEASE Mon Aug 24 19:04:46 PDT 2009 Extracting extra docs for FreeBSD/amd64 7.2-RELEASE Mon Aug 24 19:04:51 PDT 2009 Indexing world1 for FreeBSD/amd64 7.2-RELEASE Mon Aug 24 19:08:04 PDT 2009 Locating build stamps for FreeBSD/amd64 7.2-RELEASE Mon Aug 24 19:10:19 PDT 2009 Cleaning staging area for FreeBSD/amd64 7.2-RELEASE Mon Aug 24 19:10:19 PDT 2009 Preparing to copy files into staging area for FreeBSD/amd64 7.2-RELEASE Mon Aug 24 19:10:20 PDT 2009 Copying data files into staging area for FreeBSD/amd64 7.2-RELEASE Mon Aug 24 12:16:57 PDT 2009 Copying metadata files into staging area for FreeBSD/amd64 7.2-RELEASE Mon Aug 24 12:16:59 PDT 2009 Constructing metadata index and tag for FreeBSD/amd64 7.2-RELEASE Files found which include build stamps: kernel|generic|/GENERIC/hptrr.ko kernel|generic|/GENERIC/kernel world|base|/boot/loader world|base|/boot/pxeboot world|base|/etc/mail/freebsd.cf world|base|/etc/mail/freebsd.submit.cf world|base|/etc/mail/sendmail.cf world|base|/etc/mail/submit.cf world|base|/lib/libcrypto.so.5 world|base|/usr/bin/ntpq world|base|/usr/include/osreldate.h world|base|/usr/lib/libalias.a world|base|/usr/lib/libalias_cuseeme.a world|base|/usr/lib/libalias_dummy.a world|base|/usr/lib/libalias_ftp.a ... .... Por fim, a compilação é concluída. [source, shell] .... Values of build stamps, excluding library archive headers: v1.2 (Aug 25 2009 00:40:36) v1.2 (Aug 25 2009 00:38:22) @()FreeBSD 7.2-RELEASE 0: Tue Aug 25 00:38:29 UTC 2009 FreeBSD 7.2-RELEASE 0: Tue Aug 25 00:38:29 UTC 2009 root@server.myhost.com:/usr/obj/usr/src/sys/GENERIC 7.2-RELEASE Mon Aug 24 23:55:25 UTC 2009 Mon Aug 24 23:55:25 UTC 2009 built by root@server.myhost.com on Tue Aug 25 00:16:15 UTC 2009 built by root@server.myhost.com on Tue Aug 25 00:16:15 UTC 2009 built by root@server.myhost.com on Tue Aug 25 00:16:15 UTC 2009 built by root@server.myhost.com on Tue Aug 25 00:16:15 UTC 2009 Mon Aug 24 23:46:47 UTC 2009 ntpq 4.2.4p5-a Mon Aug 24 23:55:53 UTC 2009 (1) * Copyright (c) 1992-2009 The FreeBSD Project. Mon Aug 24 23:46:47 UTC 2009 Mon Aug 24 23:55:40 UTC 2009 Aug 25 2009 ntpd 4.2.4p5-a Mon Aug 24 23:55:52 UTC 2009 (1) ntpdate 4.2.4p5-a Mon Aug 24 23:55:53 UTC 2009 (1) ntpdc 4.2.4p5-a Mon Aug 24 23:55:53 UTC 2009 (1) Tue Aug 25 00:21:21 UTC 2009 Tue Aug 25 00:21:21 UTC 2009 Tue Aug 25 00:21:21 UTC 2009 Mon Aug 24 23:46:47 UTC 2009 FreeBSD/amd64 7.2-RELEASE initialization build complete. Please review the list of build stamps printed above to confirm that they look sensible, then run sh -e approve.sh amd64 7.2-RELEASE to sign the release. .... Aprove a compilação se tudo estiver correto. Mais informações sobre como determinar isso podem ser encontradas no arquivo de origem da distribuição chamado [.filename]#USAGE#. Execute [.filename]#scripts/approve.sh#, conforme indicado. Isso irá assinar a versão e mover os componentes para uma área de preparação adequada para o upload. [source, shell] .... # cd /usr/local/freebsd-update-server # sh scripts/mountkey.sh .... [source, shell] .... # sh -e scripts/approve.sh amd64 7.2-RELEASE Wed Aug 26 12:50:06 PDT 2009 Signing build for FreeBSD/amd64 7.2-RELEASE Wed Aug 26 12:50:06 PDT 2009 Copying files to patch source directories for FreeBSD/amd64 7.2-RELEASE Wed Aug 26 12:50:06 PDT 2009 Copying files to upload staging area for FreeBSD/amd64 7.2-RELEASE Wed Aug 26 12:50:07 PDT 2009 Updating databases for FreeBSD/amd64 7.2-RELEASE Wed Aug 26 12:50:07 PDT 2009 Cleaning staging area for FreeBSD/amd64 7.2-RELEASE .... Após a conclusão do processo de aprovação, o procedimento de upload pode ser iniciado. [source, shell] .... # cd /usr/local/freebsd-update-server # sh scripts/upload.sh amd64 7.2-RELEASE .... [NOTE] ==== Caso o código de atualização precise ser reenviado, isso pode ser feito alterando para o diretório de distribuições públicas do release de destino e atualizando os atributos do arquivo já _enviado_. [source, shell] .... # cd /usr/local/freebsd-update-server/pub/7.2-RELEASE/amd64 # touch -t 200801010101.01 uploaded .... ==== Os arquivos enviados precisarão estar no diretório raiz de documentos do servidor web para que as atualizações possam ser distribuídas. A configuração exata variará dependendo do servidor web utilizado. Para o servidor web Apache, consulte a seção extref:{handbook}[Configuração de servidores Apache, network-apache] no Handbook. Atualize o `KeyPrint` e o `ServerName` do cliente em [.filename]#/etc/freebsd-update.conf#, e execute as atualizações conforme instruído na seção extref:{handbook}[Atualização do FreeBSD, updating-upgrading-freebsdupdate] do Handbook. [IMPORTANT] ==== Para que o Servidor de Atualização do FreeBSD funcione corretamente, as atualizações tanto para o release _atual_ quanto para o release _para o qual se deseja atualizar_ precisam ser compiladas. Isso é necessário para determinar as diferenças nos arquivos entre os releases. Por exemplo, ao atualizar um sistema FreeBSD da versão 7.1-RELEASE para a versão 7.2-RELEASE, as atualizações precisarão ser compiladas e enviadas para o seu servidor de distribuição para ambas as versões. ==== Para referência, toda a execução do link:../../source/articles/freebsd-update-server/init.txt[init.sh] está anexada. [[patch]] == Compilando um Patch Toda vez que uma link:https://www.FreeBSD.org/security/advisories/[recomendação de segurança] ou um link:https://www.FreeBSD.org/security/notices/[aviso de segurança] é anunciado, uma atualização de patch pode ser compilada. Para este exemplo, o 7.1-RELEASE será usado. Algumas suposições são feitas para compilar uma release diferente: * Configure a estrutura de diretórios correta para a compilação inicial. * Execute uma compilação inicial para o 7.1-RELEASE. Crie o diretório de patches do respectivo release em [.filename]#/usr/local/freebsd-update-server/patches/#. [source, shell] .... % mkdir -p /usr/local/freebsd-update-server/patches/7.1-RELEASE/ % cd /usr/local/freebsd-update-server/patches/7.1-RELEASE .... Como exemplo, considere o patch para o man:named[8]. Leia o aviso e pegue o arquivo necessário em link:https://www.FreeBSD.org/security/advisories/[Avisos de Segurança do FreeBSD]. Mais informações sobre a interpretação do aviso podem ser encontradas no extref:{handbook}[Handbook do FreeBSD, security-advisories]. No https://security.freebsd.org/advisories/FreeBSD-SA-09:12.bind.asc[informe de segurança], este aviso é chamado de `SA-09:12.bind`. Após o download do arquivo, é necessário renomeá-lo para um nível de patch apropriado. É sugerido manter isso consistente com os níveis de patch oficiais do FreeBSD, mas seu nome pode ser escolhido livremente . Para esta compilação, vamos seguir a prática atualmente estabelecida do FreeBSD e chamá-la de `p7`. Renomeie o arquivo: [source, shell] .... % cd /usr/local/freebsd-update-server/patches/7.1-RELEASE/; mv bind.patch 7-SA-09:12.bind .... [NOTE] ==== Ao executar uma compilação de nível de patch, presume-se que os patches anteriores estão em vigor. Quando uma compilação de patch é executada, ela executará todos os patches contidos no diretório de patch. Podem ser adicionados patches personalizados a qualquer compilação. Use o número zero ou qualquer outro número. ==== [WARNING] ==== Cabe ao administrador do Servidor de Atualização do FreeBSD tomar as medidas apropriadas para verificar a autenticidade de cada patch. ==== Neste ponto, um _diff_ está pronto para ser compilado. O software verifica primeiro se um [.filename]#scripts/init.sh# foi executado no respectivo release antes de executar a compilação do _diff_. [source, shell] .... # cd /usr/local/freebsd-update-server # sh scripts/diff.sh amd64 7.1-RELEASE 7 .... A seguir, segue um exemplo de execução de compilação _diferencial_. [source, shell] .... # sh -e scripts/diff.sh amd64 7.1-RELEASE 7 Wed Aug 26 10:09:59 PDT 2009 Extracting world+src for FreeBSD/amd64 7.1-RELEASE-p7 Wed Aug 26 17:10:25 UTC 2009 Building world for FreeBSD/amd64 7.1-RELEASE-p7 Wed Aug 26 18:05:11 UTC 2009 Distributing world for FreeBSD/amd64 7.1-RELEASE-p7 Wed Aug 26 18:06:16 UTC 2009 Building and distributing kernels for FreeBSD/amd64 7.1-RELEASE-p7 Wed Aug 26 18:17:50 UTC 2009 Constructing world components for FreeBSD/amd64 7.1-RELEASE-p7 Wed Aug 26 18:18:02 UTC 2009 Distributing source for FreeBSD/amd64 7.1-RELEASE-p7 Wed Aug 26 11:19:23 PDT 2009 Moving components into staging area for FreeBSD/amd64 7.1-RELEASE-p7 Wed Aug 26 11:19:37 PDT 2009 Extracting extra docs for FreeBSD/amd64 7.1-RELEASE-p7 Wed Aug 26 11:19:42 PDT 2009 Indexing world0 for FreeBSD/amd64 7.1-RELEASE-p7 Wed Aug 26 11:23:02 PDT 2009 Extracting world+src for FreeBSD/amd64 7.1-RELEASE-p7 Thu Sep 30 18:23:29 UTC 2010 Building world for FreeBSD/amd64 7.1-RELEASE-p7 Thu Sep 30 19:18:15 UTC 2010 Distributing world for FreeBSD/amd64 7.1-RELEASE-p7 Thu Sep 30 19:19:18 UTC 2010 Building and distributing kernels for FreeBSD/amd64 7.1-RELEASE-p7 Thu Sep 30 19:30:52 UTC 2010 Constructing world components for FreeBSD/amd64 7.1-RELEASE-p7 Thu Sep 30 19:31:03 UTC 2010 Distributing source for FreeBSD/amd64 7.1-RELEASE-p7 Thu Sep 30 12:32:25 PDT 2010 Moving components into staging area for FreeBSD/amd64 7.1-RELEASE-p7 Wed Aug 26 12:32:39 PDT 2009 Extracting extra docs for FreeBSD/amd64 7.1-RELEASE-p7 Wed Aug 26 12:32:43 PDT 2009 Indexing world1 for FreeBSD/amd64 7.1-RELEASE-p7 Wed Aug 26 12:35:54 PDT 2009 Locating build stamps for FreeBSD/amd64 7.1-RELEASE-p7 Wed Aug 26 12:36:58 PDT 2009 Reverting changes due to build stamps for FreeBSD/amd64 7.1-RELEASE-p7 Wed Aug 26 12:37:14 PDT 2009 Cleaning staging area for FreeBSD/amd64 7.1-RELEASE-p7 Wed Aug 26 12:37:14 PDT 2009 Preparing to copy files into staging area for FreeBSD/amd64 7.1-RELEASE-p7 Wed Aug 26 12:37:15 PDT 2009 Copying data files into staging area for FreeBSD/amd64 7.1-RELEASE-p7 Wed Aug 26 12:43:23 PDT 2009 Copying metadata files into staging area for FreeBSD/amd64 7.1-RELEASE-p7 Wed Aug 26 12:43:25 PDT 2009 Constructing metadata index and tag for FreeBSD/amd64 7.1-RELEASE-p7 ... Files found which include build stamps: kernel|generic|/GENERIC/hptrr.ko kernel|generic|/GENERIC/kernel world|base|/boot/loader world|base|/boot/pxeboot world|base|/etc/mail/freebsd.cf world|base|/etc/mail/freebsd.submit.cf world|base|/etc/mail/sendmail.cf world|base|/etc/mail/submit.cf world|base|/lib/libcrypto.so.5 world|base|/usr/bin/ntpq world|base|/usr/include/osreldate.h world|base|/usr/lib/libalias.a world|base|/usr/lib/libalias_cuseeme.a world|base|/usr/lib/libalias_dummy.a world|base|/usr/lib/libalias_ftp.a ... Values of build stamps, excluding library archive headers: v1.2 (Aug 26 2009 18:13:46) v1.2 (Aug 26 2009 18:11:44) @()FreeBSD 7.1-RELEASE-p7 0: Wed Aug 26 18:11:50 UTC 2009 FreeBSD 7.1-RELEASE-p7 0: Wed Aug 26 18:11:50 UTC 2009 root@server.myhost.com:/usr/obj/usr/src/sys/GENERIC 7.1-RELEASE-p7 Wed Aug 26 17:29:15 UTC 2009 Wed Aug 26 17:29:15 UTC 2009 built by root@server.myhost.com on Wed Aug 26 17:49:58 UTC 2009 built by root@server.myhost.com on Wed Aug 26 17:49:58 UTC 2009 built by root@server.myhost.com on Wed Aug 26 17:49:58 UTC 2009 built by root@server.myhost.com on Wed Aug 26 17:49:58 UTC 2009 Wed Aug 26 17:20:39 UTC 2009 ntpq 4.2.4p5-a Wed Aug 26 17:29:42 UTC 2009 (1) * Copyright (c) 1992-2009 The FreeBSD Project. Wed Aug 26 17:20:39 UTC 2009 Wed Aug 26 17:29:30 UTC 2009 Aug 26 2009 ntpd 4.2.4p5-a Wed Aug 26 17:29:41 UTC 2009 (1) ntpdate 4.2.4p5-a Wed Aug 26 17:29:42 UTC 2009 (1) ntpdc 4.2.4p5-a Wed Aug 26 17:29:42 UTC 2009 (1) Wed Aug 26 17:55:02 UTC 2009 Wed Aug 26 17:55:02 UTC 2009 Wed Aug 26 17:55:02 UTC 2009 Wed Aug 26 17:20:39 UTC 2009 ... .... As atualizações são impressas e a aprovação é solicitada. [source, shell] .... New updates: kernel|generic|/GENERIC/kernel.symbols|f|0|0|0555|0|7c8dc176763f96ced0a57fc04e7c1b8d793f27e006dd13e0b499e1474ac47e10| kernel|generic|/GENERIC/kernel|f|0|0|0555|0|33197e8cf15bbbac263d17f39c153c9d489348c2c534f7ca1120a1183dec67b1| kernel|generic|/|d|0|0|0755|0|| src|base|/|d|0|0|0755|0|| src|bin|/|d|0|0|0755|0|| src|cddl|/|d|0|0|0755|0|| src|contrib|/contrib/bind9/bin/named/update.c|f|0|10000|0644|0|4d434abf0983df9bc47435670d307fa882ef4b348ed8ca90928d250f42ea0757| src|contrib|/contrib/bind9/lib/dns/openssldsa_link.c|f|0|10000|0644|0|c6805c39f3da2a06dd3f163f26c314a4692d4cd9a2d929c0acc88d736324f550| src|contrib|/contrib/bind9/lib/dns/opensslrsa_link.c|f|0|10000|0644|0|fa0f7417ee9da42cc8d0fd96ad24e7a34125e05b5ae075bd6e3238f1c022a712| ... FreeBSD/amd64 7.1-RELEASE update build complete. Please review the list of build stamps printed above and the list of updated files to confirm that they look sensible, then run sh -e approve.sh amd64 7.1-RELEASE to sign the build. .... Siga o mesmo processo mencionado anteriormente para aprovar uma compilação: [source, shell] .... # sh -e scripts/approve.sh amd64 7.1-RELEASE Wed Aug 26 12:50:06 PDT 2009 Signing build for FreeBSD/amd64 7.1-RELEASE Wed Aug 26 12:50:06 PDT 2009 Copying files to patch source directories for FreeBSD/amd64 7.1-RELEASE Wed Aug 26 12:50:06 PDT 2009 Copying files to upload staging area for FreeBSD/amd64 7.1-RELEASE Wed Aug 26 12:50:07 PDT 2009 Updating databases for FreeBSD/amd64 7.1-RELEASE Wed Aug 26 12:50:07 PDT 2009 Cleaning staging area for FreeBSD/amd64 7.1-RELEASE The FreeBSD/amd64 7.1-RELEASE update build has been signed and is ready to be uploaded. Remember to run sh -e umountkey.sh to unmount the decrypted key once you have finished signing all the new builds. .... Depois de aprovar a compilação, faça o upload do software: [source, shell] .... # cd /usr/local/freebsd-update-server # sh scripts/upload.sh amd64 7.1-RELEASE .... Para referência, toda a execução do link:../../source/articles/freebsd-update-server/diff.txt[diff.sh] está anexada. [[tips]] == Dicas * Se um release personalizado for compilado usando o extref:{releng}[procedimento, release-build] nativo `make release`, o código do freebsd-update-server funcionará a partir do seu release. Como exemplo, um release sem ports ou documentação pode ser criado limpando a funcionalidade referente às sub-rotinas de documentação `findextradocs ()`, `addextradocs ()` e alterando o local de download em `fetchiso ()`, respectivamente, em [.filename]#scripts/build.subr#. Como último passo, altere a chave man:sha256[1] em [.filename]#build.conf# no seu respectivo release e arquitetura e você estará pronto para compilar o seu release personalizado. + [.programlisting] .... # Compare ${WORKDIR}/release and ${WORKDIR}/$1, identify which parts # of the world|doc subcomponent are missing from the latter, and # build a tarball out of them. findextradocs () { } # Add extra docs to ${WORKDIR}/$1 addextradocs () { } .... * Adicionar flags `-j _NUMERO_` para os alvos `buildworld` e `obj` no script [.filename]#scripts/build.subr# pode acelerar o processamento, dependendo do hardware utilizado, no entanto, não é necessário. Usar esses flags em outros alvos não é recomendado, pois pode fazer com que a compilação se torne pouco confiável. + [.programlisting] .... # Build the world log "Building world" cd /usr/src && make -j 2 ${COMPATFLAGS} buildworld 2>&1 # Distribute the world log "Distributing world" cd /usr/src/release && make -j 2 obj && make ${COMPATFLAGS} release.1 release.2 2>&1 .... * Crie um registro extref:{handbook}[DNS, network-dns] SRV apropriado para o servidor de atualização e coloque outros atrás dele com pesos variáveis. O uso dessa facilidade fornecerá espelhos de atualização, no entanto, essa dica não é necessária, a menos que você deseje fornecer um serviço redundante. + [.programlisting] .... _http._tcp.update.myserver.com. IN SRV 0 2 80 host1.myserver.com. IN SRV 0 1 80 host2.myserver.com. IN SRV 0 0 80 host3.myserver.com. .... diff --git a/documentation/content/pt-br/articles/freebsd-update-server/_index.po b/documentation/content/pt-br/articles/freebsd-update-server/_index.po index 2159de25d0..91cf5a1873 100644 --- a/documentation/content/pt-br/articles/freebsd-update-server/_index.po +++ b/documentation/content/pt-br/articles/freebsd-update-server/_index.po @@ -1,1562 +1,1503 @@ # SOME DESCRIPTIVE TITLE # Copyright (C) YEAR The FreeBSD Project # This file is distributed under the same license as the FreeBSD Documentation package. # Danilo G. Baio , 2021. # Edson Brandi , 2023. -# "Danilo G. Baio" , 2023. +# "Danilo G. Baio" , 2023, 2024. msgid "" msgstr "" "Project-Id-Version: FreeBSD Documentation VERSION\n" -"POT-Creation-Date: 2022-07-07 23:23-0300\n" -"PO-Revision-Date: 2023-04-22 20:29+0000\n" -"Last-Translator: Edson Brandi \n" +"POT-Creation-Date: 2024-01-17 20:35-0300\n" +"PO-Revision-Date: 2024-12-29 21:39+0000\n" +"Last-Translator: \"Danilo G. Baio\" \n" "Language-Team: Portuguese (Brazil) \n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 4.17\n" #. type: YAML Front Matter: description #: documentation/content/en/articles/freebsd-update-server/_index.adoc:1 #, no-wrap msgid "Building your own freebsd-update server allows a system administrator to perform fast updates for a number of machines from a local mirror" -msgstr "" -"Construir seu próprio servidor freebsd-update permite que um administrador " -"de sistema realize atualizações rápidas para vários computadores a partir de " -"um espelho local" +msgstr "Construir seu próprio servidor freebsd-update permite que um administrador de sistema realize atualizações rápidas para vários computadores a partir de um espelho local" #. type: Title = #: documentation/content/en/articles/freebsd-update-server/_index.adoc:1 #: documentation/content/en/articles/freebsd-update-server/_index.adoc:12 #, no-wrap msgid "Build Your Own FreeBSD Update Server" msgstr "Construa seu próprio servidor de atualização do FreeBSD" +#. type: delimited block = 4 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:51 +msgid "" +"The instructions in this article refer to an older version of FreeBSD and " +"may not work properly on recent versions of the OS. With the availability of " +"pkgbase, the freebsd-update utility is scheduled to be removed from FreeBSD " +"in the future. When that happens, this article is either updated to reflect " +"the new procedures or removed entirely." +msgstr "" +"As instruções neste artigo se referem a uma versão mais antiga do FreeBSD e " +"podem não funcionar corretamente em versões recentes do SO. Com a " +"disponibilidade do pkgbase, o utilitário freebsd-update está programado para " +"ser removido do FreeBSD no futuro. Quando isso acontecer, este artigo será " +"atualizado para refletir os novos procedimentos ou removido completamente." + #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:45 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:55 msgid "Abstract" msgstr "Resumo" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:49 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:59 msgid "" "This article describes building an internal FreeBSD Update Server. The " "https://github.com/freebsd/freebsd-update-build/[freebsd-update-server] is " "written by `{cperciva}`, Security Officer Emeritus of FreeBSD. For users " "that think it is convenient to update their systems against an official " "update server, building their own FreeBSD Update Server may help to extend " "its functionality by supporting manually-tweaked FreeBSD releases or by " "providing a local mirror that will allow faster updates for a number of " "machines." msgstr "" "Este artigo descreve a construção de um Servidor Interno de Atualização do " "FreeBSD. O https://github.com/freebsd/freebsd-update-build/[freebsd-update-" "server] é escrito por `{cperciva}`, Oficial de Segurança Emérito do FreeBSD. " "Para usuários que acham conveniente atualizar seus sistemas em relação a um " "servidor de atualização oficial, a construção de seu próprio Servidor de " "Atualização do FreeBSD pode ajudar a estender sua funcionalidade ao suportar " "versões do FreeBSD ajustadas manualmente ou fornecer um espelho local que " "permitirá atualizações mais rápidas para vários computadores." #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:51 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:61 msgid "'''" msgstr "'''" #. type: Title == -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:55 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:65 #, no-wrap msgid "Acknowledgments" msgstr "Agradecimentos" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:58 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:68 msgid "" "This article was subsequently printed at https://people.freebsd.org/~jgh/" "files/fus/BSD_03_2010_EN.pdf[BSD Magazine]." msgstr "" "Este artigo foi posteriormente impresso na revista https://people.freebsd." "org/~jgh/files/fus/BSD_03_2010_EN.pdf[BSD Magazine]." #. type: Title == -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:60 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:70 #, no-wrap msgid "Introduction" msgstr "Introdução" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:67 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:77 msgid "" "Experienced users or administrators are often responsible for several " "machines or environments. They understand the difficult demands and " "challenges of maintaining such an infrastructure. Running a FreeBSD Update " "Server makes it easier to deploy security and software patches to selected " "test machines before rolling them out to production. It also means a number " "of systems can be updated from the local network rather than a potentially " "slower Internet connection. This article outlines the steps involved in " "creating an internal FreeBSD Update Server." msgstr "" "Usuários ou administradores experientes frequentemente são responsáveis por " "várias máquinas ou ambientes. Eles entendem as exigências e desafios " "difíceis de manter essa infraestrutura. Executar um Servidor de Atualização " "do FreeBSD torna mais fácil implantar patches de segurança e atualizações " "de software para máquinas de teste selecionadas antes de implementá-los nos " "servidores de produção. Também significa que vários sistemas podem ser " "atualizados a partir da rede local em vez de uma conexão com a Internet " "potencialmente mais lenta. Este artigo descreve os passos envolvidos na " "criação de um Servidor Interno de Atualização do FreeBSD." #. type: Title == -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:69 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:79 #, no-wrap msgid "Prerequisites" msgstr "Pré-requisitos" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:72 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:82 msgid "" "To build an internal FreeBSD Update Server some requirements should be met." msgstr "" "Para construir um Servidor Interno de Atualização do FreeBSD, alguns " "requisitos devem ser atendidos." #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:74 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:84 msgid "A running FreeBSD system." msgstr "Um sistema FreeBSD em execução." #. type: delimited block = 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:78 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:88 msgid "" "At a minimum, updates require building on a FreeBSD release greater than or " "equal to the target release version for distribution." msgstr "" "No mínimo, as atualizações requerem a criação de uma versão do FreeBSD maior " "ou igual a versão do release alvo para a distribuição." #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:80 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:90 msgid "" "A user account with at least 4 GB of available space. This will allow the " "creation of updates for 7.1 and 7.2, but the exact space requirements may " "change from version to version." msgstr "" "Uma conta de usuário com pelo menos 4 GB de espaço disponível. Isso " "permitirá a criação de atualizações para 7.1 e 7.2, mas os requisitos de " "espaço exatos podem mudar de versão para versão." #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:81 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:91 msgid "" "An man:ssh[1] account on a remote machine to upload distributed updates." msgstr "" "Uma conta man:ssh[1] em uma máquina remota para fazer o upload das " "atualizações que serão distribuídas." #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:82 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:92 msgid "" "A web server, like extref:{handbook}[Apache, network-apache], with over half " "of the space required for the build. For instance, test builds for 7.1 and " "7.2 consume a total amount of 4 GB, and the webserver space needed to " "distribute these updates is 2.6 GB." msgstr "" "Um servidor web, como o extref:{handbook}[Apache, network-apache], com mais " "da metade do espaço necessário para a compilação. Por exemplo, as " "compilações de teste para 7.1 e 7.2 consomem uma quantidade total de 4 GB, e " "o espaço necessário no servidor web para distribuir essas atualizações é de " "2,6 GB." #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:83 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:93 msgid "Basic knowledge of shell scripting with Bourne shell, man:sh[1]." msgstr "Conhecimento básico de script shell com o shell Bourne, man:sh[1]." #. type: Title == -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:85 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:95 #, no-wrap msgid "Configuration: Installation & Setup" msgstr "Configuração: Instalação e Setup" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:88 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:98 msgid "" "Download the https://github.com/freebsd/freebsd-update-build/[freebsd-update-" "server] software by installing package:devel/git[] and package:security/" "ca_root_nss[], and execute:" msgstr "" "Faça o download do software https://github.com/freebsd/freebsd-update-build/" "[freebsd-update-server] instalando os pacotes package:devel/git[] e package:" "security/ca_root_nss[], e execute:" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:92 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:102 #, no-wrap msgid "% git clone https://github.com/freebsd/freebsd-update-build.git freebsd-update-server\n" -msgstr "" -"% git clone https://github.com/freebsd/freebsd-update-build.git freebsd-" -"update-server\n" +msgstr "% git clone https://github.com/freebsd/freebsd-update-build.git freebsd-update-server\n" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:96 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:106 msgid "" "Update [.filename]#scripts/build.conf# appropriately. It is sourced during " "all build operations." msgstr "" "Atualize o arquivo [.filename]#scripts/build.conf# adequadamente. Ele será " "usado durante todas as operações de compilação." #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:98 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:108 msgid "" "Here is the default [.filename]#build.conf#, which should be modified to " "suit your environment." msgstr "" "Aqui está o [.filename]#build.conf# padrão, que deve ser modificado para " "atender ao seu ambiente." #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:104 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:114 #, no-wrap msgid "" "# Main configuration file for FreeBSD Update builds. The\n" "# release-specific configuration data is lower down in\n" "# the scripts tree.\n" msgstr "" "# Arquivo de configuração principal para compilações do FreeBSD Update. \n" "# Os dados de configuração específicos do lançamento estão mais abaixo \n" "# na árvore de scripts.\n" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:107 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:117 #, no-wrap msgid "" "# Location from which to fetch releases\n" "export FTP=ftp://ftp2.freebsd.org/pub/FreeBSD/releases <.>\n" msgstr "" "# Local de onde buscar os releases\n" "export FTP=ftp://ftp2.freebsd.org/pub/FreeBSD/releases <.>\n" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:110 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:120 #, no-wrap msgid "" "# Host platform\n" "export HOSTPLATFORM=`uname -m`\n" msgstr "" "# Plataforma do host\n" "export HOSTPLATFORM=`uname -m`\n" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:113 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:123 #, no-wrap msgid "" "# Host name to use inside jails\n" "export BUILDHOSTNAME=${HOSTPLATFORM}-builder.daemonology.net <.>\n" msgstr "" "# Nome do host a ser usado dentro das jails\n" "export BUILDHOSTNAME=${HOSTPLATFORM}-builder.daemonology.net <.>\n" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:116 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:126 #, no-wrap msgid "" "# Location of SSH key\n" "export SSHKEY=/root/.ssh/id_dsa <.>\n" msgstr "" "# Localização da chave privada SSH \n" "export SSHKEY=/root/.ssh/id_dsa <.>\n" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:119 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:129 #, no-wrap msgid "" "# SSH account into which files are uploaded\n" "MASTERACCT=builder@wadham.daemonology.net <.>\n" msgstr "" "# Conta SSH para a qual os arquivos são enviados\n" "MASTERACCT=builder@wadham.daemonology.net <.>\n" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:122 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:132 #, no-wrap msgid "" "# Directory into which files are uploaded\n" "MASTERDIR=update-master.freebsd.org <.>\n" msgstr "" "# Diretório para o qual os arquivos são enviados\n" "MASTERDIR=update-master.freebsd.org <.>\n" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:125 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:135 msgid "Parameters for consideration would be:" msgstr "Os parâmetros a serem considerados seriam:" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:128 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:138 msgid "" "This is the location where ISO images are downloaded from (by the " "`fetchiso()` subroutine of [.filename]#scripts/build.subr#). The location " "configured is not limited to FTP URIs. Any URI scheme supported by standard " "man:fetch[1] utility should work fine. Customizations to the `fetchiso()` " "code can be installed by copying the default [.filename]#build.subr# script " "to the release and architecture-specific area at [.filename]#scripts/RELEASE/" "ARCHITECTURE/build.subr# and applying local changes." msgstr "" "Este é o local de onde as imagens ISO são baixadas (pela sub-rotina " "`fetchiso()` do arquivo [.filename]#scripts/build.subr#). A localização " "configurada não se limita a URIs FTP. Qualquer esquema de URI suportado pelo " "utilitário padrão man:fetch[1] deve funcionar bem. Personalizações para o " "código `fetchiso()` podem ser instaladas copiando o arquivo padrão [." "filename]#build.subr# para a área específica de release e arquitetura em [." "filename]#scripts/RELEASE/ARCHITECTURE/build.subr# e aplicando alterações " "locais." #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:130 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:140 msgid "" "The name of the build host. This information will be displayed on updated " "systems when issuing:" msgstr "" "O nome do host de compilação. Essa informação será exibida em sistemas " "atualizados ao emitir o comando:" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:134 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:144 #, no-wrap msgid "% uname -v\n" msgstr "% uname -v\n" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:138 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:148 msgid "" "The SSH key for uploading files to the update server. A key pair can be " "created by typing `ssh-keygen -t dsa`. This parameter is optional; standard " "password authentication will be used as a fallback authentication method " "when `SSHKEY` is not defined. The man:ssh-keygen[1] manual page has more " "detailed information about SSH and the appropriate steps for creating and " "using one." msgstr "" "A chave SSH para enviar arquivos para o servidor de atualização. Um par de " "chaves pode ser criado digitando `ssh-keygen -t dsa`. Este parâmetro é " "opcional; a autenticação padrão por senha será usada como método de " "autenticação de fallback quando o `SSHKEY` não estiver definido. A página do " "manual man:ssh-keygen[1] contém informações mais detalhadas sobre o SSH e os " "passos apropriados para criar e usar uma chave." #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:140 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:150 msgid "Account for uploading files to the update server." msgstr "Conta para enviar os arquivos para o servidor de atualização." #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:142 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:152 msgid "Directory on the update server where files are uploaded to." msgstr "Diretório no servidor de atualização onde os arquivos são enviados." #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:144 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:154 msgid "" "The default [.filename]#build.conf# shipped with the freebsd-update-server " "sources is suitable for building i386 releases of FreeBSD. As an example of " "building an update server for other architectures, the following steps " "outline the configuration changes needed for amd64:" msgstr "" "O [.filename]#build.conf# padrão fornecido com o código fonte do freebsd-" "update-server é adequado para compilar releases do FreeBSD para a " "arquitetura i386. Como exemplo de compilação de um servidor de atualização " "para outras arquiteturas, os seguintes passos resumem as alterações de " "configuração necessárias para a arquitetura amd64:" #. type: delimited block = 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:148 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:158 msgid "Create a build environment for amd64:" msgstr "Crie um ambiente de compilação para o amd64:" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:152 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:162 #, no-wrap msgid "% mkdir -p /usr/local/freebsd-update-server/scripts/7.2-RELEASE/amd64\n" msgstr "% mkdir -p /usr/local/freebsd-update-server/scripts/7.2-RELEASE/amd64\n" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:155 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:165 msgid "" "Install a [.filename]#build.conf# in the newly created build directory. The " "build configuration options for FreeBSD 7.2-RELEASE on amd64 should be " "similar to:" msgstr "" "Instale um arquivo [.filename]#build.conf# no diretório de compilação recém-" "criado. As opções de configuração de compilação para o FreeBSD 7.2-RELEASE " "em amd64 devem ser semelhantes a:" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:166 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:176 #, no-wrap msgid "" "# SHA256 hash of RELEASE disc1.iso image.\n" "export RELH=1ea1f6f652d7c5f5eab7ef9f8edbed50cb664b08ed761850f95f48e86cc71ef5 <.>\n" "# Components of the world, source, and kernels\n" "export WORLDPARTS=\"base catpages dict doc games info manpages proflibs lib32\"\n" "export SOURCEPARTS=\"base bin contrib crypto etc games gnu include krb5 \\\n" " lib libexec release rescue sbin secure share sys tools \\\n" " ubin usbin cddl\"\n" "export KERNELPARTS=\"generic\"\n" msgstr "" "# SHA256 hash of RELEASE disc1.iso image.\n" -"export RELH=1ea1f6f652d7c5f5eab7ef9f8edbed50cb664b08ed761850f95f48e86cc71ef5 " -"<.>\n" +"export RELH=1ea1f6f652d7c5f5eab7ef9f8edbed50cb664b08ed761850f95f48e86cc71ef5 <.>\n" "# Components of the world, source, and kernels\n" -"export WORLDPARTS=\"base catpages dict doc games info manpages proflibs " -"lib32\"\n" +"export WORLDPARTS=\"base catpages dict doc games info manpages proflibs lib32\"\n" "export SOURCEPARTS=\"base bin contrib crypto etc games gnu include krb5 \\\n" " lib libexec release rescue sbin secure share sys tools \\\n" " ubin usbin cddl\"\n" "export KERNELPARTS=\"generic\"\n" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:169 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:179 #, no-wrap msgid "" "# EOL date\n" "export EOL=1275289200 <.>\n" msgstr "" "# EOL date\n" "export EOL=1275289200 <.>\n" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:172 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:182 msgid "" "The man:sha256[1] hash key for the desired release, is published within the " "respective link:https://www.FreeBSD.org/releases/[release announcement]." msgstr "" "A chave hash man:sha256[1] para o release desejado está publicada dentro do " "respectivo link:https://www.FreeBSD.org/releases/[anúncio de release]." #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:173 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:183 msgid "" "To generate the \"End of Life\" number for [.filename]#build.conf#, refer to " "the \"Estimated EOL\" posted on the link:https://www.FreeBSD.org/security/" "security/[FreeBSD Security Website]. The value of `EOL` can be derived from " "the date listed on the web site, using the man:date[1] utility, for example:" msgstr "" "Para gerar o número \"End of Life\" para o arquivo [.filename]#build.conf#, " "consulte o \"Estimated EOL\" publicado no link:https://www.FreeBSD.org/" "security/security/[Site de Segurança do FreeBSD]. O valor de `EOL` pode ser " "derivado da data listada no site da web, usando o utilitário man:date[1], " "por exemplo:" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:177 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:187 #, no-wrap msgid "% date -j -f '%Y%m%d-%H%M%S' '20090401-000000' '+%s'\n" msgstr "% date -j -f '%Y%m%d-%H%M%S' '20090401-000000' '+%s'\n" #. type: Title == -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:181 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:191 #, no-wrap msgid "Building Update Code" msgstr "Compilando o Código de Atualização" #. type: delimited block = 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:186 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:196 msgid "" "The first step is to run [.filename]#scripts/make.sh#. This will build some " "binaries, create directories, and generate an RSA signing key used for " "approving builds. In this step, a passphrase will have to be supplied for " "the final creation of the signing key." msgstr "" "O primeiro passo é executar o [.filename]#scripts/make.sh#. Isso irá " "compilar alguns binários, criar diretórios e gerar uma chave de assinatura " "RSA usada para aprovar as compilações. Nesta etapa, uma frase secreta terá " "que ser fornecida para a criação final da chave de assinatura." #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:201 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:211 #, no-wrap msgid "" "# sh scripts/make.sh\n" "cc -O2 -fno-strict-aliasing -pipe findstamps.c -o findstamps\n" "findstamps.c: In function 'usage':\n" "findstamps.c:45: warning: incompatible implicit declaration of built-in function 'exit'\n" "cc -O2 -fno-strict-aliasing -pipe unstamp.c -o unstamp\n" "install findstamps ../bin\n" "install unstamp ../bin\n" "rm -f findstamps unstamp\n" "Generating RSA private key, 4096 bit long modulus\n" "................................................................................++\n" "...................++\n" "e is 65537 (0x10001)\n" msgstr "" "# sh scripts/make.sh\n" "cc -O2 -fno-strict-aliasing -pipe findstamps.c -o findstamps\n" "findstamps.c: In function 'usage':\n" -"findstamps.c:45: warning: incompatible implicit declaration of built-in " -"function 'exit'\n" +"findstamps.c:45: warning: incompatible implicit declaration of built-in function 'exit'\n" "cc -O2 -fno-strict-aliasing -pipe unstamp.c -o unstamp\n" "install findstamps ../bin\n" "install unstamp ../bin\n" "rm -f findstamps unstamp\n" "Generating RSA private key, 4096 bit long modulus\n" -"............................................................................." -"...++\n" +"................................................................................++\n" "...................++\n" "e is 65537 (0x10001)\n" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:204 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:214 #, no-wrap msgid "" "Public key fingerprint:\n" "27ef53e48dc869eea6c3136091cc6ab8589f967559824779e855d58a2294de9e\n" msgstr "" "Public key fingerprint:\n" "27ef53e48dc869eea6c3136091cc6ab8589f967559824779e855d58a2294de9e\n" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:208 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:218 #, no-wrap msgid "" "Encrypting signing key for root\n" "enter aes-256-cbc encryption password:\n" "Verifying - enter aes-256-cbc encryption password:\n" msgstr "" "Encrypting signing key for root\n" "enter aes-256-cbc encryption password:\n" "Verifying - enter aes-256-cbc encryption password:\n" #. type: delimited block = 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:214 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:224 msgid "" "Keep a note of the generated key fingerprint. This value is required in [." "filename]#/etc/freebsd-update.conf# for binary updates." msgstr "" "Anote a impressão digital da chave gerada. Este valor será necessário no [." "filename]#/etc/freebsd-update.conf# para as atualizações binárias." #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:217 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:227 msgid "At this point, we are ready to stage a build." msgstr "Neste ponto, estamos prontos para preparar uma compilação." #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:222 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:232 #, no-wrap msgid "" "# cd /usr/local/freebsd-update-server\n" "# sh scripts/init.sh amd64 7.2-RELEASE\n" msgstr "" "# cd /usr/local/freebsd-update-server\n" "# sh scripts/init.sh amd64 7.2-RELEASE\n" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:225 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:235 msgid "What follows is a sample of an _initial_ build run." msgstr "A seguir, segue um exemplo da execução de uma compilação _inicial_." #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:245 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:255 #, no-wrap msgid "" "# sh scripts/init.sh amd64 7.2-RELEASE\n" "Mon Aug 24 16:04:36 PDT 2009 Starting fetch for FreeBSD/amd64 7.2-RELEASE\n" "/usr/local/freebsd-update-server/work/7.2-RELE100 of 588 MB 359 kBps 00m00s\n" "Mon Aug 24 16:32:38 PDT 2009 Verifying disc1 hash for FreeBSD/amd64 7.2-RELEASE\n" "Mon Aug 24 16:32:44 PDT 2009 Extracting components for FreeBSD/amd64 7.2-RELEASE\n" "Mon Aug 24 16:34:05 PDT 2009 Constructing world+src image for FreeBSD/amd64 7.2-RELEASE\n" "Mon Aug 24 16:35:57 PDT 2009 Extracting world+src for FreeBSD/amd64 7.2-RELEASE\n" "Mon Aug 24 23:36:24 UTC 2009 Building world for FreeBSD/amd64 7.2-RELEASE\n" "Tue Aug 25 00:31:29 UTC 2009 Distributing world for FreeBSD/amd64 7.2-RELEASE\n" "Tue Aug 25 00:32:36 UTC 2009 Building and distributing kernels for FreeBSD/amd64 7.2-RELEASE\n" "Tue Aug 25 00:44:44 UTC 2009 Constructing world components for FreeBSD/amd64 7.2-RELEASE\n" "Tue Aug 25 00:44:56 UTC 2009 Distributing source for FreeBSD/amd64 7.2-RELEASE\n" "Mon Aug 24 17:46:18 PDT 2009 Moving components into staging area for FreeBSD/amd64 7.2-RELEASE\n" "Mon Aug 24 17:46:33 PDT 2009 Identifying extra documentation for FreeBSD/amd64 7.2-RELEASE\n" "Mon Aug 24 17:47:13 PDT 2009 Extracting extra docs for FreeBSD/amd64 7.2-RELEASE\n" "Mon Aug 24 17:47:18 PDT 2009 Indexing release for FreeBSD/amd64 7.2-RELEASE\n" "Mon Aug 24 17:50:44 PDT 2009 Indexing world0 for FreeBSD/amd64 7.2-RELEASE\n" msgstr "" "# sh scripts/init.sh amd64 7.2-RELEASE\n" "Mon Aug 24 16:04:36 PDT 2009 Starting fetch for FreeBSD/amd64 7.2-RELEASE\n" -"/usr/local/freebsd-update-server/work/7.2-RELE100 of 588 MB 359 kBps " -"00m00s\n" -"Mon Aug 24 16:32:38 PDT 2009 Verifying disc1 hash for FreeBSD/amd64 7.2-" -"RELEASE\n" -"Mon Aug 24 16:32:44 PDT 2009 Extracting components for FreeBSD/amd64 7.2-" -"RELEASE\n" -"Mon Aug 24 16:34:05 PDT 2009 Constructing world+src image for FreeBSD/amd64 7" -".2-RELEASE\n" -"Mon Aug 24 16:35:57 PDT 2009 Extracting world+src for FreeBSD/amd64 7.2-" -"RELEASE\n" +"/usr/local/freebsd-update-server/work/7.2-RELE100 of 588 MB 359 kBps 00m00s\n" +"Mon Aug 24 16:32:38 PDT 2009 Verifying disc1 hash for FreeBSD/amd64 7.2-RELEASE\n" +"Mon Aug 24 16:32:44 PDT 2009 Extracting components for FreeBSD/amd64 7.2-RELEASE\n" +"Mon Aug 24 16:34:05 PDT 2009 Constructing world+src image for FreeBSD/amd64 7.2-RELEASE\n" +"Mon Aug 24 16:35:57 PDT 2009 Extracting world+src for FreeBSD/amd64 7.2-RELEASE\n" "Mon Aug 24 23:36:24 UTC 2009 Building world for FreeBSD/amd64 7.2-RELEASE\n" -"Tue Aug 25 00:31:29 UTC 2009 Distributing world for FreeBSD/amd64 7.2-" -"RELEASE\n" -"Tue Aug 25 00:32:36 UTC 2009 Building and distributing kernels for FreeBSD/" -"amd64 7.2-RELEASE\n" -"Tue Aug 25 00:44:44 UTC 2009 Constructing world components for FreeBSD/amd64 " -"7.2-RELEASE\n" -"Tue Aug 25 00:44:56 UTC 2009 Distributing source for FreeBSD/amd64 7.2-" -"RELEASE\n" -"Mon Aug 24 17:46:18 PDT 2009 Moving components into staging area for FreeBSD/" -"amd64 7.2-RELEASE\n" -"Mon Aug 24 17:46:33 PDT 2009 Identifying extra documentation for FreeBSD/" -"amd64 7.2-RELEASE\n" -"Mon Aug 24 17:47:13 PDT 2009 Extracting extra docs for FreeBSD/amd64 7.2-" -"RELEASE\n" +"Tue Aug 25 00:31:29 UTC 2009 Distributing world for FreeBSD/amd64 7.2-RELEASE\n" +"Tue Aug 25 00:32:36 UTC 2009 Building and distributing kernels for FreeBSD/amd64 7.2-RELEASE\n" +"Tue Aug 25 00:44:44 UTC 2009 Constructing world components for FreeBSD/amd64 7.2-RELEASE\n" +"Tue Aug 25 00:44:56 UTC 2009 Distributing source for FreeBSD/amd64 7.2-RELEASE\n" +"Mon Aug 24 17:46:18 PDT 2009 Moving components into staging area for FreeBSD/amd64 7.2-RELEASE\n" +"Mon Aug 24 17:46:33 PDT 2009 Identifying extra documentation for FreeBSD/amd64 7.2-RELEASE\n" +"Mon Aug 24 17:47:13 PDT 2009 Extracting extra docs for FreeBSD/amd64 7.2-RELEASE\n" "Mon Aug 24 17:47:18 PDT 2009 Indexing release for FreeBSD/amd64 7.2-RELEASE\n" "Mon Aug 24 17:50:44 PDT 2009 Indexing world0 for FreeBSD/amd64 7.2-RELEASE\n" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:266 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:276 #, no-wrap msgid "" "Files built but not released:\n" "Files released but not built:\n" "Files which differ by more than contents:\n" "Files which differ between release and build:\n" "kernel|generic|/GENERIC/hptrr.ko\n" "kernel|generic|/GENERIC/kernel\n" "src|sys|/sys/conf/newvers.sh\n" "world|base|/boot/loader\n" "world|base|/boot/pxeboot\n" "world|base|/etc/mail/freebsd.cf\n" "world|base|/etc/mail/freebsd.submit.cf\n" "world|base|/etc/mail/sendmail.cf\n" "world|base|/etc/mail/submit.cf\n" "world|base|/lib/libcrypto.so.5\n" "world|base|/usr/bin/ntpq\n" "world|base|/usr/lib/libalias.a\n" "world|base|/usr/lib/libalias_cuseeme.a\n" "world|base|/usr/lib/libalias_dummy.a\n" "world|base|/usr/lib/libalias_ftp.a\n" "...\n" msgstr "" "Files built but not released:\n" "Files released but not built:\n" "Files which differ by more than contents:\n" "Files which differ between release and build:\n" "kernel|generic|/GENERIC/hptrr.ko\n" "kernel|generic|/GENERIC/kernel\n" "src|sys|/sys/conf/newvers.sh\n" "world|base|/boot/loader\n" "world|base|/boot/pxeboot\n" "world|base|/etc/mail/freebsd.cf\n" "world|base|/etc/mail/freebsd.submit.cf\n" "world|base|/etc/mail/sendmail.cf\n" "world|base|/etc/mail/submit.cf\n" "world|base|/lib/libcrypto.so.5\n" "world|base|/usr/bin/ntpq\n" "world|base|/usr/lib/libalias.a\n" "world|base|/usr/lib/libalias_cuseeme.a\n" "world|base|/usr/lib/libalias_dummy.a\n" "world|base|/usr/lib/libalias_ftp.a\n" "...\n" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:270 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:280 msgid "" "Then the build of the world is performed again, with world patches. A more " "detailed explanation may be found in [.filename]#scripts/build.subr#." msgstr "" "Em seguida, a compilação do target \"world\" é realizada novamente, com " "patches de \"world\". Uma explicação mais detalhada pode ser encontrada em [." "filename]#scripts/build.subr#." #. type: delimited block = 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:276 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:286 msgid "" "During this second build cycle, the network time protocol daemon, man:" "ntpd[8], is turned off. Per `{cperciva}`, Security Officer Emeritus of " "FreeBSD, \"the https://github.com/freebsd/freebsd-update-build/[freebsd-" "update-server] build code needs to identify timestamps which are stored in " "files so that they can be ignored when comparing builds to determine which " "files need to be updated. This timestamp-finding works by doing two builds " "400 days apart and comparing the results.\"" msgstr "" "Durante esse segundo ciclo de compilação, o daemon do protocolo de tempo de " "rede, man:ntpd[8], é desativado. Conforme o `{cperciva}`, Oficial de " "Segurança Emérito do FreeBSD, \"o código de compilação do https://github.com/" "freebsd/freebsd-update-build/[freebsd-update-server] precisa identificar " "carimbos de data/hora que são armazenados em arquivos para que eles possam " "ser ignorados ao comparar compilações e determinar quais arquivos precisam " "ser atualizados. Esse processo de localização de carimbos de data/hora " "funciona fazendo duas compilações com 400 dias de intervalo e comparando os " "resultados.\"" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:295 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:305 #, no-wrap msgid "" "Mon Aug 24 17:54:07 PDT 2009 Extracting world+src for FreeBSD/amd64 7.2-RELEASE\n" "Wed Sep 29 00:54:34 UTC 2010 Building world for FreeBSD/amd64 7.2-RELEASE\n" "Wed Sep 29 01:49:42 UTC 2010 Distributing world for FreeBSD/amd64 7.2-RELEASE\n" "Wed Sep 29 01:50:50 UTC 2010 Building and distributing kernels for FreeBSD/amd64 7.2-RELEASE\n" "Wed Sep 29 02:02:56 UTC 2010 Constructing world components for FreeBSD/amd64 7.2-RELEASE\n" "Wed Sep 29 02:03:08 UTC 2010 Distributing source for FreeBSD/amd64 7.2-RELEASE\n" "Tue Sep 28 19:04:31 PDT 2010 Moving components into staging area for FreeBSD/amd64 7.2-RELEASE\n" "Mon Aug 24 19:04:46 PDT 2009 Extracting extra docs for FreeBSD/amd64 7.2-RELEASE\n" "Mon Aug 24 19:04:51 PDT 2009 Indexing world1 for FreeBSD/amd64 7.2-RELEASE\n" "Mon Aug 24 19:08:04 PDT 2009 Locating build stamps for FreeBSD/amd64 7.2-RELEASE\n" "Mon Aug 24 19:10:19 PDT 2009 Cleaning staging area for FreeBSD/amd64 7.2-RELEASE\n" "Mon Aug 24 19:10:19 PDT 2009 Preparing to copy files into staging area for FreeBSD/amd64 7.2-RELEASE\n" "Mon Aug 24 19:10:20 PDT 2009 Copying data files into staging area for FreeBSD/amd64 7.2-RELEASE\n" "Mon Aug 24 12:16:57 PDT 2009 Copying metadata files into staging area for FreeBSD/amd64 7.2-RELEASE\n" "Mon Aug 24 12:16:59 PDT 2009 Constructing metadata index and tag for FreeBSD/amd64 7.2-RELEASE\n" msgstr "" -"Mon Aug 24 17:54:07 PDT 2009 Extracting world+src for FreeBSD/amd64 7.2-" -"RELEASE\n" +"Mon Aug 24 17:54:07 PDT 2009 Extracting world+src for FreeBSD/amd64 7.2-RELEASE\n" "Wed Sep 29 00:54:34 UTC 2010 Building world for FreeBSD/amd64 7.2-RELEASE\n" -"Wed Sep 29 01:49:42 UTC 2010 Distributing world for FreeBSD/amd64 7.2-" -"RELEASE\n" -"Wed Sep 29 01:50:50 UTC 2010 Building and distributing kernels for FreeBSD/" -"amd64 7.2-RELEASE\n" -"Wed Sep 29 02:02:56 UTC 2010 Constructing world components for FreeBSD/amd64 " -"7.2-RELEASE\n" -"Wed Sep 29 02:03:08 UTC 2010 Distributing source for FreeBSD/amd64 7.2-" -"RELEASE\n" -"Tue Sep 28 19:04:31 PDT 2010 Moving components into staging area for FreeBSD/" -"amd64 7.2-RELEASE\n" -"Mon Aug 24 19:04:46 PDT 2009 Extracting extra docs for FreeBSD/amd64 7.2-" -"RELEASE\n" +"Wed Sep 29 01:49:42 UTC 2010 Distributing world for FreeBSD/amd64 7.2-RELEASE\n" +"Wed Sep 29 01:50:50 UTC 2010 Building and distributing kernels for FreeBSD/amd64 7.2-RELEASE\n" +"Wed Sep 29 02:02:56 UTC 2010 Constructing world components for FreeBSD/amd64 7.2-RELEASE\n" +"Wed Sep 29 02:03:08 UTC 2010 Distributing source for FreeBSD/amd64 7.2-RELEASE\n" +"Tue Sep 28 19:04:31 PDT 2010 Moving components into staging area for FreeBSD/amd64 7.2-RELEASE\n" +"Mon Aug 24 19:04:46 PDT 2009 Extracting extra docs for FreeBSD/amd64 7.2-RELEASE\n" "Mon Aug 24 19:04:51 PDT 2009 Indexing world1 for FreeBSD/amd64 7.2-RELEASE\n" -"Mon Aug 24 19:08:04 PDT 2009 Locating build stamps for FreeBSD/amd64 7.2-" -"RELEASE\n" -"Mon Aug 24 19:10:19 PDT 2009 Cleaning staging area for FreeBSD/amd64 7.2-" -"RELEASE\n" -"Mon Aug 24 19:10:19 PDT 2009 Preparing to copy files into staging area for " -"FreeBSD/amd64 7.2-RELEASE\n" -"Mon Aug 24 19:10:20 PDT 2009 Copying data files into staging area for " -"FreeBSD/amd64 7.2-RELEASE\n" -"Mon Aug 24 12:16:57 PDT 2009 Copying metadata files into staging area for " -"FreeBSD/amd64 7.2-RELEASE\n" -"Mon Aug 24 12:16:59 PDT 2009 Constructing metadata index and tag for FreeBSD/" -"amd64 7.2-RELEASE\n" +"Mon Aug 24 19:08:04 PDT 2009 Locating build stamps for FreeBSD/amd64 7.2-RELEASE\n" +"Mon Aug 24 19:10:19 PDT 2009 Cleaning staging area for FreeBSD/amd64 7.2-RELEASE\n" +"Mon Aug 24 19:10:19 PDT 2009 Preparing to copy files into staging area for FreeBSD/amd64 7.2-RELEASE\n" +"Mon Aug 24 19:10:20 PDT 2009 Copying data files into staging area for FreeBSD/amd64 7.2-RELEASE\n" +"Mon Aug 24 12:16:57 PDT 2009 Copying metadata files into staging area for FreeBSD/amd64 7.2-RELEASE\n" +"Mon Aug 24 12:16:59 PDT 2009 Constructing metadata index and tag for FreeBSD/amd64 7.2-RELEASE\n" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:313 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:323 #, no-wrap msgid "" "Files found which include build stamps:\n" "kernel|generic|/GENERIC/hptrr.ko\n" "kernel|generic|/GENERIC/kernel\n" "world|base|/boot/loader\n" "world|base|/boot/pxeboot\n" "world|base|/etc/mail/freebsd.cf\n" "world|base|/etc/mail/freebsd.submit.cf\n" "world|base|/etc/mail/sendmail.cf\n" "world|base|/etc/mail/submit.cf\n" "world|base|/lib/libcrypto.so.5\n" "world|base|/usr/bin/ntpq\n" "world|base|/usr/include/osreldate.h\n" "world|base|/usr/lib/libalias.a\n" "world|base|/usr/lib/libalias_cuseeme.a\n" "world|base|/usr/lib/libalias_dummy.a\n" "world|base|/usr/lib/libalias_ftp.a\n" "...\n" msgstr "" "Files found which include build stamps:\n" "kernel|generic|/GENERIC/hptrr.ko\n" "kernel|generic|/GENERIC/kernel\n" "world|base|/boot/loader\n" "world|base|/boot/pxeboot\n" "world|base|/etc/mail/freebsd.cf\n" "world|base|/etc/mail/freebsd.submit.cf\n" "world|base|/etc/mail/sendmail.cf\n" "world|base|/etc/mail/submit.cf\n" "world|base|/lib/libcrypto.so.5\n" "world|base|/usr/bin/ntpq\n" "world|base|/usr/include/osreldate.h\n" "world|base|/usr/lib/libalias.a\n" "world|base|/usr/lib/libalias_cuseeme.a\n" "world|base|/usr/lib/libalias_dummy.a\n" "world|base|/usr/lib/libalias_ftp.a\n" "...\n" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:316 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:326 msgid "Finally, the build completes." msgstr "Por fim, a compilação é concluída." #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:345 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:355 #, no-wrap msgid "" "Values of build stamps, excluding library archive headers:\n" "v1.2 (Aug 25 2009 00:40:36)\n" "v1.2 (Aug 25 2009 00:38:22)\n" "@()FreeBSD 7.2-RELEASE 0: Tue Aug 25 00:38:29 UTC 2009\n" "FreeBSD 7.2-RELEASE 0: Tue Aug 25 00:38:29 UTC 2009\n" " root@server.myhost.com:/usr/obj/usr/src/sys/GENERIC\n" "7.2-RELEASE\n" "Mon Aug 24 23:55:25 UTC 2009\n" "Mon Aug 24 23:55:25 UTC 2009\n" " built by root@server.myhost.com on Tue Aug 25 00:16:15 UTC 2009\n" " built by root@server.myhost.com on Tue Aug 25 00:16:15 UTC 2009\n" " built by root@server.myhost.com on Tue Aug 25 00:16:15 UTC 2009\n" " built by root@server.myhost.com on Tue Aug 25 00:16:15 UTC 2009\n" "Mon Aug 24 23:46:47 UTC 2009\n" "ntpq 4.2.4p5-a Mon Aug 24 23:55:53 UTC 2009 (1)\n" " * Copyright (c) 1992-2009 The FreeBSD Project.\n" "Mon Aug 24 23:46:47 UTC 2009\n" "Mon Aug 24 23:55:40 UTC 2009\n" "Aug 25 2009\n" "ntpd 4.2.4p5-a Mon Aug 24 23:55:52 UTC 2009 (1)\n" "ntpdate 4.2.4p5-a Mon Aug 24 23:55:53 UTC 2009 (1)\n" "ntpdc 4.2.4p5-a Mon Aug 24 23:55:53 UTC 2009 (1)\n" "Tue Aug 25 00:21:21 UTC 2009\n" "Tue Aug 25 00:21:21 UTC 2009\n" "Tue Aug 25 00:21:21 UTC 2009\n" "Mon Aug 24 23:46:47 UTC 2009\n" msgstr "" "Values of build stamps, excluding library archive headers:\n" "v1.2 (Aug 25 2009 00:40:36)\n" "v1.2 (Aug 25 2009 00:38:22)\n" "@()FreeBSD 7.2-RELEASE 0: Tue Aug 25 00:38:29 UTC 2009\n" "FreeBSD 7.2-RELEASE 0: Tue Aug 25 00:38:29 UTC 2009\n" " root@server.myhost.com:/usr/obj/usr/src/sys/GENERIC\n" "7.2-RELEASE\n" "Mon Aug 24 23:55:25 UTC 2009\n" "Mon Aug 24 23:55:25 UTC 2009\n" " built by root@server.myhost.com on Tue Aug 25 00:16:15 UTC 2009\n" " built by root@server.myhost.com on Tue Aug 25 00:16:15 UTC 2009\n" " built by root@server.myhost.com on Tue Aug 25 00:16:15 UTC 2009\n" " built by root@server.myhost.com on Tue Aug 25 00:16:15 UTC 2009\n" "Mon Aug 24 23:46:47 UTC 2009\n" "ntpq 4.2.4p5-a Mon Aug 24 23:55:53 UTC 2009 (1)\n" " * Copyright (c) 1992-2009 The FreeBSD Project.\n" "Mon Aug 24 23:46:47 UTC 2009\n" "Mon Aug 24 23:55:40 UTC 2009\n" "Aug 25 2009\n" "ntpd 4.2.4p5-a Mon Aug 24 23:55:52 UTC 2009 (1)\n" "ntpdate 4.2.4p5-a Mon Aug 24 23:55:53 UTC 2009 (1)\n" "ntpdc 4.2.4p5-a Mon Aug 24 23:55:53 UTC 2009 (1)\n" "Tue Aug 25 00:21:21 UTC 2009\n" "Tue Aug 25 00:21:21 UTC 2009\n" "Tue Aug 25 00:21:21 UTC 2009\n" "Mon Aug 24 23:46:47 UTC 2009\n" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:351 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:361 #, no-wrap msgid "" "FreeBSD/amd64 7.2-RELEASE initialization build complete. Please\n" "review the list of build stamps printed above to confirm that\n" "they look sensible, then run\n" " sh -e approve.sh amd64 7.2-RELEASE\n" "to sign the release.\n" msgstr "" "FreeBSD/amd64 7.2-RELEASE initialization build complete. Please\n" "review the list of build stamps printed above to confirm that\n" "they look sensible, then run\n" " sh -e approve.sh amd64 7.2-RELEASE\n" "to sign the release.\n" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:356 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:366 msgid "" "Approve the build if everything is correct. More information on determining " "this can be found in the distributed source file named [.filename]#USAGE#. " "Execute [.filename]#scripts/approve.sh#, as directed. This will sign the " "release, and move components into a staging area suitable for uploading." msgstr "" "Aprove a compilação se tudo estiver correto. Mais informações sobre como " "determinar isso podem ser encontradas no arquivo de origem da distribuição " "chamado [.filename]#USAGE#. Execute [.filename]#scripts/approve.sh#, " "conforme indicado. Isso irá assinar a versão e mover os componentes para uma " "área de preparação adequada para o upload." #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:361 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:371 #, no-wrap msgid "" "# cd /usr/local/freebsd-update-server\n" "# sh scripts/mountkey.sh\n" msgstr "" "# cd /usr/local/freebsd-update-server\n" "# sh scripts/mountkey.sh\n" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:371 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:381 #, no-wrap msgid "" "# sh -e scripts/approve.sh amd64 7.2-RELEASE\n" "Wed Aug 26 12:50:06 PDT 2009 Signing build for FreeBSD/amd64 7.2-RELEASE\n" "Wed Aug 26 12:50:06 PDT 2009 Copying files to patch source directories for FreeBSD/amd64 7.2-RELEASE\n" "Wed Aug 26 12:50:06 PDT 2009 Copying files to upload staging area for FreeBSD/amd64 7.2-RELEASE\n" "Wed Aug 26 12:50:07 PDT 2009 Updating databases for FreeBSD/amd64 7.2-RELEASE\n" "Wed Aug 26 12:50:07 PDT 2009 Cleaning staging area for FreeBSD/amd64 7.2-RELEASE\n" msgstr "" "# sh -e scripts/approve.sh amd64 7.2-RELEASE\n" "Wed Aug 26 12:50:06 PDT 2009 Signing build for FreeBSD/amd64 7.2-RELEASE\n" -"Wed Aug 26 12:50:06 PDT 2009 Copying files to patch source directories for " -"FreeBSD/amd64 7.2-RELEASE\n" -"Wed Aug 26 12:50:06 PDT 2009 Copying files to upload staging area for " -"FreeBSD/amd64 7.2-RELEASE\n" -"Wed Aug 26 12:50:07 PDT 2009 Updating databases for FreeBSD/amd64 7.2-" -"RELEASE\n" -"Wed Aug 26 12:50:07 PDT 2009 Cleaning staging area for FreeBSD/amd64 7.2-" -"RELEASE\n" +"Wed Aug 26 12:50:06 PDT 2009 Copying files to patch source directories for FreeBSD/amd64 7.2-RELEASE\n" +"Wed Aug 26 12:50:06 PDT 2009 Copying files to upload staging area for FreeBSD/amd64 7.2-RELEASE\n" +"Wed Aug 26 12:50:07 PDT 2009 Updating databases for FreeBSD/amd64 7.2-RELEASE\n" +"Wed Aug 26 12:50:07 PDT 2009 Cleaning staging area for FreeBSD/amd64 7.2-RELEASE\n" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:374 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:384 msgid "" "After the approval process is complete, the upload procedure may be started." msgstr "" "Após a conclusão do processo de aprovação, o procedimento de upload pode ser " "iniciado." #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:379 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:389 #, no-wrap msgid "" "# cd /usr/local/freebsd-update-server\n" "# sh scripts/upload.sh amd64 7.2-RELEASE\n" msgstr "" "# cd /usr/local/freebsd-update-server\n" "# sh scripts/upload.sh amd64 7.2-RELEASE\n" #. type: delimited block = 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:384 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:394 msgid "" "In the event update code needs to be re-uploaded, this may be done by " "changing to the public distributions directory for the target release and " "updating attributes of the _uploaded_ file." msgstr "" "Caso o código de atualização precise ser reenviado, isso pode ser feito " "alterando para o diretório de distribuições públicas do release de destino e " "atualizando os atributos do arquivo já _enviado_." #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:389 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:399 #, no-wrap msgid "" "# cd /usr/local/freebsd-update-server/pub/7.2-RELEASE/amd64\n" "# touch -t 200801010101.01 uploaded\n" msgstr "" "# cd /usr/local/freebsd-update-server/pub/7.2-RELEASE/amd64\n" "# touch -t 200801010101.01 uploaded\n" #. type: delimited block = 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:396 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:406 msgid "" "The uploaded files will need to be in the document root of the webserver in " "order for updates to be distributed. The exact configuration will vary " "depending on the web server used. For the Apache web server, please refer " "to the extref:{handbook}[Configuration of Apache servers, network-apache] " "section in the Handbook." msgstr "" "Os arquivos enviados precisarão estar no diretório raiz de documentos do " "servidor web para que as atualizações possam ser distribuídas. A " "configuração exata variará dependendo do servidor web utilizado. Para o " "servidor web Apache, consulte a seção extref:{handbook}[Configuração de " "servidores Apache, network-apache] no Handbook." #. type: delimited block = 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:398 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:408 msgid "" "Update client's `KeyPrint` and `ServerName` in [.filename]#/etc/freebsd-" "update.conf#, and perform updates as instructed in the extref:{handbook}" "[FreeBSD Update, updating-upgrading-freebsdupdate] section of the Handbook." msgstr "" "Atualize o `KeyPrint` e o `ServerName` do cliente em [.filename]#/etc/" "freebsd-update.conf#, e execute as atualizações conforme instruído na seção " "extref:{handbook}[Atualização do FreeBSD, updating-upgrading-freebsdupdate] " "do Handbook." #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:404 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:414 msgid "" "In order for FreeBSD Update Server to work properly, updates for both the " "_current_ release and the release _one wants to upgrade to_ need to be " "built. This is necessary for determining the differences of files between " "releases. For example, when upgrading a FreeBSD system from 7.1-RELEASE to " "7.2-RELEASE, updates will need to be built and uploaded to your distribution " "server for both versions." msgstr "" "Para que o Servidor de Atualização do FreeBSD funcione corretamente, as " "atualizações tanto para o release _atual_ quanto para o release _para o qual " "se deseja atualizar_ precisam ser compiladas. Isso é necessário para " "determinar as diferenças nos arquivos entre os releases. Por exemplo, ao " "atualizar um sistema FreeBSD da versão 7.1-RELEASE para a versão 7.2-" "RELEASE, as atualizações precisarão ser compiladas e enviadas para o seu " "servidor de distribuição para ambas as versões." #. type: delimited block = 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:407 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:417 msgid "" "For reference, the entire run of link:../../source/articles/freebsd-update-" "server/init.txt[init.sh] is attached." msgstr "" -"Para referência, toda a execução do link:../../source/articles/" -"freebsd-update-server/init.txt[init.sh] está anexada." +"Para referência, toda a execução do link:../../source/articles/freebsd-" +"update-server/init.txt[init.sh] está anexada." #. type: Title == -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:409 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:419 #, no-wrap msgid "Building a Patch" msgstr "Compilando um Patch" #. type: delimited block = 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:412 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:422 msgid "" "Every time a link:https://www.FreeBSD.org/security/advisories/[security " "advisory] or link:https://www.FreeBSD.org/security/notices/[security notice] " "is announced, a patch update can be built." msgstr "" -"Toda vez que uma link:https://www.FreeBSD.org/security/advisories/[" -"recomendação de segurança] ou um link:https://www.FreeBSD.org/security/" +"Toda vez que uma link:https://www.FreeBSD.org/security/advisories/" +"[recomendação de segurança] ou um link:https://www.FreeBSD.org/security/" "notices/[aviso de segurança] é anunciado, uma atualização de patch pode ser " "compilada." #. type: delimited block = 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:414 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:424 msgid "For this example, 7.1-RELEASE will be used." msgstr "Para este exemplo, o 7.1-RELEASE será usado." #. type: delimited block = 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:416 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:426 msgid "A couple of assumptions are made for a different release build:" msgstr "Algumas suposições são feitas para compilar uma release diferente:" #. type: delimited block = 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:418 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:428 msgid "Setup the correct directory structure for the initial build." msgstr "Configure a estrutura de diretórios correta para a compilação inicial." #. type: delimited block = 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:419 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:429 msgid "Perform an initial build for 7.1-RELEASE." msgstr "Execute uma compilação inicial para o 7.1-RELEASE." #. type: delimited block = 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:421 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:431 msgid "" "Create the patch directory of the respective release under [.filename]#/usr/" "local/freebsd-update-server/patches/#." msgstr "" "Crie o diretório de patches do respectivo release em [.filename]#/usr/local/" "freebsd-update-server/patches/#." #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:426 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:436 #, no-wrap msgid "" "% mkdir -p /usr/local/freebsd-update-server/patches/7.1-RELEASE/\n" "% cd /usr/local/freebsd-update-server/patches/7.1-RELEASE\n" msgstr "" "% mkdir -p /usr/local/freebsd-update-server/patches/7.1-RELEASE/\n" "% cd /usr/local/freebsd-update-server/patches/7.1-RELEASE\n" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:431 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:441 msgid "" "As an example, take the patch for man:named[8]. Read the advisory, and grab " "the necessary file from link:https://www.FreeBSD.org/security/advisories/" "[FreeBSD Security Advisories]. More information on interpreting the " "advisory, can be found in the extref:{handbook}[FreeBSD Handbook, security-" "advisories]." msgstr "" "Como exemplo, considere o patch para o man:named[8]. Leia o aviso e pegue o " -"arquivo necessário em link:https://www.FreeBSD.org/security/advisories/[" -"Avisos de Segurança do FreeBSD]. Mais informações sobre a interpretação do " +"arquivo necessário em link:https://www.FreeBSD.org/security/advisories/" +"[Avisos de Segurança do FreeBSD]. Mais informações sobre a interpretação do " "aviso podem ser encontradas no extref:{handbook}[Handbook do FreeBSD, " "security-advisories]." #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:436 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:446 msgid "" "In the https://security.freebsd.org/advisories/FreeBSD-SA-09:12.bind." "asc[security brief], this advisory is called `SA-09:12.bind`. After " "downloading the file, it is required to rename the file to an appropriate " "patch level. It is suggested to keep this consistent with official FreeBSD " "patch levels, but its name may be freely chosen. For this build, let us " "follow the currently established practice of FreeBSD and call this `p7`. " "Rename the file:" msgstr "" "No https://security.freebsd.org/advisories/FreeBSD-SA-09:12.bind.asc[informe " "de segurança], este aviso é chamado de `SA-09:12.bind`. Após o download do " "arquivo, é necessário renomeá-lo para um nível de patch apropriado. É " "sugerido manter isso consistente com os níveis de patch oficiais do FreeBSD, " "mas seu nome pode ser escolhido livremente . Para esta compilação, vamos " "seguir a prática atualmente estabelecida do FreeBSD e chamá-la de `p7`. " "Renomeie o arquivo:" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:440 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:450 #, no-wrap msgid "% cd /usr/local/freebsd-update-server/patches/7.1-RELEASE/; mv bind.patch 7-SA-09:12.bind\n" -msgstr "" -"% cd /usr/local/freebsd-update-server/patches/7.1-RELEASE/; mv bind.patch " -"7-SA-09:12.bind\n" +msgstr "% cd /usr/local/freebsd-update-server/patches/7.1-RELEASE/; mv bind.patch 7-SA-09:12.bind\n" #. type: delimited block = 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:446 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:456 msgid "" "When running a patch level build, it is assumed that previous patches are in " "place. When a patch build is run, it will run all patches contained in the " "patch directory." msgstr "" "Ao executar uma compilação de nível de patch, presume-se que os patches " "anteriores estão em vigor. Quando uma compilação de patch é executada, ela " "executará todos os patches contidos no diretório de patch." #. type: delimited block = 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:448 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:458 msgid "" "There can be custom patches added to any build. Use the number zero, or any " "other number." msgstr "" "Podem ser adicionados patches personalizados a qualquer compilação. Use o " "número zero ou qualquer outro número." #. type: delimited block = 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:454 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:464 msgid "" "It is up to the administrator of the FreeBSD Update Server to take " "appropriate measures to verify the authenticity of every patch." msgstr "" "Cabe ao administrador do Servidor de Atualização do FreeBSD tomar as medidas " "apropriadas para verificar a autenticidade de cada patch." #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:458 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:468 msgid "" "At this point, a _diff_ is ready to be built. The software checks first to " "see if a [.filename]#scripts/init.sh# has been run on the respective release " "prior to running the diff build." msgstr "" "Neste ponto, um _diff_ está pronto para ser compilado. O software verifica " "primeiro se um [.filename]#scripts/init.sh# foi executado no respectivo " "release antes de executar a compilação do _diff_." #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:463 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:473 #, no-wrap msgid "" "# cd /usr/local/freebsd-update-server\n" "# sh scripts/diff.sh amd64 7.1-RELEASE 7\n" msgstr "" "# cd /usr/local/freebsd-update-server\n" "# sh scripts/diff.sh amd64 7.1-RELEASE 7\n" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:466 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:476 msgid "What follows is a sample of a _differential_ build run." msgstr "A seguir, segue um exemplo de execução de compilação _diferencial_." #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:540 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:550 #, no-wrap msgid "" "# sh -e scripts/diff.sh amd64 7.1-RELEASE 7\n" "Wed Aug 26 10:09:59 PDT 2009 Extracting world+src for FreeBSD/amd64 7.1-RELEASE-p7\n" "Wed Aug 26 17:10:25 UTC 2009 Building world for FreeBSD/amd64 7.1-RELEASE-p7\n" "Wed Aug 26 18:05:11 UTC 2009 Distributing world for FreeBSD/amd64 7.1-RELEASE-p7\n" "Wed Aug 26 18:06:16 UTC 2009 Building and distributing kernels for FreeBSD/amd64 7.1-RELEASE-p7\n" "Wed Aug 26 18:17:50 UTC 2009 Constructing world components for FreeBSD/amd64 7.1-RELEASE-p7\n" "Wed Aug 26 18:18:02 UTC 2009 Distributing source for FreeBSD/amd64 7.1-RELEASE-p7\n" "Wed Aug 26 11:19:23 PDT 2009 Moving components into staging area for FreeBSD/amd64 7.1-RELEASE-p7\n" "Wed Aug 26 11:19:37 PDT 2009 Extracting extra docs for FreeBSD/amd64 7.1-RELEASE-p7\n" "Wed Aug 26 11:19:42 PDT 2009 Indexing world0 for FreeBSD/amd64 7.1-RELEASE-p7\n" "Wed Aug 26 11:23:02 PDT 2009 Extracting world+src for FreeBSD/amd64 7.1-RELEASE-p7\n" "Thu Sep 30 18:23:29 UTC 2010 Building world for FreeBSD/amd64 7.1-RELEASE-p7\n" "Thu Sep 30 19:18:15 UTC 2010 Distributing world for FreeBSD/amd64 7.1-RELEASE-p7\n" "Thu Sep 30 19:19:18 UTC 2010 Building and distributing kernels for FreeBSD/amd64 7.1-RELEASE-p7\n" "Thu Sep 30 19:30:52 UTC 2010 Constructing world components for FreeBSD/amd64 7.1-RELEASE-p7\n" "Thu Sep 30 19:31:03 UTC 2010 Distributing source for FreeBSD/amd64 7.1-RELEASE-p7\n" "Thu Sep 30 12:32:25 PDT 2010 Moving components into staging area for FreeBSD/amd64 7.1-RELEASE-p7\n" "Wed Aug 26 12:32:39 PDT 2009 Extracting extra docs for FreeBSD/amd64 7.1-RELEASE-p7\n" "Wed Aug 26 12:32:43 PDT 2009 Indexing world1 for FreeBSD/amd64 7.1-RELEASE-p7\n" "Wed Aug 26 12:35:54 PDT 2009 Locating build stamps for FreeBSD/amd64 7.1-RELEASE-p7\n" "Wed Aug 26 12:36:58 PDT 2009 Reverting changes due to build stamps for FreeBSD/amd64 7.1-RELEASE-p7\n" "Wed Aug 26 12:37:14 PDT 2009 Cleaning staging area for FreeBSD/amd64 7.1-RELEASE-p7\n" "Wed Aug 26 12:37:14 PDT 2009 Preparing to copy files into staging area for FreeBSD/amd64 7.1-RELEASE-p7\n" "Wed Aug 26 12:37:15 PDT 2009 Copying data files into staging area for FreeBSD/amd64 7.1-RELEASE-p7\n" "Wed Aug 26 12:43:23 PDT 2009 Copying metadata files into staging area for FreeBSD/amd64 7.1-RELEASE-p7\n" "Wed Aug 26 12:43:25 PDT 2009 Constructing metadata index and tag for FreeBSD/amd64 7.1-RELEASE-p7\n" "...\n" "Files found which include build stamps:\n" "kernel|generic|/GENERIC/hptrr.ko\n" "kernel|generic|/GENERIC/kernel\n" "world|base|/boot/loader\n" "world|base|/boot/pxeboot\n" "world|base|/etc/mail/freebsd.cf\n" "world|base|/etc/mail/freebsd.submit.cf\n" "world|base|/etc/mail/sendmail.cf\n" "world|base|/etc/mail/submit.cf\n" "world|base|/lib/libcrypto.so.5\n" "world|base|/usr/bin/ntpq\n" "world|base|/usr/include/osreldate.h\n" "world|base|/usr/lib/libalias.a\n" "world|base|/usr/lib/libalias_cuseeme.a\n" "world|base|/usr/lib/libalias_dummy.a\n" "world|base|/usr/lib/libalias_ftp.a\n" "...\n" "Values of build stamps, excluding library archive headers:\n" "v1.2 (Aug 26 2009 18:13:46)\n" "v1.2 (Aug 26 2009 18:11:44)\n" "@()FreeBSD 7.1-RELEASE-p7 0: Wed Aug 26 18:11:50 UTC 2009\n" "FreeBSD 7.1-RELEASE-p7 0: Wed Aug 26 18:11:50 UTC 2009\n" " root@server.myhost.com:/usr/obj/usr/src/sys/GENERIC\n" "7.1-RELEASE-p7\n" "Wed Aug 26 17:29:15 UTC 2009\n" "Wed Aug 26 17:29:15 UTC 2009\n" " built by root@server.myhost.com on Wed Aug 26 17:49:58 UTC 2009\n" " built by root@server.myhost.com on Wed Aug 26 17:49:58 UTC 2009\n" " built by root@server.myhost.com on Wed Aug 26 17:49:58 UTC 2009\n" " built by root@server.myhost.com on Wed Aug 26 17:49:58 UTC 2009\n" "Wed Aug 26 17:20:39 UTC 2009\n" "ntpq 4.2.4p5-a Wed Aug 26 17:29:42 UTC 2009 (1)\n" " * Copyright (c) 1992-2009 The FreeBSD Project.\n" "Wed Aug 26 17:20:39 UTC 2009\n" "Wed Aug 26 17:29:30 UTC 2009\n" "Aug 26 2009\n" "ntpd 4.2.4p5-a Wed Aug 26 17:29:41 UTC 2009 (1)\n" "ntpdate 4.2.4p5-a Wed Aug 26 17:29:42 UTC 2009 (1)\n" "ntpdc 4.2.4p5-a Wed Aug 26 17:29:42 UTC 2009 (1)\n" "Wed Aug 26 17:55:02 UTC 2009\n" "Wed Aug 26 17:55:02 UTC 2009\n" "Wed Aug 26 17:55:02 UTC 2009\n" "Wed Aug 26 17:20:39 UTC 2009\n" "...\n" msgstr "" "# sh -e scripts/diff.sh amd64 7.1-RELEASE 7\n" -"Wed Aug 26 10:09:59 PDT 2009 Extracting world+src for FreeBSD/amd64 7." -"1-RELEASE-p7\n" -"Wed Aug 26 17:10:25 UTC 2009 Building world for FreeBSD/amd64 7.1-RELEASE-" -"p7\n" -"Wed Aug 26 18:05:11 UTC 2009 Distributing world for FreeBSD/amd64 7." -"1-RELEASE-p7\n" -"Wed Aug 26 18:06:16 UTC 2009 Building and distributing kernels for FreeBSD/" -"amd64 7.1-RELEASE-p7\n" -"Wed Aug 26 18:17:50 UTC 2009 Constructing world components for FreeBSD/amd64 " -"7.1-RELEASE-p7\n" -"Wed Aug 26 18:18:02 UTC 2009 Distributing source for FreeBSD/amd64 7." -"1-RELEASE-p7\n" -"Wed Aug 26 11:19:23 PDT 2009 Moving components into staging area for FreeBSD/" -"amd64 7.1-RELEASE-p7\n" -"Wed Aug 26 11:19:37 PDT 2009 Extracting extra docs for FreeBSD/amd64 7." -"1-RELEASE-p7\n" -"Wed Aug 26 11:19:42 PDT 2009 Indexing world0 for FreeBSD/amd64 7.1-RELEASE-" -"p7\n" -"Wed Aug 26 11:23:02 PDT 2009 Extracting world+src for FreeBSD/amd64 7." -"1-RELEASE-p7\n" -"Thu Sep 30 18:23:29 UTC 2010 Building world for FreeBSD/amd64 7.1-RELEASE-" -"p7\n" -"Thu Sep 30 19:18:15 UTC 2010 Distributing world for FreeBSD/amd64 7." -"1-RELEASE-p7\n" -"Thu Sep 30 19:19:18 UTC 2010 Building and distributing kernels for FreeBSD/" -"amd64 7.1-RELEASE-p7\n" -"Thu Sep 30 19:30:52 UTC 2010 Constructing world components for FreeBSD/amd64 " -"7.1-RELEASE-p7\n" -"Thu Sep 30 19:31:03 UTC 2010 Distributing source for FreeBSD/amd64 7." -"1-RELEASE-p7\n" -"Thu Sep 30 12:32:25 PDT 2010 Moving components into staging area for FreeBSD/" -"amd64 7.1-RELEASE-p7\n" -"Wed Aug 26 12:32:39 PDT 2009 Extracting extra docs for FreeBSD/amd64 7." -"1-RELEASE-p7\n" -"Wed Aug 26 12:32:43 PDT 2009 Indexing world1 for FreeBSD/amd64 7.1-RELEASE-" -"p7\n" -"Wed Aug 26 12:35:54 PDT 2009 Locating build stamps for FreeBSD/amd64 7." -"1-RELEASE-p7\n" -"Wed Aug 26 12:36:58 PDT 2009 Reverting changes due to build stamps for " -"FreeBSD/amd64 7.1-RELEASE-p7\n" -"Wed Aug 26 12:37:14 PDT 2009 Cleaning staging area for FreeBSD/amd64 7." -"1-RELEASE-p7\n" -"Wed Aug 26 12:37:14 PDT 2009 Preparing to copy files into staging area for " -"FreeBSD/amd64 7.1-RELEASE-p7\n" -"Wed Aug 26 12:37:15 PDT 2009 Copying data files into staging area for " -"FreeBSD/amd64 7.1-RELEASE-p7\n" -"Wed Aug 26 12:43:23 PDT 2009 Copying metadata files into staging area for " -"FreeBSD/amd64 7.1-RELEASE-p7\n" -"Wed Aug 26 12:43:25 PDT 2009 Constructing metadata index and tag for FreeBSD/" -"amd64 7.1-RELEASE-p7\n" +"Wed Aug 26 10:09:59 PDT 2009 Extracting world+src for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Wed Aug 26 17:10:25 UTC 2009 Building world for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Wed Aug 26 18:05:11 UTC 2009 Distributing world for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Wed Aug 26 18:06:16 UTC 2009 Building and distributing kernels for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Wed Aug 26 18:17:50 UTC 2009 Constructing world components for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Wed Aug 26 18:18:02 UTC 2009 Distributing source for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Wed Aug 26 11:19:23 PDT 2009 Moving components into staging area for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Wed Aug 26 11:19:37 PDT 2009 Extracting extra docs for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Wed Aug 26 11:19:42 PDT 2009 Indexing world0 for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Wed Aug 26 11:23:02 PDT 2009 Extracting world+src for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Thu Sep 30 18:23:29 UTC 2010 Building world for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Thu Sep 30 19:18:15 UTC 2010 Distributing world for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Thu Sep 30 19:19:18 UTC 2010 Building and distributing kernels for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Thu Sep 30 19:30:52 UTC 2010 Constructing world components for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Thu Sep 30 19:31:03 UTC 2010 Distributing source for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Thu Sep 30 12:32:25 PDT 2010 Moving components into staging area for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Wed Aug 26 12:32:39 PDT 2009 Extracting extra docs for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Wed Aug 26 12:32:43 PDT 2009 Indexing world1 for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Wed Aug 26 12:35:54 PDT 2009 Locating build stamps for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Wed Aug 26 12:36:58 PDT 2009 Reverting changes due to build stamps for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Wed Aug 26 12:37:14 PDT 2009 Cleaning staging area for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Wed Aug 26 12:37:14 PDT 2009 Preparing to copy files into staging area for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Wed Aug 26 12:37:15 PDT 2009 Copying data files into staging area for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Wed Aug 26 12:43:23 PDT 2009 Copying metadata files into staging area for FreeBSD/amd64 7.1-RELEASE-p7\n" +"Wed Aug 26 12:43:25 PDT 2009 Constructing metadata index and tag for FreeBSD/amd64 7.1-RELEASE-p7\n" "...\n" "Files found which include build stamps:\n" "kernel|generic|/GENERIC/hptrr.ko\n" "kernel|generic|/GENERIC/kernel\n" "world|base|/boot/loader\n" "world|base|/boot/pxeboot\n" "world|base|/etc/mail/freebsd.cf\n" "world|base|/etc/mail/freebsd.submit.cf\n" "world|base|/etc/mail/sendmail.cf\n" "world|base|/etc/mail/submit.cf\n" "world|base|/lib/libcrypto.so.5\n" "world|base|/usr/bin/ntpq\n" "world|base|/usr/include/osreldate.h\n" "world|base|/usr/lib/libalias.a\n" "world|base|/usr/lib/libalias_cuseeme.a\n" "world|base|/usr/lib/libalias_dummy.a\n" "world|base|/usr/lib/libalias_ftp.a\n" "...\n" "Values of build stamps, excluding library archive headers:\n" "v1.2 (Aug 26 2009 18:13:46)\n" "v1.2 (Aug 26 2009 18:11:44)\n" "@()FreeBSD 7.1-RELEASE-p7 0: Wed Aug 26 18:11:50 UTC 2009\n" "FreeBSD 7.1-RELEASE-p7 0: Wed Aug 26 18:11:50 UTC 2009\n" " root@server.myhost.com:/usr/obj/usr/src/sys/GENERIC\n" "7.1-RELEASE-p7\n" "Wed Aug 26 17:29:15 UTC 2009\n" "Wed Aug 26 17:29:15 UTC 2009\n" " built by root@server.myhost.com on Wed Aug 26 17:49:58 UTC 2009\n" " built by root@server.myhost.com on Wed Aug 26 17:49:58 UTC 2009\n" " built by root@server.myhost.com on Wed Aug 26 17:49:58 UTC 2009\n" " built by root@server.myhost.com on Wed Aug 26 17:49:58 UTC 2009\n" "Wed Aug 26 17:20:39 UTC 2009\n" "ntpq 4.2.4p5-a Wed Aug 26 17:29:42 UTC 2009 (1)\n" " * Copyright (c) 1992-2009 The FreeBSD Project.\n" "Wed Aug 26 17:20:39 UTC 2009\n" "Wed Aug 26 17:29:30 UTC 2009\n" "Aug 26 2009\n" "ntpd 4.2.4p5-a Wed Aug 26 17:29:41 UTC 2009 (1)\n" "ntpdate 4.2.4p5-a Wed Aug 26 17:29:42 UTC 2009 (1)\n" "ntpdc 4.2.4p5-a Wed Aug 26 17:29:42 UTC 2009 (1)\n" "Wed Aug 26 17:55:02 UTC 2009\n" "Wed Aug 26 17:55:02 UTC 2009\n" "Wed Aug 26 17:55:02 UTC 2009\n" "Wed Aug 26 17:20:39 UTC 2009\n" "...\n" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:543 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:553 msgid "Updates are printed, and approval is requested." msgstr "As atualizações são impressas e a aprovação é solicitada." #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:562 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:572 #, no-wrap msgid "" "New updates:\n" "kernel|generic|/GENERIC/kernel.symbols|f|0|0|0555|0|7c8dc176763f96ced0a57fc04e7c1b8d793f27e006dd13e0b499e1474ac47e10|\n" "kernel|generic|/GENERIC/kernel|f|0|0|0555|0|33197e8cf15bbbac263d17f39c153c9d489348c2c534f7ca1120a1183dec67b1|\n" "kernel|generic|/|d|0|0|0755|0||\n" "src|base|/|d|0|0|0755|0||\n" "src|bin|/|d|0|0|0755|0||\n" "src|cddl|/|d|0|0|0755|0||\n" "src|contrib|/contrib/bind9/bin/named/update.c|f|0|10000|0644|0|4d434abf0983df9bc47435670d307fa882ef4b348ed8ca90928d250f42ea0757|\n" "src|contrib|/contrib/bind9/lib/dns/openssldsa_link.c|f|0|10000|0644|0|c6805c39f3da2a06dd3f163f26c314a4692d4cd9a2d929c0acc88d736324f550|\n" "src|contrib|/contrib/bind9/lib/dns/opensslrsa_link.c|f|0|10000|0644|0|fa0f7417ee9da42cc8d0fd96ad24e7a34125e05b5ae075bd6e3238f1c022a712|\n" "...\n" "FreeBSD/amd64 7.1-RELEASE update build complete. Please review\n" "the list of build stamps printed above and the list of updated\n" "files to confirm that they look sensible, then run\n" " sh -e approve.sh amd64 7.1-RELEASE\n" "to sign the build.\n" msgstr "" "New updates:\n" -"kernel|generic|/GENERIC/kernel.symbols|f|0|0|0555|0|7c8dc176763f96ced0a57fc04" -"e7c1b8d793f27e006dd13e0b499e1474ac47e10|\n" -"kernel|generic|/GENERIC/kernel|f|0|0|0555|0|33197e8cf15bbbac263d17f39c153c9d4" -"89348c2c534f7ca1120a1183dec67b1|\n" +"kernel|generic|/GENERIC/kernel.symbols|f|0|0|0555|0|7c8dc176763f96ced0a57fc04e7c1b8d793f27e006dd13e0b499e1474ac47e10|\n" +"kernel|generic|/GENERIC/kernel|f|0|0|0555|0|33197e8cf15bbbac263d17f39c153c9d489348c2c534f7ca1120a1183dec67b1|\n" "kernel|generic|/|d|0|0|0755|0||\n" "src|base|/|d|0|0|0755|0||\n" "src|bin|/|d|0|0|0755|0||\n" "src|cddl|/|d|0|0|0755|0||\n" -"src|contrib|/contrib/bind9/bin/named/update.c|f|0|10000|0644|0|4d434abf0983df" -"9bc47435670d307fa882ef4b348ed8ca90928d250f42ea0757|\n" -"src|contrib|/contrib/bind9/lib/dns/openssldsa_link.c|f|0|10000|0644|0|c6805c3" -"9f3da2a06dd3f163f26c314a4692d4cd9a2d929c0acc88d736324f550|\n" -"src|contrib|/contrib/bind9/lib/dns/opensslrsa_link.c|f|0|10000|0644|0|fa0f741" -"7ee9da42cc8d0fd96ad24e7a34125e05b5ae075bd6e3238f1c022a712|\n" +"src|contrib|/contrib/bind9/bin/named/update.c|f|0|10000|0644|0|4d434abf0983df9bc47435670d307fa882ef4b348ed8ca90928d250f42ea0757|\n" +"src|contrib|/contrib/bind9/lib/dns/openssldsa_link.c|f|0|10000|0644|0|c6805c39f3da2a06dd3f163f26c314a4692d4cd9a2d929c0acc88d736324f550|\n" +"src|contrib|/contrib/bind9/lib/dns/opensslrsa_link.c|f|0|10000|0644|0|fa0f7417ee9da42cc8d0fd96ad24e7a34125e05b5ae075bd6e3238f1c022a712|\n" "...\n" "FreeBSD/amd64 7.1-RELEASE update build complete. Please review\n" "the list of build stamps printed above and the list of updated\n" "files to confirm that they look sensible, then run\n" " sh -e approve.sh amd64 7.1-RELEASE\n" "to sign the build.\n" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:565 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:575 msgid "Follow the same process as noted before for approving a build:" msgstr "" "Siga o mesmo processo mencionado anteriormente para aprovar uma compilação:" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:574 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:584 #, no-wrap msgid "" "# sh -e scripts/approve.sh amd64 7.1-RELEASE\n" "Wed Aug 26 12:50:06 PDT 2009 Signing build for FreeBSD/amd64 7.1-RELEASE\n" "Wed Aug 26 12:50:06 PDT 2009 Copying files to patch source directories for FreeBSD/amd64 7.1-RELEASE\n" "Wed Aug 26 12:50:06 PDT 2009 Copying files to upload staging area for FreeBSD/amd64 7.1-RELEASE\n" "Wed Aug 26 12:50:07 PDT 2009 Updating databases for FreeBSD/amd64 7.1-RELEASE\n" "Wed Aug 26 12:50:07 PDT 2009 Cleaning staging area for FreeBSD/amd64 7.1-RELEASE\n" msgstr "" "# sh -e scripts/approve.sh amd64 7.1-RELEASE\n" "Wed Aug 26 12:50:06 PDT 2009 Signing build for FreeBSD/amd64 7.1-RELEASE\n" -"Wed Aug 26 12:50:06 PDT 2009 Copying files to patch source directories for " -"FreeBSD/amd64 7.1-RELEASE\n" -"Wed Aug 26 12:50:06 PDT 2009 Copying files to upload staging area for " -"FreeBSD/amd64 7.1-RELEASE\n" -"Wed Aug 26 12:50:07 PDT 2009 Updating databases for FreeBSD/amd64 7.1-" -"RELEASE\n" -"Wed Aug 26 12:50:07 PDT 2009 Cleaning staging area for FreeBSD/amd64 7.1-" -"RELEASE\n" +"Wed Aug 26 12:50:06 PDT 2009 Copying files to patch source directories for FreeBSD/amd64 7.1-RELEASE\n" +"Wed Aug 26 12:50:06 PDT 2009 Copying files to upload staging area for FreeBSD/amd64 7.1-RELEASE\n" +"Wed Aug 26 12:50:07 PDT 2009 Updating databases for FreeBSD/amd64 7.1-RELEASE\n" +"Wed Aug 26 12:50:07 PDT 2009 Cleaning staging area for FreeBSD/amd64 7.1-RELEASE\n" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:580 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:590 #, no-wrap msgid "" "The FreeBSD/amd64 7.1-RELEASE update build has been signed and is\n" "ready to be uploaded. Remember to run\n" " sh -e umountkey.sh\n" "to unmount the decrypted key once you have finished signing all\n" "the new builds.\n" msgstr "" "The FreeBSD/amd64 7.1-RELEASE update build has been signed and is\n" "ready to be uploaded. Remember to run\n" " sh -e umountkey.sh\n" "to unmount the decrypted key once you have finished signing all\n" "the new builds.\n" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:583 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:593 msgid "After approving the build, upload the software:" msgstr "Depois de aprovar a compilação, faça o upload do software:" #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:588 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:598 #, no-wrap msgid "" "# cd /usr/local/freebsd-update-server\n" "# sh scripts/upload.sh amd64 7.1-RELEASE\n" msgstr "" "# cd /usr/local/freebsd-update-server\n" "# sh scripts/upload.sh amd64 7.1-RELEASE\n" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:591 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:601 msgid "" "For reference, the entire run of link:../../source/articles/freebsd-update-" "server/diff.txt[diff.sh] is attached." msgstr "" -"Para referência, toda a execução do link:../../source/articles/" -"freebsd-update-server/diff.txt[diff.sh] está anexada." +"Para referência, toda a execução do link:../../source/articles/freebsd-" +"update-server/diff.txt[diff.sh] está anexada." #. type: Title == -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:593 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:603 #, no-wrap msgid "Tips" msgstr "Dicas" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:596 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:606 msgid "" "If a custom release is built using the native `make release` extref:{releng}" "[procedure, release-build], freebsd-update-server code will work from your " "release. As an example, a release without ports or documentation can be " "built by clearing functionality pertaining to documentation subroutines " "`findextradocs ()`, `addextradocs ()` and altering the download location in " "`fetchiso ()`, respectively, in [.filename]#scripts/build.subr#. As a last " "step, change the man:sha256[1] hash in [.filename]#build.conf# under your " "respective release and architecture and you are ready to build off your " "custom release." msgstr "" -"Se um release personalizado for compilado usando o extref:{releng}[" -"procedimento, release-build] nativo `make release`, o código do freebsd-" +"Se um release personalizado for compilado usando o extref:{releng}" +"[procedimento, release-build] nativo `make release`, o código do freebsd-" "update-server funcionará a partir do seu release. Como exemplo, um release " "sem ports ou documentação pode ser criado limpando a funcionalidade " "referente às sub-rotinas de documentação `findextradocs ()`, `addextradocs " "()` e alterando o local de download em `fetchiso ()`, respectivamente, em [." -"filename]#scripts/build.subr#. Como último passo, altere a chave " -"man:sha256[1] em [.filename]#build.conf# no seu respectivo release e " -"arquitetura e você estará pronto para compilar o seu release personalizado." +"filename]#scripts/build.subr#. Como último passo, altere a chave man:" +"sha256[1] em [.filename]#build.conf# no seu respectivo release e arquitetura " +"e você estará pronto para compilar o seu release personalizado." #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:607 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:617 #, no-wrap msgid "" "# Compare ${WORKDIR}/release and ${WORKDIR}/$1, identify which parts\n" "# of the world|doc subcomponent are missing from the latter, and\n" "# build a tarball out of them.\n" "findextradocs () {\n" "}\n" "# Add extra docs to ${WORKDIR}/$1\n" -"addextradocs () { \n" +"addextradocs () {\n" "}\n" msgstr "" "# Compare ${WORKDIR}/release and ${WORKDIR}/$1, identify which parts\n" "# of the world|doc subcomponent are missing from the latter, and\n" "# build a tarball out of them.\n" "findextradocs () {\n" "}\n" "# Add extra docs to ${WORKDIR}/$1\n" "addextradocs () { \n" "}\n" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:610 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:620 msgid "" "Adding `-j _NUMBER_` flags to `buildworld` and `obj` targets in the [." "filename]#scripts/build.subr# script may speed up processing depending on " "the hardware used, however it is not necessary. Using these flags in other " "targets is not recommended, as it may cause the build to become unreliable." msgstr "" "Adicionar flags `-j _NUMERO_` para os alvos `buildworld` e `obj` no script [." "filename]#scripts/build.subr# pode acelerar o processamento, dependendo do " "hardware utilizado, no entanto, não é necessário. Usar esses flags em outros " "alvos não é recomendado, pois pode fazer com que a compilação se torne pouco " "confiável." #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:622 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:632 #, no-wrap msgid "" " # Build the world\n" "\t\t log \"Building world\"\n" "\t\t cd /usr/src &&\n" "\t\t make -j 2 ${COMPATFLAGS} buildworld 2>&1\n" "\t\t# Distribute the world\n" "\t\t log \"Distributing world\"\n" "\t\t cd /usr/src/release &&\n" "\t\t make -j 2 obj &&\n" "\t\t make ${COMPATFLAGS} release.1 release.2 2>&1\n" msgstr "" " # Build the world\n" "\t\t log \"Building world\"\n" "\t\t cd /usr/src &&\n" "\t\t make -j 2 ${COMPATFLAGS} buildworld 2>&1\n" "\t\t# Distribute the world\n" "\t\t log \"Distributing world\"\n" "\t\t cd /usr/src/release &&\n" "\t\t make -j 2 obj &&\n" "\t\t make ${COMPATFLAGS} release.1 release.2 2>&1\n" #. type: Plain text -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:625 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:635 msgid "" "Create an appropriate extref:{handbook}[DNS, network-dns] SRV record for the " "update server, and put others behind it with variable weights. Using this " "facility will provide update mirrors, however this tip is not necessary " "unless you wish to provide a redundant service." msgstr "" "Crie um registro extref:{handbook}[DNS, network-dns] SRV apropriado para o " "servidor de atualização e coloque outros atrás dele com pesos variáveis. O " "uso dessa facilidade fornecerá espelhos de atualização, no entanto, essa " "dica não é necessária, a menos que você deseje fornecer um serviço " "redundante." #. type: delimited block . 4 -#: documentation/content/en/articles/freebsd-update-server/_index.adoc:631 +#: documentation/content/en/articles/freebsd-update-server/_index.adoc:641 #, no-wrap msgid "" "_http._tcp.update.myserver.com.\t\tIN SRV 0 2 80 host1.myserver.com.\n" "\t\t\t\t\tIN SRV 0 1 80 host2.myserver.com.\n" "\t\t\t\t\tIN SRV 0 0 80 host3.myserver.com.\n" msgstr "" "_http._tcp.update.myserver.com.\t\tIN SRV 0 2 80 host1.myserver.com.\n" "\t\t\t\t\tIN SRV 0 1 80 host2.myserver.com.\n" "\t\t\t\t\tIN SRV 0 0 80 host3.myserver.com.\n" #~ msgid "" #~ "include::shared/attributes/attributes-{{% lang %}}.adoc[] include::shared/" #~ "{{% lang %}}/teams.adoc[] include::shared/{{% lang %}}/mailing-lists." #~ "adoc[] include::shared/{{% lang %}}/urls.adoc[]" #~ msgstr "" #~ "include::shared/attributes/attributes-{{% lang %}}.adoc[] include::shared/" #~ "{{% lang %}}/teams.adoc[] include::shared/{{% lang %}}/mailing-lists." #~ "adoc[] include::shared/{{% lang %}}/urls.adoc[]"