You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ All notable changes to this project will be documented in this file.
25
25
- Updated the *Deployment on Docker* section. ([#8688](https://github.com/wazuh/wazuh-documentation/pull/8688))
26
26
- Updated default values for `agents_disconnection_time` and `notify_time`. ([#8769](https://github.com/wazuh/wazuh-documentation/pull/8769))
27
27
- Updated the default value of the `all` attribute in the `ports` Syscollector configuration option. ([#8840](https://github.com/wazuh/wazuh-documentation/pull/8840))
28
+
- Replaced version references with replacement variables in Wazuh package generation. ([#8906](https://github.com/wazuh/wazuh-documentation/pull/8906))
Copy file name to clipboardExpand all lines: source/development/packaging/generate-agent-package.rst
+22-22Lines changed: 22 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -220,11 +220,11 @@ The process of successfully generating the Windows Microsoft Software Installer
220
220
Compiling the Windows package
221
221
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
222
222
223
-
#. Clone the `wazuh <https://github.com/wazuh/wazuh>`__ repository from GitHub and navigate to the ``windows/`` directory. Select the version, ``v4.12.0``.
223
+
#. Clone the `wazuh <https://github.com/wazuh/wazuh>`__ repository from GitHub and navigate to the ``windows/`` directory. Select the version, ``v|WAZUH_CURRENT|``.
224
224
225
225
.. code-block:: console
226
226
227
-
$ git clone https://github.com/wazuh/wazuh && cd wazuh/packages && git checkout v4.12.0 && cd windows
227
+
$ git clone https://github.com/wazuh/wazuh && cd wazuh/packages && git checkout v|WAZUH_CURRENT| && cd windows
228
228
229
229
#. Execute the ``generate_compiled_windows_agent.sh`` script. This script will build a Docker image with all the necessary tools to compile and obtain the Windows agent compiled in a ZIP file.
230
230
@@ -346,11 +346,11 @@ Creating the agent package
346
346
347
347
Follow the steps below to create a Solaris package:
348
348
349
-
#. Clone the `wazuh <https://github.com/wazuh/wazuh>`__ repository from GitHub and select the version, ``v4.12.0``.
349
+
#. Clone the `wazuh <https://github.com/wazuh/wazuh>`__ repository from GitHub and select the version, ``v|WAZUH_CURRENT|``.
#. Choose the version of Solaris you want to build the package for and go to that directory. Make the ``generate_wazuh_packages.sh`` script executable and run it to build the package. Here you can see all the different parameters:
356
356
@@ -399,7 +399,7 @@ Follow the steps below to build a Solaris package.
# cd solaris && cp -r solaris10 package_generation/src/ && cd package_generation
434
434
435
435
#. Build the Solaris package using Vagrant:
436
436
437
437
.. code-block:: console
438
438
439
-
# vagrant --branch-tag=v4.12.0 up solaris10_cmake
439
+
# vagrant --branch-tag=v|WAZUH_CURRENT| up solaris10_cmake
440
440
441
441
.. group-tab:: Solaris 11
442
442
443
443
#. Clone the `wazuh <https://github.com/wazuh/wazuh>`__ repository and switch to your target branch. Copy the source files for your Solaris 11 into ``wazuh/packages/solaris/package_generation/src``, then change to the ``wazuh/packages/solaris/package_generation`` directory.
Replace ``<PATH_TO_KEYS>`` with the full path to where the X509 certificate and root CA are stored.
553
553
554
-
This script builds a Wazuh 4.12.0 Linux WPK package named ``LinuxAgent.wpk`` and stores it in ``/tmp/wpk``. This action is done using the previously generated keys that are saved in ``/tmp/keys``.
554
+
This script builds a Wazuh |WAZUH_CURRENT| Linux WPK package named ``LinuxAgent.wpk`` and stores it in ``/tmp/wpk``. This action is done using the previously generated keys that are saved in ``/tmp/keys``.
555
555
556
556
If you use the ``-c`` or ``--checksum`` option, a file containing the SHA512 checksum is created in the same output path. This location is configurable, allowing you to indicate where you want to store it.
557
557
@@ -566,17 +566,17 @@ The following steps demonstrate the build process for an intel64 architecture, b
Replace ``/PATH/TO/KEYS`` with the full path to where the X509 certificate and root CA are stored.
578
578
579
-
This script builds a Wazuh 4.12.1 macOS WPK package named ``macOSAgent.wpk`` and stores it in ``/tmp/wpk``. This action is done using the previously generated keys that are saved in ``/tmp/keys``.
579
+
This script builds a Wazuh |WAZUH_CURRENT| macOS WPK package named ``macOSAgent.wpk`` and stores it in ``/tmp/wpk``. This action is done using the previously generated keys that are saved in ``/tmp/keys``.
580
580
581
581
If the ``-c`` or ``--checksum`` option is used, a file is created containing the SHA512 checksum in the same output path. This location is configurable, and you can indicate where you want to store it.
582
582
@@ -589,17 +589,17 @@ To build a WPK for Windows, you need to first download an MSI package of the des
Replace ``<PATH_TO_KEYS>`` with the full path to where the X509 certificate and root CA are stored.
601
601
602
-
This script builds a Wazuh 4.12.0 Windows WPK package named ``WindowsAgent.wpk`` and stores it in ``/tmp/wpk``. This action is done using the previously generated keys that are saved in ``/tmp/keys``.
602
+
This script builds a Wazuh |WAZUH_CURRENT| Windows WPK package named ``WindowsAgent.wpk`` and stores it in ``/tmp/wpk``. This action is done using the previously generated keys that are saved in ``/tmp/keys``.
603
603
604
604
If the ``-c`` or ``--checksum`` option is used, a file is created containing the SHA512 checksum in the same output path. This location is configurable, and you can indicate where you want to store it
605
605
@@ -610,6 +610,6 @@ Run the command below to build a WPK with a checksum:
0 commit comments