Bug 121877

Summary: net-mgmt/nagios-plugins: [patch]: fix pkg-plist
Product: Ports & Packages Reporter: Philip M. Gollucci <pgollucci>
Component: Individual Port(s)Assignee: Marcelo Araujo <araujo>
Status: Closed FIXED    
Severity: Affects Only Me CC: jarrod
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
net-mgmt_nagios-plugins.diff
none
nagios-plugins-1.4.11_1,1.log
none
nagios-plugins-1.4.11,1.log none

Description Philip M. Gollucci 2008-03-19 20:00:01 UTC
check_by_ssh -> check_ssh
bump PORTREVISION
Comment 1 Marcelo Araujo freebsd_committer freebsd_triage 2008-03-19 20:18:55 UTC
Responsible Changed
From-To: gnats-admin->araujo

I'll take it.
Comment 2 Jarrod Sayers 2008-03-21 03:51:40 UTC
I'm not sure I see the issue here?  Can you elaborate?

The plugin check_ssh is used to check the availability of an SSH  
service and check_by_ssh is used in a way similar to NRPE in that it  
calls a process on a remote server via SSH.  In addition to this,  
libexec/nagios/check_ssh is currently listed in the ports pkg-plist  
file (line 56).

Jarrod.
(net-mgmt/nagios-plugins maintainer)
Comment 3 Philip M. Gollucci 2008-03-21 05:27:06 UTC
Jarrod Sayers wrote:
> I'm not sure I see the issue here?  Can you elaborate?
> 
> The plugin check_ssh is used to check the availability of an SSH service 
> and check_by_ssh is used in a way similar to NRPE in that it calls a 
> process on a remote server via SSH.  In addition to this, 
> libexec/nagios/check_ssh is currently listed in the ports pkg-plist file 
> (line 56).
> 
> Jarrod.
> (net-mgmt/nagios-plugins maintainer)

See attached tinderbox log where PLIST is broken.

Also here until something recompiles this port.
http://tinderbox-i386.p6m7g8.net/tb/errors/8.0-FreeBSD/nagios-plugins-1.4.11_1,1.log

-- 
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com)
c:703.336.9354
Consultant / http://p6m7g8.net/Resume/resume.txt
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
Comment 4 Jarrod Sayers 2008-03-21 05:49:09 UTC
The contents of the log seem to contradict the result, though that's  
not saying something isn't wrong here.  Can you please confirm the  
revision and MD5 checksum of net-mgmt/nagios-plugins/pkg-plist your  
tinderbox instance is using?

Jarrod.
Comment 5 Philip M. Gollucci 2008-03-21 06:16:05 UTC
Jarrod Sayers wrote:
===================<phase 7: make package>====================
===>  Building package for nagios-plugins-1.4.11_1,1
Creating package /tmp/packages/All/nagios-plugins-1.4.11_1,1.tbz
Registering depends: libiconv-1.11_1 perl-5.8.8_1.
Creating bzip'd tar ball in 
'/tmp/packages/All/nagios-plugins-1.4.11_1,1.tbz'
Deleting nagios-plugins-1.4.11_1,1
pkg_delete: file '/usr/local/libexec/nagios/check_ssh' doesn't exist
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
================================================================

=== Checking filesystem state
list of extra files and directories in / (not present before this port 
was installed but present after it was deinstalled)
2198356        4 drwxr-xr-x    2 root             wheel 
1536 Mar 21 00:28 usr/local/libexec/nagios
2198372       56 -r-xr-xr-x    1 root             wheel 
28380 Mar 21 00:28 usr/local/libexec/nagios/check_by_ssh
================================================================
build of /usr/ports/net-mgmt/nagios-plugins ended at Fri Mar 21 00:28:34 
UTC 2008

It occurred to me that I had my patch in my tinderbox in the log I 
previously posted, I've reverted that and am rebuilding it again now, 
but I know I got errors trying to build this for $work or I wouldn't 
have gone digging.




cvs status pkg-plist
===================================================================
File: pkg-plist         Status: Up-to-date

    Working revision:    1.21    Fri Mar 21 01:10:24 2008
    Repository revision: 1.21 
/home/ncvs/ports/net-mgmt/nagios-plugins/pkg-plist,v
    Sticky Tag:          (none)
    Sticky Date:         (none)
    Sticky Options:      (none)

md5 pkg-plist
MD5 (pkg-plist) = 5a469c374691c28d7597222f59d5f8d6

I think whats happening here is that pkg-plist correctly lists
libexec/nagios/check_by_ssh; BUT, for some reason doesn't get installed.

Might be a goof in the software's actual Makefile rather than the ports 
tree infrastructure.

Ahh foo, I take it back, I must have corrupted my $work instance.

The port builds correctly with an unmodified pkg-plist.  I must be 
loosing my mind.

Please close this PR

-- 
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com)
c:703.336.9354
Consultant / http://p6m7g8.net/Resume/resume.txt
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
Comment 6 pgollucci 2008-03-21 20:45:43 UTC
Invalid, I'm loosing my mind.
Please close.

-- 
------------------------------------------------------------------------
Philip M. Gollucci (philip@ridecharge.com)
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
Comment 7 Marcelo Araujo freebsd_committer freebsd_triage 2008-03-24 16:02:55 UTC
State Changed
From-To: open->closed

Submitter request.