I just did a search and couldn’t find anything about hogs/pigs being guard animals.
Maybe we could start a Freeper-led business....
Did you do a search on "Arnold Ziffle"? I don't recall him ever being in a guard-pig situation, but I'm sure he could have done it. He was the smartest animal in the World.