From e88a8ceda8cbc3dfb35b6207cd26d08449dd7d18 Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Wed, 26 Aug 2015 10:49:14 -0400 Subject: [PATCH] 6638: Python backports declare all their C dependencies. See #6638 for discussion about how these dependency lists were generated. --- backports/python-ciso8601/fpm-info.sh | 8 ++ backports/python-llfuse/fpm-info.sh | 4 +- backports/python-pycrypto/fpm-info.sh | 11 +++ backports/python-pycurl/fpm-info.sh | 136 ++++++++++++++++++++++++-- 4 files changed, 151 insertions(+), 8 deletions(-) create mode 100644 backports/python-ciso8601/fpm-info.sh create mode 100644 backports/python-pycrypto/fpm-info.sh diff --git a/backports/python-ciso8601/fpm-info.sh b/backports/python-ciso8601/fpm-info.sh new file mode 100644 index 0000000000..925a3757a2 --- /dev/null +++ b/backports/python-ciso8601/fpm-info.sh @@ -0,0 +1,8 @@ +case "$TARGET" in + centos*) + fpm_depends+=(glibc) + ;; + debian* | ubuntu*) + fpm_depends+=(libc6) + ;; +esac diff --git a/backports/python-llfuse/fpm-info.sh b/backports/python-llfuse/fpm-info.sh index ecde128c5c..c5783655b6 100644 --- a/backports/python-llfuse/fpm-info.sh +++ b/backports/python-llfuse/fpm-info.sh @@ -1,10 +1,10 @@ case "$TARGET" in centos*) build_depends+=('fuse-devel') - fpm_depends+=('fuse') + fpm_depends+=(glibc fuse-libs) ;; debian* | ubuntu*) build_depends+=('libfuse-dev') - fpm_depends+=('fuse') + fpm_depends+=(libc6 libfuse2) ;; esac diff --git a/backports/python-pycrypto/fpm-info.sh b/backports/python-pycrypto/fpm-info.sh new file mode 100644 index 0000000000..cea7096395 --- /dev/null +++ b/backports/python-pycrypto/fpm-info.sh @@ -0,0 +1,11 @@ +case "$TARGET" in + centos*) + fpm_depends+=(glibc) + ;; + debian8) + fpm_depends+=(libc6 libgmp10) + ;; + debian* | ubuntu*) + fpm_depends+=(libc6) + ;; +esac diff --git a/backports/python-pycurl/fpm-info.sh b/backports/python-pycurl/fpm-info.sh index a72f9272c0..4d2860f7b7 100644 --- a/backports/python-pycurl/fpm-info.sh +++ b/backports/python-pycurl/fpm-info.sh @@ -1,8 +1,132 @@ case "$TARGET" in - debian* | ubuntu*) - fpm_depends+=('libcurl4-gnutls-dev | libcurl4-openssl-dev') - ;; - centos*) - fpm_depends+=('libcurl') - ;; + centos6) + fpm_depends+=( + cyrus-sasl-lib + glibc + keyutils-libs + krb5-libs + libcom_err + libcurl + libidn + libselinux + libssh2 + nspr + nss + nss-softokn-freebl + nss-util + openldap + openssl + zlib + ) ;; + debian7) + fpm_depends+=( + libc6 + libcomerr2 + libcurl3-gnutls + libgcrypt11 + libgnutls26 + libgpg-error0 + libgssapi-krb5-2 + libidn11 + libk5crypto3 + libkeyutils1 + libkrb5-3 + libkrb5support0 + libldap-2.4-2 + libp11-kit0 + librtmp0 + libsasl2-2 + libssh2-1 + libtasn1-3 + zlib1g + ) ;; + debian8) + fpm_depends+=( + libc6 + libcomerr2 + libcurl3-gnutls + libffi6 + libgcrypt20 + libgmp10 + libgnutls-deb0-28 + libgpg-error0 + libgssapi-krb5-2 + libhogweed2 + libidn11 + libk5crypto3 + libkeyutils1 + libkrb5-3 + libkrb5support0 + libldap-2.4-2 + libnettle4 + libp11-kit0 + librtmp1 + libsasl2-2 + libssh2-1 + libtasn1-6 + zlib1g + ) ;; + ubuntu1204) + fpm_depends+=( + libasn1-8-heimdal + libc6 + libcomerr2 + libcurl3-gnutls + libgcrypt11 + libgnutls26 + libgpg-error0 + libgssapi-krb5-2 + libgssapi3-heimdal + libhcrypto4-heimdal + libheimbase1-heimdal + libheimntlm0-heimdal + libhx509-5-heimdal + libidn11 + libk5crypto3 + libkeyutils1 + libkrb5-26-heimdal + libkrb5-3 + libkrb5support0 + libldap-2.4-2 + libp11-kit0 + libroken18-heimdal + librtmp0 + libsasl2-2 + libsqlite3-0 + libtasn1-3 + libwind0-heimdal + zlib1g + ) ;; + ubuntu1404) + fpm_depends+=( + libasn1-8-heimdal + libc6 + libcomerr2 + libcurl3-gnutls + libffi6 + libgcrypt11 + libgnutls26 + libgpg-error0 + libgssapi-krb5-2 + libgssapi3-heimdal + libhcrypto4-heimdal + libheimbase1-heimdal + libheimntlm0-heimdal + libhx509-5-heimdal + libidn11 + libk5crypto3 + libkeyutils1 + libkrb5-26-heimdal + libkrb5-3 + libkrb5support0 + libldap-2.4-2 + libp11-kit0 + libroken18-heimdal + librtmp0 + libsasl2-2 + libsqlite3-0 + libtasn1-6 + libwind0-heimdal + zlib1g + ) ;; esac -- 2.30.2