Posts Tagged ‘ports’

Managing ports for multiple FreeBSD servers

Monday, July 31st, 2017

This is a follow up post on how to manage ports for multiple FreeBSD servers. If you’re looking for how to update the operating system itself, have a look at my almost three years old post: Managing multiple FreeBSD servers.

Alright, so what we’re trying to solve is this: multiple VMs running the same (or different) release of FreeBSD, and you’re looking for a way to centralize delivery of packages to your FreeBSD VMs.

(more…)

How to disable configuration options while building Apache2 from ports

Tuesday, December 11th, 2007

According to http://www.freshports.org/www/apache22, OPTIONS support has been added on September 18, 2007 causing several knobs (like WITH_STATIC_MODULES) being ignored. In order to disable OPTIONS one should consider defining WITHOUT_APACHE_OPTIONS. Since I’m using portupgrade to do my regular ports maintenance I was trying to find where to put WITHOUT_APACHE_OPTIONS to make the change systemwide.

One of the options was to put it in /usr/ports/www/apache22/Makefile – it did work, but as soon as you update ports all changes will be overwritten. After some digging I finally figured out that putting

  1. WITHOUT_APACHE_OPTIONS= yes

to /etc/make.conf will do the trick.