aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2005-10-23 09:33:47 +0800
committernork <nork@FreeBSD.org>2005-10-23 09:33:47 +0800
commit2d29b338fc586bed41fe7beaf6207381f6b6c3cf (patch)
treea6715fa0f2dfd1267c081bd5384c487732a8c0d2 /security
parent16327c87373c203f2b74f3b0a14e88dbf26adab8 (diff)
downloadfreebsd-ports-gnome-2d29b338fc586bed41fe7beaf6207381f6b6c3cf.tar.gz
freebsd-ports-gnome-2d29b338fc586bed41fe7beaf6207381f6b6c3cf.tar.zst
freebsd-ports-gnome-2d29b338fc586bed41fe7beaf6207381f6b6c3cf.zip
Add java_policy 1.4.2, which provides JCE(Java Cryptography
Extension) Unlimited Strength Jurisdiction Policy Files. WWW: http://java.sun.com/products/jce/index-14.html I was cheated by: ume
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/jce_policy14/Makefile35
-rw-r--r--security/jce_policy14/distinfo2
-rw-r--r--security/jce_policy14/pkg-descr17
4 files changed, 55 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 29d8e4cc74ba..f3e569922d5f 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -170,6 +170,7 @@
SUBDIR += ipsec-tools
SUBDIR += isakmpd
SUBDIR += its4
+ SUBDIR += jce_policy14
SUBDIR += john
SUBDIR += keychain
SUBDIR += keynote
diff --git a/security/jce_policy14/Makefile b/security/jce_policy14/Makefile
new file mode 100644
index 000000000000..ef6619455bf0
--- /dev/null
+++ b/security/jce_policy14/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: jce_policy14
+# Date created: 2005/10/23
+# Whom: nork@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= jce_policy
+PORTVERSION= 1.4.2
+CATEGORIES= security java
+MASTER_SITES= #http://java.sun.com/products/jce/index-14.html
+DISTNAME= ${PORTNAME}-${PORTVERSION:C/\./_/g}
+
+MAINTAINER= nork@FreeBSD.org
+COMMENT= JCE Unlimited Strength Jurisdiction Policy Files
+
+USE_ZIP= yes
+USE_JAVA= 1.4
+
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/jce
+PLIST_FILES= ${JAVA_HOME:S,${PREFIX}/,,}/lib/security/local_policy.jar \
+ ${JAVA_HOME:S,${PREFIX}/,,}/lib/security/US_export_policy.jar \
+ "@unexec rmdir ${JAVA_HOME}/lib/security 2>/dev/null || true"
+
+.if !exists(${DISTDIR}/${EXTRACT_ONLY}) && !defined(PACKAGE_BUILDING)
+IGNORE= Please get jce_policy-1_4_2.zip from http://java.sun.com/products/jce/index-14.html
+.endif
+
+do-install:
+ @[ -d ${JAVA_HOME}/lib/security ] || ${MKDIR} ${JAVA_HOME}/lib/security
+ ${INSTALL_DATA} ${WRKSRC}/local_policy.jar ${JAVA_HOME}/lib/security
+ ${INSTALL_DATA} ${WRKSRC}/US_export_policy.jar ${JAVA_HOME}/lib/security
+
+.include <bsd.port.mk>
diff --git a/security/jce_policy14/distinfo b/security/jce_policy14/distinfo
new file mode 100644
index 000000000000..fa43e0262556
--- /dev/null
+++ b/security/jce_policy14/distinfo
@@ -0,0 +1,2 @@
+MD5 (jce_policy-1_4_2.zip) = ff961c5f5326191c5ac2e4624d756f7e
+SIZE (jce_policy-1_4_2.zip) = 12195
diff --git a/security/jce_policy14/pkg-descr b/security/jce_policy14/pkg-descr
new file mode 100644
index 000000000000..55fffee3bad3
--- /dev/null
+++ b/security/jce_policy14/pkg-descr
@@ -0,0 +1,17 @@
+java_policy14 provides JCE(Java Cryptography Extension)
+Unlimited Strength Jurisdiction Policy Files.
+
+Strong Cryptography Is the Default, Unlimited Is Available
+ Due to import control restrictions, the jurisdiction
+ policy files shipped with the Java2 SDK, v1.4 allow
+ "strong" but limited cryptography to be used. An
+ "unlimited strength" version of these files indicating
+ no restrictions on cryptographic strengths is available
+ for those living in eligible countries (which is most
+ countries). You can download this version and replace
+ the strong cryptography versions supplied with the Java2
+ SDK, v1.4 with the unlimited ones. See WWW: line for
+ information indicating where to go to download the
+ unlimited version.
+
+WWW: http://java.sun.com/products/jce/index-14.html