The invention provides compounds having the general formula (I): and pharmaceutically acceptable salts thereof, wherein the variables RA, RAA, n, ring A, X2, L, m, R1, R2, R3, R4, R5, and RN have the meaning as described herein, and compositions containing such compounds and methods for using such compounds and compositions.L'invention concerne des composés présentant la formule générale (I) et des sels pharmaceutiquement acceptables correspondants, les variables RA, RAA, n, le cycle A, X2, L, m, R1, R2, R3, R4, R5 et RN étant telles que décrites dans la description, des compositions contenant de tels composés et des procédés d'utilisation de ces composés et de ces compositions.