* Fix log file access, refactor configuration reading class * Remove bypass option in favor of failmode * fix loging, print enrolment info * Add EMAIL method * Add yubi authentication method * Add support for verification message * Add verification * Made changes in Vagrant's files to run different OSs * Switch off tests and packages demands to run PAM on Debian 11 * Add authentication totp * Changes in utils * Remove unnessesary interface * Changed vagrant files and postinstal script for Ubuntu 20 and 22 * Moved adding PasswordAuth to vagrant file from posinst * Added ubuntu 24.04 * Set version * Poprawki UI * WebSocket implementation * Add totp authentication method * fixup changes in utils * Remove unnessesary interface and simplify code * Remove "default" message handler from WebSocket class * Change display names of known authentication methods * Cleanup code in 'main' file * Add CheckApplication * Remove unused function * Changed vagrant files and postinstal script for Ubuntu 20 and 22 * Moved adding PasswordAuth to vagrant file from posinst * Added ubuntu 24.04 * Set version to 2.0.2 * Proper handle for missing configuration * Fixup use value of optional object * Add more vCPU/RAM to vagrant VM's + fix translations * Minor WS fixes, translations * Proper handler for Werification error * Make use of prompt parameter * Add max number of prompts * remove unused code, fir includes * Add Waiting status * Add check application status check --------- Co-authored-by: Madzik <m.w@linux.pl>
36 lines
1.2 KiB
CMake
Executable File
36 lines
1.2 KiB
CMake
Executable File
# these are cache variables, so they could be overwritten with -D,
|
|
set(CPACK_PACKAGE_NAME ${PROJECT_NAME}
|
|
CACHE STRING "The resulting package name"
|
|
)
|
|
|
|
# which is useful in case of packing only selected components instead of the whole thing
|
|
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Rublon ssh PAM module"
|
|
CACHE STRING "Rublon ssh PAM module"
|
|
)
|
|
|
|
set(CPACK_PACKAGE_VENDOR "Rublon")
|
|
|
|
#set(CPACK_VERBATIM_VARIABLES YES)
|
|
|
|
set(CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})
|
|
set(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR})
|
|
set(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH})
|
|
|
|
set(CPACK_PACKAGE_CONTACT "bwi@rublon.com")
|
|
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Bartosz Wieczorek")
|
|
|
|
#set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
|
|
#set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
|
|
|
|
set(CPACK_DEBIAN_FILE_NAME DEB-DEFAULT)
|
|
set(CPACK_DEB_COMPONENT_INSTALL YES)
|
|
|
|
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS YES)
|
|
|
|
set(CPACK_GENERATOR "DEB")
|
|
# set(CPACK_DEBIAN_DEV_PACKAGE_DEPENDS "libcurl4(>= 7.0.0), libc(>= 2.0)")
|
|
# set(CPACK_DEBIAN_PACKAGE_DEPENDS "libcurl4(>= 7.0.0), libc(>= 2.0), libssl(>= 1.0)")
|
|
set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA "${CMAKE_CURRENT_SOURCE_DIR}/service/postinst")
|
|
|
|
include(CPack)
|