Re: pkg_add feature proposal

2008-09-04 Thread Anton - Valqk
Uh-oh,
totally forgot about this post :(
It'd be great to see that implemented, and it's nice to see that other
ppl are seeing point in having this option.
The bad thing is that I'm not that familiar with pkg_* and ports
internals and would be very time consuming for me to implement it... of
course it'd be great to see the internals of these two but unfortunately
at the very moment really no time to do this.
About getting out of disk space - well, the packages are not stream and
are with known size. Meaning disk space calcs can be made to warn you
about this, and if you install *big* packages 100 and more in a list you
*definitely* don't want to get stuck in the middle of installing them
(and not having a way to 'rollback')
This could be an option (enabled by default tough)...

Another nice idea that came to me is to have a util (ot automated check
after pkg_add -r and installing is finished) to see if _all_ the files
from the package are installed in proper place and match md5sums in
+CONTENTS - I often get packages (from my custom build server) that for
some reason don't install _all_ files from +CONTENTS and I see this when
I try to access a file or delete the package (typical example: pkg_add
-r apache22 and I have no /usr/local/etc/rc.d/apache22 script?!?!)

cheers,
valqk.

Carlos A. M. dos Santos wrote:
> On Mon, Aug 25, 2008 at 8:37 AM, Anton - Valqk <[EMAIL PROTECTED]> wrote:
>   
>> Hi everyone,
>>
>> I've just got an Idea (maybe others had it too?).
>>
>> When doing pkg_add [-r] wouldn't it be better if pkg_add checks if _all_
>> dependent packages exists and checksums are ok (after downloaded if with
>> -r), etc. checks _before_ installing the packages, because if you get
>> 3-4 packages broken/missing when one package depends on 30-40 (X apps
>> etc.) you should delete all already installed...
>>
>> I've got this problem when did pkg_add -r mod_musicindex and for some
>> reason mod_musicindex didn't build the flac and libogg when
>> $> make package-recursive
>> specified.
>> When the pkg_add get to these packages and they were not found on the
>> web server, I've had to delete all installed packages by hand... uhh...
>>
>> so, what would you say about that?
>> 
>
> Be warned that large packages and/or packages that depend on large
> packages may lead to a full /var/tmp if that filesystem is not large
> enough. OpenOffice, JDK and teTeX are good examples. I had this
> problem on Ubuntu some time ago.
>
>   


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [Fwd: Re: apache22 - package tools out of date?]

2008-09-04 Thread Jeffrey Goldberg

On Sep 3, 2008, at 2:30 PM, Clement Laforet wrote:


I just hope it will fix the issue ;)


It did for me.  Though I had some add portupgrade issues due to the  
where in the process yesterday's version failed.  So I found that I  
couldn't use portupgrade but had to "make deinstall" and "make  
reinstall" is the port directory.


I did that, and all is well.

Cheers,

-j


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

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


Stop in /usr/ports/sysutils/php5-posix.

2008-09-04 Thread Morgan Wesström
Portaudit has complained for a few days about vulnerabilities in 
sysutils/php5-posix but there seems to be no update yet. When I now try 
to recompile all my ports with portmaster it stops with an error when it 
reaches this port.


===>  php5-posix-5.2.6_1 has known vulnerabilities:
=> php -- input validation error in posix_access function.
   Reference: 


=> Please update your ports tree and try again.
*** Error code 1


How do I continue? Is there anyway I can force portmaster to skip this 
port and continue where it left off or do I have to deinstall it and 
recompile everything all over again?


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


semi-OT: gdchart

2008-09-04 Thread Robert Huff

Is there anyone out there experienced with using this package?
It installs OK, but doesn't behave as expected.


Robert Huff

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


Re: Portupgrade has serious problems

2008-09-04 Thread David Southwell
On Tuesday 02 September 2008 08:26:26 you wrote:
> David Southwell wrote:
> > ===>  Cleaning for apache-2.2.9_2
> > --->  Cleaning out obsolete shared libraries
> > [Updating the pkgdb  in /var/db/pkg ... - 1047 packages
> > found (-0 +1) . done]
> > --->  Skipping 'graphics/gimp-app' (gimp-app-2.4.6_1,1) because a
> > requisite package 'apache-2.2.9' () failed (specify -k to force)
>
> It's not a first report. Something has happened with an origin.
>
> Show please an output of the command:
> pkg_info -o apache-2.2.9

Following up this one here is another weirdo::
ttp://httpd.apache.org/
===>  Cleaning for apache-2.2.9_5
--->  Cleaning out obsolete shared libraries
[Updating the pkgdb  in /var/db/pkg ... - 1047 packages 
found (-0 +1) . done]
--->  Skipping 'bsdpan-Term-ReadLine-Perl-1.0302' because it is held by user 
(specify -f to force)
--->  Skipping 'devel/p5-IO' because it is held by user (specify -f to force)
--->  Skipping 'graphics/ImageMagick' (ImageMagick-6.4.3.4) because a 
requisite package 'apache-2.2.9_3' () failed (specify -k to force)
--->  Skipping 'bsdpan-Shell-0.72' because it is held by user (specify -f to 
force)
--->  Skipping 'misc/p5-Array-Compare' because it is held by user (specify -f 
to force)
--->  Skipping 'devel/p5-Devel-Symdump' because it is held by user (specify -f 
to force)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
 

Here we have another example of portupgrade gets its dependencies in a twist.

Not install Image-Magick on the grounds that apache, which it has just 
upgraded does not have the previous version installed.

This is a constant repeat of the same problem as has happened with kde and 
elsewjhere

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


Re: Stop in /usr/ports/sysutils/php5-posix.

2008-09-04 Thread Miroslav Lachman

Morgan Wesström wrote:
Portaudit has complained for a few days about vulnerabilities in 
sysutils/php5-posix but there seems to be no update yet. When I now try 
to recompile all my ports with portmaster it stops with an error when it 
reaches this port.


===>  php5-posix-5.2.6_1 has known vulnerabilities:
=> php -- input validation error in posix_access function.
   Reference: 
 


=> Please update your ports tree and try again.
*** Error code 1


How do I continue? Is there anyway I can force portmaster to skip this 
port and continue where it left off or do I have to deinstall it and 
recompile everything all over again?


You can recompile / install vulnerable applications by giving portmaster 
  option: -m "DISABLE_VULNERABILITIES=yes".

!!You are using it at your own risk!!

If you don't need php5-posix, it is better to deinstall it and uncheck 
from php5-extensions (with `make config` in /usr/ports/lang/php5-extensions)


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


Re: Stop in /usr/ports/sysutils/php5-posix.

2008-09-04 Thread Thomas Abthorpe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 04 September 2008 11:38:52 Miroslav Lachman wrote:
> Morgan Wesström wrote:
> > Portaudit has complained for a few days about vulnerabilities in
> > sysutils/php5-posix but there seems to be no update yet. When I now try
> > to recompile all my ports with portmaster it stops with an error when it
> > reaches this port.
> >
> > ===>  php5-posix-5.2.6_1 has known vulnerabilities:
> > => php -- input validation error in posix_access function.
> >Reference:
> >  >849.html>
> >
> > => Please update your ports tree and try again.
> > *** Error code 1
> >
> >
> > How do I continue? Is there anyway I can force portmaster to skip this
> > port and continue where it left off or do I have to deinstall it and
> > recompile everything all over again?
>
> You can recompile / install vulnerable applications by giving portmaster
>option: -m "DISABLE_VULNERABILITIES=yes".
> !!You are using it at your own risk!!
>
> If you don't need php5-posix, it is better to deinstall it and uncheck
> from php5-extensions (with `make config` in
> /usr/ports/lang/php5-extensions)
>
> Miroslav Lachman


php5-posix was only marked safe within the last couple of hours, you can 
verify that the build is updated at http://www.vuxml.org and then run 
portaudit -F to refresh the database.


Thomas

- -- 
Thomas Abthorpe | FreeBSD Committer
[EMAIL PROTECTED]   | http://people.freebsd.org/~tabthorpe
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEUEARECAAYFAkjAA1QACgkQ5Gm/jNBp8qCOKQCXcNO8G/g+yNXGX4WvKE0t3BE9
BwCdFZzaHYK2zNn6yfBSyZ5MDJHwpYU=
=50kg
-END PGP SIGNATURE-
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Stop in /usr/ports/sysutils/php5-posix.

2008-09-04 Thread Randy Pratt
On Thu, 04 Sep 2008 17:38:52 +0200
Miroslav Lachman <[EMAIL PROTECTED]> wrote:

> Morgan Wesström wrote:
> > Portaudit has complained for a few days about vulnerabilities in 
> > sysutils/php5-posix but there seems to be no update yet. When I now try 
> > to recompile all my ports with portmaster it stops with an error when it 
> > reaches this port.
> > 
> > ===>  php5-posix-5.2.6_1 has known vulnerabilities:
> > => php -- input validation error in posix_access function.
> >Reference: 
> > 
> >  
> > 
> > => Please update your ports tree and try again.
> > *** Error code 1
> > 
> > 
> > How do I continue? Is there anyway I can force portmaster to skip this 
> > port and continue where it left off or do I have to deinstall it and 
> > recompile everything all over again?
>
> You can recompile / install vulnerable applications by giving portmaster 
>option: -m "DISABLE_VULNERABILITIES=yes".
> !!You are using it at your own risk!!

I also use this option for all of my port updating.  I figure that
updating to a newer version "probably" won't make the security
any worse if I've already got a vulnerable application.

> If you don't need php5-posix, it is better to deinstall it and uncheck 
> from php5-extensions (with `make config` in /usr/ports/lang/php5-extensions)

Actually, I think a fix was just committed:

  http://docs.freebsd.org/cgi/mid.cgi?200809041355.m84DtBLn072467

So give it a little time for propagation, then re-csup and try it
again.  

HTH,

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


Re: Portupgrade has serious problems

2008-09-04 Thread Sergey Matveychuk

David Southwell wrote:

On Tuesday 02 September 2008 08:26:26 you wrote:

Show please an output of the command:
pkg_info -o apache-2.2.9


Following up this one here is another weirdo::
ttp://httpd.apache.org/
===>  Cleaning for apache-2.2.9_5
--->  Cleaning out obsolete shared libraries
[Updating the pkgdb  in /var/db/pkg ... - 1047 packages 
found (-0 +1) . done]
--->  Skipping 'bsdpan-Term-ReadLine-Perl-1.0302' because it is held by user 
(specify -f to force)

--->  Skipping 'devel/p5-IO' because it is held by user (specify -f to force)
--->  Skipping 'graphics/ImageMagick' (ImageMagick-6.4.3.4) because a 
requisite package 'apache-2.2.9_3' () failed (specify -k to force)
--->  Skipping 'bsdpan-Shell-0.72' because it is held by user (specify -f to 
force)
--->  Skipping 'misc/p5-Array-Compare' because it is held by user (specify -f 
to force)
--->  Skipping 'devel/p5-Devel-Symdump' because it is held by user (specify -f 
to force)

** Listing the failed packages (-:ignored / *:skipped / !:failed)
 


Here we have another example of portupgrade gets its dependencies in a twist.

Not install Image-Magick on the grounds that apache, which it has just 
upgraded does not have the previous version installed.


This is a constant repeat of the same problem as has happened with kde and 
elsewjhere




Just again. Show pkg_info -o apache-2.2.9_5 please.

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


Re: Stop in /usr/ports/sysutils/php5-posix.

2008-09-04 Thread Morgan Wesström
How do I continue? Is there anyway I can force portmaster to skip this 
port and continue where it left off or do I have to deinstall it and 
recompile everything all over again?


You can recompile / install vulnerable applications by giving portmaster 
  option: -m "DISABLE_VULNERABILITIES=yes".

!!You are using it at your own risk!!



Nice. I would never have figured that out myself. Still, I was more 
concerned about being able to resume the compile where it left off but I 
ended up skipping php5-posix with -x and recompile everything from the 
beginning. I'll remember -m for future use. Thanks again.

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


Re: Stop in /usr/ports/sysutils/php5-posix.

2008-09-04 Thread Morgan Wesström


php5-posix was only marked safe within the last couple of hours, you can 
verify that the build is updated at http://www.vuxml.org and then run 
portaudit -F to refresh the database.


Yes, it seems so. It was updated as well as lang/php5 and a bunch of 
extensions. Just my luck. Back to compilation - have to keep that cpu 
warm :-)

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


Re: Portupgrade has serious problems

2008-09-04 Thread David Southwell
On Thursday 04 September 2008 09:38:22 you wrote:
> David Southwell wrote:
> > On Tuesday 02 September 2008 08:26:26 you wrote:
> >> Show please an output of the command:
> >> pkg_info -o apache-2.2.9
> >
> > Following up this one here is another weirdo::
> > ttp://httpd.apache.org/
> > ===>  Cleaning for apache-2.2.9_5
> > --->  Cleaning out obsolete shared libraries
> > [Updating the pkgdb  in /var/db/pkg ... - 1047 packages
> > found (-0 +1) . done]
> > --->  Skipping 'bsdpan-Term-ReadLine-Perl-1.0302' because it is held by
> > user (specify -f to force)
> > --->  Skipping 'devel/p5-IO' because it is held by user (specify -f to
> > force) --->  Skipping 'graphics/ImageMagick' (ImageMagick-6.4.3.4)
> > because a requisite package 'apache-2.2.9_3' () failed (specify -k to
> > force) --->  Skipping 'bsdpan-Shell-0.72' because it is held by user
> > (specify -f to force)
> > --->  Skipping 'misc/p5-Array-Compare' because it is held by user
> > (specify -f to force)
> > --->  Skipping 'devel/p5-Devel-Symdump' because it is held by user
> > (specify -f to force)
> > ** Listing the failed packages (-:ignored / *:skipped / !:failed)
> >
> >
> > Here we have another example of portupgrade gets its dependencies in a
> > twist.
> >
> > Not install Image-Magick on the grounds that apache, which it has just
> > upgraded does not have the previous version installed.
> >
> > This is a constant repeat of the same problem as has happened with kde
> > and elsewjhere
>
> Just again. Show pkg_info -o apache-2.2.9_5 please.
Here is output..

But how does it help?
Having installed the upgradefrom apache-2.2.9_3 to 2.2.9_5 the database 
naturally shows the result of upgrading the database. Is it not more about 
what version portupgrade is expecting to find? Having upgraded why dhould it 
expect to find  apache-2.2.9_3

[EMAIL PROTECTED] /usr/home/david]# pkg_info -o apache*
Information for apache-2.2.9_5:

Origin:
www/apache22

Information for apache-ant-1.7.0_2:

Origin:
devel/apache-ant

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