A Smithfield man will spend a decade behind bars for attempting to entice a minor and possessing child pornography.