Re: Does pkg automatically download INDEX?

2014-08-24 Thread Naram Qashat

On 08/15/14 13:14, Naram Qashat wrote:

On 08/12/14 14:11, Patrick Powell wrote:

On 08/09/14 18:15, Naram Qashat wrote:

On 08/09/14 19:45, Scot Hetzel wrote:

On Fri, Aug 8, 2014 at 7:00 PM, Naram Qashat  wrote:

On 08/04/14 07:28, David Wolfskill wrote:


On Mon, Aug 04, 2014 at 07:09:33AM -0400, Naram Qashat wrote:


On 08/03/14 22:14, David Wolfskill wrote:


On Sun, Aug 03, 2014 at 10:10:27PM -0400, Naram Qashat wrote:


...
If there is
a way to find out when any process is attempting to modify a file, that
would
probably help me narrow it down, but I'm not aware of anything that can
do that,
...



Well, "chflags schg /usr/ports/INDEX*" would *prevent* the modification


...
This was a really good suggestion.



Glad to help.  :-)

Peace,
david



OK, so while no programs have whined or complained, I get the feeling that
something on my system is running portsnap without my knowledge. When I had
set the schg flag on INDEX-9, an INDEX-9.bz2 file came up. I set the schg
flag on that as well, and now I notice there are a bunch of files called
.fetch.??.INDEX-9.bz2 (where ?? is a random string), as well as a
file called .portsnap.INDEX. As far as I know, I don't have anything
configured to run portsnap, but is there something that defaults to running
portsnap occasionally? I couldn't find anything that would do that.



Do your have a crontab entry that is running portsnap with the -I
(update INDEX) option?

http://www.pl.freebsd.org/doc/handbook/portsnap.html


As far as I can tell, no, none of my crontabs have any references to portsnap
in them. This is making me a bit stumped as to why it would be happening. I
checked the main /etc/crontab, I checked the crontabs in /var/cron/tabs. I
have searched inside of /etc and /usr/local/etc for anything related to
portsnap. Nothing that would be doing this is coming up at all.

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


I ran into something similar once,  and found out what was happening this way.

1.  replace the portsnap executable with a shell script.  Rename portsnap to
something
  like /usr/sbin/portsnap.orig
2.  This shell script should dump the current ENV and other stuff to a log file.
Don't forget to put in a timestamp.
And then do:
   exec /usr/sbin/portsnap.orig $*

I did this and found that there was something in one of the .login scripts.
G...


I really liked this suggestion, and did just that. Unfortunately, it seems that
portsnap may not be the culprit here, as I haven't had any log files created
from my modified script nor is there a .portsnap.INDEX file being created after
I deleted the one that was there, but I still have a bunch of
.fetch.??.INDEX-9.bz2 files in /usr/ports. I've been trying to search for
anything on my system that even references INDEX-9, but I can't find anything
else that would cause this to happen.

Thanks,
Naram Qashat


Well, I finally figured out what the culprit was. Webmin was configured to do 
automatic updates and it was running "make fetchindex" on the ports tree. I 
disabled that and now it has stopped trying to download the index. I only 
managed to track that down after noticing that the fetchindex target was the 
only other thing that could have downloaded the index file, and modifying 
/usr/ports/Makefile so it would write the contents of 
/proc/${.MAKE.PPID}/cmdline to a file so I could see what was invoking make. The 
.MAKE.PPID variable was pointed out to me on IRC.


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


Re: Does pkg automatically download INDEX?

2014-08-15 Thread Naram Qashat

On 08/12/14 14:11, Patrick Powell wrote:

On 08/09/14 18:15, Naram Qashat wrote:

On 08/09/14 19:45, Scot Hetzel wrote:

On Fri, Aug 8, 2014 at 7:00 PM, Naram Qashat  wrote:

On 08/04/14 07:28, David Wolfskill wrote:


On Mon, Aug 04, 2014 at 07:09:33AM -0400, Naram Qashat wrote:


