From a7513c19d9d8881f4dbb8332fddafb57112e3234 Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Mon, 27 Feb 2017 14:52:12 +0000 Subject: mail/postsrsd: Update to 1.4, avoid secret in pkg Update to 1.4 (1) While here, avoid creating postsrsd.secret in package and improve rc script (2) PR: 211098 (2) PR: 217340 (1) Submitted by: Miroslav Lachman (2) Submitted by: Peter Putzer (1) Approved by: Krzysztof (maintainer) (1)(2) --- mail/postsrsd/files/patch-CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mail/postsrsd/files/patch-CMakeLists.txt') diff --git a/mail/postsrsd/files/patch-CMakeLists.txt b/mail/postsrsd/files/patch-CMakeLists.txt index c284977a6300..ec69da464b17 100644 --- a/mail/postsrsd/files/patch-CMakeLists.txt +++ b/mail/postsrsd/files/patch-CMakeLists.txt @@ -25,8 +25,8 @@ find_library(LIBSOCKET socket) find_library(LIBNSL nsl) -@@ -46,26 +47,6 @@ if(HAVE_TIME_H) - add_definitions(-DHAVE_TIME_H) +@@ -54,26 +55,6 @@ if(HAVE_SYS_TYPES_H) + add_definitions(-DHAVE_SYS_TYPES_H) endif() -if(NOT DEFINED INIT_FLAVOR) @@ -52,7 +52,7 @@ add_executable(${PROJECT_NAME} postsrsd.c sha1.c srs2.c) if(${CMAKE_SYSTEM_NAME} MATCHES "SunOS") -@@ -74,15 +55,7 @@ endif() +@@ -82,15 +63,7 @@ endif() get_target_property(POSTSRSD ${PROJECT_NAME} LOCATION) get_filename_component(POSTSRSD ${POSTSRSD} NAME_WE) @@ -68,7 +68,7 @@ configure_file(init/${PROJECT_NAME}.default.in ${PROJECT_NAME}.default @ONLY) configure_file(postinstall.cmake.in postinstall.cmake @ONLY) -@@ -92,7 +65,7 @@ add_custom_command(TARGET ${PROJECT_NAME +@@ -100,7 +73,7 @@ add_custom_command(TARGET ${PROJECT_NAME COMMAND ${HELP2MAN} ARGS -s8 -o${PROJECT_NAME}.8 -n "Postfix Sender Rewriting Scheme daemon" -N -h-h -v-v ${CMAKE_CURRENT_BINARY_DIR}/${POSTSRSD} VERBATIM ) @@ -77,7 +77,7 @@ endif() if(USE_APPARMOR) -@@ -100,6 +73,8 @@ if(USE_APPARMOR) +@@ -108,6 +81,8 @@ if(USE_APPARMOR) endif() install(TARGETS ${PROJECT_NAME} DESTINATION "sbin") -- cgit v1.2.3