components/openscap/Makefile
author John Beck <John.Beck@Oracle.COM>
Tue, 20 Oct 2015 15:05:05 -0700
changeset 4984 7145b15b7f0d
parent 4961 bb9b5359088a
child 5079 5d18f62e9f8a
permissions -rw-r--r--
PSARC 2014/190 Python 2.6 EOF 21136303 Python 2.6 EOF
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
4262
a41cef0f4f68 20995313 Update to OpenSCAP 1.2.3 to pickup important bug fixes
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3936
diff changeset
    30
COMPONENT_VERSION=	1.2.3
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
4262
a41cef0f4f68 20995313 Update to OpenSCAP 1.2.3 to pickup important bug fixes
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3936
diff changeset
    35
COMPONENT_ARCHIVE_HASH= sha256:c15d587e5cdfcef1316536e6ed8ad66fea3e083ac3d3b723b7e54208f63787c7
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
4262
a41cef0f4f68 20995313 Update to OpenSCAP 1.2.3 to pickup important bug fixes
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3936
diff changeset
    39
TPNO =			22513	
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
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
    46
4746
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4691
diff changeset
    47
PERL_VERSIONS = 5.12 5.20
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4691
diff changeset
    48
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
    49
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
    50
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
    51
include $(WS_MAKE_RULES)/ips.mk
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    52
3703
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
    53
PERL_VERSION.32 = 5.12
4746
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4691
diff changeset
    54
PERL_VERSION.64 = 5.20
3703
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 = $(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
    56
PERL = $(PERL.$(PERL_VERSION))
4746
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4691
diff changeset
    57
PKG_MACROS		+=	P_ARCH=$(shell arch)
3703
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
COMPONENT_POST_INSTALL_ACTION =	\
3775
8550c97efa63 20446640 CPE dictionary
Darren J Moffat <Darren.Moffat@Oracle.COM>
parents: 3703
diff changeset
    69
	$(RM) $(PROTO_DIR)/usr/share/openscap/cpe/* && \
8550c97efa63 20446640 CPE dictionary
Darren J Moffat <Darren.Moffat@Oracle.COM>
parents: 3703
diff changeset
    70
	$(CP) files/cpe/* $(PROTO_DIR)/usr/share/openscap/cpe
8550c97efa63 20446640 CPE dictionary
Darren J Moffat <Darren.Moffat@Oracle.COM>
parents: 3703
diff changeset
    71
2219
01548f9a0b62 20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents: 2016
diff changeset
    72
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    73
# 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
    74
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
    75
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
    76
CPPFLAGS +=	-I/usr/include/pcre
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    77
3703
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
    78
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
    79
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
    80
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
    81
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
    82
CONFIGURE_OPTIONS +=	CPPFLAGS="$(CPPFLAGS)"
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    83
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
    84
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
    85
CONFIGURE_OPTIONS +=	--enable-perl=yes
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    86
CONFIGURE_OPTIONS +=	--libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    87
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
    88
CONFIGURE_OPTIONS +=	am_cv_python_pyexecdir=$(PYTHON_VENDOR_PACKAGES)
4961
bb9b5359088a 21955956 libsocket tweak needed for openscap
John Beck <John.Beck@Oracle.COM>
parents: 4746
diff changeset
    89
EXTRA_LIBS =		-lldap_r
bb9b5359088a 21955956 libsocket tweak needed for openscap
John Beck <John.Beck@Oracle.COM>
parents: 4746
diff changeset
    90
ifeq ($(OS_VERSION),5.11)
bb9b5359088a 21955956 libsocket tweak needed for openscap
John Beck <John.Beck@Oracle.COM>
parents: 4746
diff changeset
    91
EXTRA_LIBS +=		-lnsl -lsocket
bb9b5359088a 21955956 libsocket tweak needed for openscap
John Beck <John.Beck@Oracle.COM>
parents: 4746
diff changeset
    92
endif
bb9b5359088a 21955956 libsocket tweak needed for openscap
John Beck <John.Beck@Oracle.COM>
parents: 4746
diff changeset
    93
EXTRA_LIBS +=		-lscf -ldlpi -lsec -lzonecfg -lv12n
bb9b5359088a 21955956 libsocket tweak needed for openscap
John Beck <John.Beck@Oracle.COM>
parents: 4746
diff changeset
    94
CONFIGURE_OPTIONS +=	LIBS="$(EXTRA_LIBS)"
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    95
1744
180ac678ea41 16780732 HTML docs missing from OpenSCAP pacakge
Jacob Varughese <jacob.varughese@oracle.com>
parents: 1698
diff changeset
    96
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
    97
3703
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
    98
# 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
    99
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
   100
3703
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
   101
# common targets
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
   102
configure:	$(CONFIGURE_32_and_64)
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   103
3703
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
   104
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
   105
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
   106
install:	$(INSTALL_32_and_64)
1744
180ac678ea41 16780732 HTML docs missing from OpenSCAP pacakge
Jacob Varughese <jacob.varughese@oracle.com>
parents: 1698
diff changeset
   107
		$(MKDIR) $(DOCS_DIR)
180ac678ea41 16780732 HTML docs missing from OpenSCAP pacakge
Jacob Varughese <jacob.varughese@oracle.com>
parents: 1698
diff changeset
   108
		$(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
   109
3703
71b5204c547a 16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents: 3595
diff changeset
   110
test:		$(TEST_32_and_64)
848
0c3d865471c8 PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   111
4339
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 4262
diff changeset
   112
system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 4262
diff changeset
   113
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   114
REQUIRED_PACKAGES += compress/bzip2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   115
REQUIRED_PACKAGES += developer/swig
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   116
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
   117
REQUIRED_PACKAGES += library/glib2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   118
REQUIRED_PACKAGES += library/libxml2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   119
REQUIRED_PACKAGES += library/libxslt
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   120
REQUIRED_PACKAGES += library/openldap
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   121
REQUIRED_PACKAGES += library/pcre
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   122
REQUIRED_PACKAGES += runtime/perl-512
4746
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4691
diff changeset
   123
REQUIRED_PACKAGES += runtime/perl-520
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   124
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
   125
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
   126
REQUIRED_PACKAGES += system/library
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   127
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
   128
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
   129
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
   130
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
   131
REQUIRED_PACKAGES += system/library/security/libgcrypt
4691
f4bb20acf10d 21227567 Need a probe to implement the OVAL virtualizationinfo schema
Jacob Varughese <jacob.varughese@oracle.com>
parents: 4339
diff changeset
   132
REQUIRED_PACKAGES += system/library/libv12n
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   133
REQUIRED_PACKAGES += system/zones
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3775
diff changeset
   134
REQUIRED_PACKAGES += web/curl