On 08/03/14 22:14, David Wolfskill wrote:


On Sun, Aug 03, 2014 at 10:10:27PM -0400, Naram Qashat wrote:


...
If there is
a way to find out when any process is attempting to modify a file, that
would
probably help me narrow it down, but I'm not aware of anything that can
do that,
...



Well, "chflags schg /usr/ports/INDEX*" would *prevent* the modification


...
This was a really good suggestion.



Glad to help.  :-)

Peace,
david



OK, so while no programs have whined or complained, I get the feeling that
something on my system is running portsnap without my knowledge. When I had
set the schg flag on INDEX-9, an INDEX-9.bz2 file came up. I set the schg
flag on that as well, and now I notice there are a bunch of files called
.fetch.??.INDEX-9.bz2 (where ?? is a random string), as well as a
file called .portsnap.INDEX. As far as I know, I don't have anything
configured to run portsnap, but is there something that defaults to running
portsnap occasionally? I couldn't find anything that would do that.



Do your have a crontab entry that is running portsnap with the -I
(update INDEX) option?

http://www.pl.freebsd.org/doc/handbook/portsnap.html


As far as I can tell, no, none of my crontabs have any references to portsnap
in them. This is making me a bit stumped as to why it would be happening. I
checked the main /etc/crontab, I checked the crontabs in /var/cron/tabs. I
have searched inside of /etc and /usr/local/etc for anything related to
portsnap. Nothing that would be doing this is coming up at all.

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


I ran into something similar once,  and found out what was happening this way.

1.  replace the portsnap executable with a shell script.  Rename portsnap to
something
  like /usr/sbin/portsnap.orig
2.  This shell script should dump the current ENV and other stuff to a log file.
Don't forget to put in a timestamp.
And then do:
   exec /usr/sbin/portsnap.orig $*

I did this and found that there was something in one of the .login scripts.
G...


I really liked this suggestion, and did just that. Unfortunately, it seems that 
portsnap may not be the culprit here, as I haven't had any log files created 
from my modified script nor is there a .portsnap.INDEX file being created after 
I deleted the one that was there, but I still have a bunch of 
.fetch.??.INDEX-9.bz2 files in /usr/ports. I've been trying to search for 
anything on my system that even references INDEX-9, but I can't find anything 
else that would cause this to happen.


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


Re: Does pkg automatically download INDEX?

2014-08-12 Thread Patrick Powell

On 08/09/14 18:15, Naram Qashat wrote:

On 08/09/14 19:45, Scot Hetzel wrote:
On Fri, Aug 8, 2014 at 7:00 PM, Naram Qashat 
 wrote:

On 08/04/14 07:28, David Wolfskill wrote:


On Mon, Aug 04, 2014 at 07:09:33AM -0400, Naram Qashat wrote:


On 08/03/14 22:14, David Wolfskill wrote:


On Sun, Aug 03, 2014 at 10:10:27PM -0400, Naram Qashat wrote:


...
If there is
a way to find out when any process is attempting to modify a 
file, that

would
probably help me narrow it down, but I'm not aware of anything 
that can

do that,
...



Well, "chflags schg /usr/ports/INDEX*" would *prevent* the 
modification


...
This was a really good suggestion.



Glad to help.  :-)

Peace,
david



OK, so while no programs have whined or complained, I get the 
feeling that
something on my system is running portsnap without my knowledge. 
When I had
set the schg flag on INDEX-9, an INDEX-9.bz2 file came up. I set the 
schg
flag on that as well, and now I notice there are a bunch of files 
called
.fetch.??.INDEX-9.bz2 (where ?? is a random string), as well 
as a

file called .portsnap.INDEX. As far as I know, I don't have anything
configured to run portsnap, but is there something that defaults to 
running

portsnap occasionally? I couldn't find anything that would do that.



Do your have a crontab entry that is running portsnap with the -I
(update INDEX) option?

