On 01/16/2015 03:10 AM, Domen Vrankar wrote:
> That is why uid and gid in install command
> don't help much - if CPack/RPM would use uid and gid from install
> command it would be limited to users and groups listed in systems
> /etc/passwd file.
> 
> I could write an initial patch for bug report 3602 that would add user
> and group setting to install command and add that functionality to
> CPack/RPM and later we could extend the use for install and other
> CPack generators to use it as well (I also wrote some ideas for a
> patch here http://www.cmake.org/pipermail/cmake/2015-January/059518.html).

If you're interested in working on 3602 then please do so.  However it
sounds from the above that for CPack we need declarative information
for CPack to put in the package for package-install-time updates.

Please look at the "INSTALL" scope of set_property:

 http://www.cmake.org/cmake/help/v3.1/command/set_property.html

It is meant specifically for setting information about files for use
by CPack.  One could add properties for user and group names.

Thanks,
-Brad

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to