I think an easier strategy might be to work into your contract that if you happen to fix FOSS software on company time (to fix things your client notices), your patches go back upstream.
This, at least, is the implicit policy at the company I work for. It's used in the pitch ("we use and contribute to open source software, which we believe leads to a better internet" and so on) to the clients who appreciate such things.
That said, there might be too much legal tape to get that into a contract.
This, at least, is the implicit policy at the company I work for. It's used in the pitch ("we use and contribute to open source software, which we believe leads to a better internet" and so on) to the clients who appreciate such things.
That said, there might be too much legal tape to get that into a contract.