jdk

Форк
0
/
GendataCryptoPolicy.gmk 
72 строки · 2.8 Кб
1
#
2
# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
#
5
# This code is free software; you can redistribute it and/or modify it
6
# under the terms of the GNU General Public License version 2 only, as
7
# published by the Free Software Foundation.  Oracle designates this
8
# particular file as subject to the "Classpath" exception as provided
9
# by Oracle in the LICENSE file that accompanied this code.
10
#
11
# This code is distributed in the hope that it will be useful, but WITHOUT
12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14
# version 2 for more details (a copy is included in the LICENSE file that
15
# accompanied this code).
16
#
17
# You should have received a copy of the GNU General Public License version
18
# 2 along with this work; if not, write to the Free Software Foundation,
19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20
#
21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22
# or visit www.oracle.com if you need additional information or have any
23
# questions.
24
#
25

26
#
27
# In pre-JDK9 releases, Oracle JDK has had a separately downloadable set
28
# of policy files which has been a nightmare for deployment.
29
#
30
# We now create 2 complete initial sets of policy files and package into
31
# 2 different directories.  The crypto.policy Security property will select
32
# the active policy.
33
#
34
# It will be up to the user/deployer to make an informed choice
35
# as to whether they are legally entitled to use the unlimited policy
36
# file in their environment.  The $(UNLIMITED_CRYPTO) make variable
37
# determines the default directory/policy.
38
#
39

40
default: all
41

42
include $(SPEC)
43
include MakeBase.gmk
44

45

46
################################################################################
47
POLICY_DIR := $(SUPPORT_OUTPUTDIR)/modules_conf/java.base/security/policy
48
LIMITED_POLICY_DIR := $(POLICY_DIR)/limited
49
UNLIMITED_POLICY_DIR := $(POLICY_DIR)/unlimited
50

51
POLICY_SRC_DIR := $(TOPDIR)/src/java.base/share/conf/security/policy
52
LIMITED_POLICY_SRC_DIR := $(POLICY_SRC_DIR)/limited
53
UNLIMITED_POLICY_SRC_DIR := $(POLICY_SRC_DIR)/unlimited
54

55
$(POLICY_DIR)/README.txt: $(POLICY_SRC_DIR)/README.txt
56
	$(install-file)
57

58
$(LIMITED_POLICY_DIR)/%: $(LIMITED_POLICY_SRC_DIR)/%
59
	$(install-file)
60

61
$(UNLIMITED_POLICY_DIR)/%: $(UNLIMITED_POLICY_SRC_DIR)/%
62
	$(install-file)
63

64
TARGETS += \
65
    $(POLICY_DIR)/README.txt \
66
    $(LIMITED_POLICY_DIR)/default_US_export.policy \
67
    $(LIMITED_POLICY_DIR)/default_local.policy \
68
    $(LIMITED_POLICY_DIR)/exempt_local.policy \
69
    $(UNLIMITED_POLICY_DIR)/default_US_export.policy \
70
    $(UNLIMITED_POLICY_DIR)/default_local.policy \
71

72
################################################################################
73

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.