Re: removing a php5-pcre extension

2008-12-09 Thread Mike Clarke
On Tuesday 09 December 2008, Zbigniew Szalbot wrote:

> Hello,
>
> Now that pcre is included in the base installation, how do I remove
> it?
>
> $ pkg_delete -nv php5-pcre-5.2.6_2
> pkg_delete: package 'php5-pcre-5.2.6_2' is required by these other
> packages and may not be deinstalled:
> pear-1.7.2
> pear-Auth-1.6.1
> pear-Auth_SASL-1.0.2
> pear-DB-1.7.13,1
> pear-Log-1.10.1
> pear-Mail_Mime-1.5.2,1
> pear-Mail_mimeDecode-1.5.0
> pear-Net_SMTP-1.3.0
> pear-Net_Socket-1.0.8
> pear-Pager-2.4.6
> pecl-filter-0.11.0
> php5-extensions-1.2
> phpMyAdmin-3.1.0
> smarty-2.6.19
> pkg_delete: 1 package deletion(s) failed
>
> Am I safe just deleting it? Or do I have to rebuild all the above
> listed ports? Leaving it as is is probably not a good idea...

/usr/ports/UPDATING seems to imply you should be OK to force delete it -

20081207:
  AFFECTS: users of lang/php5
  AUTHOR: [EMAIL PROTECTED]

  As of php 5.2.7, pcre extension is distributed with the core php5 
package, and not as a standalone module anymore.  Follow these steps to 
update your installation:

  Portupgrade users:
   pkg_delete -f php5-pcre-5.2.6
   pkgdb -F
   portupgrade as usual


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


Re: removing a php5-pcre extension

2008-12-09 Thread Zbigniew Szalbot
Hello,

>>  One more thought - I commented out the pcre extension in the ini file
>>  and restarted apache after which everything seems to be working fine.
>>
>>  So I wonder if I am safe to delete it or if not, then how would you
>>  advise me to proceed to keep the system clean. Many thanks!
>
>As I understand it:
>a) the port works by installing a library
>b) dependant ports search for the library, not the port
>c) if the (exact same) library (as determined by version
> number) is installed by some other port, the change should be
> transparent and the dependant ports should and not try to (re)build
> anything.

Thank you Robert! It does help a lot. Time to do some cleaning then. :)

-- 
Zbigniew Szalbot
www.faitrade.net.pl
www.slowo.pl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: removing a php5-pcre extension

2008-12-09 Thread Robert Huff

Zbigniew Szalbot writes:

>  >> Am I safe just deleting it? Or do I have to rebuild all the
>  >> above listed ports? 
>  >> Leaving it as is is probably not a good idea...
>  >
>  > Presumably, if you delete it, the listed packages will stop working.
>  
>  One more thought - I commented out the pcre extension in the ini file
>  and restarted apache after which everything seems to be working fine.
>  
>  So I wonder if I am safe to delete it or if not, then how would you
>  advise me to proceed to keep the system clean. Many thanks!

As I understand it:
a) the port works by installing a library
b) dependant ports search for the library, not the port
c) if the (exact same) library (as determined by version
number) is installed by some other port, the change should be
transparent and the dependant ports should and not try to (re)build
anything.


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: removing a php5-pcre extension

2008-12-09 Thread Michael Powell
Ivan Voras wrote:

> Zbigniew Szalbot wrote:
>> Hello,
>> 
>> Now that pcre is included in the base installation, how do I remove it?
>> 
>> $ pkg_delete -nv php5-pcre-5.2.6_2
>> pkg_delete: package 'php5-pcre-5.2.6_2' is required by these other
>> packages and may not be deinstalled:
>> pear-1.7.2
>> pear-Auth-1.6.1
>> pear-Auth_SASL-1.0.2
>> pear-DB-1.7.13,1
>> pear-Log-1.10.1
>> pear-Mail_Mime-1.5.2,1
>> pear-Mail_mimeDecode-1.5.0
>> pear-Net_SMTP-1.3.0
>> pear-Net_Socket-1.0.8
>> pear-Pager-2.4.6
>> pecl-filter-0.11.0
>> php5-extensions-1.2
>> phpMyAdmin-3.1.0
>> smarty-2.6.19
>> pkg_delete: 1 package deletion(s) failed
>> 
>> Am I safe just deleting it? Or do I have to rebuild all the above listed
>> ports? Leaving it as is is probably not a good idea...
> 
> Presumably, if you delete it, the listed packages will stop working.

I just ran into this yesterday with a portupgrade. I just did pkg_deinstall 
-f (pkg_delete -f does the same in lieu) php5-pcre and so far haven't had
any problems. I also looked at phpinfo(); and it still is containing a 
listing for pcre support. YMMV

