Re: [CMake] how to debug CPack creation

2018-10-22 Thread Eric Noulard
Le mar. 23 oct. 2018 à 08:07, Илья Шипицин a écrit : > Eric, thank you for your review. > I still wonder why is it so complicated (my expectation was "ok, since I > use both cmake and cpack, they should work together") > The main reason is that CPack was first design as a standalone tool that ca

Re: [CMake] how to debug CPack creation

2018-10-22 Thread Илья Шипицин
Eric, thank you for your review. I still wonder why is it so complicated (my expectation was "ok, since I use both cmake and cpack, they should work together") can you please review https://github.com/SoftEtherVPN/SoftEtherVPN/commit/139fffe6e0c218f580cd8a397d94856be37fa947 (it is based on your su

Re: [CMake] how to debug CPack creation

2018-10-20 Thread Craig Scott
On Sun, Oct 21, 2018 at 3:41 AM Илья Шипицин wrote: > > > сб, 20 окт. 2018 г. в 18:31, Eric Noulard : > >> >>> And the content is: >>> $ rpm -qpl softether-vpnserver-5.1.9660-1.x86_64.rpm >>> /lib >>> /lib/systemd >>> /lib/systemd/system >>> /lib/systemd/system/softether-vpnserver.service >>> /us

Re: [CMake] how to debug CPack creation

2018-10-20 Thread Илья Шипицин
сб, 20 окт. 2018 г. в 18:31, Eric Noulard : > >> And the content is: >> $ rpm -qpl softether-vpnserver-5.1.9660-1.x86_64.rpm >> /lib >> /lib/systemd >> /lib/systemd/system >> /lib/systemd/system/softether-vpnserver.service >> /usr/libexec >> /usr/libexec/softether >> /usr/libexec/softether/vpnserv

Re: [CMake] how to debug CPack creation

2018-10-20 Thread Eric Noulard
> > > And the content is: > $ rpm -qpl softether-vpnserver-5.1.9660-1.x86_64.rpm > /lib > /lib/systemd > /lib/systemd/system > /lib/systemd/system/softether-vpnserver.service > /usr/libexec > /usr/libexec/softether > /usr/libexec/softether/vpnserver > /usr/libexec/softether/vpnserver/hamcore.se2 >

Re: [CMake] how to debug CPack creation

2018-10-20 Thread Eric Noulard
Le sam. 20 oct. 2018 à 10:54, Илья Шипицин a écrit : > > > сб, 20 окт. 2018 г. в 13:30, Eric Noulard : > >> >> >> Le sam. 20 oct. 2018 à 10:15, Илья Шипицин a >> écrit : >> >>> hi, >>> >>> we use cmake/cpack for mangling systemd scripts >>> >>> >>> https://github.com/SoftEtherVPN/SoftEtherVPN/bl

Re: [CMake] how to debug CPack creation

2018-10-20 Thread Илья Шипицин
just in case, I tried 3.12.3 the same issue сб, 20 окт. 2018 г. в 13:53, Илья Шипицин : > > > сб, 20 окт. 2018 г. в 13:30, Eric Noulard : > >> >> >> Le sam. 20 oct. 2018 à 10:15, Илья Шипицин a >> écrit : >> >>> hi, >>> >>> we use cmake/cpack for mangling systemd scripts >>> >>> >>> https://gith

Re: [CMake] how to debug CPack creation

2018-10-20 Thread Илья Шипицин
сб, 20 окт. 2018 г. в 13:30, Eric Noulard : > > > Le sam. 20 oct. 2018 à 10:15, Илья Шипицин a > écrit : > >> hi, >> >> we use cmake/cpack for mangling systemd scripts >> >> >> https://github.com/SoftEtherVPN/SoftEtherVPN/blob/master/src/vpnserver/CMakeLists.txt#L26 >> >> what happens: >> >> (*)

Re: [CMake] how to debug CPack creation

2018-10-20 Thread Eric Noulard
Le sam. 20 oct. 2018 à 10:15, Илья Шипицин a écrit : > hi, > > we use cmake/cpack for mangling systemd scripts > > > https://github.com/SoftEtherVPN/SoftEtherVPN/blob/master/src/vpnserver/CMakeLists.txt#L26 > > what happens: > > (*) deb installs files to /usr/libexec > (*) cmake sets location as

[CMake] how to debug CPack creation

2018-10-20 Thread Илья Шипицин
hi, we use cmake/cpack for mangling systemd scripts https://github.com/SoftEtherVPN/SoftEtherVPN/blob/master/src/vpnserver/CMakeLists.txt#L26 what happens: (*) deb installs files to /usr/libexec (*) cmake sets location as /usr/local/libexec as a result: it does not work (systemd cannot find ex