components/pwgen/Makefile
author Matt Keenan <matt.keenan@oracle.com>
Fri, 19 Jun 2015 09:35:02 +0100
branchs11-update
changeset 4508 d8924d870370
parent 4067 4be1f488dda8
permissions -rw-r--r--
PSARC 2015/172 OpenStack Ironic (OpenStack Bare Metal Provisioning Service) PSARC 2015/070 pecan - Lightweight Python web-framework PSARC 2015/071 PyCA Python Cryptography PSARC 2015/170 OpenStack client for Ironic (Bare Metal Provisioning) PSARC 2015/171 scp - python secure copy PSARC 2015/196 singledispatch - Single-dispatch generic functions for Python PSARC 2015/197 logutils - Set of handlers for standard Python logging library PSARC 2015/198 Support for enumerations in Python 2.6 and 2.7 PSARC 2015/250 paramiko - SSHv2 protocol implementation in Python 20547142 Request to integrate Ironic into userland 17502639 The Python paramiko module should be added to Userland 20172780 The Python module scp should be added to Userland 20180376 The Python module ironicclient should be added to Userland 20182588 The Python module pecan should be added to Userland 20465525 The PyCA cryptography module should be added to Userland 20904396 The Python module singledispatch should be added to Userland 20904413 The Python module logutils should be added to Userland 20917993 The Python enum34 module should be added to Userland
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
107
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     1
#
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     3
#
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     7
#
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    12
#
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    18
#
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    20
#
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    21
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    22
#
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    23
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
107
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    24
#
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    25
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    27
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		pwgen
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    29
COMPONENT_VERSION=	2.06
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 181
diff changeset
    30
COMPONENT_PROJECT_URL=	http://sourceforge.net/projects/pwgen/
107
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    31
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    33
COMPONENT_ARCHIVE_HASH=	\
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    34
    sha256:61598c9e3a0f7eb2e7367d4ecc71522c4f16a7d41ed31db29e3afee8d9843454
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 181
diff changeset
    35
COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)files/pwgen/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)	
2434
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents: 800
diff changeset
    36
COMPONENT_BUGDB=	utility/pwgen
107
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    37
3661
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 3027
diff changeset
    38
TPNO=			9020
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 3027
diff changeset
    39
3027
3bcf7d43558b 17636356 problem in UTILITY/PWGEN
Jiri Kukacka <jiri.kukacka@oracle.com>
parents: 2434
diff changeset
    40
CONFIGURE_OPTIONS += LDFLAGS="$(CC_BITS)"
3bcf7d43558b 17636356 problem in UTILITY/PWGEN
Jiri Kukacka <jiri.kukacka@oracle.com>
parents: 2434
diff changeset
    41
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    42
include $(WS_MAKE_RULES)/prep.mk
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    43
include $(WS_MAKE_RULES)/configure.mk
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    44
include $(WS_MAKE_RULES)/ips.mk
107
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    45
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    46
# IPS Package versions contain sequences of non-negative (for now) integers,
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    47
# separated by dots.  Leading zeroes are not allowed, due to ordering
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    48
# ambiguity, so IPS team has to massage "06" into "6" and thus IPS version
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    49
# of pwgen is actually 2.6 and not 2.06.  IPS_COMPONENT_VERSION is by default
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    50
# set to $(COMPONENT_VERSION) but in this case it has to be set specifically
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    51
# to "2.6" to comply with the convention described above.
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    52
#
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    53
IPS_COMPONENT_VERSION=	2.6
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    54
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    55
# configure in pwgen is generated by autoconf 2.13, which does not accept the
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    56
# variables like CC, CXX, etc.  The solution is to generate a new configure
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    57
# using modern autoconf available on the build system (version 2.63 in the
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    58
# time of creating this makefile).
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    59
#
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    60
COMPONENT_PREP_ACTION=	(cd $(@D) ; autoconf) 
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    61
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    62
CONFIGURE_OPTIONS+= 	CFLAGS="$(CFLAGS)"
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    63
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    64
# This is to get rid of gcc specific -Wxxx options in pwgen makefile
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    65
#
151
f9e42a3f7095 7030982 hgk is delivered 444, breaks 'hg view'
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 107
diff changeset
    66
COMPONENT_BUILD_ARGS = WALL_OPTS=
107
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    67
3027
3bcf7d43558b 17636356 problem in UTILITY/PWGEN
Jiri Kukacka <jiri.kukacka@oracle.com>
parents: 2434
diff changeset
    68
ASLR_MODE = $(ASLR_ENABLE)
3bcf7d43558b 17636356 problem in UTILITY/PWGEN
Jiri Kukacka <jiri.kukacka@oracle.com>
parents: 2434
diff changeset
    69
107
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    70
# common targets
3027
3bcf7d43558b 17636356 problem in UTILITY/PWGEN
Jiri Kukacka <jiri.kukacka@oracle.com>
parents: 2434
diff changeset
    71
build:		$(BUILD_64)
107
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    72
3027
3bcf7d43558b 17636356 problem in UTILITY/PWGEN
Jiri Kukacka <jiri.kukacka@oracle.com>
parents: 2434
diff changeset
    73
install:	$(INSTALL_64)
181
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 151
diff changeset
    74
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 151
diff changeset
    75
test:		$(NO_TESTS)
107
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    76
1c15e37261c1 7019613 move pwgen to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    77
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    78
REQUIRED_PACKAGES += system/library
4067
4be1f488dda8 16997972 crypto package refactoring breaks userland build
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 3996
diff changeset
    79
REQUIRED_PACKAGES += system/library/security/crypto