Coder Social home page Coder Social logo

Comments (6)

BraulioV avatar BraulioV commented on May 20, 2024

Hi team,

I just uploaded the new scripts and Dockerfiles to build the RPM packages. For now, you can build an RPM package in a CentOS 6 that can be installed in Fedora, CentOS, RHEL, Amazon Linux, Suse 12, etc., but I'm having some issues to build the Docker image for CentOS 5 with the CentOS 5 repositories.

For now, you only need git and Docker to build the packages.

from wazuh-packages.

BraulioV avatar BraulioV commented on May 20, 2024

In addition to what I said before, the RPM specs from previous versions need this changes:

  • The RPM packages must copy the CHANGELOG file from the sources, rather than the one in rpmbuild/SOURCES.
  • The RPM packages must install the wazuh-manager.init and wazuh-agent.init files from the sources, rather than the one in rpmbuild/SOURCES.

Without this, you can't build a package with this new system.

from wazuh-packages.

BraulioV avatar BraulioV commented on May 20, 2024

This commit 5e884a8 solves the previous comment.

In addition, I just added the RPM specs for 3.4.0 in this branch.

from wazuh-packages.

BraulioV avatar BraulioV commented on May 20, 2024

Hi team,

I solved this two issues:

  • The RPM packages must copy the CHANGELOG file from the sources, rather than the one in rpmbuild/SOURCES.
  • The RPM packages must install the wazuh-manager.init and wazuh-agent.init files from the sources, rather than the one in rpmbuild/SOURCES.

in this commit: 5e884a8.

Regards,
Braulio.

from wazuh-packages.

BraulioV avatar BraulioV commented on May 20, 2024

Hi team,

with this commit: 1d7a1ce, I add simplify even more the rpm build script and I add the following features:

  • Added support for different directories.
  • Added support to set the number of threads and the release of the package dynamically using rpm macros.
  • Added support for all the previous versions of Wazuh.

Everything is done by defining rpmmacros and using them in the rpm spec file. I will continue with the process to build rpm packages for CentOS 5.

Regards,
Braulio.

from wazuh-packages.

BraulioV avatar BraulioV commented on May 20, 2024

Hi team,

right now, the Docker image to build the CentOS 5 packages for x86_64 works like a charm, but, I'm having some issues with the i386 image when linking the Wazuh binaries with the compiled OpenSSL in src/external.

For now, this image will have to wait in order to improve the RPM specs, so I made this PR (#28) to add this features.

Regards,
Braulio.

from wazuh-packages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.