Skip to content

Stop downloading unused curl #119

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

Open
wants to merge 4 commits into
base: stackdriver-agent-5.5.2
Choose a base branch
from

Conversation

hsmatulis
Copy link
Contributor

The sha1 of the downloaded curl is no longer matches the on in curl-7.34.0.sha1 (which seems suspicious). This PR stops downloading curl, as we don't seem to be using it

@@ -17,13 +17,7 @@ CURL_VERSION=7.52.1
endif
endif

ifeq ($(filter sles%,$(DISTRO)),) # If DISTRO is not sles*.
vendor:
[ -f curl-$(CURL_VERSION).tar.bz2 ] || curl -O https://curl.haxx.se/download/curl-$(CURL_VERSION).tar.bz2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also have to fix all parts of the RPM spec that use bundle_curl (that's where this downloaded source is used).

@hsmatulis
Copy link
Contributor Author

Is the following still an issue?

# embed libcurl so we know it's linked against openssl instead of
# nss. this avoids problems of nss leaking with libcurl. sigh.

@hsmatulis hsmatulis requested a review from igorpeshansky March 18, 2021 15:22
@hsmatulis
Copy link
Contributor Author

I removed the usage, what would be the next steps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants