ports/67937: [PATCH] www/apache13-modssl, www/apache13-modssl+ipv6: sanitize version number handling

Oliver Eikemeier eikemeier at fillmore-labs.com
Mon Jun 14 18:28:48 UTC 2004


Dirk Meyer wrote:

>  1. Please give an example where pkg_version does not handle the 
> version check.
>  I use pkg_version, and otehr tiolls without any problems.

Install the port with APACHE_WITH_MODDEFLATE=yes (sigh).
Try
   pkg_version -v | grep apache
You'll get
   apache+mod_ssl+mod_deflate-1.3.31+  >   succeeds port (port has 
1.3.31+2.8.18_4)
(not the truncated package name on -STABLE)

bump the PORTREVISION (security fix!)
   pkg_version -v | grep apache
   apache+mod_ssl+mod_deflate-1.3.31+  >   succeeds port (port has 
1.3.31+2.8.18_5)

Try
   portupgrade -n 'apache*'
  ** No need to upgrade 
'apache+mod_ssl+mod_deflate-1.3.31+2.8.18+1.0.21_4' (>= 
apache+mod_ssl-1.3.31+2.8.18_5). (specify -f to force)
You'll miss security fixes! Now, is the port broken?

>  2. I can't reproduce that the port conficts with it self.
>  # make -V CONFLICTS
>  apache+ipv6-1.* apache+ssl-1.* apache-1.* apache-2.*  apache_fp-1.* 
> caudium-devel-1.* caudium10-1.* caudium12-*  ru-apache+mod_ssl-1.* 
> ru-apache-1.* thttpd-2.* w3c-httpd-3.* apache+mod_snmp*-1.* 
> apache+mod_accel*-1.* apache+mod_deflate*-1.*

Try
   make APACHE_WITH_MODDEFLATE=yes -VCONFLICTS

You'll get `apache+mod_ssl-1.*', which is *this* port, please read how 
CONFLICTS work. Besides, you make it
unnecessary hard to CONFLICT with *this* port.

>  3. tunable variables are syncronized with other apache ports.

With which apache ports?
   grep -l APACHE_WITH_ /usr/ports/*/apache*/Makefile

>   4. Suggested patch is a regression, it fails to build with customized 
> slave ports.

What are `customized slave ports'? Of course they build.

>  5. Why do you drop support of Makefile.local?

Only bsd.port.mk includes ${MASTERDIR}/Makefile.local. Slave ports never 
include
a Makefile.local in the slaves port directory. If you want to change 
this, please submit
a patch for bsd.port.mk.

-Oliver



More information about the freebsd-ports-bugs mailing list