summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2004-12-18 16:37:30 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2004-12-18 16:37:30 +0000
commit91360df50818d7276862489bd993cf7f2a09deee (patch)
tree624115df750cc4f50c6c51f480b705a4467b0843 /dev-java/jss
parentReplaced environment variables by a startup script. (diff)
downloadhistorical-91360df50818d7276862489bd993cf7f2a09deee.tar.gz
historical-91360df50818d7276862489bd993cf7f2a09deee.tar.bz2
historical-91360df50818d7276862489bd993cf7f2a09deee.zip
Initial import. Go Duck. Fixes #70244.
Diffstat (limited to 'dev-java/jss')
-rw-r--r--dev-java/jss/ChangeLog9
-rw-r--r--dev-java/jss/Manifest4
-rw-r--r--dev-java/jss/files/digest-jss-3.41
-rw-r--r--dev-java/jss/jss-3.4.ebuild57
-rw-r--r--dev-java/jss/metadata.xml14
5 files changed, 85 insertions, 0 deletions
diff --git a/dev-java/jss/ChangeLog b/dev-java/jss/ChangeLog
new file mode 100644
index 000000000000..65017d11acd9
--- /dev/null
+++ b/dev-java/jss/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-java/jss
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jss/ChangeLog,v 1.1 2004/12/18 16:37:30 karltk Exp $
+
+*jss-3.4 (18 Dec 2004)
+
+ 18 Dec 2004; Karl Trygve Kalleberg <karltk@gentoo.org> jss-3.4.ebuild:
+ Initial import. Ebuild submitted by the talented Jan Brinkmann
+ <lucky@the-luckyduck.de>, fixes #70244.
diff --git a/dev-java/jss/Manifest b/dev-java/jss/Manifest
new file mode 100644
index 000000000000..81f0be113219
--- /dev/null
+++ b/dev-java/jss/Manifest
@@ -0,0 +1,4 @@
+MD5 18ce29f2fc162c1ec3e55d28eee80d1c jss-3.4.ebuild 1616
+MD5 7e4a2269407ab0669eeb6056ace82845 ChangeLog 402
+MD5 411a0f670c9f4b9de76bd163882ae4d8 metadata.xml 436
+MD5 98fbf44338e1a1713768f65842711ccf files/digest-jss-3.4 63
diff --git a/dev-java/jss/files/digest-jss-3.4 b/dev-java/jss/files/digest-jss-3.4
new file mode 100644
index 000000000000..80d3ca375f74
--- /dev/null
+++ b/dev-java/jss/files/digest-jss-3.4
@@ -0,0 +1 @@
+MD5 ceeab5fd5adbbe8f3a1c3547b2389abf jss-3.4-src.tar.gz 481774
diff --git a/dev-java/jss/jss-3.4.ebuild b/dev-java/jss/jss-3.4.ebuild
new file mode 100644
index 000000000000..a73712c259ee
--- /dev/null
+++ b/dev-java/jss/jss-3.4.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jss/jss-3.4.ebuild,v 1.1 2004/12/18 16:37:30 karltk Exp $
+
+inherit eutils java-pkg
+
+RTM_NAME="JSS_${PV//./_}_RTM"
+DESCRIPTION="Network Security Services for Java (JSS)"
+HOMEPAGE="http://www.mozilla.org/projects/security/pki/jss/"
+SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/security/${PN}/releases/${RTM_NAME}/src/${P}-src.tar.gz"
+
+LICENSE="MPL-1.1"
+SLOT="3.4"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+S=${WORKDIR}/${P}-src
+
+DEPEND=">=virtual/jdk-1.4
+ app-arch/zip
+ >=sys-apps/sed-4"
+RDEPEND=">=virtual/jre-1.4
+ >=dev-libs/nspr-4.3
+ >=dev-libs/nss-3.9.2"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/mozilla/security/coreconf
+ cp Linux2.5.mk Linux2.6.mk
+
+
+ echo "INCLUDES += -I${ROOT}usr/include/nss -I${ROOT}usr/include/nspr" \
+ >> ${S}/mozilla/security/coreconf/headers.mk
+
+ if use x86; then
+ sed -e 's:-L$(DIST)/lib:-L/usr/lib/nspr -L/usr/lib/nss -L$(JAVA_HOME)/jre/lib/i386 -L$(JAVA_HOME)/jre/lib/i386/server -L$(DIST)/lib:' \
+ -i ${S}/mozilla/security/jss/lib/config.mk
+ elif use amd64; then
+ sed -e 's:-L$(DIST)/lib:-L/usr/lib/nspr -L/usr/lib/nss -L$(JAVA_HOME)/jre/lib/amd64 -L$(JAVA_HOME)/jre/lib/amd64/server -L$(DIST)/lib:' \
+ -i ${S}/mozilla/security/jss/lib/config.mk
+ fi
+}
+
+src_compile() {
+ cd ${S}/mozilla/security/coreconf
+ emake -j1 BUILD_OPT=1 || die "coreconf make failed"
+
+ cd ${S}/mozilla/security/jss
+ emake -j1 BUILD_OPT=1 || die "nss make failed"
+}
+
+src_install () {
+ cd mozilla/dist/classes*
+ zip -r ../jss34.jar .
+
+ java-pkg_dojar ../jss34.jar
+}
diff --git a/dev-java/jss/metadata.xml b/dev-java/jss/metadata.xml
new file mode 100644
index 000000000000..8cbf83f2d1a1
--- /dev/null
+++ b/dev-java/jss/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+<herd>java</herd>
+
+<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>