A UN-negotiated peace agreement between Frelimo and rebel Mozambique National Resistance ( Renamo ) forces ended the fighting in 1992 .