Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Aplicar patch para usar E2Guardian 5 em pfSense 2.4.4

    Scheduled Pinned Locked Moved Portuguese
    8 Posts 3 Posters 6.0k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      mateusscheper
      last edited by

      Pessoal, estou rodando o patch do marcelloc pelo System Patches para poder utilizar o E2Guardian5 mas estou encontrando alguns problemas.

      Primeiro tentei colocar o patch para fazer o fetch na url https://raw.githubusercontent.com/marcelloc/Unofficial-pfSense-packages/master/244_unofficial_packages_list.patch, porém ele exibe o erro:

      /usr/bin/patch --directory=/ -t -p2 -i /var/patches/5bc48b95bd739.patch --check --forward --ignore-whitespace
      
      Hmm...  Looks like a unified diff to me...
      The text leading up to this was:
      --------------------------
      |--- /etc/inc/pkg-utils.orig	2018-09-24 17:51:32.458825000 -0300
      |+++ /etc/inc/pkg-utils.inc	2018-09-24 17:51:54.387033000 -0300
      --------------------------
      No file to patch.  Skipping...
      Hunk #1 ignored at 388.
      Hunk #2 ignored at 485.
      2 out of 2 hunks ignored while patching inc/pkg-utils.inc
      done
      

      Também tentei pela URL https://github.com/marcelloc/Unofficial-pfSense-packages/blob/master/244_unofficial_packages_list.patch:

      /usr/bin/patch --directory=/ -t -p2 -i /var/patches/5bc48a9963360.patch --check --forward --ignore-whitespace
      
      Hmm...  Looks like an ed script to me...
      (Patch is indented 10 spaces.)
      The text leading up to this was:
      

      Aí aparece a página do github toda desconfigurada e no final isso:

      |        
      --------------------------
      No file to patch.  Skipping...
      Hmm...  Ignoring the trailing garbage.
      done
      

      Porém este é o único meio em que aparecem os botões Apply e Revert.

      Alguém poderia me ajudar? Preciso fazer o E2Guardian voltar logo!
      Estou usando o pfSense 2.4.4.

      1 Reply Last reply Reply Quote 2
      • G Offline
        ghislenidroid
        last edited by ghislenidroid

        @mateusscheper bom dia, tranquilo?

        Eu consegui instalar a pacth seguindo os passos abaixo;

        • 1 - Acesse System -> Package Manager -> Avaliable Packages e instala o System_Patches
        • 2 - Acessa System -> Patches - preencha os campos Description (Qualquer coisa) e o campo URL/Commit ID com o link do patch: https://raw.githubusercontent.com/marcelloc/Unofficial-pfSense-packages/master/244_unofficial_packages_list.patch
          O campo Path Strip Count: 1
          Marca Ignore Whitespace e Auto Apply
          0_1539619515211_Patch.png
        • 3 - Salve e depois clique em Fetch, testa e aplica
          Acessa a console opção 8, ou pelo Putty, e roda o comando no Command Prompt
        fetch -q -o /usr/local/etc/pkg/repos/Unofficial.conf https://raw.githubusercontent.com/marcelloc/Unofficial-pfSense-packages/master/Unofficial.conf
        
        • 4 - Acesse System -> Package Manager -> Avaliable Packages e procura o E2Guardians para instalar.
        H 1 Reply Last reply Reply Quote 3
        • M Offline
          mateusscheper
          last edited by

          @ghislenidroid, funcionou! Muito obrigado.

          Agora estou com problema para acessar o E2Guardian 😅 mas deixa isso para outro tópico.
          Até mais!

          1 Reply Last reply Reply Quote 0
          • G Offline
            ghislenidroid
            last edited by

            @mateusscheper said in Aplicar patch para usar E2Guardian 5 em pfSense 2.4.4:

            @ghislenidroid, funcionou! Muito obrigado.

            Agora estou com problema para acessar o E2Guardian 😅 mas deixa isso para outro tópico.
            Até mais!

            O que tá pegando ?

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              mateusscheper @ghislenidroid
              last edited by

              @ghislenidroid Isso:
              https://forum.netgate.com/topic/136740/parse-error-syntax-error-unexpected-expecting-variable-t_variable-in-usr-local-www-pkg_edit-php-on-line-913

              G 1 Reply Last reply Reply Quote 0
              • G Offline
                ghislenidroid @mateusscheper
                last edited by

                @mateusscheper Já editou o arquivo e procurou pelo PIPE?

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  mateusscheper @ghislenidroid
                  last edited by

                  @ghislenidroid Imagino que do PHP antigo para o 7.2, tenha alguma diferença na hora de usar o try catch. (Referência: https://secure.php.net/manual/pt_BR/language.errors.php7.php)

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    hoffmann @ghislenidroid
                    last edited by

                    @ghislenidroid Parabéns! Estava desesperado, pois tb não conseguia adicionar este pacote. Agora sim, deu certo!

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.