{"diffoscope-json-version": 1, "source1": "/srv/reproducible-results/rbuild-debian/r-b-build.ZxZXFS4i/b1/mon-contrib_1.0+dfsg-4_i386.changes", "source2": "/srv/reproducible-results/rbuild-debian/r-b-build.ZxZXFS4i/b2/mon-contrib_1.0+dfsg-4_i386.changes", "unified_diff": null, "details": [{"source1": "Files", "source2": "Files", "unified_diff": "@@ -1,2 +1,2 @@\n \n- 81b60ee84d225078512a844490b82344 73876 admin extra mon-contrib_1.0+dfsg-4_i386.deb\n+ f5350b38e92afbd55669f53da6c787e5 74204 admin extra mon-contrib_1.0+dfsg-4_i386.deb\n"}, {"source1": "mon-contrib_1.0+dfsg-4_i386.deb", "source2": "mon-contrib_1.0+dfsg-4_i386.deb", "unified_diff": null, "details": [{"source1": "file list", "source2": "file list", "unified_diff": "@@ -1,3 +1,3 @@\n -rw-r--r-- 0 0 0 4 2017-08-27 04:57:17.000000 debian-binary\n -rw-r--r-- 0 0 0 3472 2017-08-27 04:57:17.000000 control.tar.xz\n--rw-r--r-- 0 0 0 70212 2017-08-27 04:57:17.000000 data.tar.xz\n+-rw-r--r-- 0 0 0 70540 2017-08-27 04:57:17.000000 data.tar.xz\n"}, {"source1": "control.tar.xz", "source2": "control.tar.xz", "unified_diff": null, "details": [{"source1": "control.tar", "source2": "control.tar", "unified_diff": null, "details": [{"source1": "./control", "source2": "./control", "unified_diff": "@@ -1,12 +1,12 @@\n Package: mon-contrib\n Version: 1.0+dfsg-4\n Architecture: i386\n Maintainer: Dario Minnucci \n-Installed-Size: 447\n+Installed-Size: 449\n Depends: mon (>= 1.2.0-3)\n Section: admin\n Priority: extra\n Homepage: https://mon.wiki.kernel.org/articles/c/o/n/Contrib_repository.html\n Description: contributed tools, monitors and alert for mon\n mon-contrib is the mon /contrib archive. It contains user-submitted\n add-ons to mon, which are not included in the main mon distribution.\n"}, {"source1": "./md5sums", "source2": "./md5sums", "unified_diff": null, "details": [{"source1": "./md5sums", "source2": "./md5sums", "comments": ["Files differ"], "unified_diff": null}]}]}]}, {"source1": "data.tar.xz", "source2": "data.tar.xz", "unified_diff": null, "details": [{"source1": "data.tar", "source2": "data.tar", "unified_diff": null, "details": [{"source1": "file list", "source2": "file list", "unified_diff": "@@ -7,15 +7,15 @@\n drwxr-xr-x 0 root (0) root (0) 0 2017-08-27 04:57:17.000000 ./usr/lib/mon-contrib/\n drwxr-xr-x 0 root (0) root (0) 0 2017-08-27 04:57:17.000000 ./usr/lib/mon-contrib/alert.d/\n -rwxr-xr-x 0 root (0) root (0) 4948 2017-08-27 04:57:17.000000 ./usr/lib/mon-contrib/alert.d/aim.alert\n -rwxr-xr-x 0 root (0) root (0) 4041 2017-08-27 04:57:17.000000 ./usr/lib/mon-contrib/alert.d/bugzilla.alert\n -rwxr-xr-x 0 root (0) root (0) 3108 2017-08-27 04:57:17.000000 ./usr/lib/mon-contrib/alert.d/gnats.alert\n -rwxr-xr-x 0 root (0) root (0) 4477 2017-08-27 04:57:17.000000 ./usr/lib/mon-contrib/alert.d/hpov.alert\n -rwxr-xr-x 0 root (0) root (0) 3880 2017-08-27 04:57:17.000000 ./usr/lib/mon-contrib/alert.d/ipvs.alert\n--rwxr-xr-x 0 root (0) root (0) 460 2017-08-27 04:57:17.000000 ./usr/lib/mon-contrib/alert.d/sms.alert\n+-rwxr-xr-x 0 root (0) root (0) 2330 2017-08-27 04:57:17.000000 ./usr/lib/mon-contrib/alert.d/sms.alert\n -rwxr-xr-x 0 root (0) root (0) 3960 2017-08-27 04:57:17.000000 ./usr/lib/mon-contrib/alert.d/snapdelete.alert\n -rwxr-xr-x 0 root (0) root (0) 2580 2017-08-27 04:57:17.000000 ./usr/lib/mon-contrib/alert.d/winpopup.alert\n drwxr-xr-x 0 root (0) root (0) 0 2017-08-27 04:57:17.000000 ./usr/lib/mon-contrib/mon-local.d/\n drwxr-xr-x 0 root (0) root (0) 0 2017-08-27 04:57:17.000000 ./usr/lib/mon-contrib/mon.d/\n -rwxr-xr-x 0 root (0) root (0) 6967 2017-08-27 04:57:17.000000 ./usr/lib/mon-contrib/mon.d/bgp.monitor\n -rwxr-xr-x 0 root (0) root (0) 7258 2017-08-27 04:57:17.000000 ./usr/lib/mon-contrib/mon.d/cisco-env.monitor\n -rwxr-xr-x 0 root (0) root (0) 2490 2017-08-27 04:57:17.000000 ./usr/lib/mon-contrib/mon.d/citrix.monitor\n"}, {"source1": "./usr/lib/mon-contrib/alert.d/sms.alert", "source2": "./usr/lib/mon-contrib/alert.d/sms.alert", "unified_diff": "@@ -1,26 +1,75 @@\n-#!/usr/bin/perl\r\n-\r\n-use Getopt::Std;\r\n-getopts (\"s:g:h:t:l:u\");\r\n-\r\n-$summary=;\r\n-chomp $summary;\r\n-\r\n-$rest=\"\";\r\n-while () {\r\n- $rest .= $_;\r\n-}\r\n-\r\n-foreach $number (@ARGV) {\r\n-\r\n- # system(\"echo `date` `id` $number $summary >> /var/lib/mon/sms.alert.log\");\r\n-\r\n- open (SMS, \"| /usr/bin/gnokii --sendsms $number\") || die \"could not open pipe to sms: $!\\n\";\r\n-\r\n- print SMS $summary;\r\n- print SMS \"\\n\";\r\n- print SMS $rest;\r\n-\r\n- close (SMS);\r\n-\r\n-}\r\n+#!/usr/bin/perl\n+#\n+# sms.alert - send an alert via SMS (sendsms) v1.5 2003-04-07\n+#\n+# This will accept multiple phone numbers in @ARGV and call \n+# sendsms for each one of them.\n+#\n+# sendsms-specific options:\n+# -n destination number\n+# -t \"message\"\n+# host\n+#\n+# Peter Holzleitner, P.Holzleitner@computer.org\n+# Jim Trocki, trockij@transmeta.com\n+#\n+# Copyright (C) 1998, Peter Holzleitner\n+# Copyright (C) 1998, Jim Trocki\n+#\n+# This program is free software; you can redistribute it and/or modify\n+# it under the terms of the GNU General Public License as published by\n+# the Free Software Foundation; either version 2 of the License, or\n+# (at your option) any later version.\n+#\n+# This program is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n+# GNU General Public License for more details.\n+#\n+# You should have received a copy of the GNU General Public License\n+# along with this program; if not, write to the Free Software\n+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n+#\n+# History:\n+#\n+# 1.5 filter single quotes (Erik Bolso)\n+# 1.4 fix loop break bug (Geta Andualem)\n+# 1.0 original release (P.Holzleitner)\n+#\n+use Getopt::Std;\n+use Sys::Syslog;\n+\n+openlog('sms.alert', '', 'user');\n+getopts (\"s:g:h:t:c:f:l:q:u\");\n+\n+#\n+# the first line is summary information, adequate to send to a pager\n+# or email subject line\n+#\n+# the following lines normally contain more detailed information,\n+# but this is monitor-dependent\n+#\n+@MSG=;\n+$summary = shift @MSG;\n+chomp $summary;\n+$detail = join(' ', @MSG);\n+$detail =~ tr/\\r\\n\\'/ /s;\n+$detail = substr($detail, 0, 130); # real cutoff to 160 total done in sendsms\n+\n+$t = localtime($opt_t);\n+($wday,$mon,$day,$tm) = split (/\\s+/, $t);\n+($hr,$min,$sec) = split(':', $tm);\n+\n+$ALERT = $opt_u ? \"UPALERT\" : \"ALERT\";\n+\n+foreach $pagedest (@ARGV) {\n+ syslog('notice', \"sendsms calling $pagedest\");\n+ SMS: for($retry = 1; $retry < 4; $retry++)\n+ {\n+ $res = system(\"/usr/sbin/sendsms -n '$pagedest' -t '$ALERT $opt_g/$opt_s: $summary ($hr:$min) $detail' &\");\n+ last SMS if $res == 0;\n+ syslog('warning', \"sendsms to $pagedest failed, retrying($retry) after delay\");\n+ sleep 15;\n+ }\n+ sleep 5;\n+}\n"}]}]}]}]}