author | Norm Jacobs <Norm.Jacobs@Sun.COM> |
Sun, 15 Feb 2015 19:02:09 -0600 | |
changeset 3817 | 30b42c38bbc4 |
parent 3775 | 8550c97efa63 |
child 3848 | 51518746d397 |
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 |
3595
3fab3649e6cd
PSARC/2014/441 OpenSCAP update to 1.2.0 and 3PSC
Jacob Varughese <jacob.varughese@oracle.com>
parents:
2219
diff
changeset
|
30 |
COMPONENT_VERSION= 1.2.0 |
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 |
3595
3fab3649e6cd
PSARC/2014/441 OpenSCAP update to 1.2.0 and 3PSC
Jacob Varughese <jacob.varughese@oracle.com>
parents:
2219
diff
changeset
|
35 |
COMPONENT_ARCHIVE_HASH= sha256:88329ebf23e7c7d063cdb5615fe1f68b18fb436a0df81307c5acc3b5963d7cec |
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 |
|
3595
3fab3649e6cd
PSARC/2014/441 OpenSCAP update to 1.2.0 and 3PSC
Jacob Varughese <jacob.varughese@oracle.com>
parents:
2219
diff
changeset
|
39 |
TPNO = 20626 |
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 |
|
2219
01548f9a0b62
20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents:
2016
diff
changeset
|
45 |
PYTHON_VERSIONS= 2.7 2.6 |
01548f9a0b62
20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents:
2016
diff
changeset
|
46 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3775
diff
changeset
|
47 |
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
|
48 |
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
|
49 |
include $(WS_MAKE_RULES)/ips.mk |
848
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
50 |
|
3703
71b5204c547a
16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents:
3595
diff
changeset
|
51 |
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
|
52 |
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
|
53 |
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
|
54 |
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
|
55 |
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
|
56 |
CPPFLAGS += -I/usr/include/openldap |
848
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
57 |
|
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
58 |
# Perl related patch needs configure script recreation. |
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
59 |
COMPONENT_PREP_ACTION +=(cd $(@D); autoreconf); |
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
60 |
|
2219
01548f9a0b62
20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents:
2016
diff
changeset
|
61 |
# 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
|
62 |
COMPONENT_PRE_CONFIGURE_ACTION = \ |
01548f9a0b62
20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents:
2016
diff
changeset
|
63 |
($(CLONEY) $(SOURCE_DIR) $(@D)) |
01548f9a0b62
20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents:
2016
diff
changeset
|
64 |
|
01548f9a0b62
20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents:
2016
diff
changeset
|
65 |
# 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
|
66 |
# 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
|
67 |
# 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
|
68 |
COMPONENT_POST_CONFIGURE_ACTION = \ |
01548f9a0b62
20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents:
2016
diff
changeset
|
69 |
(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
|
70 |
$(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
|
71 |
-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
|
72 |
-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
|
73 |
|
01548f9a0b62
20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents:
2016
diff
changeset
|
74 |
COMPONENT_POST_INSTALL_ACTION = \ |
3775
8550c97efa63
20446640 CPE dictionary
Darren J Moffat <Darren.Moffat@Oracle.COM>
parents:
3703
diff
changeset
|
75 |
(cd $(@D)/swig2.7 ; $(GMAKE) $(COMPONENT_INSTALL_ARGS) install) ; \ |
8550c97efa63
20446640 CPE dictionary
Darren J Moffat <Darren.Moffat@Oracle.COM>
parents:
3703
diff
changeset
|
76 |
$(RM) $(PROTO_DIR)/usr/share/openscap/cpe/* && \ |
8550c97efa63
20446640 CPE dictionary
Darren J Moffat <Darren.Moffat@Oracle.COM>
parents:
3703
diff
changeset
|
77 |
$(CP) files/cpe/* $(PROTO_DIR)/usr/share/openscap/cpe |
8550c97efa63
20446640 CPE dictionary
Darren J Moffat <Darren.Moffat@Oracle.COM>
parents:
3703
diff
changeset
|
78 |
|
2219
01548f9a0b62
20063588 OpenSCAP should provide a Python 2.7 module
John Beck <John.Beck@Oracle.COM>
parents:
2016
diff
changeset
|
79 |
|
848
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
80 |
# 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
|
81 |
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
|
82 |
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
|
83 |
CPPFLAGS += -I/usr/include/pcre |
848
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
84 |
|
3703
71b5204c547a
16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents:
3595
diff
changeset
|
85 |
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
|
86 |
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
|
87 |
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
|
88 |
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
|
89 |
CONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)" |
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
90 |
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
|
91 |
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
|
92 |
CONFIGURE_OPTIONS += --enable-perl=yes |
848
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
93 |
CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.$(BITS)) |
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
94 |
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
|
95 |
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
|
96 |
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
|
97 |
|
1744
180ac678ea41
16780732 HTML docs missing from OpenSCAP pacakge
Jacob Varughese <jacob.varughese@oracle.com>
parents:
1698
diff
changeset
|
98 |
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
|
99 |
|
3703
71b5204c547a
16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents:
3595
diff
changeset
|
100 |
# 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
|
101 |
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
|
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 |
# common targets |
71b5204c547a
16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents:
3595
diff
changeset
|
104 |
configure: $(CONFIGURE_32_and_64) |
848
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
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 |
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
|
107 |
|
71b5204c547a
16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents:
3595
diff
changeset
|
108 |
install: $(INSTALL_32_and_64) |
1744
180ac678ea41
16780732 HTML docs missing from OpenSCAP pacakge
Jacob Varughese <jacob.varughese@oracle.com>
parents:
1698
diff
changeset
|
109 |
$(MKDIR) $(DOCS_DIR) |
180ac678ea41
16780732 HTML docs missing from OpenSCAP pacakge
Jacob Varughese <jacob.varughese@oracle.com>
parents:
1698
diff
changeset
|
110 |
$(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
|
111 |
|
3703
71b5204c547a
16873524 Need to convert openscap to 64-bit and enable ASLR.
Jacob Varughese <jacob.varughese@oracle.com>
parents:
3595
diff
changeset
|
112 |
test: $(TEST_32_and_64) |
848
0c3d865471c8
PSARC 2012/152 Compliance Phase 0: OpenSCAP
Rich Burridge <rich.burridge@oracle.com>
parents:
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 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3775
diff
changeset
|
123 |
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
|
124 |
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
|
125 |
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
|
126 |
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
|
127 |
REQUIRED_PACKAGES += system/library |
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-3-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-45-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/gcc/gcc-c-runtime |
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/math |
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/security/libgcrypt |
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 |