Mikael Jirari <[EMAIL PROTECTED]> writes: > > 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.
Actually, you need some more patches. The patch you mention: linux-2.4.16-openssl-0.9.6b-mppe.patch is meant to be applied to the kernel. You also need the patches: ppp-2.4.1-openssl-0.9.6-mppe-patch ppp-2.4.1-MSCHAPv2-fix.patch ## may or may not be needed which are what you apply to the PPP sources. That should be just a matter of: cd ppp-2.4.1.uus patch -p1 </wherever/you/put/ppp-2.4.1-openssl-0.9.6-mppe-patch patch -p1 </wherever/you/put/ppp-2.4.1-MSCHAPv2-fix.patch If I recall correctly, these apply relatively cleanly. Now, you build your package: debian/rules build Then, it's probably worthwhile to add a structured entry to the top of: debian/changelog like: /// ppp (2.4.1.uus-4+local0) unstable; urgency=low * Applied MPPE patches: - ppp-2.4.1-openssl-0.9.6-mppe-patch.gz - ppp-2.4.1-MSCHAPv2-fix.patch.gz -- Kevin Buhr <[EMAIL PROTECTED]> Wed, 16 Oct 2002 06:50:49 -0700 \\\ Note that the structure of the first line and the whitespace for the remaining lines is kind of important. You can also use the "debchange" or "dch" tool to help with this step. Finally, build the binary packages: fakeroot debian/rules binary to produce a: ppp_2.4.1.uus-4+local0_i386.deb in the parent directory which you can install as root: cd .. dpkg -i ppp_2.4.1.uus-4+local0_i386.deb -- Kevin <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]