Re: Portsnap question

2009-04-07 Thread Leslie Jensen



Manolis Kiagias skrev:

Leslie Jensen wrote:

I used to use csup and in my /root/ports-supfile I changed the default
host line to a server near me.

*default host=cvsup.se.FreeBSD.org

Now I've been using portsnap for a while and when installing a new
system I got to question if portsnap look in this file for an update
server or does portsnap need to be configured somewhere else?

Thanks

/Leslie




No, portsnap uses /etc/portsnap.conf.  Normally you don't need to make
any changes to this file.



Thank you :-) I see there's no gain in changing.
/Leslie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Portsnap question

2009-04-07 Thread Ricardo Jesus

Leslie Jensen wrote:


I used to use csup and in my /root/ports-supfile I changed the default 
host line to a server near me.


*default host=cvsup.se.FreeBSD.org

Now I've been using portsnap for a while and when installing a new 
system I got to question if portsnap look in this file for an update 
server or does portsnap need to be configured somewhere else?


Thanks

/Leslie


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"



Portsnap uses /etc/portsnap.conf and doesn't read supfiles.

man portsnap.conf for more info.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Portsnap question

2009-04-07 Thread Manolis Kiagias
Leslie Jensen wrote:
>
> I used to use csup and in my /root/ports-supfile I changed the default
> host line to a server near me.
>
> *default host=cvsup.se.FreeBSD.org
>
> Now I've been using portsnap for a while and when installing a new
> system I got to question if portsnap look in this file for an update
> server or does portsnap need to be configured somewhere else?
>
> Thanks
>
> /Leslie
>
>

No, portsnap uses /etc/portsnap.conf.  Normally you don't need to make
any changes to this file.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Portsnap question

2009-04-07 Thread ill...@gmail.com
2009/4/7 Leslie Jensen :
>
> I used to use csup and in my /root/ports-supfile I changed the default host
> line to a server near me.
>
> *default host=cvsup.se.FreeBSD.org
>
> Now I've been using portsnap for a while and when installing a new system I
> got to question if portsnap look in this file for an update server or does
> portsnap need to be configured somewhere else?

/etc/portsnap.conf

but:

# Server or server pool from which to fetch updates.  You can change
# this to point at a specific server if you want, but in most cases
# using a "nearby" server won't provide a measurable improvement in
# performance.
SERVERNAME=portsnap.FreeBSD.org


-- 
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Portsnap question

2009-04-07 Thread Leslie Jensen


I used to use csup and in my /root/ports-supfile I changed the default 
host line to a server near me.


*default host=cvsup.se.FreeBSD.org

Now I've been using portsnap for a while and when installing a new 
system I got to question if portsnap look in this file for an update 
server or does portsnap need to be configured somewhere else?


Thanks

/Leslie


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: portsnap question

2007-11-07 Thread Novembre
On Nov 7, 2007 7:36 PM, Colin Percival <[EMAIL PROTECTED]> wrote:
> Novembre wrote:
> > Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found.
> > Fetching snapshot tag from portsnap3.FreeBSD.org... done.
> > Fetching snapshot metadata... done.
> > Updating from Fri Oct  5 16:39:29 CDT 2007 to Wed Nov  7 17:22:07 CST 2007.
> > Fetching 4 metadata patches... done.
> > Applying metadata patches... done.
> > Fetching 4 metadata files... done.
> > Fetching 2125 
> > patches.102030405060708090100110120130140150160170180190200210220230240250260270280290300310320330340350360370380390...
> > done.
> > Applying patches... done.
> > Fetching 1882 new ports or files... done.
> >
> > I'm wondering why it says 'fetching 2125 patches...' and then
> > downloading only 396 of them.
>
> Probably there was either a glitch on the mirror or you're behind a
> "transparent" HTTP proxy which misbehaved.  Portsnap falls back to
> downloading complete files if it can't fetch or apply patches (which
> is why the 1882 new ports or files is such a large number), so all
> this means is that a bit more bandwidth was used than necessary.
>
> > I have not run 'portsnap update' yet since I was afraid it might ruin
> > my ports tree. Is there anyway to force portsnap fetch a new snapshot
> > without telling me 'no updates needed'?
>
> Don't worry, you can run `portsnap update` safely.
>
> Not relevant in this case, but for the benefit of the archives: In the
> rare case where portsnap's locally stored snapshot becomes corrupt (most
> often as a result of filesystem not being unmounted cleanly), deleting
> everything inside /var/db/portsnap will result in portsnap downloading a
> complete new snapshot the next time `portsnap fetch` is run.
>
> Colin Percival
>
>


