Re: portsnap and updates using cron

From: Will Maier (willmaier_at_ml1.net)
Date: 08/31/05

  • Next message: Norberto Meijome: "Re: Problem when making index in /usr/ports"
    Date: Wed, 31 Aug 2005 11:46:54 -0500
    To: freebsd-questions@freebsd.org
    
    

    On Wed, Aug 31, 2005 at 06:32:17PM +0200, martin hudec wrote:
    > On Wed, Aug 31, 2005 at 11:28:03AM -0500 or thereabouts, Will Maier wrote:
    > > So what happens when you run:

    > > # /usr/local/sbin/portsnap fetch
    > > # /usr/local/sbin/portsnap update

    > They are both running pretty well from command line.

    No errors? They update your ports tree as expected?

    > Here is full content of portsnap.conf located in /usr/local/etc/:

    > # Defaults:
    > WORKDIR=/usr/local/portsnap
    > PORTSDIR=/usr/ports

    > KEYPRINT=9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330
    > URL=http://portsnap.daemonology.net

    This is fine.

    Looking back over the thread, you mention that, in cron, you're
    running the following:

        portsnap cron
        portsnap -I update
                 ^^

    You also say that you think your process isn't functioning because
    the ctimes in /usr/ports are too old. You do realize that '-I'
    causes portsnap to "update INDEX files, but not the rest of the
    ports tree" (man 8 portsnap).

    -- 
    o--------------------------{ Will Maier }--------------------------o
    | jabber:..wcmaier@jabber.ccc.de | email:..........wcmaier@ml1.net |
    | \.........wcmaier@cae.wisc.edu | \..........wcmaier@cae.wisc.edu |
    *------------------[ BSD Unix: Live Free or Die ]------------------*
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Norberto Meijome: "Re: Problem when making index in /usr/ports"

    Relevant Pages

    • Re: nubie question - Ports - Ruby 1.8.4
      ... # portsnap extract ... So I skipped extract. ... The ports tree installed by the CD was made at the same time the release ... By contrast, as explained above, sysinstall will install the ...
      (freebsd-questions)
    • Re: nubie question - Ports - Ruby 1.8.4
      ... > # portsnap extract ... During sysinstall it had asked me if I wanted the ports collection ... The ports tree installed by the CD was made at the same time the release ... By contrast, as explained above, sysinstall will install the ...
      (freebsd-questions)
    • Re: please test: Secure ports tree updating
      ... > I've written portsnap. ... the ports snapshots ... Similarly, portsnap isn't in the ports tree yet, but it ... To unsubscribe, ...
      (FreeBSD-Security)
    • Re: please test: Secure ports tree updating
      ... In theory, maybe, but in practice, no. Portsnap distributes snapshots ... of the ports tree; it isn't designed for distributing the entire CVS ... the ports repository, you'd find it to be impractically slow, since there ...
      (FreeBSD-Security)
    • Re: /usr/portsnap vs. /var/db/portsnap
      ... >> providing their own binaries? ... > Two reasons come to mind: First, the portsnap chain of security starts ... then to redistribute a copy of a portsnap'd ports tree + local patches? ...
      (freebsd-arch)