openbsd-ports/net/libproxy/patches/patch-utils_CMakeLists_txt
sthen d449cdab9c SECURITY update to libproxy 0.4.9; CVE-2012-4504, buffer overflow in PAC
processing.

While there, remove unnecessary patches (some fixed upstream, some workarounds
for header problems which have since been cleaned up, and change the "Build the
pacrunner into libproxy" patch into -DBIPR:BOOL=OFF in CONFIGURE_ARGS instead).

ok ajacoutot@
2012-10-12 13:01:15 +00:00

14 lines
572 B
Plaintext

$OpenBSD: patch-utils_CMakeLists_txt,v 1.2 2012/10/12 13:01:15 sthen Exp $
--- utils/CMakeLists.txt.orig Fri Oct 12 13:44:32 2012
+++ utils/CMakeLists.txt Fri Oct 12 13:45:10 2012
@@ -1,5 +1,6 @@
include_directories("../libproxy")
-add_executable(proxy proxy.c)
-target_link_libraries(proxy libproxy)
-install(TARGETS proxy RUNTIME DESTINATION ${BIN_INSTALL_DIR})
+add_executable(proxyutil proxy.c)
+target_link_libraries(proxyutil proxy)
+set_target_properties(proxyutil PROPERTIES OUTPUT_NAME proxy)
+install(TARGETS proxyutil RUNTIME DESTINATION ${BIN_INSTALL_DIR})