author | John Beck <John.Beck@Oracle.COM> |
Mon, 28 Sep 2015 11:09:18 -0700 | |
changeset 4961 | bb9b5359088a |
parent 4746 | 8e237ffd0a48 |
child 4984 | 7145b15b7f0d |
permissions | -rw-r--r-- |
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 |
# 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 |
|
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
|
50 |
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
|
51 |
|
3817
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)/prep.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3775
diff
changeset
|
53 |
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
|
54 |
include $(WS_MAKE_RULES)/ips.mk |
848
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
55 |
|
3703
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.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
|
57 |
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
|
58 |
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
|
59 |
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
|
60 |
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
|
61 |
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
|
62 |
CPPFLAGS += -I/usr/include/openldap |
848
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
63 |
|
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
64 |
# Perl related patch needs configure script recreation. |
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
65 |
COMPONENT_PREP_ACTION +=(cd $(@D); autoreconf); |
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
66 |
|
2219
01548f9a0b62
20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents:
2016
diff
changeset
|
67 |
# 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
|
68 |
COMPONENT_PRE_CONFIGURE_ACTION = \ |
01548f9a0b62
20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents:
2016
diff
changeset
|
69 |
($(CLONEY) $(SOURCE_DIR) $(@D)) |
01548f9a0b62
20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents:
2016
diff
changeset
|
70 |
|
01548f9a0b62
20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents:
2016
diff
changeset
|
71 |
# 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
|
72 |
# 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
|
73 |
# 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
|
74 |
COMPONENT_POST_CONFIGURE_ACTION = \ |
01548f9a0b62
20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents:
2016
diff
changeset
|
75 |
(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
|
76 |
$(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
|
77 |
-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
|
78 |
-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
|
79 |
|
01548f9a0b62
20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents:
2016
diff
changeset
|
80 |
COMPONENT_POST_INSTALL_ACTION = \ |
3775
8550c97efa63
20446640 CPE dictionary
Darren J Moffat <Darren.Moffat@Oracle.COM>
parents:
3703
diff
changeset
|
81 |
(cd $(@D)/swig2.7 ; $(GMAKE) $(COMPONENT_INSTALL_ARGS) install) ; \ |
8550c97efa63
20446640 CPE dictionary
Darren J Moffat <Darren.Moffat@Oracle.COM>
parents:
3703
diff
changeset
|
82 |
$(RM) $(PROTO_DIR)/usr/share/openscap/cpe/* && \ |
8550c97efa63
20446640 CPE dictionary
Darren J Moffat <Darren.Moffat@Oracle.COM>
parents:
3703
diff
changeset
|
83 |
$(CP) files/cpe/* $(PROTO_DIR)/usr/share/openscap/cpe |
8550c97efa63
20446640 CPE dictionary
Darren J Moffat <Darren.Moffat@Oracle.COM>
parents:
3703
diff
changeset
|
84 |
|
2219
01548f9a0b62
20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents:
2016
diff
changeset
|
85 |
|
848
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
86 |
# 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
|
87 |
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
|
88 |
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
|
89 |
CPPFLAGS += -I/usr/include/pcre |
848
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
90 |
|
3703
71b5204c547a
16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents:
3595
diff
changeset
|
91 |
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
|
92 |
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
|
93 |
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
|
94 |
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
|
95 |
CONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)" |
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
96 |
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
|
97 |
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
|
98 |
CONFIGURE_OPTIONS += --enable-perl=yes |
848
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
99 |
CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.$(BITS)) |
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
100 |
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
|
101 |
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
|
102 |
EXTRA_LIBS = -lldap_r |
bb9b5359088a
21955956 libsocket tweak needed for openscap
John Beck <John.Beck@Oracle.COM>
parents:
4746
diff
changeset
|
103 |
ifeq ($(OS_VERSION),5.11) |
bb9b5359088a
21955956 libsocket tweak needed for openscap
John Beck <John.Beck@Oracle.COM>
parents:
4746
diff
changeset
|
104 |
EXTRA_LIBS += -lnsl -lsocket |
bb9b5359088a
21955956 libsocket tweak needed for openscap
John Beck <John.Beck@Oracle.COM>
parents:
4746
diff
changeset
|
105 |
endif |
bb9b5359088a
21955956 libsocket tweak needed for openscap
John Beck <John.Beck@Oracle.COM>
parents:
4746
diff
changeset
|
106 |
EXTRA_LIBS += -lscf -ldlpi -lsec -lzonecfg -lv12n |
bb9b5359088a
21955956 libsocket tweak needed for openscap
John Beck <John.Beck@Oracle.COM>
parents:
4746
diff
changeset
|
107 |
CONFIGURE_OPTIONS += LIBS="$(EXTRA_LIBS)" |
848
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
108 |
|
1744
180ac678ea41
16780732 HTML docs missing from OpenSCAP pacakge
Jacob Varughese <jacob.varughese@oracle.com>
parents:
1698
diff
changeset
|
109 |
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
|
110 |
|
3703
71b5204c547a
16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents:
3595
diff
changeset
|
111 |
# 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
|
112 |
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
|
113 |
|
3703
71b5204c547a
16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents:
3595
diff
changeset
|
114 |
# common targets |
71b5204c547a
16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents:
3595
diff
changeset
|
115 |
configure: $(CONFIGURE_32_and_64) |
848
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
116 |
|
3703
71b5204c547a
16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents:
3595
diff
changeset
|
117 |
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
|
118 |
|
71b5204c547a
16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents:
3595
diff
changeset
|
119 |
install: $(INSTALL_32_and_64) |
1744
180ac678ea41
16780732 HTML docs missing from OpenSCAP pacakge
Jacob Varughese <jacob.varughese@oracle.com>
parents:
1698
diff
changeset
|
120 |
$(MKDIR) $(DOCS_DIR) |
180ac678ea41
16780732 HTML docs missing from OpenSCAP pacakge
Jacob Varughese <jacob.varughese@oracle.com>
parents:
1698
diff
changeset
|
121 |
$(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
|
122 |
|
3703
71b5204c547a
16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents:
3595
diff
changeset
|
123 |
test: $(TEST_32_and_64) |
848
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
124 |
|
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
|
125 |
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
|
126 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3775
diff
changeset
|
127 |
REQUIRED_PACKAGES += compress/bzip2 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3775
diff
changeset
|
128 |
REQUIRED_PACKAGES += developer/swig |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3775
diff
changeset
|
129 |
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
|
130 |
REQUIRED_PACKAGES += library/glib2 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3775
diff
changeset
|
131 |
REQUIRED_PACKAGES += library/libxml2 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3775
diff
changeset
|
132 |
REQUIRED_PACKAGES += library/libxslt |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3775
diff
changeset
|
133 |
REQUIRED_PACKAGES += library/openldap |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3775
diff
changeset
|
134 |
REQUIRED_PACKAGES += library/pcre |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3775
diff
changeset
|
135 |
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
|
136 |
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
|
137 |
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
|
138 |
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
|
139 |
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
|
140 |
REQUIRED_PACKAGES += system/library |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3775
diff
changeset
|
141 |
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
|
142 |
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
|
143 |
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
|
144 |
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
|
145 |
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
|
146 |
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
|
147 |
REQUIRED_PACKAGES += system/zones |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3775
diff
changeset
|
148 |
REQUIRED_PACKAGES += web/curl |