summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrett Goulder <predatorfreak@dcaf-security.org>2008-04-11 18:48:57 +0200
committerTilman Sauerbeck <tilman@crux.nu>2008-04-11 18:48:57 +0200
commit765b5014db1cc1fd3278f0b425d586b6dce75ae1 (patch)
treefeca81cbcc8bc280c04df0a0ec4039d4777a999a
parent6ae354d751e69982f46acf37fa83cd0679eb68b7 (diff)
downloadpkgutils-765b5014db1cc1fd3278f0b425d586b6dce75ae1.tar.gz
pkgutils-765b5014db1cc1fd3278f0b425d586b6dce75ae1.tar.xz
Bug #241: Don't check SSL certificates.
pkgmk's mechanism to check file integrity is .md5sum, so relying on proper SSL certificates for https connections isn't critical. This fixes transfers from https servers whose SSL certificates are self signed only. Original patch by Jose V Beneyto <sepen@users.sourceforge.net>.
-rwxr-xr-xpkgmk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgmk.in b/pkgmk.in
index da9b3036..df50de84 100755
--- a/pkgmk.in
+++ b/pkgmk.in
@@ -89,7 +89,7 @@ download_file() {
LOCAL_FILENAME_PARTIAL="$LOCAL_FILENAME.partial"
DOWNLOAD_OPTS="--passive-ftp --no-directories --tries=3 --waitretry=3 \
--directory-prefix=$PKGMK_SOURCE_DIR \
- --output-document=$LOCAL_FILENAME_PARTIAL"
+ --output-document=$LOCAL_FILENAME_PARTIAL --no-check-certificate"
if [ -f "$LOCAL_FILENAME_PARTIAL" ]; then
info "Partial download found, trying to resume"

Generated by cgit