Merge ~danielky/ubuntu/+source/ocsinventory-agent:applied/ubuntu/jammy into ubuntu/+source/ocsinventory-agent:ubuntu/devel

Proposed by Daniel Krambrock
Status: Merged
Merge reported by: Robie Basak
Merged at revision: 7efb7e2f271fce1868d3f33772449d31445d2eae
Proposed branch: ~danielky/ubuntu/+source/ocsinventory-agent:applied/ubuntu/jammy
Merge into: ubuntu/+source/ocsinventory-agent:ubuntu/devel
Diff against target: 127 lines (+35/-2) (has conflicts)
5 files modified
Makefile.PL (+6/-1)
debian/changelog (+13/-0)
debian/control (+10/-0)
debian/ocsinventory-agent.cron.daily (+5/-0)
ocsinventory-agent (+1/-1)
Conflict in Makefile.PL
Conflict in debian/changelog
Conflict in debian/control
Conflict in debian/ocsinventory-agent.cron.daily
Reviewer Review Type Date Requested Status
Sebastien Bacher (community) Approve
git-ubuntu import Pending
Review via email: mp+439618@code.launchpad.net

Description of the change

Closes LP: #2004007 for jammy. This is a backport of a fix from Gregor Herrmann in 2:2.10.0-3

To post a comment you must log in.
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for working on the change!

The merge request targeted the wrong branch and it would have been nice to include a changelog entry referencing to the launchpad bug and make that one compliant with the SRU process. Those help the work on the reviewers and sponsors but aren't blocking issue so I did the tweaks and uploaded

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/Makefile.PL b/Makefile.PL
2index 07892a1..c683b77 100755
3--- a/Makefile.PL
4+++ b/Makefile.PL
5@@ -19,7 +19,7 @@ sub MY::postamble
6 install :: all pure_install doc_install
7 $(NOECHO) $(NOOP)';
8
9- $re .= "\n\t[ ! -f run-postinst ] || $^X postinst.pl\n";
10+ #$re .= "\n\t[ ! -f run-postinst ] || $^X postinst.pl\n";
11
12 return $re;
13 }
14@@ -86,10 +86,15 @@ if ($ENV{OCS_BUNDLE_RELEASE}) {
15 #Ugly hack to include ipdiscover binary compilation and install for Linux systems
16 if ($^O =~ /^linux$/i && can_cc()) {
17 my $cc=$Config::Config{cc};
18+<<<<<<< Makefile.PL
19 my $ld=$Config::Config{ldflags};
20 my $cf=$Config::Config{ccflags};
21 my $op=$Config::Config{optimize};
22 system("$cc $cf $ld $op resources/ipdiscover/ipdiscover.c -o ipdiscover");
23+=======
24+ my $fl=$Config::Config{ccflags};
25+ system("$cc $fl `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get LDFLAGS` resources/ipdiscover/ipdiscover.c -o ipdiscover");
26+>>>>>>> Makefile.PL
27 if (-f 'ipdiscover') {
28 install_script 'ipdiscover';
29 }
30diff --git a/debian/changelog b/debian/changelog
31index 6dc8d5d..93e5c03 100644
32--- a/debian/changelog
33+++ b/debian/changelog
34@@ -1,3 +1,4 @@
35+<<<<<<< debian/changelog
36 ocsinventory-agent (2:2.10.0-3) unstable; urgency=medium
37
38 * Team upload.
39@@ -26,10 +27,18 @@ ocsinventory-agent (2:2.10.0-1) unstable; urgency=medium
40 * Update Spanish debconf template.
41 Thanks to CamaleĆ³n. (Closes: #1003642)
42
43+=======
44+ocsinventory-agent (2:2.8-2) unstable; urgency=medium
45+
46+ [ Cyrille Bollu ]
47+ * Adds a random sleep in the cron.daily job
48+
49+>>>>>>> debian/changelog
50 [ Debian Janitor ]
51 * Remove constraints unnecessary since stretch:
52 + Build-Depends: Drop versioned constraint on perl.
53 + ocsinventory-agent: Drop versioned constraint on perl in Depends.
54+<<<<<<< debian/changelog
55 * Update standards version to 4.6.0, no changes needed.
56
57 [ Yadd ]
58@@ -39,6 +48,10 @@ ocsinventory-agent (2:2.10.0-1) unstable; urgency=medium
59 * Add systemd timer
60
61 -- Yadd <yadd@debian.org> Thu, 24 Nov 2022 15:55:32 +0100
62+=======
63+
64+ -- Cyrille Bollu <cyr.debian@bollu.be> Fri, 12 Mar 2021 07:43:33 +0100
65+>>>>>>> debian/changelog
66
67 ocsinventory-agent (2:2.8-1) unstable; urgency=medium
68
69diff --git a/debian/control b/debian/control
70index 15a97e2..bfb28ad 100644
71--- a/debian/control
72+++ b/debian/control
73@@ -10,9 +10,15 @@ Build-Depends: debhelper-compat (= 13),
74 libwww-perl <!nocheck>,
75 libxml-simple-perl <!nocheck>,
76 perl-xs-dev,
77+<<<<<<< debian/control
78 perl:native,
79 po-debconf
80 Standards-Version: 4.6.2
81+=======
82+ po-debconf,
83+ perl:native
84+Standards-Version: 4.5.0
85+>>>>>>> debian/control
86 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/ocsinventory-agent
87 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/ocsinventory-agent.git
88 Homepage: https://www.ocsinventory-ng.org/
89@@ -29,7 +35,11 @@ Depends: ${misc:Depends},
90 libnet-ip-perl,
91 libproc-daemon-perl,
92 libwww-perl,
93+<<<<<<< debian/control
94 libxml-simple-perl,
95+=======
96+ perl,
97+>>>>>>> debian/control
98 ucf
99 Recommends: dmidecode,
100 hdparm,
101diff --git a/debian/ocsinventory-agent.cron.daily b/debian/ocsinventory-agent.cron.daily
102index 7dc9293..db90fb8 100644
103--- a/debian/ocsinventory-agent.cron.daily
104+++ b/debian/ocsinventory-agent.cron.daily
105@@ -17,5 +17,10 @@ fi
106
107 # Avoid all UNIX agents contacting the server at the exact same time
108 sleep $(( $RANDOM/100 ))
109+<<<<<<< debian/ocsinventory-agent.cron.daily
110+=======
111+
112+$PROG > /dev/null 2>&1
113+>>>>>>> debian/ocsinventory-agent.cron.daily
114
115 $PROG > /dev/null 2>&1
116diff --git a/ocsinventory-agent b/ocsinventory-agent
117index fc3cb0b..512e482 100755
118--- a/ocsinventory-agent
119+++ b/ocsinventory-agent
120@@ -149,7 +149,7 @@ Turn the verbose mode on. The flag is ignored if B<--debug> is enable.
121
122 Do not contact the server more than one time during the PROLOG_FREQ and do
123 an exit if there is nothing to do. Useful if you want to start the agent
124-script regulary from the crontab but don't want to overload the server.
125+script regularly from the crontab but don't want to overload the server.
126
127 =item B<-l>, B<--local>=I<DIR>
128

Subscribers

People subscribed via source and target branches