[Bro-Dev] #458: Debian Packaging via CPack
Bro Tracker
bro at tracker.bro-ids.org
Fri May 13 12:22:01 PDT 2011
#458: Debian Packaging via CPack
--------------------+--------------------
Reporter: jsiwek | Owner: jsiwek
Type: Task | Status: new
Priority: Normal | Milestone: Bro1.6
Component: Bro | Version:
Keywords: |
--------------------+--------------------
This should be (re)investigated because, as of CMake 2.8.3, automatic
dependency detection looks possible. This was a major reason why we
didn't originally create scripts to generate DEBs -- they wouldn't
automatically include the dependency meta-info.
See http://public.kitware.com/Bug/view.php?id=10292
Main points of this task:
* Add a `make-deb-packages` script analogous to the current mac/rpm ones
* LD_LIBRARY_PATH might need to point to `./opt/bro/lib` during `make
package` to workaround RPATH bug (see CMake ticket above)
* In `cmake/ConfigurePackaging.cmake`'s `SetPackageGenerators` macro for
"Linux" platform:
* Add DEB to CPACK_GENERATOR
* Set CPACK_DEBIAN_PACKAGE_SHLIBDEPS
* Test that the pre/post install package scripts work
--
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/458>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list