From owner-freebsd-apache@FreeBSD.ORG Wed Oct 8 07:47:18 2014 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C0AF6331 for ; Wed, 8 Oct 2014 07:47:18 +0000 (UTC) Received: from mx.ds9.org.za (ds9.org.za [IPv6:2a02:2770:11:0:21a:4aff:fe9c:8c91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 817CC75D for ; Wed, 8 Oct 2014 07:47:17 +0000 (UTC) Received: from ds9.org.za (localhost [127.0.0.1]) by mx.ds9.org.za (Postfix) with ESMTP id 83C85174561 for ; Wed, 8 Oct 2014 09:47:14 +0200 (SAST) Received: from mx.ds9.org.za ([127.0.0.1]) by ds9.org.za (ds9.org.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Rb2Aw8D2f7lv for ; Wed, 8 Oct 2014 09:47:12 +0200 (SAST) Received: from damar.ru.ac.za (damar.ru.ac.za [IPv6:2001:4200:1010:1058:8e89:a5ff:fe85:6458]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.ds9.org.za (Postfix) with ESMTPSA id 6AF431744C9 for ; Wed, 8 Oct 2014 09:47:12 +0200 (SAST) From: David =?ISO-8859-1?Q?Sieb=F6rger?= To: freebsd-apache@freebsd.org Subject: USE_APACHE range broken? Date: Wed, 08 Oct 2014 09:47:08 +0200 Message-ID: <1494790.xaIYzRiInq@damar.ru.ac.za> User-Agent: KMail/4.12.5 (FreeBSD/10.0-RELEASE-p9; KDE/4.12.5; amd64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2014 07:47:18 -0000 Mk/bsd.apache.mk says that one can specify a range of Apache versions: # USE_APACHE=3D 22-24 # specify [min]-[max] range So far as I can see, security/shibboleth2-sp is the only port using tha= t=20 functionality. However, it doesn't seem to work properly, specifically= when=20 I'm using Poudriere to build packages and still prefer Apache 2.2. I've specified Apache 2.2 in make.conf: $ cat /etc/make.conf DEFAULT_VERSIONS+=3Dapache=3D2.2 And that does what I expect in other ports: $ grep USE_APACHE /usr/ports/lang/php5/Makefile USE_APACHE=3D 22+ $ make -C /usr/ports/www/mod_php5 -V APACHE_VERSION 22 But it doesn't do what I expect in Shibboleth: $ grep USE_APACHE /usr/ports/security/shibboleth2-sp/Makefile USE_APACHE=3D 22-24 $ make -C /usr/ports/security/shibboleth2-sp -V APACHE_VERSION 24 If I already have Apache 2.2 installed, then it works as I'd expect: $ sudo pkg install -qy apache22 =3D=3D=3D> Creating users and/or groups. Using existing group 'www'. Using existing user 'www'. $ make -C /usr/ports/security/shibboleth2-sp -V APACHE_VERSION 22 ... but that doesn't help in Poudriere, which installs Apache 2.4 as a=20= dependency before building Shibboleth. Should the range functionality be fixed, or should shibboleth2-sp simpl= y use=20 USE_APACHE=3D22+ instead? --=20 David Sieb=F6rger drs@sieborger.nom.za