1

[alpine-devel] [PATCH] main/curl: add ca-certificates as dep

Eivind Uggedal
Details
Message ID
<1385465997-16888-1-git-send-email-eivind@uggedal.com>
Sender timestamp
1385465997
DKIM signature
missing
Download raw message
Patch: +2 -2
git is for instance not usable against https repos without valid
root certs to check against.
---
 main/curl/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main/curl/APKBUILD b/main/curl/APKBUILD
index 381905650056..ea453f6245ca 100644
--- a/main/curl/APKBUILD
+++ b/main/curl/APKBUILD
@@ -1,12 +1,12 @@
 # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 pkgname=curl
 pkgver=7.33.0
-pkgrel=0
+pkgrel=1
 pkgdesc="An URL retrival utility and library"
 url="http://curl.haxx.se"
 arch="all"
 license="MIT"
-depends=
+depends="ca-certificates"
 depends_dev="zlib-dev openssl-dev libssh2-dev"
 makedepends="$depends_dev"
 source="http://curl.haxx.se/download/curl-$pkgver.tar.bz2"
-- 
1.8.4.3



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa
Details
Message ID
<20131126131331.1b6cf200@ncopa-desktop.alpinelinux.org>
In-Reply-To
<1385465997-16888-1-git-send-email-eivind@uggedal.com> (view parent)
Sender timestamp
1385468011
DKIM signature
missing
Download raw message
On Tue, 26 Nov 2013 11:39:57 +0000
Eivind Uggedal <eivind@uggedal.com> wrote:

> git is for instance not usable against https repos without valid
> root certs to check against.

Yeah, its needed for https, but curl can work just fine with http/ftp
withotu ca-certificates, which is why I let the ca-certificates be
'optional'.

It is a question of how much bloat (eg have ca-certificates installed
but unused when you only need non-https) you want to pay for the 'just
works' factor.

On the other hand, if ca-certificates is missing, people might use
--insecure to disable certificate checks with https and I don't think
we want encourage that.

Applied. Thanks!

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---