Former Attorney-General Christian Porter has stepped down from the federal cabinet after refusing to reveal information about an anonymous donor that covered a portion of his costs in pursuing defamation proceedings against the ABC over an article airing historical rape allegations.