diff -pruN 1:4.16.0-4/debian/DEPRECATED_AGENTS 1:4.16.0-4ubuntu1/debian/DEPRECATED_AGENTS
--- 1:4.16.0-4/debian/DEPRECATED_AGENTS	1970-01-01 00:00:00.000000000 +0000
+++ 1:4.16.0-4ubuntu1/debian/DEPRECATED_AGENTS	2025-11-13 12:45:57.000000000 +0000
@@ -0,0 +1,13 @@
+# Deprecated agents
+
+All the agents listed below are no longer maintained upstream and their use is
+discouraged. They might be removed in future releases.
+
+* Evmsd: EVMS is no longer actively maintained and should not be used.
+* EvmsSCC: EVMS is no longer actively maintained and should not be used.
+* LinuxSCSI: This agent makes use of Linux SCSI hot-plug functionality which has
+  been superseded by SCSI reservations.
+* pingd: It was superseded by ocf:pacemaker:pingd.
+* scsi2reservation: It depends on scsi_reserve which is not supported
+  (SCSI-2 reservation is not supported, please use SCSI-3 reservation. That can
+  be achieved with the sg_persist resource agent)
diff -pruN 1:4.16.0-4/debian/changelog 1:4.16.0-4ubuntu1/debian/changelog
--- 1:4.16.0-4/debian/changelog	2025-08-24 14:32:20.000000000 +0000
+++ 1:4.16.0-4ubuntu1/debian/changelog	2025-11-13 12:46:48.000000000 +0000
@@ -1,3 +1,26 @@
+resource-agents (1:4.16.0-4ubuntu1) resolute; urgency=medium
+
+  * Merge with Debian unstable (LP: #2125996). Remaining changes:
+    - d/control: Demote python3-googleapi to Suggests to avoid inclusion
+      in Ubuntu main.
+    - d/control: add python3 as a runtime dependency to resource-agents.
+      Lintian complained that one of the scripts requires python3 and it
+      was not listed as a dependency.
+    - Split supported/unsupported agents:
+      + Create the resource-agents-common binary package.
+        This new binary package will be used by curated and non-curated
+        Resource Agents.
+      + Create the resource-agents-base binary package.
+      + Rename resource-agents with non-curated agents to
+        resource-agents-extra.
+    - d/control: suggest packages used by the agents in the base binary
+      package (LP #1863677).
+    - d/DEPRECATED_AGENTS: document the agents deprecated by upstream.
+      Also create d/resource-agents-extra.docs to install it.
+    - Make scripts executable again.
+
+ -- Renan Rodrigo <rr@ubuntu.com>  Thu, 13 Nov 2025 09:46:48 -0300
+
 resource-agents (1:4.16.0-4) unstable; urgency=medium
 
   * debian/patches: fix to avoid duplicate route issues (Closes: #1109925)
@@ -6,6 +29,35 @@ resource-agents (1:4.16.0-4) unstable; u
 
  -- Valentin Vidic <vvidic@debian.org>  Sun, 24 Aug 2025 16:32:20 +0200
 
+resource-agents (1:4.16.0-3ubuntu2) resolute; urgency=medium
+
+  * No-change rebuild for libnet9.
+
+ -- Sudip Mukherjee <sudipm.mukherjee@gmail.com>  Fri, 31 Oct 2025 14:11:02 +0000
+
+resource-agents (1:4.16.0-3ubuntu1) questing; urgency=medium
+
+  * Merge with Debian unstable (LP: #2110423). Remaining changes:
+    - d/control: Demote python3-googleapi to Suggests to avoid inclusion
+      in Ubuntu main.
+    - d/control: add python3 as a runtime dependency to resource-agents.
+      Lintian complained that one of the scripts requires python3 and it
+      was not listed as a dependency.
+    - Split supported/unsupported agents:
+      + Create the resource-agents-common binary package.
+        This new binary package will be used by curated and non-curated
+        Resource Agents.
+      + Create the resource-agents-base binary package.
+      + Rename resource-agents with non-curated agents to
+        resource-agents-extra.
+    - d/control: suggest packages used by the agents in the base binary
+      package (LP #1863677).
+    - d/DEPRECATED_AGENTS: document the agents deprecated by upstream.
+      Also create d/resource-agents-extra.docs to install it.
+    - Make scripts executable again.
+
+ -- Renan Rodrigo <renanrodrigo@canonical.com>  Wed, 25 Jun 2025 17:09:30 -0300
+
 resource-agents (1:4.16.0-3) unstable; urgency=medium
 
   * debian/tests: mark mysql and pgsql as flaky (Closes: #1096025)
@@ -14,6 +66,29 @@ resource-agents (1:4.16.0-3) unstable; u
 
  -- Valentin Vidic <vvidic@debian.org>  Fri, 28 Feb 2025 22:52:53 +0100
 
+resource-agents (1:4.16.0-2ubuntu1) plucky; urgency=medium
+
+  * Merge with Debian unstable (LP: #2085280). Remaining changes:
+    - d/control: Demote python3-googleapi to Suggests to avoid inclusion
+      in Ubuntu main.
+    - d/control: add python3 as a runtime dependency to resource-agents.
+      Lintian complained that one of the scripts requires python3 and it
+      was not listed as a dependency.
+    - Split supported/unsupported agents:
+      + Create the resource-agents-common binary package.
+        This new binary package will be used by curated and non-curated
+        Resource Agents.
+      + Create the resource-agents-base binary package.
+      + Rename resource-agents with non-curated agents to
+        resource-agents-extra.
+    - d/control: suggest packages used by the agents in the base binary
+      package (LP #1863677).
+    - d/DEPRECATED_AGENTS: document the agents deprecated by upstream.
+      Also create d/resource-agents-extra.docs to install it.
+    - Make scripts executable again.
+
+ -- Athos Ribeiro <athos.ribeiro@canonical.com>  Wed, 19 Feb 2025 19:57:04 -0300
+
 resource-agents (1:4.16.0-2) unstable; urgency=medium
 
   * debian/tests: fix failing named test
@@ -29,6 +104,40 @@ resource-agents (1:4.16.0-1) unstable; u
 
  -- Valentin Vidic <vvidic@debian.org>  Sun, 10 Nov 2024 19:27:37 +0100
 
+resource-agents (1:4.15.1-2ubuntu3) plucky; urgency=medium
+
+  * Make scripts executable again.
+
+ -- Matthias Klose <doko@ubuntu.com>  Mon, 28 Oct 2024 09:41:00 +0100
+
+resource-agents (1:4.15.1-2ubuntu1) plucky; urgency=medium
+
+  * Merge with Debian; remaining changes:
+    - d/control: Demote python3-googleapi to Suggests to avoid inclusion
+      in Ubuntu main.
+    - d/control: add python3 as a runtime dependency to resource-agents.
+      Lintian complained that one of the scripts requires python3 and it
+      was not listed as a dependency.
+    - Split supported/unsupported agents:
+      + Create the resource-agents-common binary package.
+        This new binary package will be used by curated and non-curated
+        Resource Agents.
+      + Create the resource-agents-base binary package.
+      + Rename resource-agents with non-curated agents to
+        resource-agents-extra.
+    - d/curated-agents,d/t/control: move LVM-activate and iSCSI related
+      agents to the -base package. They are iscsi, iSCSILogicalUnit and
+      iSCSITarget.
+    - d/control: suggest packages used by the agents in the base binary
+      package (LP #1863677).
+    - d/DEPRECATED_AGENTS: document the agents deprecated by upstream.
+      Also create d/resource-agents-extra.docs to install it.
+    - d/curated-agents,d/t/control: move the pgsql agent to the -base package.
+      (LP #2020208)
+    - d/control: suggest postgresql used by the pgsql agent moved to main.
+
+ -- Matthias Klose <doko@ubuntu.com>  Mon, 28 Oct 2024 09:10:29 +0100
+
 resource-agents (1:4.15.1-2) unstable; urgency=medium
 
   [ Athos Ribeiro ]
@@ -36,6 +145,43 @@ resource-agents (1:4.15.1-2) unstable; u
 
  -- Valentin Vidic <vvidic@debian.org>  Sat, 05 Oct 2024 15:02:38 +0200
 
+resource-agents (1:4.15.1-1ubuntu2) oracular; urgency=medium
+
+  * Fix DEP8 test timeout failures (LP: #2078860):
+    - d/t/control: apache2 tests now use curl instead of wget.
+    - d/p/use-curl-noproxy.patch: change heartbeat/http-mon.sh curl
+      options to match the wget behavior.
+
+ -- Athos Ribeiro <athos.ribeiro@canonical.com>  Thu, 29 Aug 2024 09:57:29 -0300
+
+resource-agents (1:4.15.1-1ubuntu1) oracular; urgency=medium
+
+  * Merge with Debian unstable (LP: #2064454). Remaining changes:
+    - d/control: Demote python3-googleapi to Suggests to avoid inclusion
+      in Ubuntu main.
+    - d/control: add python3 as a runtime dependency to resource-agents.
+      Lintian complained that one of the scripts requires python3 and it
+      was not listed as a dependency.
+    - Split supported/unsupported agents:
+      + Create the resource-agents-common binary package.
+        This new binary package will be used by curated and non-curated
+        Resource Agents.
+      + Create the resource-agents-base binary package.
+      + Rename resource-agents with non-curated agents to
+        resource-agents-extra.
+    - d/curated-agents,d/t/control: move LVM-activate and iSCSI related
+      agents to the -base package. They are iscsi, iSCSILogicalUnit and
+      iSCSITarget.
+    - d/control: suggest packages used by the agents in the base binary
+      package (LP #1863677).
+    - d/DEPRECATED_AGENTS: document the agents deprecated by upstream.
+      Also create d/resource-agents-extra.docs to install it.
+    - d/curated-agents,d/t/control: move the pgsql agent to the -base package.
+      (LP #2020208)
+    - d/control: suggest postgresql used by the pgsql agent moved to main.
+
+ -- Athos Ribeiro <athos.ribeiro@canonical.com>  Wed, 14 Aug 2024 09:22:46 -0300
+
 resource-agents (1:4.15.1-1) unstable; urgency=medium
 
   * New upstream version 4.15.1
@@ -59,6 +205,55 @@ resource-agents (1:4.14.0-1) unstable; u
 
  -- Valentin Vidic <vvidic@debian.org>  Wed, 05 Jun 2024 21:18:06 +0200
 
+resource-agents (1:4.13.0-1ubuntu4) noble; urgency=medium
+
+  * No-change rebuild for CVE-2024-3094
+
+ -- William Grant <wgrant@ubuntu.com>  Mon, 01 Apr 2024 18:55:06 +1100
+
+resource-agents (1:4.13.0-1ubuntu3) noble; urgency=medium
+
+  * No-change rebuild against libplumb2t64.
+
+ -- Michael Hudson-Doyle <michael.hudson@ubuntu.com>  Fri, 22 Mar 2024 18:26:14 +1300
+
+resource-agents (1:4.13.0-1ubuntu2) noble; urgency=medium
+
+  * d/curated-agents,d/t/control: move the pgsql agent to the -base package.
+    (LP: #2020208)
+  * d/control: suggest postgresql used by the pgsql agent moved to main.
+
+ -- Athos Ribeiro <athos.ribeiro@canonical.com>  Tue, 16 Jan 2024 16:32:18 -0300
+
+resource-agents (1:4.13.0-1ubuntu1) noble; urgency=medium
+
+  * Merge with Debian unstable (LP: #2040418). Remaining changes:
+    - d/control: Demote python3-googleapi to Suggests to avoid inclusion
+      in Ubuntu main.
+    - d/control: add python3 as a runtime dependency to resource-agents.
+      Lintian complained that one of the scripts requires python3 and it was
+      not listed as a dependency.
+    - Split supported/unsupported agents:
+      + Create the resource-agents-common binary package.
+        This new binary package will be used by curated and non-curated
+        Resource Agents.
+      + Create the resource-agents-base binary package.
+      + Rename resource-agents with non-curated agents to
+        resource-agents-extra.
+    - d/curated-agents,d/t/control: move LVM-activate and iSCSI related
+      agents to the -base package. They are iscsi, iSCSILogicalUnit and
+      iSCSITarget.
+    - d/control: suggest packages used by the agents in the base binary
+      package (LP #1863677).
+    - d/DEPRECATED_AGENTS: document the agents deprecated by upstream.
+      Also create d/resource-agents-extra.docs to install it.
+  * Dropped changes:
+    - Create a transitional binary package called resource-agents.
+      It depends on both resource-agents-{base,extra}.
+      [ This was added in jammy (LTS) and can be removed in noble (LTS) ]
+
+ -- Athos Ribeiro <athos.ribeiro@canonical.com>  Fri, 12 Jan 2024 14:04:22 -0300
+
 resource-agents (1:4.13.0-1) unstable; urgency=medium
 
   [ Valentin Vidic ]
@@ -72,6 +267,30 @@ resource-agents (1:4.13.0-1) unstable; u
 
  -- Valentin Vidic <vvidic@debian.org>  Thu, 02 Nov 2023 22:13:55 +0100
 
+resource-agents (1:4.12.0-2ubuntu1) mantic; urgency=medium
+
+  * Merge with Debian unstable (LP: #2018105). Remaining changes:
+    - d/control: Demote python3-googleapi to Suggests to avoid inclusion
+      in Ubuntu main.
+    - Create the resource-agents-common binary package.
+      This new binary package will be used by curated and non-curated
+      Resource Agents.
+    - d/control: add python3 as a runtime dependency to resource-agents.
+      Lintian complained that one of the scripts requires python3 and it was
+      not listed as a dependency.
+    - Create the resource-agents-base binary package.
+    - Rename resource-agents with non-curated agents to resource-agents-extra.
+    - Create a transitional binary package called resource-agents.
+      It depends on both resource-agents-{base,extra}.
+    - d/curated-agents: add LVM-activate and iSCSI related agents.
+      They are iscsi, iSCSILogicalUnit and iSCSITarget.
+    - d/control: suggest packages used by the agents in the base binary
+      package (LP #1863677).
+    - d/DEPRECATED_AGENTS: document the agents deprecated by upstream.
+      Also create d/resource-agents-extra.docs to install it.
+
+ -- Miriam España Acebal <miriam.espana@canonical.com>  Wed, 24 May 2023 17:49:57 +0200
+
 resource-agents (1:4.12.0-2) unstable; urgency=medium
 
   * debian/patches: add IPv6addr-delay.patch (Closes: #1034280)
@@ -87,6 +306,31 @@ resource-agents (1:4.12.0-1) unstable; u
 
  -- Valentin Vidic <vvidic@debian.org>  Thu, 26 Jan 2023 00:44:32 +0100
 
+resource-agents (1:4.11.0-3ubuntu1) lunar; urgency=medium
+
+  * Merge with Debian unstable (LP: #1993440). Remaining changes:
+    - d/control: Demote python3-googleapi to Suggests to avoid inclusion
+      in Ubuntu main.
+    - Create the resource-agents-common binary package.
+      This new binary package will be used by curated and non-curated
+      Resource Agents.
+    - d/control: add python3 as a runtime dependency to resource-agents.
+      Lintian complained that one of the scripts requires python3 and it was
+      not listed as a dependency.
+    - Create the resource-agents-base binary package.
+      It contains all the resource agents curated by Ubuntu Server.
+    - Rename resource-agents with non-curated agents to resource-agents-extra.
+    - Create a transitional binary package called resource-agents.
+      It depends on both resource-agents-{base,extra}.
+    - d/curated-agents: add LVM-activate and iSCSI related agents.
+      They are iscsi, iSCSILogicalUnit and iSCSITarget.
+    - d/control: suggest packages used by the agents in the base binary
+      package (LP #1863677).
+    - d/DEPRECATED_AGENTS: document the agents deprecated by upstream.
+      Also create d/resource-agents-extra.docs to install it.
+
+ -- Lucas Kanashiro <kanashiro@ubuntu.com>  Wed, 18 Jan 2023 09:41:55 -0300
+
 resource-agents (1:4.11.0-3) unstable; urgency=medium
 
   * debian/patches: fix build failure in shellcheck of WAS6
@@ -106,6 +350,38 @@ resource-agents (1:4.11.0-2) unstable; u
 
  -- Valentin Vidic <vvidic@debian.org>  Sun, 13 Nov 2022 13:58:03 +0100
 
+resource-agents (1:4.11.0-1ubuntu1) kinetic; urgency=medium
+
+  * Merge with Debian unstable (LP: #1971317). Remaining changes:
+    - d/control: Demote python3-googleapi to Suggests to avoid inclusion
+      in Ubuntu main.
+    - Create the resource-agents-common binary package.
+      This new binary package will be used by curated and non-curated
+      Resource Agents.
+    - d/control: add python3 as a runtime dependency to resource-agents.
+      Lintian complained that one of the scripts requires python3 and it was
+      not listed as a dependency.
+    - Create the resource-agents-base binary package.
+      It contains all the resource agents curated by Ubuntu Server.
+    - Rename resource-agents with non-curated agents to resource-agents-extra.
+    - Create a transitional binary package called resource-agents.
+      It depends on both resource-agents-{base,extra}.
+    - d/curated-agents: add LVM-activate agent.
+    - d/curated-agents: add iSCSI resource agents.
+      They are iscsi, iSCSILogicalUnit and iSCSITarget.
+    - d/control: suggest packages used by the agents in the base binary
+      package (LP #1863677).
+    - d/DEPRECATED_AGENTS: document the agents deprecated by upstream.
+      Also create d/resource-agents-extra.docs to install it.
+  * Dropped:
+    - d/control: remove old Conflicts and Replaces.
+      + Replaces/Conflicts in resource-agents*: cluster-agents, rgmanager
+        and resource-agents-dev.
+      + Conflicts in ldirectord: libpils0, libstonith0 and stonith.
+      [changes applied in Debian version 1:4.10.0-1]
+
+ -- Lucas Kanashiro <kanashiro@ubuntu.com>  Mon, 08 Aug 2022 17:35:17 -0300
+
 resource-agents (1:4.11.0-1) unstable; urgency=medium
 
   * New upstream version 4.11.0
@@ -132,6 +408,138 @@ resource-agents (1:4.10.0-1) unstable; u
 
  -- Valentin Vidic <vvidic@debian.org>  Sun, 03 Apr 2022 13:39:33 +0200
 
+resource-agents (1:4.7.0-1ubuntu8) kinetic; urgency=medium
+
+  * d/control: breaks/replaces for file reorg (LP: #1981598)
+    to un-break upgrades
+
+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Thu, 14 Jul 2022 13:09:42 +0200
+
+resource-agents (1:4.7.0-1ubuntu7) jammy; urgency=medium
+
+  * d/DEPRECATED_AGENTS: document the agents deprecated by upstream.
+  * d/resource-agents-extra.docs: install d/DEPRECATED_AGENTS.
+
+ -- Lucas Kanashiro <kanashiro@ubuntu.com>  Tue, 29 Mar 2022 16:47:03 -0300
+
+resource-agents (1:4.7.0-1ubuntu6) jammy; urgency=medium
+
+  * d/curated-agents: add iSCSI resource agents.
+    They are iscsi, iSCSILogicalUnit and iSCSITarget.
+  * d/control: suggest packages used by the agents in the base binary package
+    (LP: #1863677).
+
+ -- Lucas Kanashiro <kanashiro@ubuntu.com>  Thu, 24 Feb 2022 11:58:58 -0300
+
+resource-agents (1:4.7.0-1ubuntu5) impish; urgency=medium
+
+  * d/curated-agents: add LVM-activate agent.
+  * d/install-curated-agents: check if ocft config exists to install it.
+
+ -- Lucas Kanashiro <kanashiro@ubuntu.com>  Fri, 11 Jun 2021 16:12:05 -0300
+
+resource-agents (1:4.7.0-1ubuntu4) impish; urgency=medium
+
+  * Rename resource-agents with non-curated agents to resource-agents-extra.
+    - d/control: rename the resource-agents binary package to
+      resource-agents-extra.
+    - d/extract-agents-description:
+      + Rename the package name used in the substvars filename.
+      + Rename all the occurrences of the 'unsupported' term to 'non-curated'.
+    - Rename RESOURCE_AGENTS_DIR to RESOURCE_AGENTS_EXTRA_DIR with the
+      appropriate path in the following files:
+      + d/install-common-files
+      + d/install-common-files
+      + d/install-supported-agents
+      + d/resource-agents-cleanup
+      + d/rules
+  * Rename resource-agents-supported with curated agents to
+    resource-agents-base.
+    - d/control:
+      + Rename resource-agents-supported binary package to resource-agents-base.
+      + Update the short and long description to not use the 'supported' term.
+      + Rename the supportedAgents substvar to curatedAgents.
+    - d/curated-agents: new file, this is the renamed d/supported-agents file.
+    - d/extract-agents-description:
+      + Rename the package name used in the substvars filename.
+      + Rename all the occurrences of the 'supported' term to 'curated'.
+    - d/install-common-files: Rename all the occurrences of the 'supported'
+      term to 'curated'.
+    - d/install-curated-agents: new file, this is the renamed
+      d/install-supported-agents script.
+    - d/rules: call d/install-curated-agents instead of
+      d/install-supported-agents.
+    - d/t/control: make IPaddr2 test depend on resource-agents-base instead of
+      resource-agents-supported.
+  * Create a transitional binary package called resource-agents.
+    - d/control: add a new section for the transitional package, adding
+      resource-agents-{base,extra} as dependencies.
+  * d/control: add a missing Breaks/Replaces relation to the
+    resource-agents-base.
+
+ -- Lucas Kanashiro <kanashiro@ubuntu.com>  Wed, 12 May 2021 16:15:15 -0300
+
+resource-agents (1:4.7.0-1ubuntu3) impish; urgency=medium
+
+  * d/control: make resource-agents recommend resource-agents-supported.
+
+ -- Lucas Kanashiro <kanashiro@ubuntu.com>  Mon, 03 May 2021 09:10:54 -0300
+
+resource-agents (1:4.7.0-1ubuntu2) impish; urgency=medium
+
+  * Create the resource-agents-common binary package with files to be shared
+    by the supported and unsupported agents.
+    - d/control: add a new paragraph for the new binary package and add it as
+      a runtime dependency of resource-agents.
+    - d/extract-agents-description: add this new script to extract agents
+      description.
+    - d/{ldirectord,resource-agents}.install: removed, now files are installed
+      via rules file.
+    - d/install-{common,ldirectord}-files: create those scripts to install files
+      in resource-agents-common and ldirectord binary packages.
+    - d/rules:
+      + Override dh_auto_install to set the $DESTDIR variable.
+      + Override dh_install to move files to the correspondent binary package.
+      + Clean up the dh_gencontrol override, call the
+        d/extract-agents-description shell script instead of implementing a
+        complex logic in a Makefile.
+  * Create the resource-agents-supported binary package.
+    - d/control: add a new paragraph for the new binary package.
+    - d/extract-agents-description: update the script to set also the new
+      supportedAgents substvar.
+    - d/install-supported-agents: add a shell script to manage the
+      installation of all supported agents into the right binary package.
+    - d/resource-agents-common.lintian-overrides: create this new file to move
+      the lintian overrides previously present in resource-agents binary
+      package.
+    - d/resource-agents.lintian-overrides: remove the overrides referring to
+      code moves to resource-agents-common.
+    - d/rules: call the d/install-supported-agents shell script in the
+      dh_install override.
+    - d/supported-agents: add a file with a list of the supported agents.
+    - d/t/control: make IPaddr2 test depend on resource-agents-supported
+      instead of resource-agents.
+  * Add python3 as a runtime dependency of resource-agents. Lintian complained
+    about that.
+
+ -- Lucas Kanashiro <kanashiro@ubuntu.com>  Wed, 28 Apr 2021 09:39:00 -0300
+
+resource-agents (1:4.7.0-1ubuntu1) hirsute; urgency=medium
+
+  * Merge with Debian unstable. Remaining changes:
+    - d/control: Demote python3-googleapi to Suggests to avoid inclusion
+      in Ubuntu main.
+  * Dropped:
+    - d/p/u/lp1895348-*: Post Release Fixes (LP #1895348):
+      + [d22700fc] azure-lb: Don't redirect nc listener output to pidfile
+      + [3b0ffc59] build: fix distcheck issue introduced by including
+                   READMEs in heartbeat directory
+      + [73551ac0] galera: Fix automatic recovery when a cluster was not
+                   gracefully stopped
+      [applied by upstream]
+
+ -- Lucas Kanashiro <kanashiro@ubuntu.com>  Mon, 18 Jan 2021 17:34:05 -0300
+
 resource-agents (1:4.7.0-1) unstable; urgency=medium
 
   * New upstream version 4.7.0
@@ -147,6 +555,27 @@ resource-agents (1:4.7.0-1) unstable; ur
 
  -- Valentin Vidic <vvidic@debian.org>  Mon, 14 Dec 2020 14:34:09 +0100
 
+resource-agents (1:4.6.1-1ubuntu2) groovy; urgency=medium
+
+  * d/p/u/lp1895348-*: Post Release Fixes (LP: #1895348):
+    - [d22700fc] azure-lb: Don't redirect nc listener output to pidfile
+    - [3b0ffc59] build: fix distcheck issue introduced by including
+                 READMEs in heartbeat directory
+    - [73551ac0] galera: Fix automatic recovery when a cluster was not
+                 gracefully stopped
+
+ -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com>  Fri, 11 Sep 2020 19:30:14 +0000
+
+resource-agents (1:4.6.1-1ubuntu1) groovy; urgency=medium
+
+  * Merge with Debian unstable (LP: #1886603). Remaining changes:
+    - d/control: Demote python3-googleapi to Suggests to avoid inclusion in
+      Ubuntu main.
+  * Dropped (from Ubuntu):
+    - Remove bind9 autopkgtest not compatible with ubuntu (LP: 1872877)
+
+ -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com>  Fri, 10 Jul 2020 11:55:55 -0300
+
 resource-agents (1:4.6.1-1) unstable; urgency=medium
 
   * New upstream version 4.6.1
@@ -154,6 +583,20 @@ resource-agents (1:4.6.1-1) unstable; ur
 
  -- Valentin Vidic <vvidic@debian.org>  Thu, 18 Jun 2020 21:03:31 +0200
 
+resource-agents (1:4.5.0-2ubuntu2) focal; urgency=medium
+
+  * Remove bind9 autopkgtest not compatible with ubuntu (LP: #1872877)
+
+ -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com>  Wed, 15 Apr 2020 03:32:33 +0000
+
+resource-agents (1:4.5.0-2ubuntu1) focal; urgency=medium
+
+  * Merge with Debian unstable (LP: #1866383). Remaining changes:
+    - d/control: Demote python3-googleapi to Suggests to avoid
+      inclusion in Ubuntu main.
+
+ -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com>  Tue, 07 Apr 2020 22:43:39 +0000
+
 resource-agents (1:4.5.0-2) unstable; urgency=medium
 
   * debian/tests: fix test for new bind9 version
@@ -167,6 +610,16 @@ resource-agents (1:4.5.0-1) unstable; ur
 
  -- Valentin Vidic <vvidic@debian.org>  Fri, 06 Mar 2020 19:50:58 +0100
 
+resource-agents (1:4.4.0-3ubuntu1) focal; urgency=low
+
+  * Merge from Debian unstable.  Remaining changes:
+    - d/control: Demote python3-googleapi to Suggests to avoid inclusion
+      in Ubuntu main.
+  * Dropped changes, included in Debian:
+    - Test dep on postgresql, not postgresql-11 which is now gone.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Sat, 15 Feb 2020 16:56:30 -0800
+
 resource-agents (1:4.4.0-3) unstable; urgency=medium
 
   * debian/salsa-ci.yml: enable CI
@@ -182,6 +635,27 @@ resource-agents (1:4.4.0-2) unstable; ur
 
  -- Valentin Vidic <vvidic@debian.org>  Sat, 16 Nov 2019 10:47:46 +0100
 
+resource-agents (1:4.4.0-1ubuntu2) focal; urgency=medium
+
+  * Test dep on postgresql, not postgresql-11 which is now gone.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Fri, 14 Feb 2020 17:20:21 -0800
+
+resource-agents (1:4.4.0-1ubuntu1) focal; urgency=medium
+
+  * Merge from Debian unstable. Remaining changes:
+    - d/control: Demote python3-googleapi to Suggests to avoid inclusion
+      in Ubuntu main.
+  * Dropped changes (in Debian):
+    - d/p/lp1825250-ethmonitor-check-if-interface-exists-by-link.patch:
+      ethmonitor: check if interface exists by link.
+      [Fixed upstream]
+    - d/p/lp1825250-ethmonitor-fix-is_interface-regression.patch:
+      ethmonitor: fix is_interface() regression.
+      [Fixed upstream]
+
+ -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com>  Fri, 08 Nov 2019 16:45:38 +0000
+
 resource-agents (1:4.4.0-1) unstable; urgency=medium
 
   * New upstream version 4.4.0
@@ -217,6 +691,24 @@ resource-agents (1:4.2.0-2) unstable; ur
 
  -- Valentin Vidic <vvidic@debian.org>  Sun, 09 Dec 2018 21:04:49 +0100
 
+resource-agents (1:4.2.0-1ubuntu2) eoan; urgency=medium
+
+  * Fix heartbeat/ethmonitor not listing network interfaces without IP
+    addresses (LP: #1825250). Fixed by upstream patches:
+    - d/p/lp1825250-ethmonitor-check-if-interface-exists-by-link.patch:
+      ethmonitor: check if interface exists by link
+    - d/p/lp1825250-ethmonitor-fix-is_interface-regression.patch:
+      ethmonitor: fix is_interface() regression
+
+ -- Heitor Alves de Siqueira <halves@canonical.com>  Tue, 23 Apr 2019 14:17:29 -0300
+
+resource-agents (1:4.2.0-1ubuntu1) disco; urgency=medium
+
+  * d/control: Demote python3-googleapi to Suggests to avoid inclusion
+    in Ubuntu main.
+
+ -- James Page <james.page@ubuntu.com>  Thu, 22 Nov 2018 14:31:51 +0000
+
 resource-agents (1:4.2.0-1) unstable; urgency=medium
 
   * New upstream version 4.2.0
@@ -708,3 +1200,4 @@ cluster-agents (1:1.0+hg20090915-1) unst
   * Initial release of packages for the cluster agents collection
 
  -- Martin Loschwitz <madkiss@debian.org>  Tue, 15 Sep 2009 09:56:16 +0000
+
diff -pruN 1:4.16.0-4/debian/control 1:4.16.0-4ubuntu1/debian/control
--- 1:4.16.0-4/debian/control	2025-02-28 21:52:15.000000000 +0000
+++ 1:4.16.0-4ubuntu1/debian/control	2025-11-13 12:46:48.000000000 +0000
@@ -1,7 +1,8 @@
 Source: resource-agents
 Section: admin
 Priority: optional
-Maintainer: Debian HA Maintainers <debian-ha-maintainers@alioth-lists.debian.net>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: Debian HA Maintainers <debian-ha-maintainers@alioth-lists.debian.net>
 Uploaders: Adrian Vondendriesch <adrian.vondendriesch@credativ.de>,
            Valentin Vidic <vvidic@debian.org>
 Build-Depends: autoconf,
@@ -41,19 +42,72 @@ Homepage: https://github.com/ClusterLabs
 Vcs-Browser: https://salsa.debian.org/ha-team/resource-agents
 Vcs-Git: https://salsa.debian.org/ha-team/resource-agents.git
 
-Package: resource-agents
+Package: resource-agents-extra
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}, ${python3:Depends},
- bc, cluster-glue, gawk, psmisc
-Recommends: libxml2-utils, net-tools, python3-googleapi
-Provides: resource-agents-dev
+         bc,
+         cluster-glue,
+         gawk,
+         psmisc,
+         python3,
+         resource-agents-common (>= ${source:Version})
+Recommends: libxml2-utils,
+            net-tools,
+            resource-agents-base (>= ${source:Version})
+Suggests: python3-googleapi
+Replaces: resource-agents (<< 1:4.7.0-1ubuntu2),
+          resource-agents-base (<<1:4.7.0-1ubuntu7)
+Breaks: resource-agents (<< 1:4.7.0-1ubuntu2),
+        resource-agents-base (<<1:4.7.0-1ubuntu7)
 Description: Cluster Resource Agents
  This package contains cluster resource agents (RAs) compliant with the Open
  Cluster Framework (OCF) specification, used to interface with various services
  in a High Availability environment managed by the Pacemaker resource manager.
  .
  Agents included:
- ${agents}
+  ${agents}
+
+Package: resource-agents-base
+Architecture: all
+Depends: ${misc:Depends},
+         resource-agents-common (>= ${source:Version})
+Suggests:
+# for iscsi agent
+          open-iscsi,
+# for iSCSITarget and iSCSILogicalUnit agents (the recommended implementation is lio-t)
+          targetcli-fb,
+# for LVM-activate agent
+          dmsetup,
+          lvm2,
+# for pgsql agent
+          postgresql
+Replaces: resource-agents (<< 1:4.7.0-1ubuntu2),
+          resource-agents-extra (<<1:4.7.0-1ubuntu7)
+Breaks: resource-agents (<< 1:4.7.0-1ubuntu2),
+        resource-agents-extra (<<1:4.7.0-1ubuntu7)
+Description: Cluster Resource Agents curated by Ubuntu
+ This package contains cluster resource agents (RAs) compliant with the Open
+ Cluster Framework (OCF) specification, used to interface with various services
+ in a High Availability environment managed by the Pacemaker resource manager.
+ .
+ This package contains the Resource Agents that are curated by the Ubuntu
+ Server team.
+ .
+ Agents included:
+  ${curatedAgents}
+
+Package: resource-agents-common
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, ${python3:Depends}
+Replaces: resource-agents (<< 1:4.7.0-1ubuntu2)
+Breaks: resource-agents (<< 1:4.7.0-1ubuntu2)
+Provides: resource-agents-dev
+Description: Common files used by the Cluster Resource Agents
+ This package contains cluster resource agents (RAs) compliant with the Open
+ Cluster Framework (OCF) specification, used to interface with various services
+ in a High Availability environment managed by the Pacemaker resource manager.
+ .
+ This package provides common files used by the Resource Agents.
 
 Package: ldirectord
 Architecture: all
diff -pruN 1:4.16.0-4/debian/curated-agents 1:4.16.0-4ubuntu1/debian/curated-agents
--- 1:4.16.0-4/debian/curated-agents	1970-01-01 00:00:00.000000000 +0000
+++ 1:4.16.0-4ubuntu1/debian/curated-agents	2025-11-13 12:45:57.000000000 +0000
@@ -0,0 +1,6 @@
+IPaddr2
+iscsi
+iSCSILogicalUnit
+iSCSITarget
+LVM-activate
+pgsql
diff -pruN 1:4.16.0-4/debian/extract-agents-description 1:4.16.0-4ubuntu1/debian/extract-agents-description
--- 1:4.16.0-4/debian/extract-agents-description	1970-01-01 00:00:00.000000000 +0000
+++ 1:4.16.0-4ubuntu1/debian/extract-agents-description	2025-11-13 12:45:57.000000000 +0000
@@ -0,0 +1,44 @@
+#!/bin/bash
+
+set -x
+
+export LC_ALL=C
+
+agents=()
+curated_agents=()
+non_curated_agents=()
+
+readonly RESOURCE_AGENTS_EXTRA_DIR="debian/resource-agents-extra"
+readonly RESOURCE_AGENTS_COMMON_DIR="debian/resource-agents-common"
+readonly RESOURCE_AGENTS_BASE_DIR="debian/resource-agents-base"
+readonly NON_CURATED_HEARTBEAT_DIR="$RESOURCE_AGENTS_EXTRA_DIR/usr/lib/ocf/resource.d/heartbeat"
+readonly CURATED_HEARTBEAT_DIR="$RESOURCE_AGENTS_BASE_DIR/usr/lib/ocf/resource.d/heartbeat"
+
+export OCF_ROOT="$RESOURCE_AGENTS_COMMON_DIR/usr/lib/ocf"
+
+for agent in $CURATED_HEARTBEAT_DIR/* $NON_CURATED_HEARTBEAT_DIR/*; do
+  name=$(basename "$agent")
+  short_desc=$("$agent" meta-data | xml_grep --root resource-agent/shortdesc --text_only /dev/stdin)
+
+  # Remove unwanted whitespaces
+  short_desc=$(echo -e $short_desc | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
+
+  # Limit the size of the string to 80 characters
+  desc=$(echo -n "$name: $short_desc" | sed -e 's/^\(.\{75\}\).\{4\}.*/\1.../')
+
+  agents+=("$desc")
+done
+
+for agent in "${agents[@]}"; do
+  if grep -qFx $(cut -d: -f1 <<< "$agent") debian/curated-agents; then
+    curated_agents+=("$agent\${Newline}")
+  else
+    non_curated_agents+=("$agent\${Newline}")
+  fi
+done
+
+echo "agents=${non_curated_agents[*]}" >> debian/resource-agents-extra.substvars
+echo "curatedAgents=${curated_agents[*]}" >> debian/resource-agents-base.substvars
+
+# Clean up pycache
+rm -rf debian/resource-agents-common/usr/lib/ocf/lib/heartbeat/__pycache__
diff -pruN 1:4.16.0-4/debian/install-common-files 1:4.16.0-4ubuntu1/debian/install-common-files
--- 1:4.16.0-4/debian/install-common-files	1970-01-01 00:00:00.000000000 +0000
+++ 1:4.16.0-4ubuntu1/debian/install-common-files	2025-11-13 12:45:57.000000000 +0000
@@ -0,0 +1,41 @@
+#!/bin/bash
+
+# This script aims to install all the common files used by resource-agents-base
+# and resource-agents-extra into resource-agents-common binary package.
+
+set -x
+
+readonly RESOURCE_AGENTS_EXTRA_DIR="debian/resource-agents-extra"
+readonly RESOURCE_AGENTS_COMMON_DIR="debian/resource-agents-common"
+
+readonly COMMON_DIRS="usr/include/heartbeat usr/lib/heartbeat
+                      usr/lib/ocf/lib/heartbeat usr/share/pkgconfig etc/ha.d
+		      ${deb_systemdsystemunitdir} usr/sbin usr/share/man/man8
+		      usr/lib/tmpfiles.d usr/libexec/heartbeat"
+
+for dir in $COMMON_DIRS; do
+  mkdir -p "$RESOURCE_AGENTS_COMMON_DIR/$dir"
+  mv "$RESOURCE_AGENTS_EXTRA_DIR/$dir"/* "$RESOURCE_AGENTS_COMMON_DIR/$dir"
+done
+
+mkdir -p "$RESOURCE_AGENTS_COMMON_DIR"/usr/lib/ocf/resource.d/heartbeat \
+	 "$RESOURCE_AGENTS_COMMON_DIR"/usr/share/resource-agents/ocft
+
+readonly TARGETS="ocf-binaries ocf-directories ocf-returncodes ocf-shellfuncs"
+for tgt in $TARGETS; do
+  ln -r -s -T "$RESOURCE_AGENTS_COMMON_DIR/usr/lib/ocf/lib/heartbeat/$tgt" \
+              "$RESOURCE_AGENTS_COMMON_DIR/usr/lib/ocf/resource.d/heartbeat/.$tgt"
+  rm "$RESOURCE_AGENTS_EXTRA_DIR/usr/lib/ocf/resource.d/heartbeat/.$tgt"
+done
+
+readonly FILES="metadata.rng ra-api-1.dtd"
+for file in $FILES; do
+  mv "$RESOURCE_AGENTS_EXTRA_DIR/usr/share/resource-agents/$file" \
+     "$RESOURCE_AGENTS_COMMON_DIR"/usr/share/resource-agents/
+done
+
+readonly OCFT_FILES="README README.zh_CN caselib helpers.sh runocft runocft.prereq"
+for file in $OCFT_FILES; do
+  mv "$RESOURCE_AGENTS_EXTRA_DIR/usr/share/resource-agents/ocft/$file" \
+     "$RESOURCE_AGENTS_COMMON_DIR"/usr/share/resource-agents/ocft/
+done
diff -pruN 1:4.16.0-4/debian/install-curated-agents 1:4.16.0-4ubuntu1/debian/install-curated-agents
--- 1:4.16.0-4/debian/install-curated-agents	1970-01-01 00:00:00.000000000 +0000
+++ 1:4.16.0-4ubuntu1/debian/install-curated-agents	2025-11-13 12:45:57.000000000 +0000
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+# This script aims to install all the agents curated by the Ubuntu community
+# into resource-agents-base binary package.
+
+set -x
+
+readonly RESOURCE_AGENTS_BASE="debian/resource-agents-base"
+readonly RESOURCE_AGENTS_EXTRA="debian/resource-agents-extra"
+
+mkdir -p $RESOURCE_AGENTS_BASE/usr/share/resource-agents/ocft/configs/ \
+	 $RESOURCE_AGENTS_BASE/usr/share/man/man7/ \
+	 $RESOURCE_AGENTS_BASE/usr/lib/ocf/resource.d/heartbeat/
+
+for agent in $(cat debian/curated-agents); do
+  mv $RESOURCE_AGENTS_EXTRA/usr/lib/ocf/resource.d/heartbeat/$agent \
+     $RESOURCE_AGENTS_BASE/usr/lib/ocf/resource.d/heartbeat/
+  mv $RESOURCE_AGENTS_EXTRA/usr/share/man/man7/ocf_heartbeat_$agent.7 \
+     $RESOURCE_AGENTS_BASE/usr/share/man/man7/
+
+  if [ -f $RESOURCE_AGENTS_EXTRA/usr/share/resource-agents/ocft/configs/$agent ]; then
+    mv $RESOURCE_AGENTS_EXTRA/usr/share/resource-agents/ocft/configs/$agent \
+       $RESOURCE_AGENTS_BASE/usr/share/resource-agents/ocft/configs/
+  fi
+done
diff -pruN 1:4.16.0-4/debian/install-ldirectord-files 1:4.16.0-4ubuntu1/debian/install-ldirectord-files
--- 1:4.16.0-4/debian/install-ldirectord-files	1970-01-01 00:00:00.000000000 +0000
+++ 1:4.16.0-4ubuntu1/debian/install-ldirectord-files	2025-11-13 12:45:57.000000000 +0000
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+# This script aims to install all the ldirectord files into its own binary package.
+
+set -x
+
+readonly RESOURCE_AGENTS_EXTRA_DIR="debian/resource-agents-extra"
+readonly LDIRECTORD_DIR="debian/ldirectord"
+
+mkdir -p $LDIRECTORD_DIR/etc/ha.d/resource.d \
+	 $LDIRECTORD_DIR/etc/init.d \
+	 $LDIRECTORD_DIR/etc/logrotate.d \
+	 $LDIRECTORD_DIR/${deb_systemdsystemunitdir} \
+	 $LDIRECTORD_DIR/usr/sbin \
+	 $LDIRECTORD_DIR/usr/share/man/man8
+
+cp debian/ldirectord.cf $LDIRECTORD_DIR/etc/ha.d
+mv $RESOURCE_AGENTS_EXTRA_DIR/etc/ha.d/resource.d/ \
+   $LDIRECTORD_DIR/etc/ha.d/
+mv $RESOURCE_AGENTS_EXTRA_DIR/etc/init.d $LDIRECTORD_DIR/etc/
+mv $RESOURCE_AGENTS_EXTRA_DIR/etc/logrotate.d $LDIRECTORD_DIR/etc/
+mv $RESOURCE_AGENTS_EXTRA_DIR/${deb_systemdsystemunitdir}/ldirectord.service \
+   $LDIRECTORD_DIR/${deb_systemdsystemunitdir}/
+mv $RESOURCE_AGENTS_EXTRA_DIR/usr/sbin/ldirectord $LDIRECTORD_DIR/usr/sbin
+mv $RESOURCE_AGENTS_EXTRA_DIR/usr/share/man/man8/ldirectord.8 \
+   $LDIRECTORD_DIR/usr/share/man/man8/
diff -pruN 1:4.16.0-4/debian/ldirectord.install 1:4.16.0-4ubuntu1/debian/ldirectord.install
--- 1:4.16.0-4/debian/ldirectord.install	2024-07-28 12:54:35.000000000 +0000
+++ 1:4.16.0-4ubuntu1/debian/ldirectord.install	1970-01-01 00:00:00.000000000 +0000
@@ -1,9 +0,0 @@
-#!/usr/bin/dh-exec
-
-debian/ldirectord.cf /etc/ha.d
-etc/ha.d/resource.d/ldirectord
-etc/init.d/ldirectord
-etc/logrotate.d/ldirectord
-${deb_systemdsystemunitdir}/ldirectord.service [linux-any]
-usr/sbin/ldirectord
-usr/share/man/man8/ldirectord.8
diff -pruN 1:4.16.0-4/debian/resource-agents-cleanup 1:4.16.0-4ubuntu1/debian/resource-agents-cleanup
--- 1:4.16.0-4/debian/resource-agents-cleanup	1970-01-01 00:00:00.000000000 +0000
+++ 1:4.16.0-4ubuntu1/debian/resource-agents-cleanup	2025-11-13 12:45:57.000000000 +0000
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+set -x
+
+readonly RESOURCE_AGENTS_EXTRA_DIR="debian/resource-agents-extra"
+
+# Those directories were moved to another binary package
+readonly EMPTY_DIRS="etc lib run usr/include usr/lib/heartbeat usr/sbin
+                     usr/share/man/man8 usr/share/pkgconfig usr/lib/tmpfiles.d"
+
+for dir in $EMPTY_DIRS; do
+  rm -rf $RESOURCE_AGENTS_EXTRA_DIR/$dir
+done
diff -pruN 1:4.16.0-4/debian/resource-agents-extra.docs 1:4.16.0-4ubuntu1/debian/resource-agents-extra.docs
--- 1:4.16.0-4/debian/resource-agents-extra.docs	1970-01-01 00:00:00.000000000 +0000
+++ 1:4.16.0-4ubuntu1/debian/resource-agents-extra.docs	2025-11-13 12:45:57.000000000 +0000
@@ -0,0 +1 @@
+debian/DEPRECATED_AGENTS
diff -pruN 1:4.16.0-4/debian/resource-agents-extra.lintian-overrides 1:4.16.0-4ubuntu1/debian/resource-agents-extra.lintian-overrides
--- 1:4.16.0-4/debian/resource-agents-extra.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ 1:4.16.0-4ubuntu1/debian/resource-agents-extra.lintian-overrides	2025-11-13 12:45:57.000000000 +0000
@@ -0,0 +1,20 @@
+# ignore manpage warnings
+resource-agents-extra: groff-message 37: warning [p 1, 2.3i]: can't break line [usr/share/man/man7/ocf_heartbeat_openstack-info.7.gz:1]
+
+# ignore capitalization in agent names
+resource-agents-extra: capitalization-error-in-description apache Apache
+resource-agents-extra: capitalization-error-in-description mysql MySQL
+
+# ignore bash false positives
+resource-agents-extra: bash-term-in-posix-shell '-{uuid,label}' [usr/lib/ocf/resource.d/heartbeat/Filesystem:173]
+resource-agents-extra: bash-term-in-posix-shell '(({Node, [], OkChannelsCount}))' [usr/lib/ocf/resource.d/heartbeat/rabbitmq-server-ha:2090]
+resource-agents-extra: bash-term-in-posix-shell 'a[1]=' [usr/lib/ocf/resource.d/heartbeat/nginx:233]
+resource-agents-extra: bash-term-in-posix-shell 'function allfiles(' [usr/lib/ocf/resource.d/heartbeat/nginx:246]
+resource-agents-extra: bash-term-in-posix-shell 'function is' [usr/lib/ocf/resource.d/heartbeat/portblock:145]
+resource-agents-extra: bash-term-in-posix-shell 'function isdir(' [usr/lib/ocf/resource.d/heartbeat/nginx:270]
+resource-agents-extra: bash-term-in-posix-shell 'function listfiles(' [usr/lib/ocf/resource.d/heartbeat/nginx:253]
+resource-agents-extra: bash-term-in-posix-shell 'function printfile(' [usr/lib/ocf/resource.d/heartbeat/nginx:240]
+resource-agents-extra: bash-term-in-posix-shell 'function procinclude(' [usr/lib/ocf/resource.d/heartbeat/nginx:260]
+resource-agents-extra: bash-term-in-posix-shell 'function procline(' [usr/lib/ocf/resource.d/heartbeat/nginx:228]
+resource-agents-extra: bash-term-in-posix-shell 'let' [usr/lib/ocf/resource.d/heartbeat/LinuxSCSI:59]
+resource-agents-extra: bash-term-in-posix-shell 'source address.' [usr/lib/ocf/resource.d/heartbeat/IPsrcaddr:112]
diff -pruN 1:4.16.0-4/debian/resource-agents.install 1:4.16.0-4ubuntu1/debian/resource-agents.install
--- 1:4.16.0-4/debian/resource-agents.install	2024-07-28 12:54:35.000000000 +0000
+++ 1:4.16.0-4ubuntu1/debian/resource-agents.install	1970-01-01 00:00:00.000000000 +0000
@@ -1,17 +0,0 @@
-#!/usr/bin/dh-exec
-etc/ha.d/shellfuncs
-${deb_systemdsystemunitdir}/resource-agents-deps.target [linux-any]
-usr/include
-usr/lib/ocf
-usr/lib/tmpfiles.d/resource-agents.conf [linux-any]
-usr/libexec/heartbeat
-usr/sbin/ocft
-usr/sbin/ocf-tester
-usr/sbin/sfex_init [linux-any]
-usr/sbin/sfex_stat [linux-any]
-usr/share/doc/resource-agents
-usr/share/man/man7/*
-usr/share/man/man8/ocf-tester.8
-usr/share/man/man8/sfex_init.8 [linux-any]
-usr/share/pkgconfig/resource-agents.pc
-usr/share/resource-agents
diff -pruN 1:4.16.0-4/debian/resource-agents.lintian-overrides 1:4.16.0-4ubuntu1/debian/resource-agents.lintian-overrides
--- 1:4.16.0-4/debian/resource-agents.lintian-overrides	2025-02-28 21:51:22.000000000 +0000
+++ 1:4.16.0-4ubuntu1/debian/resource-agents.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
@@ -1,26 +0,0 @@
-# ignore manpage warnings
-resource-agents: no-manual-page [usr/sbin/ocft]
-resource-agents: no-manual-page [usr/sbin/sfex_stat]
-resource-agents: groff-message 37: warning [p 1, 2.3i]: can't break line [usr/share/man/man7/ocf_heartbeat_openstack-info.7.gz:1] 
-
-# these are sourced shell libraries:
-resource-agents: script-not-executable [usr/lib/ocf/lib/heartbeat/findif.sh]
-resource-agents: script-not-executable [usr/lib/ocf/lib/heartbeat/mysql-common.sh]
-
-# ignore capitalization in agent names
-resource-agents: capitalization-error-in-description apache Apache
-resource-agents: capitalization-error-in-description mysql MySQL
-
-# ignore bash false positives
-resource-agents: bash-term-in-posix-shell '-{uuid,label}' [usr/lib/ocf/resource.d/heartbeat/Filesystem:173]
-resource-agents: bash-term-in-posix-shell '(({Node, [], OkChannelsCount}))' [usr/lib/ocf/resource.d/heartbeat/rabbitmq-server-ha:2090]
-resource-agents: bash-term-in-posix-shell 'a[1]=' [usr/lib/ocf/resource.d/heartbeat/nginx:233]
-resource-agents: bash-term-in-posix-shell 'function allfiles(' [usr/lib/ocf/resource.d/heartbeat/nginx:246]
-resource-agents: bash-term-in-posix-shell 'function is' [usr/lib/ocf/resource.d/heartbeat/portblock:145]
-resource-agents: bash-term-in-posix-shell 'function isdir(' [usr/lib/ocf/resource.d/heartbeat/nginx:270]
-resource-agents: bash-term-in-posix-shell 'function listfiles(' [usr/lib/ocf/resource.d/heartbeat/nginx:253]
-resource-agents: bash-term-in-posix-shell 'function printfile(' [usr/lib/ocf/resource.d/heartbeat/nginx:240]
-resource-agents: bash-term-in-posix-shell 'function procinclude(' [usr/lib/ocf/resource.d/heartbeat/nginx:260]
-resource-agents: bash-term-in-posix-shell 'function procline(' [usr/lib/ocf/resource.d/heartbeat/nginx:228]
-resource-agents: bash-term-in-posix-shell 'let' [usr/lib/ocf/resource.d/heartbeat/LinuxSCSI:59]
-resource-agents: bash-term-in-posix-shell 'source address.' [usr/lib/ocf/resource.d/heartbeat/IPsrcaddr:112]
diff -pruN 1:4.16.0-4/debian/rules 1:4.16.0-4ubuntu1/debian/rules
--- 1:4.16.0-4/debian/rules	2024-07-28 12:54:35.000000000 +0000
+++ 1:4.16.0-4ubuntu1/debian/rules	2025-11-13 12:45:57.000000000 +0000
@@ -6,6 +6,8 @@ include /usr/share/dpkg/buildflags.mk
 include /usr/share/dpkg/pkg-info.mk
 export deb_systemdsystemunitdir=$(shell pkg-config --variable=systemdsystemunitdir systemd | sed s,^/,,)
 
+RESOURCE_AGENTS_EXTRA_DIR="$(CURDIR)/debian/resource-agents-extra"
+
 %:
 	dh $@ --with python3
 
@@ -27,8 +29,16 @@ override_dh_auto_configure:
 
 # fix manpage header
 override_dh_auto_install:
-	dh_auto_install
-	sed -i -e 's/^\(\.TH "[^"]*\?\)\\"/\1"/' $(CURDIR)/debian/tmp/usr/share/man/man7/*.7
+	$(MAKE) install DESTDIR=$(RESOURCE_AGENTS_EXTRA_DIR)
+	sed -i -e 's/^\(\.TH "[^"]*\?\)\\"/\1"/' $(RESOURCE_AGENTS_EXTRA_DIR)/usr/share/man/man7/*.7
+
+override_dh_install:
+	debian/install-ldirectord-files
+	debian/install-common-files
+	debian/install-curated-agents
+	debian/resource-agents-cleanup
+
+	dh_install
 
 override_dh_python3:
 	dh_python3 /usr/lib/ocf/lib/heartbeat
@@ -39,18 +49,5 @@ override_dh_auto_clean:
 	find . -name Makefile.in | xargs -r rm
 
 override_dh_gencontrol:
-	set -e; \
-	export OCF_ROOT=$(CURDIR)/debian/resource-agents/usr/lib/ocf; \
-	export LC_ALL=C; \
-	( \
-	  echo -n "agents="; \
-	  for agent in debian/resource-agents/usr/lib/ocf/resource.d/heartbeat/*; do \
-	    echo "$$agent meta-data ..." >&2; \
-	    desc=$$($$agent meta-data 2>/dev/null | xml_grep --root resource-agent/shortdesc --text_only /dev/stdin | sed -n '/^$$/!{s/^[[:space:]]*//p; q}'); \
-	    line=$$(echo "$$(basename $$agent): $$desc" | sed -e 's/^\(.\{75\}\).\{4\}.*/\1.../'); \
-	    echo -n " $$line\$${Newline}"; \
-	  done; \
-	  echo \
-	) >> debian/resource-agents.substvars
-	rm -rf debian/resource-agents/usr/lib/ocf/lib/heartbeat/__pycache__
+	debian/extract-agents-description
 	dh_gencontrol
diff -pruN 1:4.16.0-4/debian/tests/control 1:4.16.0-4ubuntu1/debian/tests/control
--- 1:4.16.0-4/debian/tests/control	2025-02-28 21:41:57.000000000 +0000
+++ 1:4.16.0-4ubuntu1/debian/tests/control	2025-11-13 12:45:57.000000000 +0000
@@ -1,9 +1,9 @@
 Tests: IPaddr2
-Depends: resource-agents
+Depends: resource-agents-base
 Restrictions: needs-root, isolation-container
 
 Tests: named
-Depends: resource-agents, bind9 (>= 1:9.16.1-2), bind9-host, bind9-utils, lsb-release
+Depends: resource-agents-extra, resource-agents-base, bind9 (>= 1:9.16.1-2), bind9-host, bind9-utils, lsb-release
 Restrictions: needs-root, isolation-container, skippable
 
 Test-Command: service ldirectord status
@@ -11,45 +11,45 @@ Depends: ldirectord
 Restrictions: needs-root, isolation-container
 
 Test-Command: debian/tests/run-ocft MailTo
-Depends: resource-agents, bsd-mailx, exim4
+Depends: resource-agents-extra, bsd-mailx, exim4
 Restrictions: needs-root, isolation-container
 
 Test-Command: debian/tests/run-ocft apache
-Depends: resource-agents, apache2, curl
+Depends: resource-agents-extra, apache2, curl
 Restrictions: needs-root, isolation-container
 
 Test-Command: debian/tests/run-ocft mysql
-Depends: resource-agents, default-mysql-server
+Depends: resource-agents-extra, default-mysql-server
 Restrictions: needs-root, isolation-container, flaky
 
 Test-Command: debian/tests/run-ocft pgsql
-Depends: resource-agents, postgresql
+Depends: resource-agents-base, postgresql
 Restrictions: needs-root, isolation-container, flaky
 
 Test-Command: debian/tests/run-ocft postfix
-Depends: resource-agents, postfix
+Depends: resource-agents-extra, postfix
 Restrictions: needs-root, isolation-container
 
 Test-Command: debian/tests/run-ocft Filesystem
-Depends: resource-agents
+Depends: resource-agents-extra
 Restrictions: needs-root, isolation-machine
 
 Test-Command: debian/tests/run-ocft LVM
-Depends: resource-agents, lvm2
+Depends: resource-agents-extra, lvm2
 Restrictions: needs-root, isolation-machine
 
 Test-Command: debian/tests/run-ocft exportfs
-Depends: resource-agents, nfs-kernel-server
+Depends: resource-agents-extra, nfs-kernel-server
 Restrictions: needs-root, isolation-machine
 
 Test-Command: debian/tests/run-ocft exportfs-multidir
-Depends: resource-agents, nfs-kernel-server
+Depends: resource-agents-extra, nfs-kernel-server
 Restrictions: needs-root, isolation-machine
 
 Test-Command: debian/tests/run-ocft nfsserver
-Depends: resource-agents, nfs-kernel-server
+Depends: resource-agents-extra, nfs-kernel-server
 Restrictions: needs-root, isolation-machine
 
 Test-Command: debian/tests/run-ocft iscsi
-Depends: resource-agents, open-iscsi, targetcli-fb, openssl
+Depends: resource-agents-base, open-iscsi, targetcli-fb, openssl
 Restrictions: needs-root, isolation-machine