http://www.pl.freebsd.org/doc/handbook/portsnap.html


As far as I can tell, no, none of my crontabs have any references to 
portsnap in them. This is making me a bit stumped as to why it would 
be happening. I checked the main /etc/crontab, I checked the crontabs 
in /var/cron/tabs. I have searched inside of /etc and /usr/local/etc 
for anything related to portsnap. Nothing that would be doing this is 
coming up at all.


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

I ran into something similar once,  and found out what was happening 
this way.


1.  replace the portsnap executable with a shell script.  Rename 
portsnap to something

 like /usr/sbin/portsnap.orig
2.  This shell script should dump the current ENV and other stuff to a 
log file.

Don't forget to put in a timestamp.
And then do:
  exec /usr/sbin/portsnap.orig $*

I did this and found that there was something in one of the .login 
scripts.  G...

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


Re: Does pkg automatically download INDEX?

2014-08-09 Thread Naram Qashat

On 08/09/14 19:45, Scot Hetzel wrote:

On Fri, Aug 8, 2014 at 7:00 PM, Naram Qashat  wrote:

On 08/04/14 07:28, David Wolfskill wrote:


On Mon, Aug 04, 2014 at 07:09:33AM -0400, Naram Qashat wrote:


On 08/03/14 22:14, David Wolfskill wrote:


On Sun, Aug 03, 2014 at 10:10:27PM -0400, Naram Qashat wrote:


...
If there is
a way to find out when any process is attempting to modify a file, that
would
probably help me narrow it down, but I'm not aware of anything that can
do that,
...



Well, "chflags schg /usr/ports/INDEX*" would *prevent* the modification


...
This was a really good suggestion.



Glad to help.  :-)

Peace,
david



OK, so while no programs have whined or complained, I get the feeling that
something on my system is running portsnap without my knowledge. When I had
set the schg flag on INDEX-9, an INDEX-9.bz2 file came up. I set the schg
flag on that as well, and now I notice there are a bunch of files called
.fetch.??.INDEX-9.bz2 (where ?? is a random string), as well as a
file called .portsnap.INDEX. As far as I know, I don't have anything
configured to run portsnap, but is there something that defaults to running
portsnap occasionally? I couldn't find anything that would do that.



Do your have a crontab entry that is running portsnap with the -I
(update INDEX) option?

http://www.pl.freebsd.org/doc/handbook/portsnap.html


As far as I can tell, no, none of my crontabs have any references to portsnap in 
them. This is making me a bit stumped as to why it would be happening. I checked 
the main /etc/crontab, I checked the crontabs in /var/cron/tabs. I have searched 
inside of /etc and /usr/local/etc for anything related to portsnap. Nothing that 
would be doing this is coming up at all.


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


Re: Does pkg automatically download INDEX?

2014-08-09 Thread Scot Hetzel
On Fri, Aug 8, 2014 at 7:00 PM, Naram Qashat  wrote:
> On 08/04/14 07:28, David Wolfskill wrote:
>>
>> On Mon, Aug 04, 2014 at 07:09:33AM -0400, Naram Qashat wrote:
>>>
>>> On 08/03/14 22:14, David Wolfskill wrote:

 On Sun, Aug 03, 2014 at 10:10:27PM -0400, Naram Qashat wrote:
>
> ...
> If there is
> a way to find out when any process is attempting to modify a file, that
> would
> probably help me narrow it down, but I'm not aware of anything that can
> do that,
> ...


 Well, "chflags schg /usr/ports/INDEX*" would *prevent* the modification
>>>
>>> ...
>>> This was a really good suggestion.
>>
>>
>> Glad to help.  :-)
>>
>> Peace,
>> david
>
>
> OK, so while no programs have whined or complained, I get the feeling that
> something on my system is running portsnap without my knowledge. When I had
> set the schg flag on INDEX-9, an INDEX-9.bz2 file came up. I set the schg
> flag on that as well, and now I notice there are a bunch of files called
> .fetch.??.INDEX-9.bz2 (where ?? is a random string), as well as a
> file called .portsnap.INDEX. As far as I know, I don't have anything
> configured to run portsnap, but is there something that defaults to running
> portsnap occasionally? I couldn't find anything that would do that.
>

