[MASOCH-L] Help para aplicar patch no IPAC-NG(IP accounting next generation)

silvio.cesar at unigranrio.edu.br silvio.cesar at unigranrio.edu.br
Mon Jun 18 16:16:39 BRT 2007


Boa tarde,

Estou fazendo uns testes com o IPAC-NG(IP accounting next generation)

E existe um patch para que ele funcione com o iptables 1.3.x:

O texto diz para aplicar o danado do patch:

Apply ipac-ng-1.31-iptables-1.3.1.patch  (mirror) which updates it for
the iptables change (patch -p0).

Alguém poderia ajudar a na linha de comando para aplicar este patch?

# ipac-ng-1.31-iptables-1.3.1.patch

Tentei algo como:

cd ipac-ng-1.31
patch -p0  < ../ipac-ng-1.31-iptables-1.3.1.patch

e obtive a seguinte mensage:

can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruwN ipac-ng-1.31.orig/agents/iptables/iptables.c
ipac-ng-1.31/agents/iptables/iptables.c
|--- ipac-ng-1.31.orig/agents/iptables/iptables.c       2004-06-28
00:08:54.000000000 +0200
|+++ ipac-ng-1.31/agents/iptables/iptables.c    2005-05-02
11:48:19.816750880 +0200
--------------------------
File to patch:

-- 
Att,

Silvio Cesar L. dos Santos
Analista de Redes Pleno
DTI - Divisão de Tecnologia da Informação
UNIGRANRIO - Universidade do Grande Rio
+55 21 2672-7720
silviocesar at unigranrio.edu.br
http://www.unigranrio.edu.br


More information about the masoch-l mailing list