Thanks for the reply. I read the man page for portsnap and realized
that it stores the snapshots in /var/db/portsnap and wanted to delete
everything there and run 'portsnap fetch' again, but decided to post a
question and ask first (hoping that there's a shortcut). It's good to
hear that nothing went wrong...I'll run 'portsnap update' then.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portsnap question

2007-11-07 Thread Colin Percival
Novembre wrote:
> Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found.
> Fetching snapshot tag from portsnap3.FreeBSD.org... done.
> Fetching snapshot metadata... done.
> Updating from Fri Oct  5 16:39:29 CDT 2007 to Wed Nov  7 17:22:07 CST 2007.
> Fetching 4 metadata patches... done.
> Applying metadata patches... done.
> Fetching 4 metadata files... done.
> Fetching 2125 
> patches.102030405060708090100110120130140150160170180190200210220230240250260270280290300310320330340350360370380390...
> done.
> Applying patches... done.
> Fetching 1882 new ports or files... done.
> 
> I'm wondering why it says 'fetching 2125 patches...' and then
> downloading only 396 of them.

Probably there was either a glitch on the mirror or you're behind a
"transparent" HTTP proxy which misbehaved.  Portsnap falls back to
downloading complete files if it can't fetch or apply patches (which
is why the 1882 new ports or files is such a large number), so all
this means is that a bit more bandwidth was used than necessary.

> I have not run 'portsnap update' yet since I was afraid it might ruin
> my ports tree. Is there anyway to force portsnap fetch a new snapshot
> without telling me 'no updates needed'?

Don't worry, you can run `portsnap update` safely.

Not relevant in this case, but for the benefit of the archives: In the
rare case where portsnap's locally stored snapshot becomes corrupt (most
often as a result of filesystem not being unmounted cleanly), deleting
everything inside /var/db/portsnap will result in portsnap downloading a
complete new snapshot the next time `portsnap fetch` is run.

Colin Percival

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


portsnap question

2007-11-07 Thread Novembre
Hi,

This is the result of running 'portsnap fetch' tonight:

Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found.
Fetching snapshot tag from portsnap3.FreeBSD.org... done.
Fetching snapshot metadata... done.
Updating from Fri Oct  5 16:39:29 CDT 2007 to Wed Nov  7 17:22:07 CST 2007.
Fetching 4 metadata patches... done.
Applying metadata patches... done.
Fetching 4 metadata files... done.
Fetching 2125 
patches.102030405060708090100110120130140150160170180190200210220230240250260270280290300310320330340350360370380390...
done.
Applying patches... done.
Fetching 1882 new ports or files... done.

I'm wondering why it says 'fetching 2125 patches...' and then
downloading only 396 of them. It took a lot of time to download these
patches as well (I use a very fast internet connection). My guess is
that there's something wrong with the server and that portsnap could
not finish downloading all the patches. Rerunning it does not help, as
it says:

Latest snapshot on server matches what we already have.
No updates needed.

I have not run 'portsnap update' yet since I was afraid it might ruin
my ports tree. Is there anyway to force portsnap fetch a new snapshot
without telling me 'no updates needed'?

Thanks,
Novembre
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portsnap question

2006-04-27 Thread Colin Percival
Jon Falconer wrote:
> Is there a utility that whould show what ports will be updated from the
> current "fetched" files? The man page does not indicate that there is a
> "show what would happen but don't do it" option.

I'm not sure why you would want to do this, but

sort /var/db/portsnap/INDEX |
comm -3 - /usr/ports/.portsnap.INDEX |
cut -f 1 -d '|'

should output the files/directories being added and removed in the
1st and 2nd columns respectively.  (Something which is modified
will appear in both columns, of course.)

Colin Percival
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


portsnap question

2006-04-27 Thread Jon Falconer
Greetings,

Is there a utility that whould show what ports will be updated from the
current "fetched" files? The man page does not indicate that there is a
"show what would happen but don't do it" option.

Thanks,

Jon

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portsnap question

2006-04-14 Thread Norberto Meijome
On Fri, 14 Apr 2006 08:54:45 -0400
Adam Stroud <[EMAIL PROTECTED]> wrote:

> 0 3 * * * root portsnap -I cron update && pkg_version -vIL="
> 
> My question is what part of that crontab entry sends an email?  Is it a 
> function of cron, because I didnt see any reference to an email getting 
> sent in the portsnap or pkg_version man page.

Cron will send the output of the command via email to the owner of the crontab.
If it's the system crontab (/etc/crontab), you need to set it in /etc/crontab
by defining the MAILTO variable.

man 5 crontab

B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


portsnap question

2006-04-14 Thread Adam Stroud
I have a question on what the handbook says about portsnap.  According 
to the handbook:



"Adding the following line to /etc/crontab will cause portsnap to update 
its compressed snapshot and the INDEX files in /usr/ports/, and will 
send an email if any installed ports are out of date:


0 3 * * * root portsnap -I cron update && pkg_version -vIL="

My question is what part of that crontab entry sends an email?  Is it a 
function of cron, because I didnt see any reference to an email getting 
sent in the portsnap or pkg_version man page.


Thanks
A
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"