-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix polarssl url as polarssl.org no longer exists #58
base: master
Are you sure you want to change the base?
Conversation
Thanks. |
Hi @zeldin , it looks like I can't access https://tls.mbed.org/download/polarssl-1.2.8-gpl.tgz which version is stated in the script. On |
😞 Looks like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version variable needs to be used in both the downloaded file name and the URL.
Any chance we can update this to a recent release of polarssl so we can use their GitHub release zips? In any event, we can download a zip or tarball of the 1.2.8 tagged release on their GitHub https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/polarssl-1.2.8.zip https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/polarssl-1.2.8.tar We can also get a tarball, and also use the scripts/015-polarssl.sh b/scripts/015-polarssl.sh
index f90bee5..48c3f5e 100755
--- a/scripts/015-polarssl.sh
+++ b/scripts/015-polarssl.sh
@@ -32,7 +32,7 @@ ARCH="powerpc64"
PLATFORM="PS3"
## Download the source code.
-wget --continue --no-check-certificate -O polarssl-${VERSION}.gpl.tgz https://polarssl.org/download/polarssl-${VERSION}-gpl.tgz?do=yes
+wget --continue --no-check-certificate -O polarssl-${VERSION}.tgz https://github.com/Mbed-TLS/mbedtls/tarball/polarssl-${VERSION}
## Unpack the source code.
-rm -Rf polarssl-${VERSION} && tar xfvz polarssl-${VERSION}.gpl.tgz && cd polarssl-${VERSION}/library
+rm -Rf polarssl-${VERSION} && tar xfvz polarssl-${VERSION}.tgz && cd polarssl-${VERSION}/library Also, we should consider renaming references to mbedtls, with a proper notation that it used to be polarssl.
|
Sorry for the mass edits, I know you all got spammed. Trying to type/copy/paste/edit my comments on my phone because I'm trapped under a sleeping baby. |
Use a better source for polarssl (now mbedtls) and preserve the version variable for future updates simplicity
I think this should be expanded to a proper update and full test by @ps3dev/developers because we are super behind on libcurl and polarssl ->mbedtls, which is a security concern depending on what an end user does with the libraries we provide. I am almost sure most of us developers find it pertinent to remove sticks from the paths of less security focused and/or less experienced developers by not building insecure versions of curl and ssl libraries for extended periods of time. Leaving the older versions as an option for BC I can understand, As this is a substantial change, I think I will convert this comment to an issue so we can discuss and maybe I'll create a PR/branch and just start working on it. This is going to go fairly deep with dependency, because practically everything uses libcurl or ssl in some way these days lol. |
As a stop-gap measure I pushed a version which fetches from github and actually works (sorry miigoto) 😄 |
I want to add that my fork compiles correctly with some additional changes needed: https://github.com/gtessi/ps3libraries |
No problem, I'm in no rush haha |
polarssl 1.3.9 added here #64 |
It looks like polarssl.org no longer exists so I managed to find the package in src.fedoraproject.org so that the build can work