Commit graph

6 commits

Author SHA1 Message Date
fox.cpp
cd928e9efb
Implement check module for easier integration with rspamd
This replaces old rspamc-based integration script that is inefficient
and had many disadvantages.
2020-06-24 23:52:36 +03:00
fox.cpp
e27315ac23
Install integration scripts to libexec directory (/usr/lib/maddy)
We don't want to clutter /usr/bin/ with internal helpers, do we?

On start-up, the libexec directory is added to the PATH environment
variale. This allows reusing exec.LookPath logic, notably, to check
whether the script is executable.
2019-12-02 19:35:50 +03:00
fox.cpp
1f7340fe6c
get.sh: Add DESTDIR environent variable support and set default values in binary
It is separate from the PREFIX variable which specifies the path use
*within* the system tree whereas DESTDIR specifies the path to the
system tree itself.  For get.sh-based installation, DESTDIR=""
PREFIX=/usr/local. For package.sh DESTDIR is a temporary directory and
PREFIx=/usr.

With that change it is now possible to set the default libexec directory
to a correct value depending on the PREFIX variable.
2019-12-02 19:35:50 +03:00
fox.cpp
93ccd18451
dist: Provide a shell script for integration with rspamd 2019-11-29 00:50:59 +03:00
fox.cpp
3a61903189
Make get.sh more usable as a package builder
Add package.sh script as a wrapper for get.sh that sets necessary
envvars.
2019-11-19 18:13:19 +03:00
fox.cpp
f569d7e941
get.sh: Installl files from dist/ and man pages 2019-11-19 18:13:19 +03:00