On Tue, 2 Jul 2002, Darrell May wrote:
> I'm trying to rebuild e-smith-samba-1.2.0 the e-smith way by adding a patch. > Problem is it isn't working, yet I believe I've followed the e-smith > instructions provided. You have indeed. However the HOWTO is wrong! Where it says: # Make a patch file containing your changes: diff -ruN BUILD/e-smith-pkg-0.3-{3,4} > \ SOURCES/e-smith-pkgs.fixes.20000815001 it should say: # Make a patch file containing your changes: cd BUILD diff -ruN e-smith-pkg-0.3-{3,4} > \ SOURCES/e-smith-pkgs.fixes.20000815001 Another way to fix the problem is to use "-p2" on your patch line, rather than "-p1" as we have at present. I guess this documentation isn't being used very widely :-) > My patch is very small and simply tries to add one template fragment > '11pidDirectory' with one line of code: > > # cat e-smith-samba-1.2.0.patch.2002070100 > diff -ruN > BUILD/e-smith-samba-1.2.0-02/root/etc/e-smith/templates/etc/smb.conf/11pidDirectory > >BUILD/e-smith-samba-1.2.0-03dmc/root/etc/e-smith/templates/etc/smb.conf/11pidDirectory > --- > BUILD/e-smith-samba-1.2.0-02/root/etc/e-smith/templates/etc/smb.conf/11pidDirectory > Wed Dec 31 16:00:00 1969 > +++ > >BUILD/e-smith-samba-1.2.0-03dmc/root/etc/e-smith/templates/etc/smb.conf/11pidDirectory > Mon Jul 1 18:30:08 2002 > @@ -0,0 +1 @@ > +pid directory = /var/run This is exactly what we have done in 5.5. -- Charlie Brady [EMAIL PROTECTED] Lead Product Developer Network Server Solutions Group http://www.e-smith.com/ Mitel Networks Corporation http://www.mitel.com/ Phone: +1 (613) 592 5660 or 592 2122 Fax: +1 (613) 592 1175 -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org