From 5e770a07c8fd649340e83725f6d07b94c361e87c Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sun, 24 Sep 2017 20:33:49 +0200 Subject: Drop curl method and apt-transport-https package This automatically removes any old apt-transport-https, as apt now Breaks it unversioned. --- methods/CMakeLists.txt | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'methods/CMakeLists.txt') diff --git a/methods/CMakeLists.txt b/methods/CMakeLists.txt index 3ae3f9963..72f07e87e 100644 --- a/methods/CMakeLists.txt +++ b/methods/CMakeLists.txt @@ -6,18 +6,12 @@ add_executable(gpgv gpgv.cc) add_executable(cdrom cdrom.cc) add_executable(http http.cc http_main.cc rfc2553emu.cc connect.cc basehttp.cc) add_executable(mirror mirror.cc http.cc rfc2553emu.cc connect.cc basehttp.cc) -if (HAVE_CURL) - add_executable(curl curl.cc basehttp.cc) -endif() add_executable(ftp ftp.cc rfc2553emu.cc connect.cc) add_executable(rred rred.cc) add_executable(rsh rsh.cc) target_compile_definitions(http PRIVATE ${GNUTLS_DEFINITIONS}) target_include_directories(http PRIVATE ${GNUTLS_INCLUDE_DIR}) -if (HAVE_CURL) -target_include_directories(curl PRIVATE ${CURL_INCLUDE_DIRS}) -endif() # Link the executables against the libraries target_link_libraries(file apt-pkg) @@ -27,9 +21,6 @@ target_link_libraries(gpgv apt-pkg) target_link_libraries(cdrom apt-pkg) target_link_libraries(http apt-pkg ${GNUTLS_LIBRARIES}) target_link_libraries(mirror apt-pkg ${RESOLV_LIBRARIES} ${GNUTLS_LIBRARIES}) -if (HAVE_CURL) - target_link_libraries(curl apt-pkg ${CURL_LIBRARIES}) -endif() target_link_libraries(ftp apt-pkg ${GNUTLS_LIBRARIES}) target_link_libraries(rred apt-pkg) target_link_libraries(rsh apt-pkg) @@ -41,14 +32,5 @@ install(TARGETS file copy store gpgv cdrom http ftp rred rsh mirror add_slaves(${CMAKE_INSTALL_LIBEXECDIR}/apt/methods store gzip lzma bzip2 xz) add_slaves(${CMAKE_INSTALL_LIBEXECDIR}/apt/methods rsh ssh) -set(curl_slaves curl+https curl+http) -if (FORCE_CURL) - set(curl_slaves ${curl_slaves} https) -else() - add_slaves(${CMAKE_INSTALL_LIBEXECDIR}/apt/methods http https) -endif() -if (HAVE_CURL) - install(TARGETS curl RUNTIME DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/apt/methods) - add_slaves(${CMAKE_INSTALL_LIBEXECDIR}/apt/methods curl ${curl_slaves}) -endif() +add_slaves(${CMAKE_INSTALL_LIBEXECDIR}/apt/methods http https) -- cgit v1.2.3