1 |
commit: 927a25d57df7cd6e05449abe3fbd02233de1411a |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 27 19:50:27 2015 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 27 19:50:27 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=927a25d5 |
7 |
|
8 |
dev-java/jss: Remove old |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
dev-java/jss/Manifest | 1 - |
13 |
dev-java/jss/jss-4.2.5.ebuild | 68 ------------------------------------------- |
14 |
2 files changed, 69 deletions(-) |
15 |
|
16 |
diff --git a/dev-java/jss/Manifest b/dev-java/jss/Manifest |
17 |
index 3d4420c..1a2012b 100644 |
18 |
--- a/dev-java/jss/Manifest |
19 |
+++ b/dev-java/jss/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST jss-4.2.5.tar.bz2 390376 SHA256 97fe53b97653a85eadf3b22e5cf9205de7acc0abd694e90216b4475701072f93 SHA512 6cf8f8cf7b9f39c18d8788887a002c3cb1165e40a8f9dba0675edeab70af446e292857901f6cdfd1b04b13c43c2c76229c561d2411a046580b7852dd4c1804cf WHIRLPOOL 357e47faf4443cbbf6672a05d9c368c7189a11a0495c61a606432e4c6f463797597835f3bfd0bd1ff2f438d5ab7fbaecba0abd3b18b7a6523e663389f85aac70 |
22 |
DIST jss-4.3.tar.bz2 421731 SHA256 e82cdcadd6d7acd0d5f9274134dd5a88f26d7e47e7d9d8b059ce68ca413fb54e SHA512 b1ae0f2dc2ca90a30caca97e4e89a471f4d0a0483dd384f242989de8a21fdd3c99dc4c452e5ef7e23bf3de745e5868f276528f76afc8aef7a9e7fe99722e0b4f WHIRLPOOL 77773968499aa7c88ed14ae4ab899a45935d5a6c4a0b6d455428f62e81d24bd379324726bda61e3c84521040cc3439ae2a5d167f32006d6dc97ba2b3ec923f5f |
23 |
|
24 |
diff --git a/dev-java/jss/jss-4.2.5.ebuild b/dev-java/jss/jss-4.2.5.ebuild |
25 |
deleted file mode 100644 |
26 |
index ca75125..0000000 |
27 |
--- a/dev-java/jss/jss-4.2.5.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,68 +0,0 @@ |
30 |
-# Copyright 1999-2012 Gentoo Foundation |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
-# $Id$ |
33 |
- |
34 |
-inherit base java-pkg-2 versionator |
35 |
- |
36 |
-RTM_NAME="JSS_${PV//./_}_RTM" |
37 |
-DESCRIPTION="Network Security Services for Java (JSS)" |
38 |
-HOMEPAGE="http://www.mozilla.org/projects/security/pki/jss/" |
39 |
-# To prepare this tarball |
40 |
-# cvs -d :pserver:anonymous@××××××××××××××××××.org:/cvsroot export \ |
41 |
-# -r JSS_4_2_RTM mozilla/security/corefonf |
42 |
-# cvs -d :pserver:anonymous@××××××××××××××××××.org:/cvsroot export \ |
43 |
-# -r JSS_4_2_RTM mozilla/security/jss |
44 |
-# tar cvjf jss-4.2.tar.bz2 mozilla |
45 |
-SRC_URI="mirror://gentoo/${P}.tar.bz2" |
46 |
- |
47 |
-LICENSE="MPL-1.1" |
48 |
-SLOT="3.4" |
49 |
-KEYWORDS="amd64 x86" |
50 |
-IUSE="doc examples source" |
51 |
- |
52 |
-RDEPEND=">=virtual/jre-1.4 |
53 |
- >=dev-libs/nspr-4.3 |
54 |
- >=dev-libs/nss-3.9.2" |
55 |
-DEPEND=">=virtual/jdk-1.4 |
56 |
- ${RDEPEND} |
57 |
- app-arch/zip |
58 |
- virtual/pkgconfig |
59 |
- >=sys-apps/sed-4" |
60 |
- |
61 |
-S=${WORKDIR}/mozilla |
62 |
- |
63 |
-PATCHES=( |
64 |
- "${FILESDIR}/${PN}-3.4-target_source.patch" |
65 |
- "${FILESDIR}/${PN}-4.2.5-use_pkg-config.patch" |
66 |
-) |
67 |
- |
68 |
-src_compile() { |
69 |
- export JAVA_GENTOO_OPTS="-target $(java-pkg_get-target) -source $(java-pkg_get-source)" |
70 |
- use amd64 && export USE_64=1 |
71 |
- cd "${S}/security/coreconf" || die |
72 |
- emake -j1 BUILD_OPT=1 || die "coreconf make failed" |
73 |
- |
74 |
- cd "${S}/security/jss" || die |
75 |
- emake -j1 BUILD_OPT=1 USE_PKGCONFIG=1 NSS_PKGCONFIG=nss NSPR_PKGCONFIG=nspr || die "jss make failed" |
76 |
- if use doc; then |
77 |
- emake -j1 BUILD_OPT=1 javadoc || die "failed to create javadocs" |
78 |
- fi |
79 |
-} |
80 |
- |
81 |
-# Investigate why this fails |
82 |
-RESTRICT="test" |
83 |
- |
84 |
-src_test() { |
85 |
- BUILD_OPT=1 perl security/jss/org/mozilla/jss/tests/all.pl dist \ |
86 |
- "${S}"/dist/Linux*.OBJ/ |
87 |
-} |
88 |
- |
89 |
-src_install() { |
90 |
- java-pkg_dojar dist/*.jar |
91 |
- # Use this instead of the one in dist because it is a symlink |
92 |
- # and doso handles symlinks by just symlinking to the original |
93 |
- java-pkg_doso ./security/${PN}/lib/*/*.so |
94 |
- use doc && java-pkg_dojavadoc dist/jssdoc |
95 |
- use source && java-pkg_dosrc ./security/jss/org |
96 |
- use examples && java-pkg_doexamples ./security/jss/samples |
97 |
-} |