summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey V. Lobanov <sergey@lobanov.in>2022-09-01 03:53:39 +0300
committerSergey V. Lobanov <sergey@lobanov.in>2022-09-01 03:53:39 +0300
commit8d6dec931641b57541f7346f4f8824e2044b4941 (patch)
treec0b9b63f34f452816f8aca23d47442c8dad887b0
parent38d96b8e20608fb743d543fe3f08ad4b9d1dcd66 (diff)
downloadaccel-ppp-8d6dec931641b57541f7346f4f8824e2044b4941.tar.gz
accel-ppp-8d6dec931641b57541f7346f4f8824e2044b4941.zip
build: add deb packaging support for Ubuntu 22.04 and Debian 12
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
-rw-r--r--cmake/cpack.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/cmake/cpack.cmake b/cmake/cpack.cmake
index 7de53ad..db7fe12 100644
--- a/cmake/cpack.cmake
+++ b/cmake/cpack.cmake
@@ -48,6 +48,11 @@ IF(CPACK_TYPE STREQUAL Debian11)
INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/debian/debian.cmake)
ENDIF(CPACK_TYPE STREQUAL Debian11)
+IF(CPACK_TYPE STREQUAL Debian12)
+ SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.34), libssl3 (>= 3.0.5), libpcre3 (>= 8.39)")
+ INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/debian/debian.cmake)
+ENDIF(CPACK_TYPE STREQUAL Debian12)
+
IF(CPACK_TYPE STREQUAL Ubuntu16)
SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.23), libssl1.0.0 (>= 1.0.0), libpcre3 (>= 8.39)")
INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/debian/debian.cmake)
@@ -63,6 +68,11 @@ IF(CPACK_TYPE STREQUAL Ubuntu20)
INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/debian/debian.cmake)
ENDIF(CPACK_TYPE STREQUAL Ubuntu20)
+IF(CPACK_TYPE STREQUAL Ubuntu22)
+ SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.35), libssl3 (>= 3.0.2), libpcre3 (>= 8.39)")
+ INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/debian/debian.cmake)
+ENDIF(CPACK_TYPE STREQUAL Ubuntu22)
+
IF(CPACK_TYPE STREQUAL Centos7)
SET(CPACK_RPM_PACKAGE_LICENSE "GPL")
SET(CPACK_RPM_PACKAGE_URL "http://accel-ppp.org")