Boa tarde
 fiz o que me foi sugerido
 e esse foi o resultado,   ele cria um diretorio pppd na mesma pasta onde
baixei o ppp fonte, ele cria com um arquivo dentro, nunca fiz isso, o que
devo fazer agora  ?

desde ja fico grato por qualquer ajuda

artico:/usr/src# patch -Np1 -i ppp-2.4.2-smb.patch
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 -ur -N ppp-2.4.2/pppd/Makefile.linux
ppp-2.4.2-patched-cleaned/pppd/Makefile.linux
|--- ppp-2.4.2/pppd/Makefile.linux    Thu Nov 27 22:55:19 2003
|+++ ppp-2.4.2-patched-cleaned/pppd/Makefile.linux    Fri Jul  2 17:17:52
2004
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur -N ppp-2.4.2/pppd/auth.c ppp-2.4.2-patched-cleaned/pppd/auth.c
|--- ppp-2.4.2/pppd/auth.c    Thu Jun 12 01:56:26 2003
|+++ ppp-2.4.2-patched-cleaned/pppd/auth.c    Fri Jul  9 14:53:53 2004
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 81
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur -N ppp-2.4.2/pppd/chap_ms.c
ppp-2.4.2-patched-cleaned/pppd/chap_ms.c
|--- ppp-2.4.2/pppd/chap_ms.c    Fri Jul  9 15:36:43 2004
|+++ ppp-2.4.2-patched-cleaned/pppd/chap_ms.c    Fri Jul  9 15:41:43 2004
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
3 out of 3 hunks ignored
patching file pppd/smbpwd.h
artico:/usr/src# ls



Em 20 de maio de 2010 17:40, Leonardo Andrade
<aaaleonardoli...@gmail.com>escreveu:

> Você está aplicando esse patch no diretório do código-fonte da versão
> ppp-2.4.2, especificamente onde está o pppd/Makefile.linux?
>
> 2010/5/19 Anderson Bertling <andersonbertl...@gmail.com>:
> > boa tarde
> > Estou com dificuldades para instalar um patch, instalei o pptpd no lenny
> > meu kernel é 2.6.26-2-686 e o pptpd instalado é a verção 1.3.4-2.1 para
> > liberar a leitura do pptp na base /etc/samba/smbpsswd segundo o que
> > pesquisei no google  tenho q instalar por essa linha de comando#  patch
> -Np0
> > -i ppp-2.4.2-smb.patch,  e o mesmo me devolve a seginte informação
> >
> > patch -Np0 -i /home/master/ppp-2.4.2-smb.patch
> > 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 -ur -N ppp-2.4.2/pppd/Makefile.linux
> > ppp-2.4.2-patched-cleaned/pppd/Makefile.linux
> > |--- ppp-2.4.2/pppd/Makefile.linux    Thu Nov 27 22:55:19 2003
> > |+++ ppp-2.4.2-patched-cleaned/pppd/Makefile.linux    Fri Jul  2 17:17:52
> > 2004
> > --------------------------
> > File to patch:
> >
> > eu achei esse patch ness link
> > http://oss.universe-network.net/patches/ppp-smbpasswd.php
> > alguem ja instalou esse patch ? ou sabe o que posso fazer para instalar
> ele
> > ?
> >
> > desde ja fico grato por qualquer ajuda
> >
> >
> >
> >
> >
> >
> >
> > --
> > Att
> >
> > Anderson Bertling
> >
> >
>



-- 
Att

Anderson Bertling

Responder a