commit | author | age
|
4cfb92
|
1 |
# |
NJ |
2 |
# CDDL HEADER START |
|
3 |
# |
|
4 |
# The contents of this file are subject to the terms of the |
|
5 |
# Common Development and Distribution License (the "License"). |
|
6 |
# You may not use this file except in compliance with the License. |
|
7 |
# |
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 |
# or http://www.opensolaris.org/os/licensing. |
|
10 |
# See the License for the specific language governing permissions |
|
11 |
# and limitations under the License. |
|
12 |
# |
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
523f63
|
21 |
# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. |
4cfb92
|
22 |
# |
NJ |
23 |
|
|
24 |
|
|
25 |
# The package branch version scheme is: |
|
26 |
# |
097eb5
|
27 |
# release_major.release_minor.update.SRU.platform.buildid.nightlyid |
4cfb92
|
28 |
# |
NJ |
29 |
# where |
|
30 |
# update : 0 for FCS, 1 for update 1, etc. |
|
31 |
# SRU : SRU (support repository update) number for this update |
|
32 |
# platform : reserved for future use. |
|
33 |
# buildid : the build number of the last non-zero element from above |
097eb5
|
34 |
# nightlyid: nightly build identifier |
4cfb92
|
35 |
# |
097eb5
|
36 |
# This scheme is used below. |
4cfb92
|
37 |
# |
NJ |
38 |
|
|
39 |
# |
|
40 |
# The Solaris Update number. This will be set by the gatekeepers. |
|
41 |
# The value must match the update number of the release. |
|
42 |
# |
097eb5
|
43 |
UPDATENUM ?= 0 |
4cfb92
|
44 |
|
NJ |
45 |
# |
|
46 |
# Support Respository Update number. This is here to reserve space within the |
|
47 |
# version string. Typically it should not be set unless all the packages |
|
48 |
# are being delivered within an SRU. |
|
49 |
# |
|
50 |
SRUNUM ?= 0 |
|
51 |
|
|
52 |
# |
|
53 |
# Platform number. This is here to reserve space within the version |
|
54 |
# string. It should not be set unless there is a specific need to |
|
55 |
# release a platform update while the Solaris Update is being built. |
|
56 |
# |
|
57 |
PLATNUM ?= 0 |
|
58 |
|
|
59 |
# |
|
60 |
# Build Identifier. Used to indicate which build (or respin for |
|
61 |
# the development build) of the Solaris Update is being built. |
|
62 |
# This is set by the gatekeepers. |
|
63 |
# |
fd8271
|
64 |
BUILDID ?= 15 |
4cfb92
|
65 |
|
NJ |
66 |
# Each (nightly) build of the code that produces packages needs to |
|
67 |
# be uniquely identified so that packages produced by different |
|
68 |
# builds can't be mixed. Mixing packages from different builds can |
097eb5
|
69 |
# easily result in broken global and nonglobal zones. Or at least |
MS |
70 |
# that's the case in ON, which this is copied from. We keep it simple, |
|
71 |
# though you could use something like this if you want: |
4cfb92
|
72 |
# |
097eb5
|
73 |
#NIGHTLYID ?= $(shell hg tip --template '{rev}\n') |
MS |
74 |
# |
|
75 |
NIGHTLYID ?= 0 |
4cfb92
|
76 |
|
NJ |
77 |
# |
|
78 |
# Branch Identifier. Used in the version section of the package name to |
|
79 |
# identify the operating system branch that the package was produced for. |
|
80 |
# |
|
81 |
BRANCHID ?= \ |
097eb5
|
82 |
$(PKG_SOLARIS_VERSION).$(UPDATENUM).$(SRUNUM).$(PLATNUM).$(BUILDID).$(NIGHTLYID) |
4cfb92
|
83 |
|
NJ |
84 |
# |
|
85 |
# Build Version. Used in the version section of the package name to identify |
|
86 |
# the operating system version and branch that the package was produced for. |
|
87 |
# |
5b5214
|
88 |
BUILD_VERSION ?= $(PKG_SOLARIS_VERSION)-$(BRANCHID) |
4cfb92
|
89 |
|
4dadd9
|
90 |
# Set a default reference repository against which pkglint is run, in case it |
VM |
91 |
# hasn't been set in the environment. |
a7a456
|
92 |
CANONICAL_REPO ?= http://ipkg.us.oracle.com/solaris12/dev/ |
4dadd9
|
93 |
|