From fd3684cdbc165ceaa635ed19fcbd231f509b0179 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Thu, 7 Nov 2024 13:58:49 +0100 Subject: Remove ftp, rsh, ssh methods (disabled since 1.8) These methods have been unsupported and disabled since 1.8, remove them for the 3.0 cleanup. Please migrate to http instead. If you need ad-hoc access to a remote repository, you can run `python3 -m http.server` on that machine and use SSH port forwarding to run http over ssh. --- methods/CMakeLists.txt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'methods/CMakeLists.txt') diff --git a/methods/CMakeLists.txt b/methods/CMakeLists.txt index a94cb413d..548d867dc 100644 --- a/methods/CMakeLists.txt +++ b/methods/CMakeLists.txt @@ -11,9 +11,7 @@ add_executable(gpgv gpgv.cc) add_executable(cdrom cdrom.cc) add_executable(http http.cc basehttp.cc $) add_executable(mirror mirror.cc) -add_executable(ftp ftp.cc $) add_executable(rred rred.cc) -add_executable(rsh rsh.cc) if (HAVE_GNUTLS) target_compile_definitions(connectlib PRIVATE ${GNUTLS_DEFINITIONS}) @@ -23,16 +21,14 @@ target_include_directories(http PRIVATE $<$:${SYSTEMD_INC # Additional libraries to link against for networked stuff target_link_libraries(http $<$:${GNUTLS_LIBRARIES}> $<$:${SYSTEMD_LIBRARIES}>) -target_link_libraries(ftp $<$:${GNUTLS_LIBRARIES}>) target_link_libraries(rred apt-private) # Install the library -install(TARGETS file copy store gpgv cdrom http ftp rred rsh mirror +install(TARGETS file copy store gpgv cdrom http rred mirror RUNTIME DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/apt/methods) -add_links(${CMAKE_INSTALL_LIBEXECDIR}/apt/methods mirror mirror+ftp mirror+http mirror+https mirror+file mirror+copy) -add_links(${CMAKE_INSTALL_LIBEXECDIR}/apt/methods rsh ssh) +add_links(${CMAKE_INSTALL_LIBEXECDIR}/apt/methods mirror mirror+http mirror+https mirror+file mirror+copy) add_links(${CMAKE_INSTALL_LIBEXECDIR}/apt/methods http https) -- cgit v1.2.3-70-g09d2