You are not logged in.

#1 2008-04-04 11:58:43

PeteMo
Member
From: H'Burg, VA
Registered: 2006-01-26
Posts: 191
Website

Curl upgrade removed /usr/share/curl?

Can anyone confirm the recent curl upgrade (7.18.0-1 -> 7.18.1-1) removed the /usr/share/curl directory?  I was using the curl-ca-bundle.crt file in there as the tls_trust_file for sending email with msmtp through gmail.

Offline

#2 2008-04-05 01:52:27

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Curl upgrade removed /usr/share/curl?

Looks like an upstream change. From http://curl.haxx.se/changes.html changelog:
-  'make ca-bundle' downloads and generates an updated ca bundle file
- we no longer distribute or install a ca cert bundle

you could try  to rebuild curl with a
make ca-bundle
after the make all.

Offline

#3 2008-04-05 18:10:56

PeteMo
Member
From: H'Burg, VA
Registered: 2006-01-26
Posts: 191
Website

Re: Curl upgrade removed /usr/share/curl?

Thanks for the tip.  The following (very simple) patch to the PKGBUILD downloads and builds a new ca-bundle.crt file and installs it to /usr/share/curl/  I don't know if it is worth applying to the official PKGBUILD, but from this ~1 year old ML thread it seems that there are some folks using the ca-bundle.crt with various mailers: http://archlinux.org/pipermail/arch-gen … 28490.html

--- /var/abs/extra/network/curl/PKGBUILD    2008-04-03 20:56:38.000000000 -0400
+++ /var/abs/local/curl/PKGBUILD    2008-04-05 13:38:42.000000000 -0400
@@ -19,6 +19,8 @@
   cd ${startdir}/src/${pkgname}-${pkgver}
   ./configure --prefix=/usr --without-libidn --disable-ldap
   make || return 1
+  make ca-bundle
   make DESTDIR=${startdir}/pkg install
+  install -D -m644 lib/ca-bundle.crt ${startdir}/pkg/usr/share/curl/ca-bundle.crt
   install -D -m644 COPYING ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING
 }

Offline

#4 2008-04-07 02:10:55

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Curl upgrade removed /usr/share/curl?

I might add it next time I update the package. Open a bug report so I don't forget about it.

Offline

Board footer

Powered by FluxBB