Before they used dogs they used beaters.
I wouldn’t rate big boar as more dangerous than a brown bear.
Given a chance above average boar would tear you apart true but my impression is they aren’t very smart and somehow challenged in terms of eyesight.
If a boar decides to attack you he tries to figure out where you are and then charges in a straight line. It is fast but move a couple feet aside from the line and it passes by and then stops to think out what to do next. Guess you know what to do at this point. They aren’t really as tough as well. A 12 ga slug center-mass incapacitates ever the largest ones.