Wigwam packages consist of a source tarball and a collection of specially formatted files.
The full name of a wigwam package is divided in three parts: PACKAGE-UPSTREAM_VERSION-RELEASE. We usually call UPSTREAM_VERSION-RELEASE just VERSION.
The UPSTREAM_VERSION number should exactly match the versioning system used by the original authors of the package. The RELEASE number should start at 1 for any given upstream version, then each update to the package which is based on the same upstream code should increment the release number.
For example, the first version of apache that we packaged was from apache_1.3.12.tar.gz, so the upstream-version was 1.3.12. The first Wigwam release of any package should have a release-number of 1, so the first version of apache in Wigwam 3.0 is 1.3.12-1. To correct a small packaging bug, 1.3.12-2 was released based on the same upstream code. Later, when we begin using Apache 2.0, we will make another package with the release-number set to 1; perhaps apache-2.0.0-1.