Added epgd 0.1.7 and patches