py27-setuptools と py27-setuptools27 ってどういうことw

FreeBSD 公式パッケージリポジトリーの話ではありません

なんか py27-setuptools に依存しているパッケージと py27-setuptools27 に依存しているパッケージがあるなーということで、軽く確認。(正解は後者)

# pkg rquery '%n: %dn' | grep py27-setuptools | grep -v py27-setuptools27
py27-Babel: py27-setuptools
py27-Genshi: py27-setuptools
py27-docutils: py27-setuptools
py27-hgsubversion: py27-setuptools
py27-psycopg2: py27-setuptools
py27-pygments: py27-setuptools
py27-setuptools: python27
py27-sqlite3: py27-setuptools
scons: py27-setuptools
silvercity: py27-setuptools
trac: py27-setuptools
trac-mercurial: py27-setuptools

きみらは何がどうしてそんなことになってしまったんや……。(多分 py-setuptools 辺りに変わった時の問題だろう)

ということで、この辺作り直して pkg repo . して対応終了。

www/mod_php5 や www/mod_php55 が増えてた

ついでに UPDATING 見てたら www/mod_php5 や www/mod_php55 とか生えてた。おぉ。(笑)

20140327:
  AFFECTS: users of lang/php5 and lang/php55 with Apache module
  AUTHOR: ale@FreeBSD.org

  The Apache PHP module has been separated from the main PHP port.
  If it is needed, install either www/mod_php5 or www/mod_php55.

ちょー大事。

元々 mod_php.so は lang/php5 や lang/php55 のオプションとしてビルドされるもので、かつデフォルトが off だから pkg install php5 とかやっても入らないっていう話がこれで解消されることに。

これだと CLI 要らないなら pkg install mod_php55 とかでもいいのかなー?

Apache httpd 2.4.17 + mod_autoindex + mod_passenger でアプリケーションが見つけられなくなる

Apache httpd 2.4.17 + mod_autoindex + mod_passenger (Phusion Passenger) で、Passenger からアプリケーションが見つけられなくなる問題

対策はこんな感じで。

  • Apache httpd 2.4.16_1 に戻す (2.4.16_1 を入れていれて消していなければ /var/cache/pkg/apache24-2.4.16_1.txz にキャッシュがあるはず)
  • httpd.conf から mod_autoindex を消す (Include etc/apache24/extra/httpd-autoindex.conf もコメントアウト)