summaryrefslogtreecommitdiff
path: root/methods/CMakeLists.txt
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-11-07 13:58:49 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2024-11-07 14:04:30 +0100
commitfd3684cdbc165ceaa635ed19fcbd231f509b0179 (patch)
treebc6df7a75bcc227d44a435ffca411ad519008f40 /methods/CMakeLists.txt
parente362d060a47ec3c7f487fa8e37eddbc72ac02d13 (diff)
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.
Diffstat (limited to 'methods/CMakeLists.txt')
-rw-r--r--methods/CMakeLists.txt8
1 files changed, 2 insertions, 6 deletions
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 $<TARGET_OBJECTS:connectlib>)
add_executable(mirror mirror.cc)
-add_executable(ftp ftp.cc $<TARGET_OBJECTS:connectlib>)
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 $<$<BOOL:${SYSTEMD_FOUND}>:${SYSTEMD_INC
# Additional libraries to link against for networked stuff
target_link_libraries(http $<$<BOOL:${GNUTLS_FOUND}>:${GNUTLS_LIBRARIES}> $<$<BOOL:${SYSTEMD_FOUND}>:${SYSTEMD_LIBRARIES}>)
-target_link_libraries(ftp $<$<BOOL:${GNUTLS_FOUND}>:${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)