Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2007 19:16:06 GMT
From:      Andrew Daugherity <adaugherity@tamu.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/118434: [patch] net-mgmt/nrpe2 should enable SSL by default
Message-ID:  <200712041916.lB4JG61T092184@www.freebsd.org>
Resent-Message-ID: <200712041920.lB4JK1dD093762@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         118434
>Category:       ports
>Synopsis:       [patch] net-mgmt/nrpe2 should enable SSL by default
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 04 19:20:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Daugherity
>Release:        6.2
>Organization:
Texas A&M University
>Environment:
FreeBSD imsweb1.tamu.edu 6.2-RELEASE-p9 FreeBSD 6.2-RELEASE-p9 #0: Thu Nov 29 01:11:37 UTC 2007     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/SMP  amd64
>Description:
The default setting for the SSL option is OFF, which means the binary packages are built without SSL.  As the default for the check_nrpe2 Nagios plugin is to use SSL (SSL can be disabled with the -n option), I believe the default for the NRPE server (i.e. this port) should also be to enable SSL.
>How-To-Repeat:
Install the net-mgmt/nrpe2 port with default options or install the binary package from a mirror.  Attempt to run the check_nrpe2 plugin and watch it fail unless you specify the -n option to disable SSL.
>Fix:
Set the option to default to on like this:

(I also bumped PORTREVISION; not sure about the policy on that.)

--- Makefile.orig       Tue Dec  4 12:13:11 2007
+++ Makefile    Tue Dec  4 13:12:56 2007
@@ -7,7 +7,7 @@

 PORTNAME=      nrpe2
 PORTVERSION=   2.7
-PORTREVISION=  2
+PORTREVISION=  3
 CATEGORIES=    net-mgmt
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=    nagios
@@ -21,7 +21,7 @@
 USE_PERL5_BUILD=       yes
 USE_RC_SUBR=   nrpe2

-OPTIONS=       SSL "SSL support" off \
+OPTIONS=       SSL "SSL support" on \
                ARGS "Enable command arguments *POTENTIAL SECURITY RISK*" off

 GNU_CONFIGURE= yes


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712041916.lB4JG61T092184>