[CMake] Questions about CPack Debian generator

Thawan Kooburat kthawan at gmail.com
Fri Feb 12 14:23:51 EST 2010


Are you suggesting that there is a solution for the file owner permission?

I try to search in the mailing list but I could not find it.

On Fri, Feb 12, 2010 at 3:13 AM, Eric Noulard <eric.noulard at gmail.com> wrote:
> 2010/2/12 Thawan Kooburat <kthawan at gmail.com>:
>> Hi,
>>
>> I am trying to create a Debian binary package using CMake/CPack and it
>> is quite a nice tool. I understand that CMake/CPack try to rely on
>> external tools as little as possible but there are 2 issues that I
>> encountered while using the Debian generator
>>
>> 1. Dependency list - It would save a lot of effort if I can hook a
>> call to dpkg-shlibdeps during the package generation. So that
>> dependency list can be filled.
>> 2. File owner - Since the generator compress the file by itself, so
>> the owner of the files is user who compile them. However, a Debian
>> binary package is normally created by using "fakeroot dpkg-deb
>> --build", so that the owner of the files is root/root
>>
>> Do you have any suggestion about these issues?
>
> Did you dig the mailing list I think the "file owner" part has been
> discussed already.
> Concerning the dpkg-shlibs may be it's worth a feature request?
> And may be even a contribution?
> The code of Deb Generator is in:
> CMake/Source/CPack/cmCPackDebGenerator.cxx
>
> --
> Erk
> Membre de l'April - « promouvoir et défendre le logiciel libre » -
> http://www.april.org
>



-- 
Thawan Kooburat

Graduate Student
Department of Computer Science
UW-Madison


More information about the CMake mailing list