Add `logrotate` software definition

A simple patch is required since `logrotate` does not ship with a 
configure script. The only way to set the effective prefix is to 
manually override `BASEDIR`, which is exactly what the patch does!
Merge branch 'OC-8282/logrotate'