diff --git a/.github/workflows/glpi-agent-ci.yml b/.github/workflows/glpi-agent-ci.yml index 6af7b4cb7..9a695ca38 100644 --- a/.github/workflows/glpi-agent-ci.yml +++ b/.github/workflows/glpi-agent-ci.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v2 - name: Install packages run: | - sudo apt -y install cpanminus libmodule-install-perl \ + sudo apt -y install cpanminus libmodule-install-perl libxml-libxml-perl \ libxml-treepp-perl libxml-xpath-perl \ libdatetime-perl libparallel-forkmanager-perl libparse-edid-perl \ libcpanel-json-xs-perl libossp-uuid-perl libfile-copy-recursive-perl \ diff --git a/.github/workflows/glpi-agent-packaging.yml b/.github/workflows/glpi-agent-packaging.yml index a2253fffc..b773eb462 100644 --- a/.github/workflows/glpi-agent-packaging.yml +++ b/.github/workflows/glpi-agent-packaging.yml @@ -452,7 +452,7 @@ jobs: libtest-exception-perl libtest-mockmodule-perl \ libtest-mockobject-perl libtext-template-perl \ libsocket-getaddrinfo-perl libuniversal-require-perl liburi-perl \ - libwww-perl libxml-treepp-perl libxml-xpath-perl libyaml-perl \ + libwww-perl libxml-libxml-perl libxml-xpath-perl libyaml-perl \ libossp-uuid-perl libcpanel-json-xs-perl devscripts shell: bash - name: Build debian packages diff --git a/Makefile.PL b/Makefile.PL index 0bb67b803..fa7090017 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -31,7 +31,6 @@ requires 'Net::IP' => '0'; requires 'Text::Template' => '0'; requires 'UNIVERSAL::require' => '0'; requires 'XML::LibXML' => '0'; -requires 'XML::TreePP' => '0.26'; requires 'XML::XPath' => '0'; requires 'YAML::Tiny' => '0'; requires 'Memoize' => '0'; diff --git a/contrib/unix/install-deb.sh b/contrib/unix/install-deb.sh index 524f40173..c1c710053 100755 --- a/contrib/unix/install-deb.sh +++ b/contrib/unix/install-deb.sh @@ -64,7 +64,7 @@ echo "Installing agent dependencies" apt-get -y install dmidecode hwdata ucf hdparm apt-get -y install perl libuniversal-require-perl libwww-perl libparse-edid-perl apt-get -y install libproc-daemon-perl libfile-which-perl libhttp-daemon-perl - apt-get -y install libxml-treepp-perl libyaml-perl libnet-cups-perl libnet-ip-perl + apt-get -y install libxml-libxml-perl libyaml-perl libnet-cups-perl libnet-ip-perl apt-get -y install libdigest-sha-perl libsocket-getaddrinfo-perl libtext-template-perl apt-get -y install libxml-xpath-perl apt-get -y install libwrite-net-perl diff --git a/contrib/windows/packaging/PerlBuildJob.pm b/contrib/windows/packaging/PerlBuildJob.pm index 4bc5241d3..5d0624d10 100644 --- a/contrib/windows/packaging/PerlBuildJob.pm +++ b/contrib/windows/packaging/PerlBuildJob.pm @@ -157,7 +157,7 @@ sub _build_steps { # GLPI-Agent deps qw/ Text::Template UNIVERSAL::require UNIVERSAL::isa Net::SSH2 XML::LibXML Memoize Time::HiRes Compress::Zlib - XML::TreePP XML::XPath + XML::XPath Parse::EDID Cpanel::JSON::XS JSON::PP YAML::Tiny Parallel::ForkManager URI::Escape Net::NBName Thread::Queue Thread::Semaphore Net::SNMP Net::SNMP::Security::USM Net::SNMP::Transport::IPv4::TCP diff --git a/debian/control b/debian/control index 2861326da..5501ba3fc 100644 --- a/debian/control +++ b/debian/control @@ -37,7 +37,7 @@ Build-Depends-Indep: libuniversal-require-perl , liburi-perl , libwww-perl , - libxml-treepp-perl , + libxml-libxml-perl , libxml-xpath-perl , libyaml-perl , libossp-uuid-perl , @@ -65,7 +65,7 @@ Depends: libproc-daemon-perl, libuniversal-require-perl, libfile-which-perl, - libxml-treepp-perl, + libxml-libxml-perl, libxml-xpath-perl, libyaml-perl, libtext-template-perl, diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 2ec139147..61fb8f6bf 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -112,7 +112,7 @@ parts: Crypt::DES Crypt::Rijndael Digest::HMAC Digest::SHA1 Net::IP Net::Ping Net::SNMP Net::NBName Net::CUPS Net::SSH2 Thread::Queue Parse::EDID Cpanel::JSON::XS JSON::PP - Text::Template XML::TreePP XML::XPath Memoize + Text::Template XML::LibXML XML::XPath Memoize YAML::Tiny Data::UUID Digest::SHA #Net::PCAP Net::Write::Layer2 MODULES