components/openscap/Makefile
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Thu, 19 Mar 2015 16:10:56 -0700
changeset 3993 0d77bb4904f8
parent 3936 c344422ee38b
child 4262 a41cef0f4f68
permissions -rw-r--r--
20460079 bison should have some master test results to compare against 20460105 bzip should have some master test results to compare against 20460798 gnu make should have some master test results to compare against 20461231 tcsh should have some master test results to compare against
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
#
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
#
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
#
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    21
#
3595
3fab3649e6cd PSARC/2014/441 OpenSCAP update to 1.2.0 and 3PSC
Jacob Varughese <jacob.varughese@oracle.com>
parents: 2219
diff changeset
    22
# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    23
#
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
    25
COMPILER =	gcc
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
    26
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
include ../../make-rules/shared-macros.mk
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    29
COMPONENT_NAME=		openscap
3848
51518746d397 20570264 upgrade openscap to 1.2.1 for OVAL schema 5.11
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3817
diff changeset
    30
COMPONENT_VERSION=	1.2.1
1369
20813e08fff3 16186483 Port openscap 0.9.7 to solaris
Jacob Varughese <jacob.varughese@oracle.com>
parents: 1136
diff changeset
    31
COMPONENT_PROJECT_URL=  http://www.open-scap.org
20813e08fff3 16186483 Port openscap 0.9.7 to solaris
Jacob Varughese <jacob.varughese@oracle.com>
parents: 1136
diff changeset
    32
COMPONENT_DOWNLOAD_URL= https://fedorahosted.org/releases/o/p/openscap
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    33
COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
3848
51518746d397 20570264 upgrade openscap to 1.2.1 for OVAL schema 5.11
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3817
diff changeset
    35
COMPONENT_ARCHIVE_HASH= sha256:6f7fdc579c4c27554cc3ec99a4f16381b719faa8c9b3ea09575d872a2c46eedb
1369
20813e08fff3 16186483 Port openscap 0.9.7 to solaris
Jacob Varughese <jacob.varughese@oracle.com>
parents: 1136
diff changeset
    36
COMPONENT_ARCHIVE_URL=  $(COMPONENT_DOWNLOAD_URL)/$(COMPONENT_ARCHIVE)
20813e08fff3 16186483 Port openscap 0.9.7 to solaris
Jacob Varughese <jacob.varughese@oracle.com>
parents: 1136
diff changeset
    37
COMPONENT_BUGDB=        utility/openscap
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    38
3848
51518746d397 20570264 upgrade openscap to 1.2.1 for OVAL schema 5.11
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3817
diff changeset
    39
TPNO =			21175
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1744
diff changeset
    40
1136
226e8d9d2ff0 16186528 Implement SMF probe to support the OVAL schema for solaris
Jacob Varughese <jacob.varughese@oracle.com>
parents: 1058
diff changeset
    41
CFLAGS+=		-std=c99
226e8d9d2ff0 16186528 Implement SMF probe to support the OVAL schema for solaris
Jacob Varughese <jacob.varughese@oracle.com>
parents: 1058
diff changeset
    42
CFLAGS+=		-DNDEBUG
1698
72e1a26a96a1 17859035 upgrade openscap-0.9.7 to openscap-1.0.0
Jacob Varughese <jacob.varughese@oracle.com>
parents: 1645
diff changeset
    43
CFLAGS+=		-DOSCAP_THREAD_SAFE
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    44
3936
c344422ee38b 20674483 change Userland Python default version from 2.6 to 2.7
John Beck <John.Beck@Oracle.COM>
parents: 3848
diff changeset
    45
# When Python 2.6 goes away, the _VERSION (singular) line below can go as well,
c344422ee38b 20674483 change Userland Python default version from 2.6 to 2.7
John Beck <John.Beck@Oracle.COM>
parents: 3848
diff changeset
    46
# as can the COMPONENT_POST_CONFIGURE_ACTION and possibly more.
c344422ee38b 20674483 change Userland Python default version from 2.6 to 2.7
John Beck <John.Beck@Oracle.COM>
parents: 3848
diff changeset
    47
PYTHON_VERSION=		2.6
c344422ee38b 20674483 change Userland Python default version from 2.6 to 2.7
John Beck <John.Beck@Oracle.COM>
parents: 3848
diff changeset
    48
PYTHON_VERSIONS=	$(PYTHON2_VERSIONS)
2219
01548f9a0b62 20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents: 2016
diff changeset
    49
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
    50
include $(WS_MAKE_RULES)/prep.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
    51
include $(WS_MAKE_RULES)/configure.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
    52
include $(WS_MAKE_RULES)/ips.mk
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    53
3703
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
    54
