[Rspamd-Users] Building rspamd distribution package for Raspbian 10

Duncan Bellamy a.16bit.sysop at gmail.com
Thu Oct 29 15:44:10 UTC 2020



> On 29 Oct 2020, at 15:21, Martin Brampton via Users <users at lists.rspamd.com> wrote:
> 
> The build instructions don't produce a package. The instructions for a distribution package are:
> 
> $ mkdir rspamd.build
> $ cd rspamd.build
> $ ./dist.sh
> $ tar xvf rspamd-<rspamd_version>.tar.xz
> $ cd rspamd-<rspamd_version>
> $ debuild
> 
> But if you create a new directory and change into it, there isn't going to be a ./dist.sh file (or any other file). Then if you find dist.sh and run it, an error says you need to pass a file as a parameter. What file? I just don't know how to use this.
> 
> On 29/10/2020 13:07, dunc wrote:
>> I used to build on Ubuntu for an arm64 SBC.
>> Once you have the dependencies installed it should just build.
>> On Thu, 29 Oct 2020, 12:51 Martin Brampton, <martin at black-sheep-research.com <mailto:martin at black-sheep-research.com> <mailto:martin at black-sheep-research.com <mailto:martin at black-sheep-research.com>>> wrote:
>>    On 29/10/2020 12:39, dunc wrote:
>>     > Instructions should work, but hyperscan isn't available for arm.
>>     >
>>     > So install dependencies and then build as per instructions excluding
>>     > hyperscan references.
>>     >
>>     > On Thu, 29 Oct 2020, 11:49 Martin Brampton via Users,
>>     > <users at lists.rspamd.com <mailto:users at lists.rspamd.com> <mailto:users at lists.rspamd.com <mailto:users at lists.rspamd.com>>
>>    <mailto:users at lists.rspamd.com <mailto:users at lists.rspamd.com> <mailto:users at lists.rspamd.com <mailto:users at lists.rspamd.com>>>> wrote:
>>     >
>>     >     On 29/10/2020 08:57, Martin Brampton via Users wrote:
>>     >      > Does anyone know how to do this? (There doesn't seem to be
>>    a repo
>>     >     with
>>     >      > up to date rspamd for arm). I can't make any sense of the
>>     >     instructions
>>     >      > for building a distribution package at
>>     > https://rspamd.com/downloads.html
>>     >
>>     >     Or how to build for Debian 10 for Raspberry Pi.
>>     >     --
>>    Thanks, but I'm wanting to build a package, and can't make sense of the
>>    instructions. They don't seem to work.
> 
> -- 
> Martin Brampton, Black Sheep Research
> martin at black-sheep-research.com <mailto:martin at black-sheep-research.com>
> https://black-sheep-research.com <https://black-sheep-research.com/>
> Tel: +44 1653 696210 or +1 585 939 7885
> Mobile: +44 7771 787010
> Office: 4 York Road, Malton, North Yorkshire, YO17 6AX, UK.
> -- 
> Users mailing list
> Users at lists.rspamd.com <mailto:Users at lists.rspamd.com>
> https://lists.rspamd.com/mailman/listinfo/users <https://lists.rspamd.com/mailman/listinfo/users>
I see, I haven’t built a package.  Maybe you need cmake as well? 

Or all the files for building a debian package are in the debian folder, maybe if you ran debbuild in the debian folder it would build?



More information about the Users mailing list