remove ntp & replace it with openntpd
[unleashed-userland.git] / make-rules / ips-buildinfo.mk
bloba9de940f97e2d0a20ab777a9f77ee0ff37ab8a94
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
21 # Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
22 # Copyright 2014 Andrzej Szeszo. All rights reserved.
26 # The package branch version scheme is:
28 # release_major.release_minor.update.component_revision
32 # Release major number: 2014, 2015, etc.
34 RELEASE_MAJOR ?= 2019
37 # Release minor number: 0, 1, 2, etc.
39 RELEASE_MINOR ?= 0
42 # Release update number: 0, 1, 2, etc.
44 UPDATENUM ?= 0
47 # Component revision. Should be specified in the component's Makefile
50 COMPONENT_REVISION ?= 0
53 # Branch Identifier. Used in the version section of the package name to
54 # identify the operating system branch that the package was produced for.
56 BRANCHID ?= $(RELEASE_MAJOR).$(RELEASE_MINOR).$(UPDATENUM).$(COMPONENT_REVISION)
59 # Build Version. Used in the version section of the package name to identify
60 # the operating system version and branch that the package was produced for.
62 BUILD_VERSION ?= $(PKG_SOLARIS_VERSION)-$(BRANCHID)
64 # Set a default reference repository against which pkglint is run, in case it
65 # hasn't been set in the environment.
66 #CANONICAL_REPO ?= http://ipkg.us.oracle.com/solaris12/dev/
68 # Pre-set some variables with GIT repo details
69 USERLAND_GIT_REMOTE ?= $(shell git remote -v | awk 'BEGIN { r = "unknown" } /origin.*fetch/ { r = $$2 } END { print r }')
70 USERLAND_GIT_BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD)
71 USERLAND_GIT_REV ?= $(shell git rev-parse HEAD)