I'm glad it worked. The .info and .patch files get set up initially when you install, and you get new versions when you use "selfupate-cvs".
On Fri, 2003-04-04 at 11:51, mykle hansen wrote: > > On Thu, 2003-04-03 at 11:15, mykle hansen wrote: > >> hello everybody. > >> > >> i'm trying to apply the OpenSSH watchdog/heartbeat patch > >> to the Fink OpenSSH package. i can't figure out how to do this. > >> specifically, i can't figure out how to make Fink pause > >> after unpacking the source, so i can go in and apply the patch, > >> and then make Fink continue configuring & building. the former > >> works with 'fetch', but the latter doesn't work with 'build' > >> because build re-fetches the tarball. > > > On Thursday, April 3, 2003, at 09:24 AM, Alexander Hansen wrote: > > > >> You can't pause the build that way. You could, however, modify the > >> package's .info file to include your patch (the Patches: line). > >> > > hey, it worked! thanks! i now have a fink-built openssh that includes > Hideaki Goto's watchdog-heartbeat patch. > > for general edification, here's what i did: > > -- got the patch from here: > http://www.sc.isc.tohoku.ac.jp/~hgot/sources/openssh-watchdog.html > > -- unpacked it and moved the patch file to > /sw/fink/10.2/stable/crypto/finkinfo > > -- edited /sw/fink/10.2/stable/crypto/finkinfo/openssh-3.5p1-2.info, > adding the > name of the patch to the Patch: line, separated by a space. ( i > already had the > info file on my disk because i've only tried to install this package > 100 times > or so ... if you've never tried to install openssh under fink before, > i have no idea > if the .info file would be there or not. i guess just install it once > before > you follow these instructions ...) > > -- fink applies its patches with the -p1 flag, which strips one level > of > pathname off every file entry in the patch. the watchdog patch wasn't > built with that in mind, so i had to edit the patch file to add one > level of > pathname to each filename in the file, so that patch could strip it > off again. > ugh. so for instance, these lines: > > >> --- > >> > *** servconf.h.orig Thu Aug 1 10:28:39 2002 > >> > --- servconf.h Sun Oct 20 17:08:33 2002 > > were edited to become these lines: > > > < *** openssh-3.4p1/servconf.h.orig Thu Aug 1 10:28:39 2002 > > < --- openssh-3.4p1/servconf.h Sun Oct 20 17:08:33 2002 > > -- 'fink rebuild openssh' ... and presto. > > fink is great. thanks Alexander for your tip. > > -mykle- -- Alexander K. Hansen Associate Research Scientist, Columbia University visiting MIT Plasma Science and Fusion Center Levitated Dipole Experiment 175 Albany Street, NW17-219 Cambridge, MA 02139-4213 ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users