Alcohol laws in District 12
White liquor is explicitly illegal to brew and sell in Sunrise and the Trilogy (SOTR ebook p.11, CF p.220 etc). In Ballad it's a lot less clear, Snow never calls it illegal and never worries he's breaking the law by buying it, however he does once imply that its a black market item (TBOSAS p.408), but that may be about illegal trading not illegal wares since shoelaces and soap are on the list too. Someone is always brewing it though, legal or not.
For weaker drinks, the most notable is the beer that's sold in the Capitol store fully legally (SOTR ebook p.282). Also, D12 nicknaming it 'near beer' and recognising it as particularly 'thin, weak, and feeble' implies they know other beer to compare it to. Haymitch also is familiar with wine and wine bottles (SOTR ebook p.331), but not champagne (SOTR ebook p.47) or spirits other than white liquor, like vodka or cognac (SOTR ebook p.176-7). Katniss describes wine that's 'home-made stuff that [her] mother uses for coughs' (THG p.92-3), so, there definitely is some brewing of weak alcohol going on in D12. No indication whether it's legal or not.
Asterid buys bootlegged liquor for medicine while working for her parents so clearly the law is not the most important thing to her (SOTR ebook p.28). Some alcohol is legal for medicinal purposes though, since rubbing alcohol (not drinkable) is stocked by the apothecary in Catching Fire and no one is worried about it during the crackdown (CF p.156).
Possibilities: 1) All brewing is illegal (it happens anyway) and only imports are allowed, like near beer and rubbing alcohol. Possibly there are even other imports like wine that are just too expensive for the Seam. Commander Hoff gets imported whiskey in Ballad, but he isnt a district civilian (TBOSAS p.476). 2) Strong alcohol for consumption is illegal, but brewing weaker stuff is fine. Wine and beer would be legal to make, maybe stronger medicinal alcohol could even be made too, since its not for drinking. People in D12 are always after white liquor specifically when they're trying to get drunk drunk, so a law distinguishing weaker drinks as not a problem isn't counterintuitive. 3) There may be change over time, especially if white liquor is legal during Ballad. Plus, the Capitol store doesn't exist the whole time, so either beer is only legal to buy in its era, or some merchant or something gets to import/brew and distribute beer etc at other times. Maybe there's an alcohol license situation who knows.