Boars are the same shape as pigs, but the texture is different. It will attack the player if attacked or if the player gets too close. It will attack smaller prey when they are hungry. They deal about 2 hearts of damage. They drop porkchops when killed.
Source Technic Pack Wiki