Do your have a crontab entry that is running portsnap with the -I
(update INDEX) option?

http://www.pl.freebsd.org/doc/handbook/portsnap.html


-- 
DISCLAIMER:

No electrons were maimed while sending this message. Only slightly bruised.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Does pkg automatically download INDEX?

2014-08-08 Thread Naram Qashat

On 08/04/14 07:28, David Wolfskill wrote:

On Mon, Aug 04, 2014 at 07:09:33AM -0400, Naram Qashat wrote:

On 08/03/14 22:14, David Wolfskill wrote:

On Sun, Aug 03, 2014 at 10:10:27PM -0400, Naram Qashat wrote:

...
If there is
a way to find out when any process is attempting to modify a file, that would
probably help me narrow it down, but I'm not aware of anything that can do that,
...


Well, "chflags schg /usr/ports/INDEX*" would *prevent* the modification

...
This was a really good suggestion.


Glad to help.  :-)

Peace,
david


OK, so while no programs have whined or complained, I get the feeling that 
something on my system is running portsnap without my knowledge. When I had set 
the schg flag on INDEX-9, an INDEX-9.bz2 file came up. I set the schg flag on 
that as well, and now I notice there are a bunch of files called 
.fetch.??.INDEX-9.bz2 (where ?? is a random string), as well as a file 
called .portsnap.INDEX. As far as I know, I don't have anything configured to 
run portsnap, but is there something that defaults to running portsnap 
occasionally? I couldn't find anything that would do that.


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


Re: Does pkg automatically download INDEX?

2014-08-04 Thread Naram Qashat

On 08/04/14 15:41, Alexander Leidinger wrote:

On Sun, 03 Aug 2014 16:27:36 -0400
Naram Qashat  wrote:


On 08/03/14 15:53, Matthew Seaman wrote:

On 03/08/2014 20:34, Naram Qashat wrote:

Well, I've been using the command line arguments of "-voL '='", and
looking at the man page for pkg-version, as far as I can tell, it
shouldn't be downloading INDEX, since I do have INDEX-9 on my
system.


pkg(8) doesn't download or attempt to build an INDEX at all.  It
can use one if one happens to be already available, but not
otherwise.

Cheers,

Matthew


I'm at a bit of a loss, then. While I can't say for sure if pkg is
doing something unintended, there seems to be something on my system
that is downloading INDEX without my knowledge.

My usual way of updating my INDEX is using p5-FreeBSD-Portindex to
generate the INDEX file, and using that INDEX to update the files
that portupgrade uses. I run that manually, so I have nothing that
would do that for me automatically, to my knowledge.


How do you update the ports tree, with portsnap or with svn? Portnap
also updates the index.

Bye,
Alexander.


I update via svn, so that isn't getting the INDEX updates.

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


Re: Does pkg automatically download INDEX?

2014-08-04 Thread Alexander Leidinger
On Sun, 03 Aug 2014 16:27:36 -0400
Naram Qashat  wrote:

> On 08/03/14 15:53, Matthew Seaman wrote:
> > On 03/08/2014 20:34, Naram Qashat wrote:
> >> Well, I've been using the command line arguments of "-voL '='", and
> >> looking at the man page for pkg-version, as far as I can tell, it
> >> shouldn't be downloading INDEX, since I do have INDEX-9 on my
> >> system.
> >
> > pkg(8) doesn't download or attempt to build an INDEX at all.  It
> > can use one if one happens to be already available, but not
> > otherwise.
> >
> > Cheers,
> >
> > Matthew
> 
> I'm at a bit of a loss, then. While I can't say for sure if pkg is
> doing something unintended, there seems to be something on my system
> that is downloading INDEX without my knowledge.
> 
> My usual way of updating my INDEX is using p5-FreeBSD-Portindex to
> generate the INDEX file, and using that INDEX to update the files
> that portupgrade uses. I run that manually, so I have nothing that
> would do that for me automatically, to my knowledge.

