The first recipe in this link is for ketchup.....
http://neurotalk.psychcentral.com/thread86556.html
I've not tried it but it seems simple enough.
I'm sure you could use your fresh or canned tomatoes in place of the canned paste.
There is also a recipe for BBQ sauce. Not sure if you like that type of condiment or not.