[Rspamd-Users] Build rspam package

rspam at padaru.com rspam at padaru.com
Fri Nov 12 15:45:18 UTC 2021

   Thank you very much!

   The packages from the rspamd-owner are of course an alternative, but I
   want to develop, maybe someone else has an idea, otherwise I can only
   keep trying. :D

   G.W. Haywood via Users schrieb am 12.11.2021 15:39 (GMT +01:00):

Hello again,

On Fri, 12 Nov 2021, rspam at padaru.com wrote:

>   thank you for your huge reply, i didn´t want to provoke much effort...


>   However, i have not needed c-programming and manual packing of packages
>   so far. Now it´s not recommendet to use the rspamd packaged from the
>   official debian repo´s - i have read at least - i have to build my own.

I think it depends on what you mean by "official debian repo´s".  It
seems to me that there are two kinds of packages.  The first kind is
those which are provided by the rspamd people.  My guess is that this
would be the preferred way to install (if you can use one of those but
AFAICT, at least for Debian and Ubuntu, packages are only provided for
the x86_64 architecture).  The second kind is those packages which are
provided by the OS distribution.  Distributions will provide packages
for a wider range of architectures, but unfortunately many packages in
distributions are provided with strange configurations, and they often
suffer from neglect.  I wonder if some of the comments in the rspamd
download pages are coloured by a frustration with these things.  I've
seen the same sentiments expressed in other open source projects, and
I've often expressed them myself.

>   But now i want to occupy mysqlf with the rspam and packing ...

Can you not simply use the packages provided by the rspamd project?

>   What i have until done (Ubuntu 20.04.3 LTS):
>   0. $ sudoapt install openssl libglib2.0-dev ragel luajit cmake
>   ...
>   ...
>   4. $ ./dist.sh rspamd_3.1.tar.xz
>   ...
>   dpkg-buildpackage: info: source version 2.5
>   ...
>   dont understand why i need this file  'rspamd_2.5.orig.tar.xz' ...

It looks wrong.  Maybe someone who is familiar with the packaging of
rspamd can offer some clarification.  It seems completley wrong to me
if you are trying to build version 3.1 that anything should mention a
version 2.5.  I don't know any more than that (and I might be talking
out of my hat - I have never attempted to build rspamd packages but I
have built other packages, including kernels, for Debian systems with
no particular problems).

> Here sits my main question, is this a special rspamd
> package-build-process behavior?

I'm afraid that I don't know.

> What´s the correct way to build own packages from opensource
> projects?

Normally you just follow the instructions. :)  If they do not work
because some development has not been properly tested then for rspamd
I would expect you to be able to find out about it on this list.

I think if you can you should use the provided packages.  If your VM
is 64 bit, that should be straighforward.

I'm afraid I have to leave work for the day now.  Have a good weekend!


Users mailing list
Users at lists.rspamd.com


   1. https://lists.rspamd.com/mailman/listinfo/users

More information about the Users mailing list