How do you update the ports tree, with portsnap or with svn? Portnap
also updates the index.

Bye,
Alexander.

-- 
http://www.Leidinger.net alexan...@leidinger.net: PGP 0xC773696B3BAC17DC
http://www.FreeBSD.orgnetch...@freebsd.org  : PGP 0xC773696B3BAC17DC
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Does pkg automatically download INDEX?

2014-08-04 Thread Naram Qashat

On 08/03/14 22:14, David Wolfskill wrote:

On Sun, Aug 03, 2014 at 10:10:27PM -0400, Naram Qashat wrote:

...
If there is
a way to find out when any process is attempting to modify a file, that would
probably help me narrow it down, but I'm not aware of anything that can do that,
...


Well, "chflags schg /usr/ports/INDEX*" would *prevent* the modification
-- and with luck, the offending process might whine or squawk (thus
providing you with identification).

"chflags noschg /usr/ports/INDEX*" to undo it.

Peace,
david


This was a really good suggestion. While I wasn't lucky in regards to having a 
process whine about being unable to write to INDEX-9, I did find that now there 
is an INDEX-9.bz2 sitting in /usr/ports, which I assume comes from a download of 
it. I'm going to try setting INDEX-9.bz2 to also have the schg flag on it, maybe 
that'll make a process complain. If not, at least I can modify my manual INDEX 
building to remove the schg flag before updated INDEX and then setting it again 
afterwards.


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


Re: Does pkg automatically download INDEX?

2014-08-03 Thread Naram Qashat

On 08/03/14 21:24, Kevin Oberman wrote:

On Sun, Aug 3, 2014 at 1:27 PM, Naram Qashat mailto:cyberb...@cyberbotx.com>> wrote:

On 08/03/14 15:53, Matthew Seaman wrote:

On 03/08/2014 20:34, Naram Qashat wrote:

Well, I've been using the command line arguments of "-voL '='", and
looking at the man page for pkg-version, as far as I can tell, it
shouldn't be downloading INDEX, since I do have INDEX-9 on my 
system.


pkg(8) doesn't download or attempt to build an INDEX at all.  It can use
one if one happens to be already available, but not otherwise.

 Cheers,

 Matthew


I'm at a bit of a loss, then. While I can't say for sure if pkg is doing
something unintended, there seems to be something on my system that is
downloading INDEX without my knowledge.

My usual way of updating my INDEX is using p5-FreeBSD-Portindex to generate
the INDEX file, and using that INDEX to update the files that portupgrade
uses. I run that manually, so I have nothing that would do that for me
automatically, to my knowledge.


Thanks,
Naram Qasha


Are you doing anything between building the index and running "pkg version"? I
can tell you that portmaster will download the "latest" index unless you use the
--no-index-fetch option. I don't know about other tools, but it caught me by
surpize.
--
R. Kevin Oberman, Network Engineer, Retired
E-mail: rkober...@gmail.com 


I'm not. In fact, I rebuilt the INDEX and did 'pkg version' and it didn't change 
INDEX, which is correct from what Matthew said. But I left the system alone and 
then, without having run any other commands, checked the timestamp of INDEX-9 
again. It was changed, despite having not done anything in between. If there is 
a way to find out when any process is attempting to modify a file, that would 
probably help me narrow it down, but I'm not aware of anything that can do that, 
so if anyone does know, that would be helpful. I had tried to check my 
/var/log/all.log for anything but the only thing that even happened around the 
time when INDEX-9 got changed was Postfix's anvil being called, which I doubt 
would've caused the INDEX-9 to be downloaded.


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


