A compound of formula: or a pharmaceutically acceptable salt thereof: wherein: R 1 -X is wherein the piperazinyl ring is optionally substituted with R 8; Y is a bond, O, S or NR 5; R 1 is -C C(R A) C(R B) p, wherein is a double bond, p is two, each R B is hydrogen, and R A is halogen; R 2 is hydrogen, alkyl, hydroxyalkyl, dihydroxyalkyl, alkylaminylalkyl, dialkylaminylalkyl, -Z-NR 5 R 10, heterocyclyl, heterocyclylalkyl, aryl, heteroaryl, or heteroarylalkyl, wherein each of the Z, heterocyclyl, heterocyclylalkyl, aryl, heteroaryl, and heteroarylalkyl may be optionally substituted with one or more R 9; each Z is C1 - C4 alkylene; each R 3 is independently C1 - C3 alkyl, oxo, haloalkyl, hydroxyl or halogen; L is a bond, -C -, or C1 - C3 alkylene; R 4 is hydrogen, cycloalkyl, heterocyclyl, aryl, aralkyl or heteroaryl, wherein each of the cycloalkyl, heterocyclyl, aryl, aralkyl and heteroaryl may be optionally substituted with one or more R 6, R 7 or R 8; each R 5 is independently hydrogen or C1 - C3 alkyl; R 6 is cycloalkyl, heterocyclyl, heterocyclylalkyl, aryl, or heteroaryl, wherein each of the cycloalkyl, heterocyclyl, aryl, or heteroaryl may be optionally substituted with one or more R 7; each R 7 is independently halogen, hydroxyl, C1 - C6 alkyl, cycloalkyl, alkoxy, haloalkyl, amino, cyano, heteroalkyl, hydroxyalkyl or Q-haloalkyl, wherein Q is O or S; R 8 is oxo, C 1 - C3 alkyl, C2 - C4 alkynyl, heteroalkyl, cyano, -C OR 5, -C N(R 5) 2, -N(R 5) 2, wherein the C1 - C3 alkyl may be optionally substituted with cyano, halogen, -OR 5, -N(R 5) 2, or heteroaryl; each R 9 is independently hydrogen, oxo, acyl, hydroxyl, hydroxyalkyl, cyano, halogen, C1 - C6 alkyl, aralkyl, haloalkyl, heteroalkyl, cycloalkyl, heterocyclyl, heterocyclylalkyl, alkoxy, dialkylaminyl, dialkylamidoalkyl, or dialkylaminylalkyl, wherein the C1 - C6 alkyl may be optionally substituted with cycloalkyl; each R 10 is independently hydrogen, acyl, C1 - C3 alkyl, heteroalkyl or hydroxyalkyl; R ll is haloalkyl; and m is zero or an integer between 1 and 2. R 1 -X is wherein the piperazinyl ring is optionally substituted with R 8; Y is a bond, O, S or NR 5; R 1 is -C C(R A) C(R B) p, wherein is a double bond, p is two, each R B is hydrogen, and R A is halogen; R 2 is hydrogen, alkyl, hydroxyalkyl, dihydroxyalkyl, alkylaminylalkyl, dialkylaminylalkyl, -Z-NR 5 R 10, heterocyclyl, heterocyclylalkyl, aryl, heteroaryl, or heteroarylalkyl, wherein each of the Z, heterocyclyl, heterocyclylalkyl, aryl, heteroaryl, and heteroarylalkyl may be optionally substituted with one or more R 9; each Z is C1 - C4 alkylene; each R 3 is independently C1 - C3 alkyl, oxo, haloalkyl, hydroxyl or halogen; L is a bond, -C -, or C1 - C3 alkylene; R 4 is hydrogen, cycloalkyl, heterocyclyl, aryl, aralkyl or heteroaryl, wherein each of the cycloalkyl, heterocyclyl, aryl, aralkyl and heteroaryl may be optionally substituted with one or more R 6, R 7 or R 8; each R 5 is independently hydrogen or C1 - C3 alkyl; R 6 is cycloalkyl, heterocyclyl, heterocyclylalkyl, aryl, or heteroaryl, wherein each of the cycloalkyl, heterocyclyl, aryl, or heteroaryl may be optionally substituted with one or more R 7; each R 7 is independently halogen, hydroxyl, C1 - C6 alkyl, cycloalkyl, alkoxy, haloalkyl, amino, cyano, heteroalkyl, hydroxyalkyl or Q-haloalkyl, wherein Q is O or S; R 8 is oxo, C 1 - C3 alkyl, C2 - C4 alkynyl, heteroalkyl, cyano, -C OR 5, -C N(R 5) 2, -N(R 5) 2, wherein the C1 - C3 alkyl may be optionally substituted with cyano, halogen, -OR 5, -N(R 5) 2, or heteroaryl; each R 9 is independently hydrogen, oxo, acyl, hydroxyl, hydroxyalkyl, cyano, halogen, C1 - C6 alkyl, aralkyl, haloalkyl, heteroalkyl, cycloalkyl, heterocyclyl, heterocyclylalkyl, alkoxy, dialkylaminyl, dialkylamidoalkyl, or dialkylaminylalkyl, wherein the C1 - C6 alkyl may be optionally substituted with cycloalkyl; each R 10 is independently hydrogen, acyl, C1 - C3 alkyl, heteroalkyl or hydroxyalkyl; R ll is haloalkyl; and m is zero or an integer between 1 and 2.