You are not logged in.
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
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
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
I might add it next time I update the package. Open a bug report so I don't forget about it.
Offline