I d/l the sources in /home/mikael/ppp
And i have all these files
drwxr-xr-x 17 mikael mikael 4096 Nov 15 14:41 ppp-2.4.1.uus
drwxr-xr-x 16 mikael mikael 4096 Sep 29 2001 ppp-2.4.1.uus.orig
-rw-r--r-- 1 root root 47116 Dec 10 2001 ppp_2.4.1.uus-4.diff.gz
-rw-r--r-- 1 root root 646 Dec 10 2001 ppp_2.4.1.uus-4.dsc
-rw-r--r-- 1 root root 534181 Sep 30 2001 ppp_2.4.1.uus.orig.tar.gz
As root i launch patch -p1 < /path/to/patch/file
or even in ppp-2.4.1.uus and ppp-2.4.1.uus.orig directories, none of them works
The result of the command is
# patch -p1 < /usr/src/linux-2.4.16-openssl-0.9.6b-mppe.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 -ruN linux/drivers/net/Makefile src/drivers/net/Makefile
|--- linux/drivers/net/Makefile Fri Oct 19 08:32:28 2001
|+++ src/drivers/net/Makefile Mon Dec 3 13:54:58 2001
--------------------------
File to patch:
I already used this patch to patch the kernel but i want to patch ppp as well.
Which file is the patch want me to patch ? I dunno ....
Looking in the patch sources didn't help, i actually don't know what i'm looking for :)
-----Original Message-----
From: Jamin W. Collins [mailto:jcollins@asgardsrealm.net]
Sent: 15 November 2002 15:12
To: 'debian-user@lists.debian.org'
Subject: Re: pptp vpn
On Fri, Nov 15, 2002 at 01:41:49PM -0000, Mikael Jirari wrote:
> I want to patch ppp.
>
> I did apt-get source ppp and now i have a couple of files with dsc,
> diff, orig. My patch is linux-2.4.16-openssl-0.9.6b-mppe.patch.
>
> How can i apply the patch, i know how to do for the kernel but not for
> a special package sources.
- change to the top level of the source tree you want to patch
- run "patch -p1 < /path/to/patch/file
The above works with most patches that I've seen.
--
Jamin W. Collins
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org