A general rule of thumb for crossover parts is that any part within 10% of the specified value can work. For a 2.5 ohm resistor, ±10% puts you in the range of 2.25 to 2.75 ohms. This 2.4 ohm $1.41 resistor should work:
Dayton Audio DNR-2.4 2.4 Ohm 10W Precision Audio Grade ResistorDayton Audio DNR Series "Audio Grade" resistors are primarily used in Zobel networks and fixed L-Pad attenuator circuits. Nickel-chromium elements, a high thermal conductivity ceramic core, and welded construction all contribute to...
www.parts-express.com
Or if you want to splurge you can pay $1.69:
Dayton Audio DPR10-2.4 2.4 Ohm 10 Watt Precision 1% Audio Grade ResistorDayton Audio's Precision Series Audio Grade resistors are designed specifically for use in high-end, no compromise crossover networks. The nickel-chromium winding, a high thermal conductivity ceramic core, welded...
www.parts-express.com
Both resistors are rated 10 instead of 5 watts. Those wattage ratings are failure ratings. A 10 watt resistor will handle more power than a 5 watt resistor. It will not affect your crossover to substitute a 10 watt resistor.
For an 8 µF capacitor, the same ±10% rule of thumb applies. Going higher than a 50 Volt failure rating, helps with the power handling, but doesn't affect it's performance as a capacitor. Here is an inexpensive non-polar electrolytic 8 µF rated at 100V. I hope that fits in the small space available. It can be mounted vertically.
8.0uF 100V Electrolytic Non-Polarized Crossover CapacitorElectrolytic non-polarized (bi-polar) capacitors are perfect low-cost solutions for use in passive speaker crossovers. These capacitors feature axial leads, a 5% dissipation factor, and are rated at a 100 VDC working voltage which equates...
www.parts-express.com