After the portupgrade php -v (I run php as fastcgi) segfaulted. I ran
the "reorder extensions.ini" script and it then complained about 
sqlite.so. Since I don't use that I just commented it out of extensions.ini.
In case anyone else sees the same.

-Mike
 

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


Re: removing a php5-pcre extension

2008-12-09 Thread Zbigniew Szalbot
Hello,

On Tue, Dec 9, 2008 at 11:45, Ivan Voras <[EMAIL PROTECTED]> wrote:
> Zbigniew Szalbot wrote:
>> Hello,
>>
>> Now that pcre is included in the base installation, how do I remove it?
>>
>> $ pkg_delete -nv php5-pcre-5.2.6_2
>> pkg_delete: package 'php5-pcre-5.2.6_2' is required by these other packages
>> and may not be deinstalled:
>> pear-1.7.2
>> pear-Auth-1.6.1
>> pear-Auth_SASL-1.0.2
>> pear-DB-1.7.13,1
>> pear-Log-1.10.1
>> pear-Mail_Mime-1.5.2,1
>> pear-Mail_mimeDecode-1.5.0
>> pear-Net_SMTP-1.3.0
>> pear-Net_Socket-1.0.8
>> pear-Pager-2.4.6
>> pecl-filter-0.11.0
>> php5-extensions-1.2
>> phpMyAdmin-3.1.0
>> smarty-2.6.19
>> pkg_delete: 1 package deletion(s) failed
>>
>> Am I safe just deleting it? Or do I have to rebuild all the above listed 
>> ports?
>> Leaving it as is is probably not a good idea...
>
> Presumably, if you delete it, the listed packages will stop working.

One more thought - I commented out the pcre extension in the ini file
and restarted apache after which everything seems to be working fine.

So I wonder if I am safe to delete it or if not, then how would you
advise me to proceed to keep the system clean. Many thanks!


-- 
Zbigniew Szalbot
www.faitrade.net.pl
www.slowo.pl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: removing a php5-pcre extension

2008-12-09 Thread Zbigniew Szalbot
Hello,

> BTW, wait till php-5.2.8 to do this. I read somewhere that 5.2.7 has
> security issues, but maybe you know better than I do.

Thanks but I know about it. That's why I used ports which have 5.2.8. :)

-- 
Zbigniew Szalbot
www.faitrade.net.pl
www.slowo.pl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: removing a php5-pcre extension

2008-12-09 Thread Ivan Voras
Zbigniew Szalbot wrote:
> Hello,
> 
> Now that pcre is included in the base installation, how do I remove it?
> 
> $ pkg_delete -nv php5-pcre-5.2.6_2
> pkg_delete: package 'php5-pcre-5.2.6_2' is required by these other packages
> and may not be deinstalled:
> pear-1.7.2
> pear-Auth-1.6.1
> pear-Auth_SASL-1.0.2
> pear-DB-1.7.13,1
> pear-Log-1.10.1
> pear-Mail_Mime-1.5.2,1
> pear-Mail_mimeDecode-1.5.0
> pear-Net_SMTP-1.3.0
> pear-Net_Socket-1.0.8
> pear-Pager-2.4.6
> pecl-filter-0.11.0
> php5-extensions-1.2
> phpMyAdmin-3.1.0
> smarty-2.6.19
> pkg_delete: 1 package deletion(s) failed
> 
> Am I safe just deleting it? Or do I have to rebuild all the above listed 
> ports?
> Leaving it as is is probably not a good idea...

Presumably, if you delete it, the listed packages will stop working.




signature.asc
Description: OpenPGP digital signature


removing a php5-pcre extension

2008-12-09 Thread Zbigniew Szalbot
Hello,

Now that pcre is included in the base installation, how do I remove it?

$ pkg_delete -nv php5-pcre-5.2.6_2
pkg_delete: package 'php5-pcre-5.2.6_2' is required by these other packages
and may not be deinstalled:
pear-1.7.2
pear-Auth-1.6.1
pear-Auth_SASL-1.0.2
pear-DB-1.7.13,1
pear-Log-1.10.1
pear-Mail_Mime-1.5.2,1
pear-Mail_mimeDecode-1.5.0
pear-Net_SMTP-1.3.0
pear-Net_Socket-1.0.8
pear-Pager-2.4.6
pecl-filter-0.11.0
php5-extensions-1.2
phpMyAdmin-3.1.0
smarty-2.6.19
pkg_delete: 1 package deletion(s) failed

Am I safe just deleting it? Or do I have to rebuild all the above listed ports?
Leaving it as is is probably not a good idea...

Thanks a lot for your input. If possible, I'd like to keep my system
clean without unnecessary ports.

-- 
Zbigniew Szalbot
www.faitrade.net.pl
www.slowo.pl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"