A Providence man who took possession of a package containing more than a kilogram of cocaine shipped from Puerto Rico moments after it was delivered by the U.S. Postal Service to the front porch of a Providence residence was sentenced today to five years in federal prison.