[IntelMQ-dev] Generating the deb packages for intelmq 2.3.1

Birger Schacht schacht at cert.at
Wed Apr 7 12:12:19 CEST 2021


Hi,

On 4/7/21 11:56 AM, Mika Silander wrote:
> Hi,
> 
>   A quick one: how am I supposed to build the distribution packages of intelmq 2.3.1?
> I cloned the intelmq github repo, then:
> 
> git checkout maintenance
> cd debian
> 
>   but then running e.g. "debuild -us -uc" first stumbles on python3-cerberus dependency missing and
> there's no package in Ubuntu 18.04 LTS for installing it. I can remove this dependency (it was only
> relevant for documenting, right?) but after that other errors surface like "no upstream tarball found ...".
> 
>   Any hints as to where to look for solutions?

You can have a look at our github action, that automatically builds 
Debian packages: 
https://github.com/certtools/intelmq/blob/develop/.github/workflows/scripts/debian-package.sh

Basically you first install all the build dependencies with
 > apt-get build-dep -y .

Then you build the package using
 > dpkg-buildpackage -us -uc -b

cheers,
Birger



> 
> Br, Mika
> 
> 
> _______________________________________________
> IntelMQ-dev mailing list
> https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-dev
> https://intelmq.readthedocs.io/
> 

-- 
// Birger Schacht <schacht at cert.at>
// CERT Austria - https://www.cert.at/
// Eine Initiative der nic.at GmbH - https://www.nic.at/
// Firmenbuchnummer 172568b, LG Salzburg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x3A3C547D2D48D997.asc
Type: application/pgp-keys
Size: 5392 bytes
Desc: OpenPGP public key
URL: <http://lists.cert.at/pipermail/intelmq-dev/attachments/20210407/e106f2cf/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.cert.at/pipermail/intelmq-dev/attachments/20210407/e106f2cf/attachment.sig>


More information about the IntelMQ-dev mailing list