Merge lp:~smoser/ubuntu/oneiric/nagios-plugins/lp837085 into lp:ubuntu/oneiric/nagios-plugins

Proposed by Scott Moser
Status: Merged
Merged at revision: 42
Proposed branch: lp:~smoser/ubuntu/oneiric/nagios-plugins/lp837085
Merge into: lp:ubuntu/oneiric/nagios-plugins
Diff against target: 58 lines (+26/-1)
4 files modified
debian/changelog (+6/-0)
debian/control (+1/-1)
debian/patches/00list (+1/-0)
debian/patches/90_hardened_build_fixes.dpatch (+18/-0)
To merge this branch: bzr merge lp:~smoser/ubuntu/oneiric/nagios-plugins/lp837085
Reviewer Review Type Date Requested Status
Kees Cook Approve
Review via email: mp+74309@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Scott Moser (smoser) wrote :

I'd like someone to comment on the usage of patch name 90_*.
the rest i believe is good.

Revision history for this message
Kees Cook (kees) wrote :

Looks good. The 90* is fine, that's pretty standard for splitting Ubuntu patches away from Debian's.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2011-05-28 00:23:29 +0000
+++ debian/changelog 2011-09-06 21:05:30 +0000
@@ -1,3 +1,9 @@
1nagios-plugins (1.4.15-4ubuntu2) UNRELEASED; urgency=low
2
3 * re-enable hardened builds (LP: #837085)
4
5 -- Scott Moser <smoser@ubuntu.com> Tue, 06 Sep 2011 16:08:53 -0400
6
1nagios-plugins (1.4.15-4ubuntu1) oneiric; urgency=low7nagios-plugins (1.4.15-4ubuntu1) oneiric; urgency=low
28
3 * Merge from debian unstable (LP: #789347). Remaining changes:9 * Merge from debian unstable (LP: #789347). Remaining changes:
410
=== modified file 'debian/control'
--- debian/control 2011-05-28 00:23:29 +0000
+++ debian/control 2011-09-06 21:05:30 +0000
@@ -4,7 +4,7 @@
4Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>4Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel@lists.alioth.debian.org>5XSBC-Original-Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel@lists.alioth.debian.org>
6Uploaders: Jan Wagner <waja@cyconet.org>, Alexander Wirt <formorer@debian.org>6Uploaders: Jan Wagner <waja@cyconet.org>, Alexander Wirt <formorer@debian.org>
7Build-Depends: debhelper (>= 5), dpatch (>= 2.0.9), perl, autotools-dev, libldap2-dev, libpq-dev, libmysqlclient-dev, libradius1-dev, libkrb5-dev, libnet-snmp-perl, procps, mawk | awk7Build-Depends: debhelper (>= 5), dpatch (>= 2.0.9), perl, autotools-dev, libldap2-dev, libpq-dev, libmysqlclient-dev, libradius1-dev, libkrb5-dev, libnet-snmp-perl, procps, mawk | awk, hardening-wrapper
8Homepage: http://nagiosplug.sourceforge.net8Homepage: http://nagiosplug.sourceforge.net
9Vcs-Browser: http://svn.debian.org/wsvn/pkg-nagios/nagios-plugins/9Vcs-Browser: http://svn.debian.org/wsvn/pkg-nagios/nagios-plugins/
10Vcs-Svn: svn://svn.debian.org/pkg-nagios/nagios-plugins/trunk/10Vcs-Svn: svn://svn.debian.org/pkg-nagios/nagios-plugins/trunk/
1111
=== modified file 'debian/patches/00list'
--- debian/patches/00list 2011-05-28 00:23:29 +0000
+++ debian/patches/00list 2011-09-06 21:05:30 +0000
@@ -7,3 +7,4 @@
712_check_snmp_1.4.15_regression.dpatch712_check_snmp_1.4.15_regression.dpatch
813_check_smtp_greeting.dpatch813_check_smtp_greeting.dpatch
914_check_icmp_multiple_ips.dpatch914_check_icmp_multiple_ips.dpatch
1090_hardened_build_fixes.dpatch
1011
=== added file 'debian/patches/90_hardened_build_fixes.dpatch'
--- debian/patches/90_hardened_build_fixes.dpatch 1970-01-01 00:00:00 +0000
+++ debian/patches/90_hardened_build_fixes.dpatch 2011-09-06 21:05:30 +0000
@@ -0,0 +1,18 @@
1#! /bin/sh /usr/share/dpatch/dpatch-run
2## 99_hardened_build_fixes.dpatch by Scott Moser <smoser@ubuntu.com>
3##
4## DP: Fix issues reported by hardened build (LP: #837085)
5
6@DPATCH@
7diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' oneiric~/plugins/check_radius.c oneiric/plugins/check_radius.c
8--- oneiric~/plugins/check_radius.c 2011-09-06 15:31:36.000000000 -0400
9+++ oneiric/plugins/check_radius.c 2011-09-06 16:07:15.821875492 -0400
10@@ -211,7 +211,7 @@
11 if (result == OK_RC)
12 die (STATE_OK, _("Auth OK"));
13 (void)snprintf(msg, sizeof(msg), _("Unexpected result code %d"), result);
14- die (STATE_UNKNOWN, msg);
15+ die (STATE_UNKNOWN, "%s", msg);
16 }
17
18

Subscribers

People subscribed via source and target branches

to all changes: