Re: portupgrade question

2009-07-09 Thread dan
On Thursday 09 July 2009 01:44:14 Jonathan Chen wrote:
 On Wed, Jul 08, 2009 at 10:20:41PM +0100, RW wrote:
  On Thu, 9 Jul 2009 08:00:28 +1200
 
  Jonathan Chen j...@chen.org.nz wrote:
   On Wed, Jul 08, 2009 at 02:50:17PM +0200, dan wrote:
THat's the point !
   
isnt that -R implied by -N ?
   
From the portupgrade  man page
   
   
[...]
-N
--new
Install a new port/package when a specified package is not
installed. Prior to the installation a new port/package, all the
required packages are upgraded.
  
   No. Since the dependant package *is* installed. It's just not up
   to date.
 
  I don't understand what you're are saying here. My reading of the
  manpage is the same as Dan's: when you install kdeadmin with
  portupgrade -N, everything that kdeadmin requires will be upgraded i.e.
  brought up to date.

 My mistake. It may be a regression with portupgrade; or just that the
 feature in the second sentence has never been implemented due to the
 overlap with -R

Ah, I will send anemail to the maintainer, then. Let's investigate a bit 
more ! ;-)

Many Thanks for your answers!

d
___
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: portupgrade question

2009-07-08 Thread Ivailo Tanusheff
Hi,

The missing switch is the -R parameter of portupdate.
I.e. portupgrade -vnyNbR

Regards,

Ivailo Tanusheff
Deputy Head of IT Department
ProCredit Bank (Bulgaria) AD





dan mesli...@yahoo.fr 
Sent by: owner-freebsd-questi...@freebsd.org
08.07.2009 14:05
Please respond to
mesli...@yahoo.fr


To
freebsd-questions@freebsd.org
cc

Subject
portupgrade question






Hello,

yesterday, having to install kdeadmin, I issued the following command

 portupgrade -vnyNb -l file kdeadmin-3.5.10

Noting that n is negated by y (my mistake), the result of this command 
was 

 + print/cups-base
 + print/xdvik
 + print/cm-super
 + print/teTeX
 + sysutils/kdeadmin3

but I expected portupgrade to also upgrade some packages on which kdeadmin 

depends on (required packages ?). Am I wrong somewhere ? Is the order on 
which the arguments are given relevant ?

To get the result I needed,  I then issued the following command 

 portupgrade -bRv -l file2 kdeadmin-3.5.10 

and the result, as expected, was 

 + converters/libiconv (libiconv-1.13)
 + audio/libogg (libogg-1.1.3,4)
 + audio/celt (celt-0.5.2)
 + audio/libvorbis (libvorbis-1.2.0_3,3)
 + audio/flac (flac-1.2.1)
 + devel/glib20 (glib-2.20.3)
 + audio/libsndfile (libsndfile-1.0.20)
 + audio/arts (arts-1.5.10_1,1)

Thanks,

d
___
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

___
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: portupgrade question

2009-07-08 Thread dan
THat's the point !

isnt that -R implied by -N ?

From the portupgrade  man page 


[...]
-N
--new
Install a new port/package when a specified package is not installed. 
Prior
to the installation a new port/package, all the required packages are
upgraded.
If this option is specified, you can specify a portorigin glob as well 
as a
pkgname glob to specify which port to install. See portsdb(1) for the 
details 
of the 'portorigin glob'. 
[...]

:-)

d

On Wednesday 08 July 2009 13:33:49 Ivailo Tanusheff wrote:
 Hi,

 The missing switch is the -R parameter of portupdate.
 I.e. portupgrade -vnyNbR

 Regards,

 Ivailo Tanusheff
 Deputy Head of IT Department
 ProCredit Bank (Bulgaria) AD





 dan mesli...@yahoo.fr
 Sent by: owner-freebsd-questi...@freebsd.org
 08.07.2009 14:05
 Please respond to
 mesli...@yahoo.fr


 To
 freebsd-questions@freebsd.org
 cc

 Subject
 portupgrade question






 Hello,

 yesterday, having to install kdeadmin, I issued the following command

  portupgrade -vnyNb -l file kdeadmin-3.5.10

 Noting that n is negated by y (my mistake), the result of this command
 was

  + print/cups-base
  + print/xdvik
  + print/cm-super
  + print/teTeX
  + sysutils/kdeadmin3

 but I expected portupgrade to also upgrade some packages on which kdeadmin

 depends on (required packages ?). Am I wrong somewhere ? Is the order on
 which the arguments are given relevant ?

 To get the result I needed,  I then issued the following command

  portupgrade -bRv -l file2 kdeadmin-3.5.10

 and the result, as expected, was

  + converters/libiconv (libiconv-1.13)
  + audio/libogg (libogg-1.1.3,4)
  + audio/celt (celt-0.5.2)
  + audio/libvorbis (libvorbis-1.2.0_3,3)
  + audio/flac (flac-1.2.1)
  + devel/glib20 (glib-2.20.3)
  + audio/libsndfile (libsndfile-1.0.20)
  + audio/arts (arts-1.5.10_1,1)

 Thanks,

 d
 ___
 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


___
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: portupgrade question

2009-07-08 Thread Jonathan Chen
On Wed, Jul 08, 2009 at 02:50:17PM +0200, dan wrote:
 THat's the point !
 
 isnt that -R implied by -N ?
 
 From the portupgrade  man page 
 
 
 [...]
 -N
 --new
   Install a new port/package when a specified package is not installed. 
 Prior
   to the installation a new port/package, all the required packages are
   upgraded.

No. Since the dependant package *is* installed. It's just not up
to date.
-- 
Jonathan Chen j...@chen.org.nz
--
A little learning is a dangerous thing but a lot of ignorance is
 just as bad.  - Bob Edwards
___
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: portupgrade question

2009-07-08 Thread RW
On Thu, 9 Jul 2009 08:00:28 +1200
Jonathan Chen j...@chen.org.nz wrote:

 On Wed, Jul 08, 2009 at 02:50:17PM +0200, dan wrote:
  THat's the point !
  
  isnt that -R implied by -N ?
  
  From the portupgrade  man page 
  
  
  [...]
  -N
  --new
  Install a new port/package when a specified package is not
  installed. Prior to the installation a new port/package, all the
  required packages are upgraded.
 
 No. Since the dependant package *is* installed. It's just not up
 to date.

I don't understand what you're are saying here. My reading of the
manpage is the same as Dan's: when you install kdeadmin with
portupgrade -N, everything that kdeadmin requires will be upgraded i.e.
brought up to date. 



___
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: portupgrade question

2009-07-08 Thread Jonathan Chen
On Wed, Jul 08, 2009 at 10:20:41PM +0100, RW wrote:
 On Thu, 9 Jul 2009 08:00:28 +1200
 Jonathan Chen j...@chen.org.nz wrote:
 
  On Wed, Jul 08, 2009 at 02:50:17PM +0200, dan wrote:
   THat's the point !
   
   isnt that -R implied by -N ?
   
   From the portupgrade  man page 
   
   
   [...]
   -N
   --new
 Install a new port/package when a specified package is not
   installed. Prior to the installation a new port/package, all the
   required packages are upgraded.
  
  No. Since the dependant package *is* installed. It's just not up
  to date.
 
 I don't understand what you're are saying here. My reading of the
 manpage is the same as Dan's: when you install kdeadmin with
 portupgrade -N, everything that kdeadmin requires will be upgraded i.e.
 brought up to date. 

My mistake. It may be a regression with portupgrade; or just that the
feature in the second sentence has never been implemented due to the
overlap with -R
-- 
Jonathan Chen j...@chen.org.nz
--
Irrationality is the square root of all evil
  - Douglas Hofstadter
___
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: portupgrade question

2009-04-07 Thread Jeffrey Goldberg

On Apr 6, 2009, at 8:59 PM, Glen Barber wrote:


On Mon, Apr 6, 2009 at 9:55 PM, new_guy byte8b...@gmail.com wrote:



Is there a way to use portupgrade without all the stopping for config
questions?



You could add:

  BATCH=yes

to /etc/make.conf.


Or use the --batch command line option to portupgrade.

Or use the -c option (as mentioned by someone else in this thread) to  
do all of the config questions up front.  I didn't know about that one.


-j



--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

___
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: portupgrade question

2009-04-07 Thread mv
On Tue, 7 April 2009 16:17:40 Jeffrey Goldberg wrote:
 On Apr 6, 2009, at 8:59 PM, Glen Barber wrote:
  On Mon, Apr 6, 2009 at 9:55 PM, new_guy byte8b...@gmail.com wrote:
  Is there a way to use portupgrade without all the stopping for
  config questions?
 
  You could add:
 
BATCH=yes
 
  to /etc/make.conf.

 Or use the --batch command line option to portupgrade.

 Or use the -c option (as mentioned by someone else in this thread) to
 do all of the config questions up front.  I didn't know about that
 one.

 -j

Or use portconfig -a

My usual updating routine involves:

- update the ports tree using csup

- update the INDEX-x with the command make index in the 
directory /usr/ports

- download all the tarballs upfront with the command portfetch -a -v

- do all the configuration upfront with the command portconfig -a

- do an unattended compile/install of the ports with the 
command portmaster -a -u -d -v

The ports portconfig   portfetch are part of sysutils/bsdadminscripts.

Portmaster can be found at ports-mgmt/portmaster.

It is possible to write a simple shell script that automatically does 
all of the above.  The only time attention is required is to enter data 
during the configuration process.

Cheers...

Marek

___
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: portupgrade question

2009-04-06 Thread Glen Barber
On Mon, Apr 6, 2009 at 9:55 PM, new_guy byte8b...@gmail.com wrote:

 Hi,

 Silly question... when I use portupgrade on gnome installs, it interrupts
 itself a lot to prompt for config options. I normally take all the defaults.
 Is there a way to use portupgrade without all the stopping for config
 questions? I'd like to leave my laptop alone over-night doing a portupgrade
 of gnome... etc without baby-sitting it. If something does happen to get
 built without a setting I want, I can always redo it later, but for 95% of
 all the builds, I take the defaults and would rather not be prompted on
 those.


You could add:

   BATCH=yes

to /etc/make.conf.

-- 
Glen Barber
___
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: portupgrade question

2009-04-06 Thread Warren Block

On Mon, 6 Apr 2009, new_guy wrote:


Silly question... when I use portupgrade on gnome installs, it interrupts
itself a lot to prompt for config options. I normally take all the defaults.
Is there a way to use portupgrade without all the stopping for config
questions? I'd like to leave my laptop alone over-night doing a portupgrade
of gnome... etc without baby-sitting it. If something does happen to get
built without a setting I want, I can always redo it later, but for 95% of
all the builds, I take the defaults and would rather not be prompted on
those.


'portupgrade -c' causes it to show all the config screens first.

-Warren Block * Rapid City, South Dakota USA
___
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: portupgrade question (failed updates)

2009-03-17 Thread Frank Shute
On Tue, Mar 17, 2009 at 03:24:10PM -0500, Neal Hogan wrote:

 What do we do about packages that fail to update?
 
 This is my first time running portupgrade, and am unsure what to think about
 the ones where there is a configure error or uknown build error or
 install error
 
 FYI -- I followed the following steps:
 1) upgraded from 7.0-RELEASE to 7.1-RELEASE
 2) updated /usr/ports: #portsnap fetch/extract/update
 3) udated db: #pkgdb -u
 4) fixed db: #pkgdb -F
 5) updated installed packages: #portupgrade -av
 
 At the end of the week-long process I have 6 failed attempts:
 linux-atk-1.9.1 (install error)
 linux-pango-1.10.2 (install error)
 intltool-0.37.1 (unknown build error)
 xkeyboard-config-1.3 (configure error)
 shared-mime-info-0.51 (configure error)
 policykit-0.9_1 (configure error)
 
 My system seems to run just fine. So, should I be worried?
 
 Thanks!

If your system runs fine then you've got a bit of time on your hands
to investigate further into why those ports didn't build.

First, check /usr/ports/UPDATING for any errata against those ports.
Then upgrade them one by one. E.g:

# portupgrade -v linux-atk

etc.

and take note of whereabouts in the build process it is failing. The
use of scrl-lock and page-up/down is recommended in looking at the
output or use script(1).

You should be able to figure out what is going wrong from the output.
If you can't, post the output of portupgrade (snipped around where it
goes wrong) to this list and people will help you.

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
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: portupgrade question

2009-02-24 Thread Glen Barber
On Tue, Feb 24, 2009 at 9:13 PM, gahn ipfr...@yahoo.com wrote:
 Hi all:

 I was doing portupgrade -fa -y remotely via ssh (desktop xp), it worked 
 fine and was still running almost two days (7.1). But suddenly i lost power 
 on my xp station, lost ssh connection to the freebsd7.1 box.

 What shall i do so that i don't have to start over again?


Next time, use sysutils/screen.  You *should* just be able to restart
the portupgrade, and (ideally) it should start where it left off.

-- 
Glen Barber
___
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: portupgrade question

2009-02-24 Thread gahn
Thanks Glen:

Never used screen. Does that mean it is too late and I have to start over again?




--- On Tue, 2/24/09, Glen Barber glen.j.bar...@gmail.com wrote:

 From: Glen Barber glen.j.bar...@gmail.com
 Subject: Re: portupgrade question
 To: ipfr...@yahoo.com
 Cc: freebsd general questions freebsd-questions@freebsd.org
 Date: Tuesday, February 24, 2009, 6:16 PM
 On Tue, Feb 24, 2009 at 9:13 PM, gahn
 ipfr...@yahoo.com wrote:
  Hi all:
 
  I was doing portupgrade -fa -y remotely
 via ssh (desktop xp), it worked fine and was still running
 almost two days (7.1). But suddenly i lost power on my xp
 station, lost ssh connection to the freebsd7.1 box.
 
  What shall i do so that i don't have to start over
 again?
 
 
 Next time, use sysutils/screen.  You *should* just be able
 to restart
 the portupgrade, and (ideally) it should start where it
 left off.
 
 -- 
 Glen Barber
 ___
 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


  
___
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: portupgrade question

2009-02-24 Thread Glen Barber
On Tue, Feb 24, 2009 at 9:25 PM, gahn ipfr...@yahoo.com wrote:
 Thanks Glen:

 Never used screen. Does that mean it is too late and I have to start over 
 again?


Note that I said:  You *should* just be able to restart
the portupgrade, and (ideally) it should start where it left off.

Otherwise, yes, it is too late.

-- 
Glen Barber
___
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: portupgrade question

2009-02-24 Thread gahn
Thanks Glen:

So use portupgrade -fa -y again or a bit different knobs?


--- On Tue, 2/24/09, Glen Barber glen.j.bar...@gmail.com wrote:

 From: Glen Barber glen.j.bar...@gmail.com
 Subject: Re: portupgrade question
 To: ipfr...@yahoo.com
 Cc: freebsd general questions freebsd-questions@freebsd.org
 Date: Tuesday, February 24, 2009, 6:16 PM
 On Tue, Feb 24, 2009 at 9:13 PM, gahn
 ipfr...@yahoo.com wrote:
  Hi all:
 
  I was doing portupgrade -fa -y remotely
 via ssh (desktop xp), it worked fine and was still running
 almost two days (7.1). But suddenly i lost power on my xp
 station, lost ssh connection to the freebsd7.1 box.
 
  What shall i do so that i don't have to start over
 again?
 
 
 Next time, use sysutils/screen.  You *should* just be able
 to restart
 the portupgrade, and (ideally) it should start where it
 left off.
 
 -- 
 Glen Barber
 ___
 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


  
___
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: portupgrade question

2009-02-24 Thread Glen Barber
On Tue, Feb 24, 2009 at 9:29 PM, gahn ipfr...@yahoo.com wrote:
 Thanks Glen:

 So use portupgrade -fa -y again or a bit different knobs?



Please stop top-posting.

Continue with the command you had already used.

-- 
Glen Barber
___
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: portupgrade question

2009-02-24 Thread Robert Huff

Glen Barber writes:

   Never used screen. Does that mean it is too late and I have to
start over again? 
  
  Note that I said: You *should* just be able to restart the
  portupgrade, and (ideally) it should start where it left off.

Not according to my understanding of portupgrade.  It's going to
try to rebuild every port (-a) whether it needs it or not (-f).


Robert Huff

___
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: portupgrade question

2009-02-24 Thread Glen Barber
On Tue, Feb 24, 2009 at 9:43 PM, Robert Huff roberth...@rcn.com wrote:

 Glen Barber writes:

   Never used screen. Does that mean it is too late and I have to
    start over again?

  Note that I said: You *should* just be able to restart the
  portupgrade, and (ideally) it should start where it left off.

        Not according to my understanding of portupgrade.  It's going to
 try to rebuild every port (-a) whether it needs it or not (-f).



Then he should remove the -f flag.


-- 
Glen Barber
___
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: portupgrade question

2009-02-24 Thread RW
On Tue, 24 Feb 2009 18:13:19 -0800 (PST)
gahn ipfr...@yahoo.com wrote:

 Hi all:
 
 I was doing portupgrade -fa -y remotely via ssh (desktop xp), it
 worked fine and was still running almost two days (7.1). But suddenly
 i lost power on my xp station, lost ssh connection to the freebsd7.1
 box.
 
 What shall i do so that i don't have to start over again?

If you know roughly when you started the run you can do something like
this:

portupgrade -f -y '2009-02-22 12:00'
___
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: portupgrade question

2008-05-14 Thread Kevin Oberman
 Date: Wed, 14 May 2008 12:35:03 +1000
 From: Fraser Tweedale [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 AN wrote:
  I installed openoffice 2.4.0 from ports with:
  make -DWITHOUT_MOZILLA install clean
  
  Now, when I do a portupgrade it tries to install mozilla:
  
  To build OOo, you should have a lot
  of free diskspace (~ 11GB) and memory (~ 2GB).
  If you want SDK and/or solver, please type make sdk and/or make solver
  = mozilla-source-1.7.5.tar.gz doesn't seem to exist in 
  /usr/ports/distfiles/openoffice.org2.
  = Attempting to fetch from 
  http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/.
   
  
  mozilla-source-1.7.5.tar.gz 0% of   36 MB  108 kBps^C
  fetch: transfer interrupted
  
  How do I portupgrade openoffice and get it to use the -DWITHOUT_MOZILLA 
  option from the command line? What is the correct way to do this?
  
  TIA
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 Set the following in /usr/local/etc/pkgtools.conf:
 
 MAKE_ARGS = {
   'editors/openoffice.org-2' = 'WITHOUT_MOZILLA=1',
 }
 
 frase
 

When I did this, I had to put in:
 'editors/openoffice.org*' = '-DWITH_SYSTEM_FREETYPE -DWITHOUT_MOZILLA',
  to get it to build the way I wanted it to. Without the '-D', it
simply didn't do anything.

It's easy to tell if it is working because the 'make config' will not
list the options that are defined. (This may be openoffice.org
specific.) If you see it list WITHOUT_MOZILLA in the options, it means
it will build with mozilla.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751


pgpbTZ5IQWuTs.pgp
Description: PGP signature


Re: portupgrade question

2008-05-13 Thread Jonathan Chen
On Tue, May 13, 2008 at 11:05:02PM +, AN wrote:
 I installed openoffice 2.4.0 from ports with:
 make -DWITHOUT_MOZILLA install clean
 
 Now, when I do a portupgrade it tries to install mozilla:
 
 To build OOo, you should have a lot
 of free diskspace (~ 11GB) and memory (~ 2GB).
 If you want SDK and/or solver, please type make sdk and/or make solver
 = mozilla-source-1.7.5.tar.gz doesn't seem to exist in
 /usr/ports/distfiles/openoffice.org2.
 = Attempting to fetch from
 http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/.
 mozilla-source-1.7.5.tar.gz 0% of   36 MB  108 kBps^C
 fetch: transfer interrupted
 
 How do I portupgrade openoffice and get it to use the -DWITHOUT_MOZILLA
 option from the command line? What is the correct way to do this?

The way I prefer to do it is to install ports-mgmt/portconf, and then
have an entry in /usr/local/etc/ports.conf of:

  editors/openoffice.org-*: WITHOUT_MOZILLA

portconf will ensure that the WITHOUT_MOZILLA flag is passed to make(1)
when you do a manual port install, or through portupgrade, or through
portmaster.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
Don't worry about avoiding temptation,
as you grow older, it starts avoiding you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade question

2008-05-13 Thread Fraser Tweedale

AN wrote:

I installed openoffice 2.4.0 from ports with:
make -DWITHOUT_MOZILLA install clean

Now, when I do a portupgrade it tries to install mozilla:

To build OOo, you should have a lot
of free diskspace (~ 11GB) and memory (~ 2GB).
If you want SDK and/or solver, please type make sdk and/or make solver
= mozilla-source-1.7.5.tar.gz doesn't seem to exist in 
/usr/ports/distfiles/openoffice.org2.
= Attempting to fetch from 
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/. 


mozilla-source-1.7.5.tar.gz 0% of   36 MB  108 kBps^C
fetch: transfer interrupted

How do I portupgrade openoffice and get it to use the -DWITHOUT_MOZILLA 
option from the command line? What is the correct way to do this?


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


Set the following in /usr/local/etc/pkgtools.conf:

MAKE_ARGS = {
'editors/openoffice.org-2' = 'WITHOUT_MOZILLA=1',
}

frase



signature.asc
Description: OpenPGP digital signature


Re: portupgrade question

2008-05-13 Thread Jeremy Messenger

On Tue, 13 May 2008 17:54:15 -0500, AN [EMAIL PROTECTED] wrote:


I installed openoffice 2.4.0 from ports with:
make -DWITHOUT_MOZILLA install clean

Now, when I do a portupgrade it tries to install mozilla:

To build OOo, you should have a lot
of free diskspace (~ 11GB) and memory (~ 2GB).
If you want SDK and/or solver, please type make sdk and/or make solver
= mozilla-source-1.7.5.tar.gz doesn't seem to exist in  
/usr/ports/distfiles/openoffice.org2.
= Attempting to fetch from  
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/.

mozilla-source-1.7.5.tar.gz 0% of   36 MB  108 kBps^C
fetch: transfer interrupted

How do I portupgrade openoffice and get it to use the -DWITHOUT_MOZILLA  
option from the command line? What is the correct way to do this?


The portupgrade(1) is your best friend. ;-)

# man portupgrade

Cheers,
Mezz


TIA



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


Re: portupgrade question

2008-05-13 Thread Sahil Tandon
* AN [EMAIL PROTECTED] [05-13-2008]:

 How do I portupgrade openoffice and get it to use the -DWITHOUT_MOZILLA
 option from the command line? What is the correct way to do this?

Look for references to MAKE_ARGS in $PREFIX/etc/pkgtools.conf.

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


Re: portupgrade question

2007-08-15 Thread Nikola Lecic
On Wed, 15 Aug 2007 08:36:53 +0400 (GST)
Rakhesh Sasidharan [EMAIL PROTECTED] wrote:

 Nikola Lecic wrote:
 
  Yes, options are not saved that way and Vim's default is with X11.
  Please make sure that the following lines exist in
  your /usr/local/etc/pkgtools.conf:
 
   MAKE_ARGS = {
  'editors/vim' = 'NO_GUI=yes',
  [... options for other ports ...]
   }
 
  Next time portupgrade will honour it (without -P/-PP options, of
  course).
 
 As far as I know, portupgrade won't honour this setting vim is
 upgraded as a dependency of some other port. (Please correct me if
 I'm wrong. I haven't tried this; its just something I read).

At least with portupgrade-devel, that doesn't seem true. I read it
too, and the source was an unofficial blog. For example, I have:

  MAKE_ARGS = {
  [...]
  'print/apsfilter'   = 'PAPERSIZE=a4',
  'print/ghostscript-gpl' = 'A4=yes',
  [...]
  }

ghostscript-gpl is a dependency of apsfilter. Now, ghostscript-gpl
needed update. I removed apsfilter for this testing purpose and:

  # portupgrade -NR apsfilter
  [...]
  ---  Installing 'apsfilter-7.2.8_3' from a port (print/apsfilter)
  ---  Building '/usr/ports/print/apsfilter' with make flags: PAPERSIZE=a4
  [...]
  ---  Upgrading 'ghostscript-gpl-8.57' to 'ghostscript-gpl-8.57_1'
(print/ghostscript-gpl)
  ---  Building '/usr/ports/print/ghostscript-gpl' with make flags: A4=yes 
A4=yes

 So the /etc/make.conf option is better.

It is definitively the most universal and IMHO it should appear in the
Handbook.

I just like to keep all ports/packages upgrading options at the same
place (USE_PKGS, MAKE_ARGS, USE_PKGS_ONLY...).

BTW, as far as I can recollect, as a global-honouring tool for ports
configuration, the most frequently quoted one along these lists was
ports-mgmt/portconf.

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


Re: portupgrade question

2007-08-15 Thread Robert Huff

Nikola Lecic wrote:

 So the /etc/make.conf option is better.

  It is definitively the most universal and IMHO it should appear
  in the Handbook.

I try to avoid setting things in make.conf that do not need to
be set there.  Why?  Because - as far as I know - they will apply to
_everything_ that uses the standard make infrastructure.
That includes today's port, where WITH_MUMBLEFROTZ is
essential.
It also includes the equally critical port you're trying to
install in nine months, long after you forgot you put
WITH_MUMBLEFROTZ in make.conf, and whose resultant misbehavior will
be difficult to diagnose.  (Misspell something, and you might even
affect compiling the OS.  No thanks.)
I use portupgrade and pkgtools.conf.  Perhaps not the fastest,
but generally reliable and has few unintended consequences.


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


Re: portupgrade question

2007-08-15 Thread Christopher Key

Nikola Lecic wrote:

On Wed, 15 Aug 2007 08:36:53 +0400 (GST)
Rakhesh Sasidharan [EMAIL PROTECTED] wrote:

  

Nikola Lecic wrote:



Yes, options are not saved that way and Vim's default is with X11.
Please make sure that the following lines exist in
your /usr/local/etc/pkgtools.conf:

 MAKE_ARGS = {
'editors/vim' = 'NO_GUI=yes',
[... options for other ports ...]
 }

Next time portupgrade will honour it (without -P/-PP options, of
course).
  

As far as I know, portupgrade won't honour this setting vim is
upgraded as a dependency of some other port. (Please correct me if
I'm wrong. I haven't tried this; its just something I read).



At least with portupgrade-devel, that doesn't seem true. I read it
too, and the source was an unofficial blog. For example, I have:

  MAKE_ARGS = {
  [...]
  'print/apsfilter'   = 'PAPERSIZE=a4',
  'print/ghostscript-gpl' = 'A4=yes',
  [...]
  }

ghostscript-gpl is a dependency of apsfilter. Now, ghostscript-gpl
needed update. I removed apsfilter for this testing purpose and:

  # portupgrade -NR apsfilter
  [...]
  ---  Installing 'apsfilter-7.2.8_3' from a port (print/apsfilter)
  ---  Building '/usr/ports/print/apsfilter' with make flags: PAPERSIZE=a4
  [...]
  ---  Upgrading 'ghostscript-gpl-8.57' to 'ghostscript-gpl-8.57_1'
(print/ghostscript-gpl)
  ---  Building '/usr/ports/print/ghostscript-gpl' with make flags: A4=yes 
A4=yes

  

So the /etc/make.conf option is better.



It is definitively the most universal and IMHO it should appear in the
Handbook.

I just like to keep all ports/packages upgrading options at the same
place (USE_PKGS, MAKE_ARGS, USE_PKGS_ONLY...).

BTW, as far as I can recollect, as a global-honouring tool for ports
configuration, the most frequently quoted one along these lists was
ports-mgmt/portconf.

Nikola Lečić
  

Thanks Nikola, Roland, Rakhesh,

I've gone for a portconf based solution for now, although, when I get 
the chance, I'll try to test how portupgrade behaves wrt dependencies.  
I would prefer to use pkgtools.conf for several reasons:


1) It keeps all the ports related configuration together
2) MAKE_ARGS get echoed when things are being built, whereas arguments 
in make.conf don't seem to
3) If I run 'make install clean', I'd rather it built things as default, 
rather than just being an alternative to 'portupgrade -N'


Regards,

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


Re: portupgrade question

2007-08-15 Thread RW
On Wed, 15 Aug 2007 07:56:52 -0400
Robert Huff [EMAIL PROTECTED] wrote:

 
 Nikola Lecic wrote:
 
  So the /etc/make.conf option is better.
 
   It is definitively the most universal and IMHO it should appear
   in the Handbook.
 
   I try to avoid setting things in make.conf that do not need to
 be set there.  Why?  Because - as far as I know - they will apply to
 _everything_ that uses the standard make infrastructure.

Not if you define them conditionally as Roland suggested - portsconf
is equivalent to this.

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


Re: portupgrade question

2007-08-15 Thread Nikola Lecic
On Wed, 15 Aug 2007 13:18:11 +0100
Christopher Key [EMAIL PROTECTED] wrote:

[...]
 I've gone for a portconf based solution for now, although, when I get 
 the chance, I'll try to test how portupgrade behaves wrt
 dependencies.

Please don't forget to try switching to portupgrade-devel in that case.
According to /usr/ports/UPDATING recommendations (20070519):

  # portupgrade -f -o ports-mgmt/portupgrade-devel portupgrade
  # ...
  (etc., do the rest in order to rebuild /var/db/ bits and to build or
  fetch the new INDEX.)

If dependencies bug ever really existed (I can't remember that anyone
confirmed that offering an example), it was related to non-devel
version.

 I would prefer to use pkgtools.conf for several reasons:
[...]
 2) MAKE_ARGS get echoed when things are being built, whereas
 arguments in make.conf don't seem to

Agree here, this is sometimes the only 100% sure method to know how the
binary in question was really built.

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


Re: portupgrade question

2007-08-14 Thread Nikola Lecic
On Tue, 14 Aug 2007 21:12:40 +0100
Christopher Key [EMAIL PROTECTED] wrote:

 Hello,
 
 I've just CVSupped my ports collection and run 'portupgrade -ra'.

Hello Christopher,

'portupgrade -a' is just enough, '-r' means nothing here.

 One of the ports that was updated was vim, which had originally been 
 installed without X11:
 
 # cd /usr/ports/editors/vim
 # NO_GUI=1 make install clean
 
 Now, this option appears to have been lost as I've ended up with a
 full X11 installation.  Is this the expected behaviour, or did I do
 something wrong?

Yes, options are not saved that way and Vim's default is with X11.
Please make sure that the following lines exist in
your /usr/local/etc/pkgtools.conf:

  MAKE_ARGS = {
'editors/vim' = 'NO_GUI=yes',
[... options for other ports ...]
  }

Next time portupgrade will honour it (without -P/-PP options, of
course).

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


Re: portupgrade question

2007-08-14 Thread Roland Smith
On Wed, Aug 15, 2007 at 12:40:30AM +0200, Nikola Lecic wrote:
 On Tue, 14 Aug 2007 21:12:40 +0100
 Christopher Key [EMAIL PROTECTED] wrote:
 
  Hello,
  
  I've just CVSupped my ports collection and run 'portupgrade -ra'.
 
 Hello Christopher,
 
 'portupgrade -a' is just enough, '-r' means nothing here.
 
  One of the ports that was updated was vim, which had originally been 
  installed without X11:
  
  # cd /usr/ports/editors/vim
  # NO_GUI=1 make install clean
  
  Now, this option appears to have been lost as I've ended up with a
  full X11 installation.  Is this the expected behaviour, or did I do
  something wrong?
 
 Yes, options are not saved that way and Vim's default is with X11.
 Please make sure that the following lines exist in
 your /usr/local/etc/pkgtools.conf:

Alternatively, you can put the defines in /etc/make.conf. That way it
will be used whatever build/upgrade tool you use;

.if ${.CURDIR:M*/editors/vim*}
NO_GUI=yes
.endif

Note the * after vim, so it will work for all versions.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp8aPVQEhoTK.pgp
Description: PGP signature


Re: portupgrade question

2007-08-14 Thread Rakhesh Sasidharan

Nikola Lecic wrote:


Yes, options are not saved that way and Vim's default is with X11.
Please make sure that the following lines exist in
your /usr/local/etc/pkgtools.conf:

 MAKE_ARGS = {
'editors/vim' = 'NO_GUI=yes',
[... options for other ports ...]
 }

Next time portupgrade will honour it (without -P/-PP options, of
course).


As far as I know, portupgrade won't honour this setting vim is upgraded as 
a dependency of some other port. (Please correct me if I'm wrong. I 
haven't tried this; its just something I read). So the /etc/make.conf 
option is better.


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


Re: portupgrade question

2007-07-21 Thread Michael S. Eubanks
On Fri, 2007-07-20 at 17:12 +0100, RW wrote:
 On Thu, 19 Jul 2007 10:57:05 -0700
 Michael S. Eubanks [EMAIL PROTECTED] wrote:
 
  Don't use the ``p'' option.  Use something like ``-afrRPv''.
 
 
 -Rr doesn't  actually do anything in combination with -a 

Make sense.  I've been using these instructions for awhile now:

http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html

After all this time, go figure.


Cheers,
 Michael S. Eubanks
 [EMAIL PROTECTED]




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


Re: portupgrade question

2007-07-20 Thread RW
On Thu, 19 Jul 2007 10:57:05 -0700
Michael S. Eubanks [EMAIL PROTECTED] wrote:

 Don't use the ``p'' option.  Use something like ``-afrRPv''.


-Rr doesn't  actually do anything in combination with -a 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade question

2007-07-19 Thread Michael S. Eubanks
On Thu, 2007-07-19 at 12:29 -0500, Jonathan Horne wrote:
 ive been using 'portupgrade -apP' on my systems lately (since i keep a 
 central 
 repository of packages i build for my systems; a good bulk of them are used 
 across most/all of them).  
 
 in situations where new packages are built from ports (ie, when the package 
 in /usr/ports/packages/All is no longer the most current), the -p is going 
 back and repackaging lots of packages that already exist.  is there a way to 
 tell portupgrade not to repackage things that are not new versions?
 
 thanks,

Don't use the ``p'' option.  Use something like ``-afrRPv''.

Force upgrade of all ports, their dependants and dependencies
(recursively), build a package of the the newly compiled port, and do it
verbosely.

Or just use ``-arRPv'' if you do not want to rebuild or reinstall
current ports (while still building packages).


-Michael S. Eubanks
 [EMAIL PROTECTED]




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


Re: portupgrade question

2006-10-22 Thread Gerard Seibert
On Saturday October 21, 2006 at 08:29:05 (PM) Tsu-Fan Cheng wrote:


 Hi people,
I just did the portupgrade -rf pkg-config\* to upgrade the apps, but i
 think some of the upgrades went wrong so there are a whole bunch ports
 skipped. I noticed glib20 has some compilation error, and probably is the
 cause to all the rest. To fix this, should I apply the same command or can i
 use portupgrade -fr glib-2\* ? thanks!!

I experienced the same problem. I simply ran:

 portmanager -u -l -y

and everything got built correctly.


-- 
Gerard

 Friends come and go but enemies accumulate.

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


Re: portupgrade question

2006-07-21 Thread Andrew Pantyukhin

On 7/20/06, Nagy László [EMAIL PROTECTED] wrote:

After running

portupgrade -aP

I get this:

** Listing the failed packages (*:skipped / !:failed)
! textproc/linux-expat (linux-expat-1.95.7_1)   (install error)
* x11-fonts/linux-fontconfig (linux-fontconfig-2.2.3_4)
* x11/linux-XFree86-libs (linux-XFree86-libs-4.3.99.902_7)
---  Packages processed: 0 done, 136 ignored, 2 skipped and 1 failed
** Could not clean up temporary directory: Directory not empty -
/var/tmp/portupgradeibUXCdq2

It ignored 136 packages. Is this safe? How can I know what it ignored
and why?


Packages are usually ignored if they need no update
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade question (solved)

2006-06-08 Thread Michael S

I did define the to environment variables. For some reason, wget works
just fine on the same machine.

Thanks a lot.

On 6/7/06, Kris Kennaway [EMAIL PROTECTED] wrote:

On Wed, Jun 07, 2006 at 04:35:12PM -0400, Michael S wrote:
 wget works like magic. I used the defaults. fetch I guess is the
 FreeBSD default for fetching files from the web. It was having
 problems fetching files from FTP sites.
 No idea what the problem is.

Try setting FTP_PASSIVE_MODE.  This is set in the default login class,
but perhaps you have modified it.

Kris


 On 6/7/06, Kris Kennaway [EMAIL PROTECTED] wrote:
 On Wed, Jun 07, 2006 at 09:38:36AM -0400, Michael S wrote:
  Good day everyone!
 
  I have a portupgrade related question. I am behind a proxy and fetch
  doesn't appear to cope with it very well.
 
 What did you try?  fetch works fine with proxies for the rest of us :)
 
 Kris
 
 
 





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


Re: portupgrade question (solved)

2006-06-08 Thread Kris Kennaway
On Wed, Jun 07, 2006 at 09:29:10PM -0400, Michael S wrote:
 I did define the to environment variables. For some reason, wget works
 just fine on the same machine.

Different defaults.

 Thanks a lot.

np.

Kris


pgpbQ76wJJ4Xj.pgp
Description: PGP signature


Re: portupgrade question (solved)

2006-06-08 Thread Rafael Aquino
I solved thid problem after export to the environment the variable
FETCH_CMD=fetch -p.

--
Rafael Mentz Aquino
BSDServer Ltda.
51 - 9847 8825

-- Original Message ---
From: Michael S [EMAIL PROTECTED]
To: Kris Kennaway [EMAIL PROTECTED]
Cc: FreeBSD Mailing List freebsd-questions@freebsd.org
Sent: Wed, 7 Jun 2006 21:29:10 -0400
Subject: Re: portupgrade question (solved)

 I did define the to environment variables. For some reason, wget 
 works just fine on the same machine.
 
 Thanks a lot.
 
 On 6/7/06, Kris Kennaway [EMAIL PROTECTED] wrote:
  On Wed, Jun 07, 2006 at 04:35:12PM -0400, Michael S wrote:
   wget works like magic. I used the defaults. fetch I guess is the
   FreeBSD default for fetching files from the web. It was having
   problems fetching files from FTP sites.
   No idea what the problem is.
 
  Try setting FTP_PASSIVE_MODE.  This is set in the default login class,
  but perhaps you have modified it.
 
  Kris
 
  
   On 6/7/06, Kris Kennaway [EMAIL PROTECTED] wrote:
   On Wed, Jun 07, 2006 at 09:38:36AM -0400, Michael S wrote:
Good day everyone!
   
I have a portupgrade related question. I am behind a proxy and fetch
doesn't appear to cope with it very well.
   
   What did you try?  fetch works fine with proxies for the rest of us :)
   
   Kris
   
   
   
  
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
--- End of Original Message ---

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


Re: portupgrade question

2006-06-07 Thread Andrey Slusar
Wed, 7 Jun 2006 09:38:36 -0400, Michael S wrote:

 I have a portupgrade related question. I am behind a proxy and fetch
 doesn't appear to cope with it very well. I installed wget and it
 works great. I updated the pkgtools.conf to reflect that, however
 portupgrade insists on using fetch for some reason. At first I thought
 that portupgrade ignored its configuration file, however once or twice
 I misstyped something and it did catch it.
 Any hints?

 echo 'FETCH_CMD=/etc/fetch_wget' /etc/make.conf
,[ fetch_wget ]
| #!/bin/sh
| eval url=\${$#}
| echo invoked as fetch_cmd $*
| wget -c some you proxy options $url
`

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


Re: portupgrade question

2006-06-07 Thread Michael S

Thanks, I will definitely try it out.

On 6/7/06, Andrey Slusar [EMAIL PROTECTED] wrote:

Wed, 7 Jun 2006 09:38:36 -0400, Michael S wrote:

 I have a portupgrade related question. I am behind a proxy and fetch
 doesn't appear to cope with it very well. I installed wget and it
 works great. I updated the pkgtools.conf to reflect that, however
 portupgrade insists on using fetch for some reason. At first I thought
 that portupgrade ignored its configuration file, however once or twice
 I misstyped something and it did catch it.
 Any hints?

 echo 'FETCH_CMD=/etc/fetch_wget' /etc/make.conf
,[ fetch_wget ]
| #!/bin/sh
| eval url=\${$#}
| echo invoked as fetch_cmd $*
| wget -c some you proxy options $url
`

--
Regards,
Andrey.


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


Re: portupgrade question

2006-06-07 Thread Kris Kennaway
On Wed, Jun 07, 2006 at 09:38:36AM -0400, Michael S wrote:
 Good day everyone!
 
 I have a portupgrade related question. I am behind a proxy and fetch
 doesn't appear to cope with it very well.

What did you try?  fetch works fine with proxies for the rest of us :)

