# idea - CPack Debian source package generator

**URL:** https://discourse.cmake.org/t/idea-cpack-debian-source-package-generator/15088
**Category:** Development
**Created:** [August 21, 2025, 12:39pm UTC](https://discourse.cmake.org/t/idea-cpack-debian-source-package-generator/15088 "2025-08-21T12:39:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![segoon](https://discourse.cmake.org/user_avatar/discourse.cmake.org/segoon/32/5776_2.png) [@segoon](https://discourse.cmake.org/u/segoon)
#### Post date: [August 21, 2025, 12:39pm UTC](https://discourse.cmake.org/t/idea-cpack-debian-source-package-generator/15088/1 "2025-08-21T12:39:22Z")

</div>

Hello, we maintain a project [GitHub - userver-framework/userver: Production-ready C++ Asynchronous Framework with rich functionality](https://github.com/userver-framework/userver) which uses CMake+CPack for deb package generation. We want to upload the .deb package to PPA, which requires us to generate debian source package, which is not supported by CPack yet.

Is there any major issues with debian source package generator? Is it possible to see it in the next releases of CMake? 🙂

---

<div class="post-metadata">

### Author: ![brad.king](https://discourse.cmake.org/user_avatar/discourse.cmake.org/brad.king/32/11_2.png) [@brad.king](https://discourse.cmake.org/u/brad.king)
#### Post date: [August 25, 2025, 2:09pm UTC](https://discourse.cmake.org/t/idea-cpack-debian-source-package-generator/15088/2 "2025-08-25T14:09:19Z")

</div>

See the [CPack](https://cmake.org/cmake/help/v4.1/module/CPack.html) module. Including it enables `cpack -G DEB --config CPackSourceConfig.cmake`. I don’t recall whether the result meets the requirements for a PPA source package though.
