Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2010 10:53:52 -0700
From:      Doug Sampson <dougs@dawnsign.com>
To:        "'glarkin@FreeBSD.org'" <glarkin@FreeBSD.org>
Cc:        'freebsd-questions@freebsd.org'
Subject:   RE: freeze PHP5 at specific version
Message-ID:  <D05FCB8B5D9E904981802903D84EEFEF3E8D@hydra.dawnsign.com>

next in thread | raw e-mail | index | archive | help
> Have a look at this page:
> http://myfreebsd.homeunix.net/hints_n_kinks/ports-pkgtools.html.  If
> you
> add the php port names to the HOLD_PKGS array, that prevents
> portupgrade
> from touching them.
> 

Bingo! That is what I'm looking for!

Say, do I need to list each PHP5 extension in the HOLD_PKG section? For
example, I have the following PHP5 extensions on top of the lang/php5 as
follows:

corvus-root@/usr/ports/databases/php5-sqlite: portversion -v | g php5
php5-5.2.12_2               <  needs updating (port has 5.3.2) 
php5-bcmath-5.2.12_2        <  needs updating (port has 5.3.2) 
php5-bz2-5.2.12_2           <  needs updating (port has 5.3.2) 
php5-ctype-5.2.12_2         <  needs updating (port has 5.3.2) 
php5-curl-5.2.12_2          <  needs updating (port has 5.3.2) 
php5-dba-5.2.12_2           <  needs updating (port has 5.3.2) 
php5-dom-5.2.12_2           <  needs updating (port has 5.3.2) 
php5-exif-5.2.12_2          <  needs updating (port has 5.3.2) 
php5-filter-5.2.12_2        <  needs updating (port has 5.3.2) 
php5-ftp-5.2.12_2           <  needs updating (port has 5.3.2) 
php5-gd-5.2.12_2            <  needs updating (port has 5.3.2) 
php5-gettext-5.2.12_2       <  needs updating (port has 5.3.2) 
php5-hash-5.2.12_2          <  needs updating (port has 5.3.2) 
php5-iconv-5.2.12_2         <  needs updating (port has 5.3.2) 
php5-json-5.2.12_2          <  needs updating (port has 5.3.2) 
php5-mbstring-5.2.12_2      <  needs updating (port has 5.3.2) 
php5-mcrypt-5.2.12_2        <  needs updating (port has 5.3.2) 
php5-mhash-5.2.12_2         =  up-to-date with port 
php5-ncurses-5.2.12_2       =  up-to-date with port 
php5-openssl-5.2.12_2       <  needs updating (port has 5.3.2) 
php5-pcre-5.2.12_2          =  up-to-date with port 
php5-pdo-5.2.12_2           <  needs updating (port has 5.3.2) 
php5-pdo_sqlite-5.2.12_2    <  needs updating (port has 5.3.2) 
php5-pgsql-5.2.12_2         <  needs updating (port has 5.3.2) 
php5-posix-5.2.12_2         <  needs updating (port has 5.3.2) 
php5-pspell-5.2.12_2        <  needs updating (port has 5.3.2) 
php5-readline-5.2.12_2      <  needs updating (port has 5.3.2) 
php5-session-5.2.12_2       <  needs updating (port has 5.3.2) 
php5-simplexml-5.2.12_2     <  needs updating (port has 5.3.2) 
php5-soap-5.2.12_2          <  needs updating (port has 5.3.2) 
php5-sockets-5.2.12_2       <  needs updating (port has 5.3.2) 
php5-spl-5.2.12_2           =  up-to-date with port 
php5-sqlite-5.2.12_2        <  needs updating (port has 5.3.2) 
php5-tidy-5.2.12_2          <  needs updating (port has 5.3.2) 
php5-tokenizer-5.2.12_2     <  needs updating (port has 5.3.2) 
php5-xml-5.2.12_2           <  needs updating (port has 5.3.2) 
php5-xmlreader-5.2.12_2     <  needs updating (port has 5.3.2) 
php5-xmlrpc-5.2.12_2        <  needs updating (port has 5.3.2) 
php5-xmlwriter-5.2.12_2     <  needs updating (port has 5.3.2) 
php5-xsl-5.2.12_2           <  needs updating (port has 5.3.2) 
php5-zip-5.2.12_2           <  needs updating (port has 5.3.2) 
php5-zlib-5.2.12_2          <  needs updating (port has 5.3.2) 
corvus-root@/usr/ports/databases/php5-sqlite:

Is pkgtools a port that I need to install?

Another question: I also use portmaster and portmanager. Does these two
tools make use of the /usr/local/etc/pkgtools.conf file?

~Doug




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D05FCB8B5D9E904981802903D84EEFEF3E8D>