Evolution of passive movement in advective environments: General boundary condition