On Sat, Jun 02, 2012 at 01:57:58PM +1000, John Marshall wrote: > I just had a whole bunch of ports install unexpectedly. > > portmaster -D -r png-1.4.11 > > One of the ports that pulled in for rebuilding was graphics/php5-gd. > That's fair enough, and it is depended on by lang/php5-extensions, so > that got pulled in too. That's fine, but then php5-extensions pulled in > all of the other "default" extensions to *install* - all of the ones a > have deselected in my config. > > ===>>> Done updating ports that depend on png-1.4.11 > > ===>>> The following actions were performed: > Upgrade of png-1.4.11 to png-1.5.10 > Upgrade of gd-2.0.35_7,1 to gd-2.0.35_8,1 > Upgrade of p5-GD-2.46 to p5-GD-2.46_1 > Installation of archivers/php5-phar (php5-phar-5.4.3) > Installation of databases/php5-pdo_sqlite (php5-pdo_sqlite-5.4.3) > Installation of databases/php5-sqlite3 (php5-sqlite3-5.4.3) > Installation of devel/php5-json (php5-json-5.4.3) > Installation of devel/php5-tokenizer (php5-tokenizer-5.4.3) > Re-installation of php5-gd-5.4.3 > Installation of security/php5-filter (php5-filter-5.4.3) > Installation of sysutils/php5-posix (php5-posix-5.4.3) > Installation of textproc/php5-simplexml (php5-simplexml-5.4.3) > Installation of textproc/php5-xmlreader (php5-xmlreader-5.4.3) > Installation of textproc/php5-xmlwriter (php5-xmlwriter-5.4.3) > Re-installation of php5-extensions-1.7 > Upgrade of rrdtool-1.2.30_1 to rrdtool-1.2.30_2 > Upgrade of webalizer-geoip-2.23.5 to webalizer-geoip-2.23.5_1 > > So, what happened? Those extensions OPTIONS are all disabled in my > config. > > rwsrv03# cd /usr/ports/lang/php5-extensions > rwsrv03# make showconfig > ===> The following configuration options are available for > php5-extensions-1.7: > BCMATH=off: "bc style precision math functions" > BZ2=off: "bzip2 library support" > CALENDAR=on: "calendar conversion support" > CTYPE=on: "ctype functions" > CURL=off: "CURL support" > DBA=off: "dba support" > DOM=on: "DOM support" > EXIF=off: "EXIF support" > FILEINFO=off: "fileinfo support" > FILTER=off: "input filter support" > FTP=off: "FTP support" > GD=on: "GD library support" > GETTEXT=on: "gettext library support" > GMP=off: "GNU MP support" > HASH=on: "HASH Message Digest Framework" > ICONV=on: "iconv support" > IMAP=off: "IMAP support" > INTERBASE=off: "Interbase 6 database support (Firebird)" > JSON=off: "JavaScript Object Serialization support" > LDAP=on: "OpenLDAP support" > MBSTRING=on: "multibyte string support" > MCRYPT=off: "Encryption support" > MSSQL=off: "MS-SQL database support" > MYSQL=on: "MySQL database support" > MYSQLI=on: "MySQLi database support" > ODBC=off: "ODBC support" > OPENSSL=on: "OpenSSL support" > PCNTL=off: "pcntl support (CLI only)" > PDF=off: "PDFlib support (implies GD)" > PDO=on: "PHP Data Objects Interface (PDO)" > PDO_SQLITE=off: "PDO sqlite driver" > PGSQL=on: "PostgreSQL database support" > PHAR=off: "phar support" > POSIX=off: "POSIX-like functions" > PSPELL=off: "pspell support" > READLINE=on: "readline support (CLI only)" > RECODE=off: "recode support" > SESSION=on: "session support" > SHMOP=off: "shmop support" > SIMPLEXML=off: "simplexml support" > SNMP=off: "SNMP support" > SOAP=off: "SOAP support" > SOCKETS=off: "sockets support" > SQLITE3=off: "sqlite3 support" > SYBASE_CT=off: "Sybase database support" > SYSVMSG=off: "System V message support" > SYSVSEM=off: "System V semaphore support" > SYSVSHM=off: "System V shared memory support" > TIDY=off: "TIDY support" > TOKENIZER=off: "tokenizer support" > WDDX=off: "WDDX support (implies XML)" > XML=on: "XML support" > XMLREADER=off: "XMLReader support" > XMLRPC=off: "XMLRPC-EPI support" > XMLWRITER=off: "XMLWriter support" > XSL=on: "XSL support (Implies DOM)" > ZIP=off: "ZIP support" > ZLIB=on: "ZLIB support" > ===> Use 'make config' to modify these settings > > rwsrv03# > rwsrv03# cat /var/db/ports/php5-extensions/options > # This file is auto-generated by 'make config'. > # Options for php5-extensions-1.7 > _OPTIONS_READ=php5-extensions-1.7 > _FILE_COMPLETE_OPTIONS_LIST=BCMATH BZ2 CALENDAR CTYPE CURL DBA DOM EXIF > FILEINFO FILTER FTP GD GETTEXT GMP HASH ICONV IMAP INTERBASE JSON LDAP > MBSTRING MCRYPT MSSQL MYSQL MYSQLI ODBC OPENSSL PCNTL PDF PDO PDO_SQLITE > PGSQL PHAR POSIX PSPELL READLINE RECODE SESSION SHMOP SIMPLEXML SNMP SOAP > SOCKETS SQLITE3 SYBASE_CT SYSVMSG SYSVSEM SYSVSHM TIDY TOKENIZER WDDX XML > XMLREADER XMLRPC XMLWRITER XSL ZIP ZLIB > OPTIONS_FILE_UNSET+=BCMATH > OPTIONS_FILE_UNSET+=BZ2 > OPTIONS_FILE_SET+=CALENDAR > OPTIONS_FILE_SET+=CTYPE > OPTIONS_FILE_UNSET+=CURL > OPTIONS_FILE_UNSET+=DBA > OPTIONS_FILE_SET+=DOM > OPTIONS_FILE_UNSET+=EXIF > OPTIONS_FILE_UNSET+=FILEINFO > OPTIONS_FILE_UNSET+=FILTER > OPTIONS_FILE_UNSET+=FTP > OPTIONS_FILE_SET+=GD > OPTIONS_FILE_SET+=GETTEXT > OPTIONS_FILE_UNSET+=GMP > OPTIONS_FILE_SET+=HASH > OPTIONS_FILE_SET+=ICONV > OPTIONS_FILE_UNSET+=IMAP > OPTIONS_FILE_UNSET+=INTERBASE > OPTIONS_FILE_UNSET+=JSON > OPTIONS_FILE_SET+=LDAP > OPTIONS_FILE_SET+=MBSTRING > OPTIONS_FILE_UNSET+=MCRYPT > OPTIONS_FILE_UNSET+=MSSQL > OPTIONS_FILE_SET+=MYSQL > OPTIONS_FILE_SET+=MYSQLI > OPTIONS_FILE_UNSET+=ODBC > OPTIONS_FILE_SET+=OPENSSL > OPTIONS_FILE_UNSET+=PCNTL > OPTIONS_FILE_UNSET+=PDF > OPTIONS_FILE_SET+=PDO > OPTIONS_FILE_UNSET+=PDO_SQLITE > OPTIONS_FILE_SET+=PGSQL > OPTIONS_FILE_UNSET+=PHAR > OPTIONS_FILE_UNSET+=POSIX > OPTIONS_FILE_UNSET+=PSPELL > OPTIONS_FILE_SET+=READLINE > OPTIONS_FILE_UNSET+=RECODE > OPTIONS_FILE_SET+=SESSION > OPTIONS_FILE_UNSET+=SHMOP > OPTIONS_FILE_UNSET+=SIMPLEXML > OPTIONS_FILE_UNSET+=SNMP > OPTIONS_FILE_UNSET+=SOAP > OPTIONS_FILE_UNSET+=SOCKETS > OPTIONS_FILE_UNSET+=SQLITE3 > OPTIONS_FILE_UNSET+=SYBASE_CT > OPTIONS_FILE_UNSET+=SYSVMSG > OPTIONS_FILE_UNSET+=SYSVSEM > OPTIONS_FILE_UNSET+=SYSVSHM > OPTIONS_FILE_UNSET+=TIDY > OPTIONS_FILE_UNSET+=TOKENIZER > OPTIONS_FILE_UNSET+=WDDX > OPTIONS_FILE_SET+=XML > OPTIONS_FILE_UNSET+=XMLREADER > OPTIONS_FILE_UNSET+=XMLRPC > OPTIONS_FILE_UNSET+=XMLWRITER > OPTIONS_FILE_SET+=XSL > OPTIONS_FILE_UNSET+=ZIP > OPTIONS_FILE_SET+=ZLIB > rwsrv03# > > They're set in the port's Makefile *before* the OPTIONS stuff but that > hasn't been a problem until the OPTIONS framework rediscovered itself. > > rwsrv03# grep ^WITH_ /usr/ports/lang/php5-extensions/Makefile > WITH_CTYPE= yes > WITH_DOM= yes > WITH_FILTER= yes > WITH_HASH= yes > WITH_ICONV= yes > WITH_JSON= yes > WITH_PDO= yes > WITH_PDO_SQLITE=yes > WITH_PHAR= yes > WITH_POSIX= yes > WITH_SESSION= yes > WITH_SIMPLEXML= yes > WITH_SQLITE3= yes > WITH_TOKENIZER= yes > WITH_XML= yes > WITH_XMLREADER= yes > WITH_XMLWRITER= yes > rwsrv03# > > rwsrv03# ident /usr/ports/Mk/*options* > /usr/ports/lang/php5-extensions/Makefile > /usr/ports/Mk/bsd.options.desc.mk: > $FreeBSD: ports/Mk/bsd.options.desc.mk,v 1.49 2012/06/01 13:16:33 bapt > Exp $ > > /usr/ports/Mk/bsd.options.mk: > $FreeBSD: ports/Mk/bsd.options.mk,v 1.7 2012/06/01 09:06:15 bapt Exp $ > > /usr/ports/Mk/bsd.port.options.mk: > $FreeBSD: ports/Mk/bsd.port.options.mk,v 1.3 2012/05/23 08:17:49 miwi > Exp $ > > /usr/ports/lang/php5-extensions/Makefile: > $FreeBSD: ports/lang/php5-extensions/Makefile,v 1.25 2012/05/16 07:36:12 > ale Exp $ > > rwsrv03# grep '^\.include .*options' /usr/ports/lang/php5-extensions/Makefile > .include <bsd.port.options.mk> > > I'm sorry I don't have time to go delving deeper just now but thought > I'd at least mention what I found. > > Thank you to all of those of you who spend so much time on ports and the > ports infrastructure. > > -- > John Marshall
Thanks for reporting, apparently there might be a bug in the code that regenerate the WITH_/WITHOUT_ stuff needed by the old options stuff. regards, Bapt
pgp86mUqctP8o.pgp
Description: PGP signature