Opportunity has investigated in detail rocks on the rim of the Noachian age Endeavour crater, where orbital spectral reflectance signatures indicate the presence of Fe+3-rich smectites. The signatures are associated with fine-grained, layered rocks containing spherules of diagenetic or impact origin. The layered rocks are overlain by breccias, and both units are cut by calcium sulfate veins precipitated from fluids that circulated after the Endeavour impact. Compositional data for fractures in the layered rocks suggest formation of Al-rich smectites by aqueous leaching. Evidence is thus preserved for water-rock interactions before and after the impact, with aqueous environments of slightly acidic to circum-neutral pH that would have been more favorable for prebiotic chemistry and microorganisms than those recorded by younger sulfate-rich rocks at Meridiani Planum.