Raytheon Co. agreed to acquire Websense Inc. from private-equity firm Vista Equity Partners LLC for $1.9 billion and plans to combine it with its cyber-products unit, people with knowledge of the matter said.

The new company will be 80 percent owned by Raytheon and Vista will keep a 20 percent stake, said the people, who asked not to be named because the process is private. Raytheon will contribute $1.6 billion in cash to the new company, of which $600 million will be a loan, the people said.

Raytheon also plans to contribute Raytheon Cyber Products, a $400 million unit, to the new company, one of the people said. Vista will contribute $335 million to the new venture, the person said.