I bet the totality of the circumstances will make the search legal.
For reference, see:
YouTube - Chris Rock - How not to get your ass kicked by the police!
The OP violated many aspects.
Case Dismissed yesterday due to illegal search and seizure. My attorney found out the police car had a camera which recorded what happened in the driveway. Since the video didn't show any signs of me being combative, threatening, or resisting the police officer... he had no legal cause to search me or my property. This wasn't a ruling from the bench... prosecutor dropped charges. Justice prevailed!!!