PERL_VERSION.32 = 5.12
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
    55
PERL_VERSION.64 = 5.16
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
    56
PERL_VERSION = $(PERL_VERSION.$(BITS))
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
    57
PERL = $(PERL.$(PERL_VERSION))
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
    58
CONFIGURE_BINDIR.64 =	$(CONFIGURE_PREFIX)/bin
1136
226e8d9d2ff0 16186528 Implement SMF probe to support the OVAL schema for solaris
Jacob Varughese <jacob.varughese@oracle.com>
parents: 1058
diff changeset
    59
CPPFLAGS +=	-I/usr/include/openldap
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    60
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    61
# Perl related patch needs configure script recreation.
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    62
COMPONENT_PREP_ACTION +=(cd $(@D); autoreconf);
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    63
2219
01548f9a0b62 20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents: 2016
diff changeset
    64
# Need to do cloney, so that the schema files can get packaged.
01548f9a0b62 20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents: 2016
diff changeset
    65
COMPONENT_PRE_CONFIGURE_ACTION = \
01548f9a0b62 20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents: 2016
diff changeset
    66
    ($(CLONEY) $(SOURCE_DIR) $(@D))
01548f9a0b62 20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents: 2016
diff changeset
    67
01548f9a0b62 20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents: 2016
diff changeset
    68
# We could use a single regular expression to cover all of the following,
01548f9a0b62 20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents: 2016
diff changeset
    69
# but we want to be as specific as possible to avoid accidentally catching
01548f9a0b62 20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents: 2016
diff changeset
    70
# workspace paths in our substitution.
01548f9a0b62 20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents: 2016
diff changeset
    71
COMPONENT_POST_CONFIGURE_ACTION = \
01548f9a0b62 20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents: 2016
diff changeset
    72
    (cd $(@D) ; cp -rp swig swig2.7 ; \
01548f9a0b62 20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents: 2016
diff changeset
    73
    $(GSED) -i -e 's|usr/include/python2.6|usr/include/python2.7|' \
01548f9a0b62 20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents: 2016
diff changeset
    74
     -e 's|$(PYTHON.2.6.VENDOR_PACKAGES.32)|$(PYTHON.2.7.VENDOR_PACKAGES.32)|' \
3595
3fab3649e6cd PSARC/2014/441 OpenSCAP update to 1.2.0 and 3PSC
Jacob Varughese <jacob.varughese@oracle.com>
parents: 2219
diff changeset
    75
     -e 's|PYTHON_VERSION = 2.6|PYTHON_VERSION = 2.7|' swig2.7/Makefile swig2.7/python2/Makefile)
2219
01548f9a0b62 20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents: 2016
diff changeset
    76
01548f9a0b62 20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents: 2016
diff changeset
    77
COMPONENT_POST_INSTALL_ACTION =	\
3775
8550c97efa63 20446640 CPE dictionary
Darren J Moffat <Darren.Moffat@Oracle.COM>
parents: 3703
diff changeset
    78
	(cd $(@D)/swig2.7 ; $(GMAKE) $(COMPONENT_INSTALL_ARGS) install) ; \
