McMaster lists Buna-N as being oil and "mild chemical" resistant, and they say "Viton® fluoroelastomer O-rings resist a wide range of chemicals, including benzene, butyl alcohol, and ethylene glycol." Neither lists gasoline. I suspect Buna will be the only thing I'll find at a hardware store.