Skip to content

Commit 2bd9500

Browse files
committed
Version 2.6.7
1 parent 550ba17 commit 2bd9500

File tree

5 files changed

+26
-20
lines changed

5 files changed

+26
-20
lines changed

CMakeLists.txt

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
PROJECT(openwsman)
66

7-
cmake_minimum_required(VERSION 2.4)
7+
# 2.6 minimum because of CMP0005 (escaping defines)
8+
cmake_minimum_required(VERSION 2.6)
89

910
include(CTest)
1011
enable_testing()
@@ -13,9 +14,7 @@ enable_testing()
1314
#
1415
if(COMMAND cmake_policy)
1516
cmake_policy(SET CMP0003 NEW)
16-
# add_definitions escape behavior: old
17-
# setting cmp0005 to NEW adds another \" around gcc -D defines
18-
cmake_policy(SET CMP0005 OLD)
17+
cmake_policy(SET CMP0005 NEW)
1918
if ( POLICY CMP0042 )
2019
cmake_policy(SET CMP0042 NEW)
2120
endif ( POLICY CMP0042 )
@@ -68,11 +67,11 @@ ELSE( "${CMAKE_INSTALL_PREFIX}" STREQUAL "/usr")
6867
ENDIF( "${CMAKE_INSTALL_PREFIX}" STREQUAL "/usr")
6968
SET( WSMANCONF_DIR "${SYSCONFDIR}/openwsman" )
7069
MESSAGE(STATUS "Configuration will be installed in ${WSMANCONF_DIR}" )
71-
SET( DEFAULT_CONFIG_FILE "\"${WSMANCONF_DIR}/openwsman.conf\"")
72-
SET( DEFAULT_CLIENT_CONFIG_FILE "\"${WSMANCONF_DIR}/openwsman_client.conf\"")
73-
SET( PACKAGE_SUBSCRIPTION_DIR "/var/lib/openwsman/subscriptions" )
74-
SET( PACKAGE_PLUGIN_DIR "${LIB_INSTALL_DIR}/openwsman/plugins" )
75-
SET( PACKAGE_AUTH_DIR "${LIB_INSTALL_DIR}/openwsman/authenticators" )
70+
SET( DEFAULT_CONFIG_FILE \"${WSMANCONF_DIR}/openwsman.conf\")
71+
SET( DEFAULT_CLIENT_CONFIG_FILE \"${WSMANCONF_DIR}/openwsman_client.conf\")
72+
SET( PACKAGE_SUBSCRIPTION_DIR /var/lib/openwsman/subscriptions )
73+
SET( PACKAGE_PLUGIN_DIR ${LIB_INSTALL_DIR}/openwsman/plugins )
74+
SET( PACKAGE_AUTH_DIR ${LIB_INSTALL_DIR}/openwsman/authenticators )
7675

7776

7877
# Macro for error message when header files not present, but build option

ChangeLog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
2.6.7
2+
- Features
3+
- Build with CMake 2.6 or later
4+
- Bugfixes
5+
- fix return value check for SSL_CTX_set_cipher_list()
6+
- fix pam config for local install
7+
18
2.6.6
29
- Features
310
- Support OpenSSL 1.1.0 API

etc/pam/openwsman

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#%PAM-1.0
2-
auth required pam_unix2.so nullok
2+
auth required pam_unix.so nullok
33
auth required pam_nologin.so
4-
account required pam_unix2.so
5-
password required pam_pwcheck.so nullok
6-
password required pam_unix2.so nullok use_first_pass use_authtok
7-
session required pam_unix2.so none
4+
account required pam_unix.so
5+
password required pam_cracklib.so nullok
6+
password required pam_unix.so nullok use_first_pass use_authtok nis shadow
7+
session required pam_unix.so none

src/lib/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ENDIF ( BUILD_TESTS )
88

99
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} )
1010

11-
ADD_DEFINITIONS( -DPACKAGE_PLUGIN_DIR="\\\"${PACKAGE_PLUGIN_DIR}\\\"" )
11+
ADD_DEFINITIONS( -DPACKAGE_PLUGIN_DIR="${PACKAGE_PLUGIN_DIR}" )
1212

1313
SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${XML_CFLAGS} -g -DIGNORE_DUPLICATE_ID" )
1414

src/server/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ STRING(REPLACE "\n" "" SSL_LIB "${SSL_LIB_OUT}")
1818

1919
MESSAGE(STATUS "SSL_LIB is at >${SSL_LIB}<")
2020

21-
ADD_DEFINITIONS(-DDELIM_CHARS="\\\", \\\"" )
21+
ADD_DEFINITIONS(-DDELIM_CHARS=", " )
2222
ADD_DEFINITIONS(-DEMBEDDED -DNO_CGI -DNO_SSI )
23-
ADD_DEFINITIONS(-DSSL_LIB="\\\"${SSL_LIB}\\\"")
24-
ADD_DEFINITIONS(-DPACKAGE_PLUGIN_DIR="\\\"${PACKAGE_PLUGIN_DIR}\\\"")
25-
ADD_DEFINITIONS(-DPACKAGE_AUTH_DIR="\\\"${PACKAGE_AUTH_DIR}\\\"")
26-
ADD_DEFINITIONS(-DPACKAGE_SUBSCRIPTION_DIR="\\\"${PACKAGE_SUBSCRIPTION_DIR}\\\"")
23+
ADD_DEFINITIONS(-DSSL_LIB="${SSL_LIB}")
24+
ADD_DEFINITIONS(-DPACKAGE_PLUGIN_DIR="${PACKAGE_PLUGIN_DIR}")
25+
ADD_DEFINITIONS(-DPACKAGE_AUTH_DIR="${PACKAGE_AUTH_DIR}")
26+
ADD_DEFINITIONS(-DPACKAGE_SUBSCRIPTION_DIR="${PACKAGE_SUBSCRIPTION_DIR}")
2727

2828
ADD_EXECUTABLE(openwsmand ${openwsmand_SOURCES})
2929
TARGET_LINK_LIBRARIES(openwsmand wsman_server wsman ${LIBXML2_LIBRARIES})

0 commit comments

Comments
 (0)