void-packages/srcpkgs/sysdig/patches/falcosecurity-libs-nodownlo...

33 lines
1.1 KiB
Diff

--- a/cmake/modules/driver-repo/CMakeLists.txt
+++ b/cmake/modules/driver-repo/CMakeLists.txt
@@ -25,11 +25,10 @@ message(STATUS "Driver version: ${DRIVER
ExternalProject_Add(
driver
- URL "https://github.com/falcosecurity/libs/archive/${DRIVER_VERSION}.tar.gz"
- URL_HASH "${DRIVER_CHECKSUM}"
+ URL "${CMAKE_CURRENT_SOURCE_DIR}/../../../.xbps-falco"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
TEST_COMMAND ""
PATCH_COMMAND sh -c "mv ./driver ../driver.tmp && rm -rf ./* && mv ../driver.tmp/* ."
-)
\ No newline at end of file
+)
--- a/cmake/modules/falcosecurity-libs-repo/CMakeLists.txt
+++ b/cmake/modules/falcosecurity-libs-repo/CMakeLists.txt
@@ -25,9 +25,8 @@ message(STATUS "Libs version: ${FALCOSEC
ExternalProject_Add(
falcosecurity-libs
- URL "https://github.com/falcosecurity/libs/archive/${FALCOSECURITY_LIBS_VERSION}.tar.gz"
- URL_HASH "${FALCOSECURITY_LIBS_CHECKSUM}"
+ URL "${CMAKE_CURRENT_SOURCE_DIR}/../../../.xbps-falco"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
- TEST_COMMAND "")
\ No newline at end of file
+ TEST_COMMAND "")