mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-java/jss: Remove old
Package-Manager: portage-2.2.20.1
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST jss-4.3.2.tar.bz2 435542 SHA256 8bfe94668e8aa1b8fdfaf01fd45b18daa2336e1901f90922c44327116df8a278 SHA512 3296da72f204fc4a0ea58dd889cf2721a4afa0ec7b5406312e64354cc67edcfc370140ad22a24f0dfcf11e438e69ebe9da45a70b5cbaa4026b40fd5fcf96c232 WHIRLPOOL 5f72f6cccb49c40e840472329461475bfd83e6ac98ea60cee63c0194374e210df5dac038fb891635f84625c5643b0b25fa36253c78b3cad4461d647c7a0fcc15
|
||||
DIST jss-4.3.tar.bz2 421731 SHA256 e82cdcadd6d7acd0d5f9274134dd5a88f26d7e47e7d9d8b059ce68ca413fb54e SHA512 b1ae0f2dc2ca90a30caca97e4e89a471f4d0a0483dd384f242989de8a21fdd3c99dc4c452e5ef7e23bf3de745e5868f276528f76afc8aef7a9e7fe99722e0b4f WHIRLPOOL 77773968499aa7c88ed14ae4ab899a45935d5a6c4a0b6d455428f62e81d24bd379324726bda61e3c84521040cc3439ae2a5d167f32006d6dc97ba2b3ec923f5f
|
||||
|
||||
@@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit base java-pkg-2 linux-info versionator
|
||||
|
||||
RTM_NAME="JSS_${PV//./_}_RTM"
|
||||
DESCRIPTION="Network Security Services for Java (JSS)"
|
||||
HOMEPAGE="http://www.mozilla.org/projects/security/pki/jss/"
|
||||
# To prepare this tarball
|
||||
# cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot export \
|
||||
# -r JSS_4_3_RTM mozilla/security/coreconf
|
||||
# cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot export \
|
||||
# -r JSS_4_3_RTM mozilla/security/jss
|
||||
# tar cvjf jss-4.3.tar.bz2 mozilla
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MPL-1.1"
|
||||
SLOT="3.4"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="doc examples source"
|
||||
|
||||
RDEPEND=">=dev-libs/nspr-4.7
|
||||
>=dev-libs/nss-3.12"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
app-arch/zip
|
||||
virtual/pkgconfig
|
||||
>=sys-apps/sed-4
|
||||
${RDEPEND}"
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/mozilla
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.4-target_source.patch"
|
||||
"${FILESDIR}/${PN}-4.2.5-use_pkg-config.patch"
|
||||
"${FILESDIR}/${P}-ldflags.patch"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
export JAVA_GENTOO_OPTS="-target $(java-pkg_get-target) -source $(java-pkg_get-source)"
|
||||
use amd64 && export USE_64=1
|
||||
cd "${S}/security/coreconf" || die
|
||||
|
||||
# Hotfix for kernel 3.x #379283
|
||||
get_running_version || die "Failed to determine kernel version"
|
||||
if [[ ${KV_MAJOR} -ge 3 ]]; then
|
||||
cp Linux2.6.mk Linux${KV_MAJOR}.${KV_MINOR}.mk || die
|
||||
fi
|
||||
|
||||
emake -j1 BUILD_OPT=1 || die "coreconf make failed"
|
||||
|
||||
cd "${S}/security/jss" || die
|
||||
emake -j1 BUILD_OPT=1 USE_PKGCONFIG=1 NSS_PKGCONFIG=nss NSPR_PKGCONFIG=nspr || die "jss make failed"
|
||||
if use doc; then
|
||||
emake -j1 BUILD_OPT=1 javadoc || die "failed to create javadocs"
|
||||
fi
|
||||
}
|
||||
|
||||
# Investigate why this fails
|
||||
RESTRICT="test"
|
||||
|
||||
src_test() {
|
||||
BUILD_OPT=1 perl security/jss/org/mozilla/jss/tests/all.pl dist \
|
||||
"${S}"/dist/Linux*.OBJ/
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user