-
-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to change the installation path of the binary and lib when building / compiling a package? #449
Comments
Hi @vebmaster , The installation path is hardcoded right now. The daemon can be placed anywhere, but the configuration files are expected to be found under /etc. The service file also expects to find the daemon under In order to install it in a different directory than
The Makefile could be modified to personalize the install path:
|
Thank you. I didn't understand this step. |
Yes, after typing "make" a new binary will be created under the daemon/ directory: opensnitchd. That's the file to copy to /usr/bin/ |
- Added cli option -config-file to specify an alternate path to the config file. - Allow to configure rules path from the configuration file (cli option takes precedence). - Default options are now /etc/opensnitchd/rules and /etc/opensnitchd/default-config.json. Previously the default rules directory was "rules" (relative path). Closes #449 (cherry picked from commit 211c864)
Hello.
After compilation via make and building of the package via checkinstall - binaries are located in /usr/local/bin/ and in /usr/local/lib/.
The goal is to place bin and lib files anywhere but in "/usr/local", for example just in "/usr".
Please tell me how to compile correctly so that the binaries and binaries are not in "/usr/local".
Thx.
The text was updated successfully, but these errors were encountered: