Stir the hot water, salt and sugar until dissolved. Add the spices and stout and make sure the brine is cold.
Submerge the pork, cover and refrigerate 12 to 24 hours.
Heat the oven to 275°F (135°C). Lift out the pork, keeping 1 cup brine, and rinse. Set a rack over a baking sheet, pour in the brine and lay the pork on the rack.
Roast about 4 hours, until fork-tender. Raise the oven to 500°F (260°C).
Mix the glaze, brush it over the pork and roast 10 minutes. Brush again and roast until the top is crisp and dark golden.