It's possible that countries which consistently rate high on human rights abuses attempt this sort of thing, but most countries likely do not. Like the gov killing people without reason, the gov spying on people without reason is something which the vast majority in my country, for example, would be very much against.
Especially since 9/11/bush/cheney the US has become known worldwide as a nation whose gov is willing to sacrifice the freedom of its people, in the hopeless quest to keep the "bad guys" out.
Comparing even the security at the port of miami,for example, to any of the other 120+ ports around the world I've been to. There are more hoops crewmembers have to jump through in miami, and more restrictions, than anywhere, except possibly israel.
The US gov has greater tech capability than most governments, and continues to show a lack of concern for the wishes of its people.
Just because a law wasn't broken doesn't mean it's right. The US military depends on the mindset of "if the gov says do it and it's legal, it must be OK."