Re: Does pkg automatically download INDEX?

2014-08-03 Thread Kevin Oberman
On Sun, Aug 3, 2014 at 1:27 PM, Naram Qashat 
wrote:

> On 08/03/14 15:53, Matthew Seaman wrote:
>
>> On 03/08/2014 20:34, Naram Qashat wrote:
>>
>>> Well, I've been using the command line arguments of "-voL '='", and
>>> looking at the man page for pkg-version, as far as I can tell, it
>>> shouldn't be downloading INDEX, since I do have INDEX-9 on my system.
>>>
>>
>> pkg(8) doesn't download or attempt to build an INDEX at all.  It can use
>> one if one happens to be already available, but not otherwise.
>>
>> Cheers,
>>
>> Matthew
>>
>
> I'm at a bit of a loss, then. While I can't say for sure if pkg is doing
> something unintended, there seems to be something on my system that is
> downloading INDEX without my knowledge.
>
> My usual way of updating my INDEX is using p5-FreeBSD-Portindex to
> generate the INDEX file, and using that INDEX to update the files that
> portupgrade uses. I run that manually, so I have nothing that would do that
> for me automatically, to my knowledge.
>
>
> Thanks,
> Naram Qasha
>

Are you doing anything between building the index and running "pkg
version"? I can tell you that portmaster will download the "latest" index
unless you use the --no-index-fetch option. I don't know about other tools,
but it caught me by surpize.
--
R. Kevin Oberman, Network Engineer, Retired
E-mail: rkober...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Does pkg automatically download INDEX?

2014-08-03 Thread Naram Qashat

On 08/03/14 15:53, Matthew Seaman wrote:

On 03/08/2014 20:34, Naram Qashat wrote:

Well, I've been using the command line arguments of "-voL '='", and
looking at the man page for pkg-version, as far as I can tell, it
shouldn't be downloading INDEX, since I do have INDEX-9 on my system.


pkg(8) doesn't download or attempt to build an INDEX at all.  It can use
one if one happens to be already available, but not otherwise.

Cheers,

Matthew


I'm at a bit of a loss, then. While I can't say for sure if pkg is doing 
something unintended, there seems to be something on my system that is 
downloading INDEX without my knowledge.


My usual way of updating my INDEX is using p5-FreeBSD-Portindex to generate the 
INDEX file, and using that INDEX to update the files that portupgrade uses. I 
run that manually, so I have nothing that would do that for me automatically, to 
my knowledge.


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


Re: Does pkg automatically download INDEX?

2014-08-03 Thread Matthew Seaman
On 03/08/2014 20:34, Naram Qashat wrote:
> Well, I've been using the command line arguments of "-voL '='", and
> looking at the man page for pkg-version, as far as I can tell, it
> shouldn't be downloading INDEX, since I do have INDEX-9 on my system.

pkg(8) doesn't download or attempt to build an INDEX at all.  It can use
one if one happens to be already available, but not otherwise.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: Does pkg automatically download INDEX?

2014-08-03 Thread Naram Qashat

On 08/03/14 14:57, Matthew Seaman wrote:

On 03/08/2014 18:33, Naram Qashat wrote:

I've been noticing this whenever I do a 'pkg version -v', it shows some
ports as being different from the INDEX, but when I check the actual
port, it isn't the same version that 'pkg version' shows. I usually
rebuild my INDEX manually after doing an svn update, so I'm wondering if
this is pkg doing something or if I have something else doing it. I am
running FreeBSD 9.2.


What 'pkg version' does depends on the command line options you give it
and to the presence or not of the ports INDEX or the ports tree in
general.  It's all described in pkg-version(8).

Cheers,

Matthew


Well, I've been using the command line arguments of "-voL '='", and looking at 
the man page for pkg-version, as far as I can tell, it shouldn't be downloading 
INDEX, since I do have INDEX-9 on my system.


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