Re: CVSup update nagios-3.0.4_1

2008-11-06 Thread Lowell Gilbert
Gian Paolo Buono [EMAIL PROTECTED] writes:

 from web ports I have see   (
 http://www.freebsd.org/cgi/ports.cgi?query=nagios-3stype=allsektion=all)
 that is relased the version nagios-3.0.4_1 of nagios but I have on my system
 the version nagios-3.0.3.

 Now if i try to update nagios from cvsup I run the follow comands:

 cd /usr/ports/ ; make update ; make fetchindex

 When the upgrade is finished, i run:
 portversion -l '' -v | grep nagios

 but nagios-3.0.4_1 is not present.

 This is my /etc/make.conf file:

 #make.conf#
 CPUTYPE=i686
 CFLAGS= -O -pipe
 INSTALL=install -C
 SUP_UPDATE= yes
 SUP=/usr/local/bin/cvsup
 SUPFLAGS=   -g -L 2
 SUPHOST=cvsup18.FreeBSD.org
 SUPFILE=/usr/share/examples/cvsup/stable-supfile
 PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile
 DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile
 WRKDIRPREFIX=   /var/tmp
 WITHOUT_GNOME=  true
 WANT_OPENSSL_MANPAGES=  true
 MAKE_IDEA=  YES
 WITH_OPTIMIZED_CFLAGS=  yes
 PERL_ARCH=  mach
 NOPERL= yo
 NO_PERL=yo
 NO_PERL_WRAPPER=yo
 #make.conf#


 cvsup18.FreeBSD.org has not yet updated ? Have you an idea ?

cvsup18 has the latest.  You're obviously having trouble with the
index file, because that (or a database derived therefrom) is what
portversion is looking at to determine what's out of date.

Check the ports-mgmt/nagios/Makefile to be sure it is in fact showing
the new version.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: CVSup update nagios-3.0.4_1

2008-11-06 Thread Johan Hendriks

 from web ports I have see   (
 http://www.freebsd.org/cgi/ports.cgi?query=nagios-3stype=allsektion=all)
 that is relased the version nagios-3.0.4_1 of nagios but I have on my system
 the version nagios-3.0.3.

 Now if i try to update nagios from cvsup I run the follow comands:

 cd /usr/ports/ ; make update ; make fetchindex

 When the upgrade is finished, i run:
 portversion -l '' -v | grep nagios

 but nagios-3.0.4_1 is not present.

 This is my /etc/make.conf file:

 #make.conf#
 CPUTYPE=i686
 CFLAGS= -O -pipe
 INSTALL=install -C
 SUP_UPDATE= yes
 SUP=/usr/local/bin/cvsup
 SUPFLAGS=   -g -L 2
 SUPHOST=cvsup18.FreeBSD.org
 SUPFILE=/usr/share/examples/cvsup/stable-supfile
 PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile
 DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile
 WRKDIRPREFIX=   /var/tmp
 WITHOUT_GNOME=  true
 WANT_OPENSSL_MANPAGES=  true
 MAKE_IDEA=  YES
 WITH_OPTIMIZED_CFLAGS=  yes
 PERL_ARCH=  mach
 NOPERL= yo
 NO_PERL=yo
 NO_PERL_WRAPPER=yo
 #make.conf#


 cvsup18.FreeBSD.org has not yet updated ? Have you an idea ?

cvsup18 has the latest.  You're obviously having trouble with the
index file, because that (or a database derived therefrom) is what
portversion is looking at to determine what's out of date.

Check the ports-mgmt/nagios/Makefile to be sure it is in fact showing
the new version.

I had the same thing, the makefile has the latest, butpkg_version did not 
detect the new nagios.
What I did was going to /usr/port/net-mgmt/nagios
And did a:
 make FORCE_PKG_REGISTER=yes install clean
It installed nagios 3.0.4

Regards,
Johan Hendriks

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.9.0/1771 - Release Date: 6-11-2008 7:58
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CVSup update nagios-3.0.4_1

2008-11-06 Thread Mel
On Thursday 06 November 2008 16:20:13 Johan Hendriks wrote:

  cd /usr/ports/ ; make update ; make fetchindex
 
  When the upgrade is finished, i run:
  portversion -l '' -v | grep nagios
 
  but nagios-3.0.4_1 is not present.

[cut make.conf]

 cvsup18 has the latest.  You're obviously having trouble with the
 index file, because that (or a database derived therefrom) is what
 portversion is looking at to determine what's out of date.
 
 Check the ports-mgmt/nagios/Makefile to be sure it is in fact showing
 the new version.

 I had the same thing, the makefile has the latest, butpkg_version did not
 detect the new nagios. What I did was going to /usr/port/net-mgmt/nagios
 And did a:
  make FORCE_PKG_REGISTER=yes install clean
 It installed nagios 3.0.4

Lowell is correct. You need to run `portsdb -uU' after any modification of the 
ports tree for the portupgrade tools to see new versions.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]