diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-04 01:27:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-04 01:27:12 +0000 |
commit | 3517852e3b8a68d1e997770fc0650c5053bafc6c (patch) | |
tree | 44068672445b1418489aed82de58df3c470289e7 /dev-java/jss | |
parent | 0f15659d48c193027158492acb726297501202c5 (diff) |
gentoo resync : 04.01.2022
Diffstat (limited to 'dev-java/jss')
-rw-r--r-- | dev-java/jss/Manifest | 9 | ||||
-rw-r--r-- | dev-java/jss/files/jss-3.4-target_source.patch | 11 | ||||
-rw-r--r-- | dev-java/jss/files/jss-4.2.5-use_pkg-config.patch | 24 | ||||
-rw-r--r-- | dev-java/jss/files/jss-4.3-cflags.patch | 11 | ||||
-rw-r--r-- | dev-java/jss/files/jss-4.3-javadoc.patch | 11 | ||||
-rw-r--r-- | dev-java/jss/files/jss-4.3-secitem.patch | 154 | ||||
-rw-r--r-- | dev-java/jss/files/jss-4.3.2-ldflags.patch | 11 | ||||
-rw-r--r-- | dev-java/jss/jss-4.3.2.ebuild | 95 | ||||
-rw-r--r-- | dev-java/jss/metadata.xml | 16 |
9 files changed, 0 insertions, 342 deletions
diff --git a/dev-java/jss/Manifest b/dev-java/jss/Manifest deleted file mode 100644 index a258fe8830f7..000000000000 --- a/dev-java/jss/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -AUX jss-3.4-target_source.patch 421 BLAKE2B 469c4ba398466b32d77dd3987b2215808e4b1a6675002c2e258b555ea3be34fb64b82cd2c07c50cd076c169e0616af2f09b1202578d23d8d8e39bbb9e66f2d02 SHA512 ced7c6246dd82f7e0c49f2ba403694941e62b5f786bfc3a126f496d44b2c7fd73c4ddbf0f654507ca985d60afaac315be93656e825ec1dfdaf481c4272b09475 -AUX jss-4.2.5-use_pkg-config.patch 851 BLAKE2B c833490023ff63ad6789c03faeb3238e20fc1bdb7804b73edf53696eee859a8837d168b3da72606000b8b41e222439bf5cf863206aac31de60167689dd09a359 SHA512 5087408b0b50f08e919668d193531530c37e9b0a4a27138c76377ab2efa9a00f5489c3b0029a7e75dfe0fee51aa0f647ab9a72c654395fab3445b8edc56f68de -AUX jss-4.3-cflags.patch 441 BLAKE2B f09b352c6f69005882138126ea36c4ce6282e96630dddee2871a97c93904270690900a2d97f738c57b6b50b44eb13646bdccef1d7c41004bdfd52129f2dbb707 SHA512 83354a23dbe3e0e5874bed2cd9d240231ba37f5f2c886c0ed042e4e34380149c6d400c4206cda223f9d4a24d3220cf77d2408ad452501038351d1ecd8469de2f -AUX jss-4.3-javadoc.patch 587 BLAKE2B ceebde6b399745acc4e922c078badc26bb3b456ec81d783f7a2a44b71825d62e1f322db9eb7db710bea15f7673fecadc0c066ed4b7cc0da325f5b26c4f5ffb90 SHA512 230b144bab6a3235f70baee7c4f8414f3a23b3ba11eb4ede22c2dd6a02dc718c198bb63df540b6e61a640526731fb788ce05a45cb976e195496c55351cfcdcc7 -AUX jss-4.3-secitem.patch 4251 BLAKE2B caa2f2445c90501aa8a656a7f4cd817cd29af782fa71ba8b9d7b3b59acb5c703b2fd7558eec05bb51974c8aef03c7df9c8a79664e1df86e069bdac71cbd96f15 SHA512 0c17388db50c82d80e77082d73cceadbdd1192936a33591c70e0fc2ce397cababd48eede0f5ab62a8b3c2e34738bbbe93a9e6e7d846d6380e530b5333e42f6d1 -AUX jss-4.3.2-ldflags.patch 392 BLAKE2B c4b93c84bf3ed54c4ae8f885d8995a5226b72fc3358a6a92b6d44becbd21420ea0492ce6c7c453d57eb207e961eaba67b6f3623fb40d2be924c249b0e16fdf72 SHA512 b62a949200b0cb301d2e82f425fe6b593a12c2f1e8f8de970ae43c2892ab1a818d99a1600eee24cbc6da8449153f30dbae91f28edd7be4756bbc66bd1ab35072 -DIST jss-4.3.2.tar.bz2 435542 BLAKE2B 9623018e6e67654219fa439fdc907777cd286aa28b6bdbafee39a7082f949bc393d60dba32ca0b49178ecd423dcff0aa3ad411abb9db9332c6429d7751d89127 SHA512 3296da72f204fc4a0ea58dd889cf2721a4afa0ec7b5406312e64354cc67edcfc370140ad22a24f0dfcf11e438e69ebe9da45a70b5cbaa4026b40fd5fcf96c232 -EBUILD jss-4.3.2.ebuild 2779 BLAKE2B 78d9c4c19b977a3346beb0a8d42f70c4437ae1646c9f0a0557b40ebf0175dcabe5796f0edf14b533d6e94af25dbc4228cf447f4e9521351a97e56f1b8784a673 SHA512 c00aa7a32d424ab09b0886aee25ab94d0a03752fd93d75e674f58a7f48ffdaa21ce47d7a6bc0b29ad349ed2235f29f1a544e4e3c2b6dc905c3f0db40839012a2 -MISC metadata.xml 509 BLAKE2B 84854ccb6eb95c177c5713833f99172ce0cf2bb8d76864feb7c61d3fe909e25cc7f2140421bfc0f3ac75473e5ba9c020f527e31a02f5d120443e25f000bae7ef SHA512 c649b40d09b3ccfa832f885c3c43a649a17550fc7b58563babe6dcab488d68c73b709195b4e4a1bae6151d59113fdb95485aeb7d1dcc2d19a306b6257b2fe816 diff --git a/dev-java/jss/files/jss-3.4-target_source.patch b/dev-java/jss/files/jss-3.4-target_source.patch deleted file mode 100644 index 5d5ce6409654..000000000000 --- a/dev-java/jss/files/jss-3.4-target_source.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/mozilla/security/jss/build_java.pl -+++ b/mozilla/security/jss/build_java.pl -@@ -190,7 +190,7 @@ - # - if( scalar(@source_list) > 0 ) { - ensure_dir_exists($class_dir); -- print_do("$javac $javac_opt_flag -sourcepath . -d $class_dir " . -+ print_do("$javac $ENV{JAVA_GENTOO_OPTS} $javac_opt_flag -sourcepath . -d $class_dir " . - "$classpath " . join(" ",@source_list)); - } - diff --git a/dev-java/jss/files/jss-4.2.5-use_pkg-config.patch b/dev-java/jss/files/jss-4.2.5-use_pkg-config.patch deleted file mode 100644 index adf2862c90e6..000000000000 --- a/dev-java/jss/files/jss-4.2.5-use_pkg-config.patch +++ /dev/null @@ -1,24 +0,0 @@ -Submitted By: Mario Fetka (mario-fetka at gmx dot at) -Date: 2007-10-06 -Initial Package Version: 4.2.5 -Origin: me -Upstream Status: #392775 UNCONFIRMED -Description: this patch adds pkgconfig support to jss coreconf -!!!! no check for NSS_PKGCONFIG NSPR_PKGCONFIG at the moment !!!! - ---- a/mozilla/security/coreconf/location.mk -+++ b/mozilla/security/coreconf/location.mk -@@ -67,6 +67,13 @@ - - GARBAGE += $(DEPENDENCIES) core $(wildcard core.[0-9]*) - -+ifdef USE_PKGCONFIG -+ NSPR_INCLUDE_DIR = `${PKG_CONFIG} --variable=includedir $(NSPR_PKGCONFIG)` -+ NSPR_LIB_DIR = `${PKG_CONFIG} --variable=libdir $(NSPR_PKGCONFIG)` -+ NSS_INCLUDE_DIR = `${PKG_CONFIG} --variable=includedir $(NSS_PKGCONFIG)` -+ NSS_LIB_DIR = `${PKG_CONFIG} --variable=libdir $(NSS_PKGCONFIG)` -+endif -+ - ifdef NSPR_INCLUDE_DIR - INCLUDES += -I$(NSPR_INCLUDE_DIR) - endif diff --git a/dev-java/jss/files/jss-4.3-cflags.patch b/dev-java/jss/files/jss-4.3-cflags.patch deleted file mode 100644 index 8b9705ca1e3d..000000000000 --- a/dev-java/jss/files/jss-4.3-cflags.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/security/coreconf/command.mk -+++ b/security/coreconf/command.mk -@@ -45,7 +45,7 @@ - CCF = $(CC) $(CFLAGS) - LINK_DLL = $(LINK) $(OS_DLLFLAGS) $(DLLFLAGS) - LINK_EXE = $(LINK) $(OS_LFLAGS) $(LFLAGS) --CFLAGS = $(OPTIMIZER) $(OS_CFLAGS) $(XP_DEFINE) $(DEFINES) $(INCLUDES) \ -+CFLAGS += $(OPTIMIZER) $(OS_CFLAGS) $(XP_DEFINE) $(DEFINES) $(INCLUDES) \ - $(XCFLAGS) - PERL = perl - RANLIB = echo diff --git a/dev-java/jss/files/jss-4.3-javadoc.patch b/dev-java/jss/files/jss-4.3-javadoc.patch deleted file mode 100644 index 87941029bcee..000000000000 --- a/dev-java/jss/files/jss-4.3-javadoc.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/security/jss/build_java.pl -+++ b/security/jss/build_java.pl -@@ -323,7 +323,7 @@ - ensure_dir_exists("$dist_dir/jssdoc"); - my $targets = join(" ", @packages); - print "$targets\n"; -- print_do("$javadoc -breakiterator -sourcepath . -d $dist_dir/jssdoc $html_header_opt $targets"); -+ print_do("$javadoc -Xdoclint:none -breakiterator -sourcepath . -d $dist_dir/jssdoc $html_header_opt $targets"); - print_do("cp $dist_dir/jssdoc/index.html $dist_dir/jssdoc/index.html.bak"); - print_do("cp $dist_dir/jssdoc/overview-summary.html $dist_dir/jssdoc/index.html"); - } diff --git a/dev-java/jss/files/jss-4.3-secitem.patch b/dev-java/jss/files/jss-4.3-secitem.patch deleted file mode 100644 index a215bc628ea7..000000000000 --- a/dev-java/jss/files/jss-4.3-secitem.patch +++ /dev/null @@ -1,154 +0,0 @@ ---- a/security/jss/org/mozilla/jss/CryptoManager.c -+++ b/security/jss/org/mozilla/jss/CryptoManager.c -@@ -35,7 +35,7 @@ - * ***** END LICENSE BLOCK ***** */ - #include "_jni/org_mozilla_jss_CryptoManager.h" - --#include <secitem.h> -+#include <nss/secitem.h> - #include <secmod.h> - #include <cert.h> - #include <certt.h> ---- a/security/jss/org/mozilla/jss/SecretDecoderRing/KeyManager.c -+++ b/security/jss/org/mozilla/jss/SecretDecoderRing/KeyManager.c -@@ -36,7 +36,7 @@ - - #include "_jni/org_mozilla_jss_SecretDecoderRing_KeyManager.h" - #include <nspr.h> --#include <secitem.h> -+#include <nss/secitem.h> - #include <jss_exceptions.h> - #include <jssutil.h> - #include <pk11func.h> ---- a/security/jss/org/mozilla/jss/crypto/PQGParams.c -+++ b/security/jss/org/mozilla/jss/crypto/PQGParams.c -@@ -39,7 +39,7 @@ - #include <nspr.h> - - #include <plarena.h> --#include <secitem.h> -+#include <nss/secitem.h> - #include <secoidt.h> - #include <keyt.h> /* for PQGParams */ - #include <pk11pqg.h> ---- a/security/jss/org/mozilla/jss/crypto/SecretDecoderRing.c -+++ b/security/jss/org/mozilla/jss/crypto/SecretDecoderRing.c -@@ -36,7 +36,7 @@ - - #include "_jni/org_mozilla_jss_crypto_SecretDecoderRing.h" - #include <nspr.h> --#include <secitem.h> -+#include <nss/secitem.h> - #include <pk11sdr.h> - #include <jss_exceptions.h> - #include <jssutil.h> ---- a/security/jss/org/mozilla/jss/pkcs11/PK11Cipher.c -+++ b/security/jss/org/mozilla/jss/pkcs11/PK11Cipher.c -@@ -40,7 +40,7 @@ - #include <plarena.h> - #include <seccomon.h> - #include <pk11func.h> --#include <secitem.h> -+#include <nss/secitem.h> - - /* JSS includes */ - #include <java_ids.h> ---- a/security/jss/org/mozilla/jss/pkcs11/PK11KeyPairGenerator.c -+++ b/security/jss/org/mozilla/jss/pkcs11/PK11KeyPairGenerator.c -@@ -40,7 +40,7 @@ - #include <pk11pqg.h> - #include <nspr.h> - #include <key.h> --#include <secitem.h> -+#include <nss/secitem.h> - - #include <jssutil.h> - #include <pk11util.h> ---- a/security/jss/org/mozilla/jss/pkcs11/PK11KeyWrapper.c -+++ b/security/jss/org/mozilla/jss/pkcs11/PK11KeyWrapper.c -@@ -40,7 +40,7 @@ - #include <plarena.h> - #include <seccomon.h> - #include <pk11func.h> --#include <secitem.h> -+#include <nss/secitem.h> - #include <keyt.h> - - /* JSS includes */ ---- a/security/jss/org/mozilla/jss/pkcs11/PK11MessageDigest.c -+++ b/security/jss/org/mozilla/jss/pkcs11/PK11MessageDigest.c -@@ -40,7 +40,7 @@ - #include <plarena.h> - #include <seccomon.h> - #include <pk11func.h> --#include <secitem.h> -+#include <nss/secitem.h> - - /* JSS includes */ - #include <java_ids.h> ---- a/security/jss/org/mozilla/jss/pkcs11/PK11PrivKey.c -+++ b/security/jss/org/mozilla/jss/pkcs11/PK11PrivKey.c -@@ -43,7 +43,7 @@ - #include <secerr.h> - #include <nspr.h> - #include <key.h> --#include <secitem.h> -+#include <nss/secitem.h> - - #include <jss_bigint.h> - #include <jssutil.h> ---- a/security/jss/org/mozilla/jss/pkcs11/PK11Signature.c -+++ b/security/jss/org/mozilla/jss/pkcs11/PK11Signature.c -@@ -35,7 +35,7 @@ - * ***** END LICENSE BLOCK ***** */ - - #include <nspr.h> --#include <secitem.h> -+#include <nss/secitem.h> - #include <secoidt.h> - #include <secmodt.h> - #include <pk11func.h> ---- a/security/jss/org/mozilla/jss/pkcs11/PK11Token.c -+++ b/security/jss/org/mozilla/jss/pkcs11/PK11Token.c -@@ -53,7 +53,7 @@ - #include <jss_bigint.h> - #include <Algorithm.h> - --#include <secitem.h> -+#include <nss/secitem.h> - #include "java_ids.h" - - #include "pk11util.h" ---- a/security/jss/org/mozilla/jss/ssl/callbacks.c -+++ b/security/jss/org/mozilla/jss/ssl/callbacks.c -@@ -39,7 +39,7 @@ - #include <nspr.h> - #include <java_ids.h> - #include <jss_exceptions.h> --#include <secitem.h> -+#include <nss/secitem.h> - #include <jssutil.h> - #include <certt.h> - #include <keythi.h> ---- a/security/jss/org/mozilla/jss/util/jssutil.c -+++ b/security/jss/org/mozilla/jss/util/jssutil.c -@@ -38,7 +38,7 @@ - #include <nspr.h> - #include <plstr.h> - #include <seccomon.h> --#include <secitem.h> -+#include <nss/secitem.h> - #include "jssutil.h" - #include "jss_bigint.h" - #include "jss_exceptions.h" ---- a/security/jss/org/mozilla/jss/util/jssutil.h -+++ b/security/jss/org/mozilla/jss/util/jssutil.h -@@ -39,7 +39,7 @@ - /* Need to include these first. - * #include <nspr.h> - * #include <jni.h> -- * #include <secitem.h> -+ * #include <nss/secitem.h> - */ - - PR_BEGIN_EXTERN_C diff --git a/dev-java/jss/files/jss-4.3.2-ldflags.patch b/dev-java/jss/files/jss-4.3.2-ldflags.patch deleted file mode 100644 index 11687fac4a09..000000000000 --- a/dev-java/jss/files/jss-4.3.2-ldflags.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/security/coreconf/Linux.mk -+++ b/security/coreconf/Linux.mk -@@ -142,7 +142,7 @@ - ARCH = linux - - DSO_CFLAGS = -fPIC --DSO_LDOPTS = -shared $(ARCHFLAG) -+DSO_LDOPTS = $(LDFLAGS) -shared $(ARCHFLAG) - # The linker on Red Hat Linux 7.2 and RHEL 2.1 (GNU ld version 2.11.90.0.8) - # incorrectly reports undefined references in the libraries we link with, so - # we don't use -z defs there. diff --git a/dev-java/jss/jss-4.3.2.ebuild b/dev-java/jss/jss-4.3.2.ebuild deleted file mode 100644 index 5c5137e81997..000000000000 --- a/dev-java/jss/jss-4.3.2.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -JAVA_PKG_IUSE="doc source" - -inherit multilib toolchain-funcs java-pkg-2 - -DESCRIPTION="Network Security Services for Java (JSS)" -HOMEPAGE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/JSS" -# 4.3.2 was released but was seemingly never announced. The binary jar -# exists on Mozilla's servers but Chewi could only find a source tarball -# at https://obs.kolabsys.com/package/show/Kolab:3.4/jss. However, you -# need to register in order to download it, hence he has mirrored it. -SRC_URI="https://dev.gentoo.org/~chewi/distfiles/${P}.tar.bz2" -LICENSE="MPL-1.1" -SLOT="3.4" -KEYWORDS="amd64 x86" -IUSE="examples test" - -CDEPEND=">=dev-libs/nspr-4.7.1 - >=dev-libs/nss-3.12.5" - -DEPEND="${CDEPEND} - dev-lang/perl - >=virtual/jdk-1.6 - virtual/pkgconfig - test? ( dev-libs/nss[utils] )" - -RDEPEND="${CDEPEND} - >=virtual/jre-1.6" - -S="${WORKDIR}/${P}/mozilla" - -java_prepare() { - epatch "${FILESDIR}"/${PN}-3.4-target_source.patch - epatch "${FILESDIR}"/${PN}-4.2.5-use_pkg-config.patch - epatch "${FILESDIR}"/${PN}-4.3-cflags.patch - epatch "${FILESDIR}"/${PN}-4.3.2-ldflags.patch - epatch "${FILESDIR}"/${PN}-4.3-secitem.patch - - if java-pkg_is-vm-version-ge 1.8; then - epatch "${FILESDIR}"/${PN}-4.3-javadoc.patch - fi -} - -src_compile() { - local ARGS=( - "CC=$(tc-getCC)" - "AR=$(tc-getAR) cr \$@" - "OS_RELEASE=2.6" - "BUILD_OPT=1" - ) - - tc-export PKG_CONFIG - - export JAVA_GENTOO_OPTS="$(java-pkg_javac-args)" - use amd64 && export USE_64=1 - - cd "${S}/security/coreconf" || die - emake -j1 "${ARGS[@]}" - - cd "${S}/security/jss" || die - emake -j1 "${ARGS[@]}" USE_PKGCONFIG=1 NSS_PKGCONFIG=nss NSPR_PKGCONFIG=nspr - use doc && emake -j1 "${ARGS[@]}" javadoc -} - -# Chewi has managed to reach a test pass rate of 31/40 (78%) but the -# remainder fail due to JSS not having kept pace with the ciphersuites -# in NSS. There's not much we can do about that. The suite also leaves -# java processes running and exits successfully on failure. -RESTRICT="test" - -src_test() { - # Parts of NSS are required for the tests. - ln -snf "${EROOT}usr/$(get_libdir)/libnssckbi.so" dist/Linux*.OBJ/lib/ || die - ln -snf "${EROOT}usr/bin" dist/Linux*.OBJ/ || die - - # The tests must be run from this directory. - cd security/jss/org/mozilla/jss/tests || die - BUILD_OPT=1 perl all.pl dist "${S}"/dist/Linux*.OBJ/ || die "tests failed" -} - -src_install() { - java-pkg_dojar dist/*.jar - - # Use this instead of the one in dist because it is a symlink - # and doso handles symlinks by just symlinking to the original - java-pkg_doso ./security/${PN}/lib/*/*.so - - use doc && java-pkg_dojavadoc dist/jssdoc - use source && java-pkg_dosrc ./security/jss/org - use examples && java-pkg_doexamples ./security/jss/samples -} diff --git a/dev-java/jss/metadata.xml b/dev-java/jss/metadata.xml deleted file mode 100644 index e72f25cb0541..000000000000 --- a/dev-java/jss/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> -</maintainer> - -<longdescription> - -Network Security Services for Java (JSS) is a Java interface to NSS. It supports -most of the security standards and encryption technologies supported by NSS. JSS -also provides a pure Java interface for ASN.1 types and BER/DER encoding. - -</longdescription> -</pkgmetadata> |