aboutsummaryrefslogtreecommitdiff
path: root/security/jce_policy14
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2006-01-16 15:28:31 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2006-01-16 15:28:31 +0000
commit8cad87f26afc0fe101e0c796ef17d4091dc8f7fa (patch)
treecfc8a6aa6c292ef571cf2d88eabb26ac341276f5 /security/jce_policy14
parent82bd15cfa2ebd618d3adafac5a41edda13736733 (diff)
downloadports-8cad87f26afc0fe101e0c796ef17d4091dc8f7fa.tar.gz
ports-8cad87f26afc0fe101e0c796ef17d4091dc8f7fa.zip
Notes
Diffstat (limited to 'security/jce_policy14')
-rw-r--r--security/jce_policy14/Makefile3
-rw-r--r--security/jce_policy14/pkg-plist1
2 files changed, 3 insertions, 1 deletions
diff --git a/security/jce_policy14/Makefile b/security/jce_policy14/Makefile
index a4e88531557a..290f967e006c 100644
--- a/security/jce_policy14/Makefile
+++ b/security/jce_policy14/Makefile
@@ -7,7 +7,7 @@
PORTNAME= jce_policy
PORTVERSION= 1.4.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security java
MASTER_SITES= #http://java.sun.com/products/jce/index-14.html
DISTNAME= ${PORTNAME}-${PORTVERSION:C/\./_/g}
@@ -34,6 +34,7 @@ do-install:
${JAVA_HOME}/jre/lib/security/local_policy.jar.orig
@${MV} ${JAVA_HOME}/jre/lib/security/US_export_policy.jar \
${JAVA_HOME}/jre/lib/security/US_export_policy.jar.orig
+ @${TOUCH} ${JAVA_HOME}/jre/lib/security/.jce_policy14
@${INSTALL_DATA} ${WRKSRC}/local_policy.jar ${JAVA_HOME}/jre/lib/security
@${INSTALL_DATA} ${WRKSRC}/US_export_policy.jar ${JAVA_HOME}/jre/lib/security
diff --git a/security/jce_policy14/pkg-plist b/security/jce_policy14/pkg-plist
index 98a49c0102fe..e529872e725c 100644
--- a/security/jce_policy14/pkg-plist
+++ b/security/jce_policy14/pkg-plist
@@ -1,3 +1,4 @@
+%%JAVA_HOME%%/jre/lib/security/.jce_policy14
@exec mv %D/%%JAVA_HOME%%/jre/lib/security/local_policy.jar %D/%%JAVA_HOME%%/jre/lib/security/local_policy.jar.orig
%%JAVA_HOME%%/jre/lib/security/local_policy.jar
@unexec mv %B/%f.orig %B/%f