I apologise for asking what must seem like a basic question. Feel free
to point me to the manual (but please be so kind as to tell me which
manual to read).

I would like to know how I can apply patches to a Ubuntu-provided
package, in such a way that my changes don't get un-done when the Ubuntu
package is updated.

The particular change I would like to make is to patch the openssh
package for support of the VIA Padlock hardware encryption engine. A
small and simple patch for this is available in various places.

I know how to apply patches, compile and install software, etc. What I'm
after is learning how to do this "properly" on Ubuntu.

Thanks, Jan

(please do not reply to the above spambait email address)