Subject: why apache-2.x is not apache2-2.x? (fwd)
To: None <tech-pkg@netbsd.org, tron@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 09/19/2007 09:20:22
I didn't receive any feedback so I forward here.

Matthias is the only maintainer. Do you mind if your package is installed 
with PKGNAME of apache22-2.2.6nb1 (or my preference apache2.2-2.2.6nb1) 
instead of just apache-2.2.6nb1?

---------- Forwarded message ----------
Date: Fri, 7 Sep 2007 12:30:41 -0500 (CDT)
From: Jeremy C. Reed <reed@reedmedia.net>
To: pkgsrc-users@netbsd.org
Subject: why apache-2.x is not apache2-2.x?

What is the purpose of apache2 having PKGNAME of "apache" (without 2)?

I am working on a tool to install/update packages using the pkg_summary 
database.

My tool can download, but when I chose to download "apache", it fetched:

apache-1.3.37nb2.tgz
apache-2.0.59nb6.tgz
apache-2.2.4nb6.tgz

It seems to me that this should be:

apache-1.3.37nb2.tgz (or apache1-1.3.37nb2.tgz)
apache2-2.0.59nb6.tgz
apache22-2.2.4nb6.tgz (or my preference apache2.2-2.2.4nb6.tgz)

I know this has been discussed before.

Can we please fix this?

This applies to probably other packages too.