Hey all,
Eventually I'd like to get the code migrated to Python 3, but getting up an running asap is step 1.
Background: I worked for a software company between 2011 and 2019. 2019 they shut their doors. Earlier this month, they asked if I wanted to do some work for them and get the old software running. In 2019 we were running FreeBSD 11.1. We maintained packages using poudriere. Currently, I'm having issues getting the software to work properly as it's using HTTPS since the Let's Encrypt CA certificates were renewed in 2020, the old ones don't work. I tried updating the ca-root-nss.crt certificate using the current 14.2 release ca-root-nss package, but that didn't work. I was able to install it - it's only a plain text file with a bunch of CA root certificates afterall - and copy it to the 3 or 4 other places that use a copy, eg /usr/local/share/certs, /etc/ssl, and a few other places I'd have to look up again. Anyway, the certificate works if I visit from a modern system eg. Windows 10 laptop. However I need to be able to deploy the software to FreeBSD and the FreeBSD 11.1 systems can't validate the certificate. Rather than trying to figure out an outdated, EOL'd, OS's issues with certificate validation, I want to deploy the software to a modern version of FreeBSD. This is why I want to install Python 2.7 modules, that don't seem to exist on the pkg ecosystem.
I'm currently setting up a newer poudriere using a newer 14.2 FreeBSD, from which the custom software can be deployed along with a FreeBSD 14.2 package set. I imagine I can manually track down each Python 2.7 version of the libraries I need, but I was wondering: Is there's a quicker way of tracking down the few dozen py27-* packages I need? Or will I have to just hunt down all the python 2.7 packages manually? Eg I need pycrypto - renamed to cryptodome for "Crypto" and cryptodomex for the newer "Cryptodome" library, but all I can find via pkg is py311-pycryptodome.
Ultimately updating the software to use Python 3 would be optimal, but getting up and running as soon as possible and then updating the source is the ideal order of operations.
Eventually I'd like to get the code migrated to Python 3, but getting up an running asap is step 1.
Background: I worked for a software company between 2011 and 2019. 2019 they shut their doors. Earlier this month, they asked if I wanted to do some work for them and get the old software running. In 2019 we were running FreeBSD 11.1. We maintained packages using poudriere. Currently, I'm having issues getting the software to work properly as it's using HTTPS since the Let's Encrypt CA certificates were renewed in 2020, the old ones don't work. I tried updating the ca-root-nss.crt certificate using the current 14.2 release ca-root-nss package, but that didn't work. I was able to install it - it's only a plain text file with a bunch of CA root certificates afterall - and copy it to the 3 or 4 other places that use a copy, eg /usr/local/share/certs, /etc/ssl, and a few other places I'd have to look up again. Anyway, the certificate works if I visit from a modern system eg. Windows 10 laptop. However I need to be able to deploy the software to FreeBSD and the FreeBSD 11.1 systems can't validate the certificate. Rather than trying to figure out an outdated, EOL'd, OS's issues with certificate validation, I want to deploy the software to a modern version of FreeBSD. This is why I want to install Python 2.7 modules, that don't seem to exist on the pkg ecosystem.
I'm currently setting up a newer poudriere using a newer 14.2 FreeBSD, from which the custom software can be deployed along with a FreeBSD 14.2 package set. I imagine I can manually track down each Python 2.7 version of the libraries I need, but I was wondering: Is there's a quicker way of tracking down the few dozen py27-* packages I need? Or will I have to just hunt down all the python 2.7 packages manually? Eg I need pycrypto - renamed to cryptodome for "Crypto" and cryptodomex for the newer "Cryptodome" library, but all I can find via pkg is py311-pycryptodome.
Ultimately updating the software to use Python 3 would be optimal, but getting up and running as soon as possible and then updating the source is the ideal order of operations.