version.sh 913 Bytes
Newer Older
Kurt Zeilenga's avatar
Kurt Zeilenga committed
1
2
#! /bin/sh
# $OpenLDAP$
Kurt Zeilenga's avatar
Kurt Zeilenga committed
3
## Copyright 2000-2003 The OpenLDAP Foundation
Kurt Zeilenga's avatar
Kurt Zeilenga committed
4
5
6
7
8
## COPYING RESTRICTIONS APPLY.  See COPYRIGHT File in top level directory
## of this package for details.
#
ol_package=OpenLDAP
ol_major=2
Kurt Zeilenga's avatar
Kurt Zeilenga committed
9
ol_minor=1
Kurt Zeilenga's avatar
Kurt Zeilenga committed
10
ol_patch=15
Kurt Zeilenga's avatar
Kurt Zeilenga committed
11
12
ol_api_inc=20115
ol_api_lib=2:115:0
Kurt Zeilenga's avatar
Kurt Zeilenga committed
13
ol_release_date="03-09-2003"
Kurt Zeilenga's avatar
Kurt Zeilenga committed
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

if test $ol_patch != X ; then
	ol_version=${ol_major}.${ol_minor}.${ol_patch}
	ol_type=Release
elif test $ol_minor != X ; then
	ol_version=${ol_major}.${ol_minor}.${ol_patch}
	ol_type=Engineering
else
	ol_version=${ol_major}.${ol_minor}
	ol_type=Devel
	ol_api_lib=0:0:0
fi

ol_string="${ol_package} ${ol_version}-${ol_type}"

echo OL_PACKAGE=\"${ol_package}\"
echo OL_MAJOR=$ol_major
echo OL_MINOR=$ol_minor
echo OL_PATCH=$ol_patch
echo OL_API_INC=$ol_api_inc
echo OL_API_LIB=$ol_api_lib
echo OL_VERSION=$ol_version
echo OL_TYPE=$ol_type
echo OL_STRING=\"${ol_string}\"
Kurt Zeilenga's avatar
Kurt Zeilenga committed
38
echo OL_RELEASE_DATE=\"${ol_release_date}\"