On Sat, 6 Jan 2007, Tobias Weisserth wrote:
So if you use it, you will probably need to do maintenance work
yourself, first of all adapting it to OpenBSD 4.0.

Or you can make your own patches very easily too without any addons.
After patching your sources, you could:

# FAKEROOT=/usr/obj/patches
# rm -rf ${FAKEROOT} && mkdir ${FAKEROOT}
# mtree -qdef /etc/mtree/4.4BSD.dist -p ${FAKEROOT}/ -u
# touch ${FAKEROOT}/timestamp

Then follow patch directions but add "env DESTDIR=${FAKEROOT}" at the begining of the line that has the install command.
Finish with:

# cd ${FAKEROOT}
# find . \! -name "plist" -newer timestamp -type f > plist
# cat plist | xargs tar czpf ${FAKEROOT}/XXX_foo.patch-release-arch.tar.gz

Then you can apply the patch using:
# tar xzpf XXX_foo.patch-release-arch.tar.gz -C /

Of course, this is just an exemple, they are many ways to make your own binpatches.

Cheers!

--
Antoine

Reply via email to