8550c97efa63 20446640 CPE dictionary
Darren J Moffat <Darren.Moffat@Oracle.COM>
parents: 3703
diff changeset
    79
	$(RM) $(PROTO_DIR)/usr/share/openscap/cpe/* && \
8550c97efa63 20446640 CPE dictionary
Darren J Moffat <Darren.Moffat@Oracle.COM>
parents: 3703
diff changeset
    80
	$(CP) files/cpe/* $(PROTO_DIR)/usr/share/openscap/cpe
8550c97efa63 20446640 CPE dictionary
Darren J Moffat <Darren.Moffat@Oracle.COM>
parents: 3703
diff changeset
    81
2219
01548f9a0b62 20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents: 2016
diff changeset
    82
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    83
# Needed to make "gmake test" work.
1136
226e8d9d2ff0 16186528 Implement SMF probe to support the OVAL schema for solaris
Jacob Varughese <jacob.varughese@oracle.com>
parents: 1058
diff changeset
    84
CPPFLAGS +=	-I$(SOURCE_DIR)/src/OVAL
226e8d9d2ff0 16186528 Implement SMF probe to support the OVAL schema for solaris
Jacob Varughese <jacob.varughese@oracle.com>
parents: 1058
diff changeset
    85
CPPFLAGS +=	-I$(SOURCE_DIR)/src/OVAL/probes
226e8d9d2ff0 16186528 Implement SMF probe to support the OVAL schema for solaris
Jacob Varughese <jacob.varughese@oracle.com>
parents: 1058
diff changeset
    86
CPPFLAGS +=	-I/usr/include/pcre
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    87
3703
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
    88
CONFIGURE_ENV +=        PERL="$(PERL)"
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
    89
CONFIGURE_ENV +=        PYTHON="$(PYTHON.$(BITS))"
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
    90
CONFIGURE_OPTIONS.32 +=	CFLAGS="$(CFLAGS)"
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
    91
CONFIGURE_OPTIONS.64 +=	CFLAGS="$(CFLAGS) -D_FILE_OFFSET_BITS=64"
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    92
CONFIGURE_OPTIONS +=	CPPFLAGS="$(CPPFLAGS)"
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    93
CONFIGURE_OPTIONS +=	--enable-debug=no
1136
226e8d9d2ff0 16186528 Implement SMF probe to support the OVAL schema for solaris
Jacob Varughese <jacob.varughese@oracle.com>
parents: 1058
diff changeset
    94
CONFIGURE_OPTIONS +=	--enable-sce=yes
1369
20813e08fff3 16186483 Port openscap 0.9.7 to solaris
Jacob Varughese <jacob.varughese@oracle.com>
parents: 1136
diff changeset
    95
CONFIGURE_OPTIONS +=	--enable-perl=yes
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    96
CONFIGURE_OPTIONS +=	--libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    97
CONFIGURE_OPTIONS +=	am_cv_python_pythondir=$(PYTHON_VENDOR_PACKAGES)
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    98
CONFIGURE_OPTIONS +=	am_cv_python_pyexecdir=$(PYTHON_VENDOR_PACKAGES)
2016
50e1c2ae28b8 19173594 oscap crashes when compliance is run
Jacob Varughese <jacob.varughese@oracle.com>
parents: 1948
diff changeset
    99
CONFIGURE_OPTIONS +=	LIBS="-lldap_r -lscf -ldlpi -lsec -lzonecfg"
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   100
1744
180ac678ea41 16780732 HTML docs missing from OpenSCAP pacakge
Jacob Varughese <jacob.varughese@oracle.com>
parents: 1698
diff changeset
   101
DOCS_DIR = $(PROTO_DIR)/usr/share/docs/openscap/html/
180ac678ea41 16780732 HTML docs missing from OpenSCAP pacakge
Jacob Varughese <jacob.varughese@oracle.com>
parents: 1698
diff changeset
   102
3703
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
   103
# Enable ASLR for this component
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
   104
ASLR_MODE = $(ASLR_ENABLE)
2219
01548f9a0b62 20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents: 2016
diff changeset
   105
3703
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
   106
# common targets
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
   107
configure:	$(CONFIGURE_32_and_64)
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   108
3703
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
   109
build:		$(BUILD_32_and_64)
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
   110
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
   111
install:	$(INSTALL_32_and_64)
1744
180ac678ea41 16780732 HTML docs missing from OpenSCAP pacakge
Jacob Varughese <jacob.varughese@oracle.com>
parents: 1698
diff changeset
   112
		$(MKDIR) $(DOCS_DIR)
180ac678ea41 16780732 HTML docs missing from OpenSCAP pacakge
Jacob Varughese <jacob.varughese@oracle.com>
parents: 1698
diff changeset
   113
		$(CP) $(SOURCE_DIR)/docs/html/* $(DOCS_DIR)
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   114
3703
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
   115
test:		$(TEST_32_and_64)
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   116
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   117
REQUIRED_PACKAGES += compress/bzip2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   118
REQUIRED_PACKAGES += developer/swig
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   119
REQUIRED_PACKAGES += gnome/config/gconf
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   120
REQUIRED_PACKAGES += library/glib2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   121
REQUIRED_PACKAGES += library/libxml2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   122
REQUIRED_PACKAGES += library/libxslt
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   123
REQUIRED_PACKAGES += library/openldap
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   124
REQUIRED_PACKAGES += library/pcre
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   125
REQUIRED_PACKAGES += runtime/perl-512
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   126
REQUIRED_PACKAGES += runtime/perl-516
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   127
REQUIRED_PACKAGES += runtime/python-26
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   128
REQUIRED_PACKAGES += runtime/python-27
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   129
REQUIRED_PACKAGES += security/compliance/openscap
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   130
REQUIRED_PACKAGES += system/library
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   131
REQUIRED_PACKAGES += system/library/gcc-3-runtime
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   132
REQUIRED_PACKAGES += system/library/gcc-45-runtime
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   133
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   134
REQUIRED_PACKAGES += system/library/math
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   135
REQUIRED_PACKAGES += system/library/security/libgcrypt
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   136
REQUIRED_PACKAGES += system/zones
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   137
REQUIRED_PACKAGES += web/curl