As much as I want these programs to be ended, the fact of the matter is that there's no coming back from a government with broken courts. If the supreme court ever gets to the point where one party is packing it and they're ignoring precedent, that's game over. People will be shooting each other. Don't believe for one second that our country or our time in history is special, it's on the table and as long as humans are forming institutions it will always be on the table.
You can equally argue that there's also no coming back from a government that no longer respects civil liberties, but that's irrelevant to a conversation about who we ought to put on the courts. Kavanaugh is looking to become a member of the least oscillative part of American government, and I'm personally glad that he places the sanctity of that institution over everything else --- yes, even the values of the constitution.
To anyone who reads the full article and comes away believing that Kavanaugh is in the wrong, I have to wonder what criteria you believe he should be using to decide his position when answering questions like this. It's unreasonable to say, "He should just look at the constitution and see that these programs are at odds with the 4th amendment and we'll just fix everything in one fell swoop." The court can't operate like that.
Be angry at the precedent. Be angry at the legislators who wrote the Patriot Act. Be angry at the ISPs for cooperating so freely. Be angry at yourself for not making or using technology that makes their spying irrelevant. But don't blame the court for putting their responsibility to self-preserve over their responsibility to bail society out of our collective bad decisions.
edit: s/precedence/precedent/g