Put all ingredients in a saucepan and bring to the boil. Let it simmer over a low heat, this can take up to 2 hours. Stir frequently at the end, as the mixture can easily burn.
If you don`t like the slightly lumpy consistency, you can also puree.
Pour hot into twist-off jars and close immediately. Let cool while standing upside down.