Kris


pgpQqWxSTgnVY.pgp
Description: PGP signature


Re: portupgrade question

2006-06-07 Thread Toni Schmidbauer
At Wed, 7 Jun 2006 09:38:36 -0400,
Michael S wrote:
 I have a portupgrade related question. I am behind a proxy and fetch
 doesn't appear to cope with it very well. I installed wget and it
 works great. I updated the pkgtools.conf to reflect that, however
 portupgrade insists on using fetch for some reason. At first I thought
 that portupgrade ignored its configuration file, however once or twice
 I misstyped something and it did catch it.

did your set HTTP_PROXY and FTP_PROXY in your shell environment?

see fetch(3).

hth,
toni
-- 
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade question

2006-06-07 Thread Michael S

I had them set, but in lower case - $http_proxy and $ftp_proxy. wget
doesn't have a problem with that.
More precisely (applogies for not specifying in the first place) the
problem was retrieving files from FTP hosts. HTTP sites were fine.

On 6/7/06, Toni Schmidbauer [EMAIL PROTECTED] wrote:

At Wed, 7 Jun 2006 09:38:36 -0400,
Michael S wrote:
 I have a portupgrade related question. I am behind a proxy and fetch
 doesn't appear to cope with it very well. I installed wget and it
 works great. I updated the pkgtools.conf to reflect that, however
 portupgrade insists on using fetch for some reason. At first I thought
 that portupgrade ignored its configuration file, however once or twice
 I misstyped something and it did catch it.

did your set HTTP_PROXY and FTP_PROXY in your shell environment?

see fetch(3).

hth,
toni
--
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|


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


Re: portupgrade question

2006-06-07 Thread Michael S

wget works like magic. I used the defaults. fetch I guess is the
FreeBSD default for fetching files from the web. It was having
problems fetching files from FTP sites.
No idea what the problem is.

On 6/7/06, Kris Kennaway [EMAIL PROTECTED] wrote:

On Wed, Jun 07, 2006 at 09:38:36AM -0400, Michael S wrote:
 Good day everyone!

 I have a portupgrade related question. I am behind a proxy and fetch
 doesn't appear to cope with it very well.

What did you try?  fetch works fine with proxies for the rest of us :)

Kris




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


Re: portupgrade question

2006-06-07 Thread Andy Reitz
On Wed, 7 Jun 2006, Michael S wrote:

 Good day everyone!

 I have a portupgrade related question. I am behind a proxy and fetch
 doesn't appear to cope with it very well. I installed wget and it
 works great. I updated the pkgtools.conf to reflect that, however
 portupgrade insists on using fetch for some reason. At first I thought
 that portupgrade ignored its configuration file, however once or twice
 I misstyped something and it did catch it.
 Any hints?

 P.S. I am running 5.5 if it makes any difference, although I think it
 shouldn't.

Hi Michael,

I don't think that portupgrade actually downloads source code from the
internet. Rather, portupgrade is a bit of a wrapper around the normal
FreeBSD ports code. According to the handbook,

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html

The ports system uses fetch(1) in order to download any files. I thought
that there was a way to convince the ports to use a different file
retreiver, but I don't see anything in the handbook.

Have you tried setting the ftp_proxy and http_proxy environment variables,
so that fetch can work with your proxy?

HTH,
-Andy Reitz.

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


Re: portupgrade question

2006-06-07 Thread Kris Kennaway
On Wed, Jun 07, 2006 at 04:35:12PM -0400, Michael S wrote:
 wget works like magic. I used the defaults. fetch I guess is the
 FreeBSD default for fetching files from the web. It was having
 problems fetching files from FTP sites.
 No idea what the problem is.

Try setting FTP_PASSIVE_MODE.  This is set in the default login class,
but perhaps you have modified it.

Kris

 
 On 6/7/06, Kris Kennaway [EMAIL PROTECTED] wrote:
 On Wed, Jun 07, 2006 at 09:38:36AM -0400, Michael S wrote:
  Good day everyone!
 
  I have a portupgrade related question. I am behind a proxy and fetch
  doesn't appear to cope with it very well.
 
 What did you try?  fetch works fine with proxies for the rest of us :)
 
 Kris
 
 
 
 


pgpzcb5qHUwRC.pgp
Description: PGP signature


Re: portupgrade question

2004-03-29 Thread Kent Stewart
On Monday 29 March 2004 12:03 pm, Bart Silverstrim wrote:
 I recently ran a portupgrade on one of our servers.  The following
 error and exchange came up:

 server# pkgdb -F
 ---  Checking the package registry database
 Stale dependency: portupgrade-20040325_1 - openssl-0.9.7d
 (security/openssl):
 New dependency? (? to help): ?
   [Enter] to skip, [Ctrl]+[D] to delete,  [.][Enter] to abort, [Tab]
 to complete
 New dependency? (? to help):  portupgrade-20040325_1
 Fixed. (- portupgrade-20040325_1)
 Cyclic dependencies: portupgrade-20040325_1 -
 (portupgrade-20040325_1) Unlink portupgrade-20040325_1 -
 portupgrade-20040325_1 ? [yes] Command failed [exit code 1]: grep -v
 \^portupgrade-20040325_1\\\$\ 
 /var/db/pkg/portupgrade-20040325_1/+REQUIRED_BY 
 /tmp/+REQUIRED_BY82988.0
 server#

 What should I have chosen?  pkgdb -F doesn't find any problems now,
 and no errors that I *see* are coming up, but should I deinstall and
 reinstall portupgrade or have I done something wrong to the database?
 How can I fix it?

It was complaining because you didn have openssl installed, so you need 
to install openssl-0.9.7d and link portupgrade to it. It is probably 
faster to just portupgrade portupgrade again but things can go 
wrong :).

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]