How to add a gfci and surge protector to pool pump line?
You can change out the old breaker feeding the pump. This would be the safest way. A surge protector should be located close to your service this would then protect everything not just the pool. I voted up because it is easy to swap an old non GFCI for a GFCI protected breaker and this will make the current pool service much safer.