Either from oai + -ar or from Vulgar Latin *oviārius (a root), from Latin ovis. Compare Romanian oier.
uiar m (plural uiari)