Gearmotors for livestock buildings