diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/yanfs | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/yanfs')
-rw-r--r-- | dev-java/yanfs/Manifest | 4 | ||||
-rw-r--r-- | dev-java/yanfs/files/1.0-make.patch | 82 | ||||
-rw-r--r-- | dev-java/yanfs/metadata.xml | 8 | ||||
-rw-r--r-- | dev-java/yanfs/yanfs-1.0.ebuild | 45 |
4 files changed, 139 insertions, 0 deletions
diff --git a/dev-java/yanfs/Manifest b/dev-java/yanfs/Manifest new file mode 100644 index 000000000000..7597f3664500 --- /dev/null +++ b/dev-java/yanfs/Manifest @@ -0,0 +1,4 @@ +AUX 1.0-make.patch 2620 BLAKE2B 5514ed5b8b247499d4b94bbdf340fbcbdb66a5d72cff48b1264ab8d1a59fd7917991f9c374cc673e50e928839b69bcafdbaf999fef77b272504729c2d470e2db SHA512 85ad4c443800a33ffb16fee52bd1a2fd89dc8d3de8f6adbc184ca72ad3ee8c877d4658b4c2c82ebdb54b333c16dd54534f47d193e9b808a16f92a97bfd5b427a +DIST yanfs-1.0.tar.bz2 107232 BLAKE2B 4c344f03e52c4a5eb3cee87e05e4a5b33cdec78ef49427de5ac6a1a44b87444744b0e619963c67ca494092831474587e29dc506bc7261fa98dec05b6cd8c9ebd SHA512 e7031ba630360240de136f588c337a3a4b551320f5e121c1910fc58ba08c7b7c6fe95fb87b57263c19e00a3e44fe81c36d9e8e8971d4fdf910bb3797c0a1eeeb +EBUILD yanfs-1.0.ebuild 1030 BLAKE2B d4fa33c1b5367f33481ab5a79d8222bbc37b0163f291ffbfb78d0cea96c81d845557d79222fe59de93f2af0afb3cfd6499eeb03677a189b0b29d8aa7724fc423 SHA512 28fcb33d53374eb1c94cbbe50f42b576ad09eb30f4b3c4fcac042c2da096a8d8b0d7e7b308a8413d38d3215d9e03eff482e22b4e16bb3ede6fe89f3b00eeeaa3 +MISC metadata.xml 236 BLAKE2B 5a64c4404c26415501f50132968e687d4f1b852738cb0e1a5aef8cc4de9e4ea623066f46068fce3d80514ff122d85304e3fd12282c4b1513a4084523ef8bef07 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253 diff --git a/dev-java/yanfs/files/1.0-make.patch b/dev-java/yanfs/files/1.0-make.patch new file mode 100644 index 000000000000..3cd23cc042be --- /dev/null +++ b/dev-java/yanfs/files/1.0-make.patch @@ -0,0 +1,82 @@ +diff --git a/src/com/sun/Makefile.common b/src/com/sun/Makefile.common +index a5e49e8..ceea3ca 100644 +--- a/src/com/sun/Makefile.common ++++ b/src/com/sun/Makefile.common +@@ -35,7 +35,14 @@ + # nuclear facility. + # + +-include $(CODEMGR_WS)/src/com/sun/Makefile.defs ++CDIR= $(CODEMGR_WS)/classes ++JAVADIR= /usr/java ++CLASSPATH= $(CDIR):$(JAVADIR)/lib/classes.zip ++JCFLAGS= -classpath $(CLASSPATH) ++JC= $(JAVADIR)/bin/javac ++TFILE= $(CDIR)/$(PKGDIR)/.tfile ++M4= /usr/bin/m4 ++ + + # XXX + #SWINGDIR, BEANCLASSPATH, JCBFLAGS need to be removed once JDK1.2 is FCS. +diff --git a/src/com/sun/Makefile.defs b/src/com/sun/Makefile.defs +index 2fa61c9..b4692cc 100644 +--- a/src/com/sun/Makefile.defs ++++ b/src/com/sun/Makefile.defs +@@ -36,9 +36,9 @@ + # + + CDIR= $(CODEMGR_WS)/classes +-JAVADIR= /usr/java ++JAVADIR= /usr + CLASSPATH= $(CDIR):$(JAVADIR)/lib/classes.zip + JCFLAGS= -classpath $(CLASSPATH) + JC= $(JAVADIR)/bin/javac + TFILE= $(CDIR)/$(PKGDIR)/.tfile +-M4= /usr/ccs/bin/m4 ++M4= /usr/bin/m4 +diff --git a/src/com/sun/gssapi/Makefile b/src/com/sun/gssapi/Makefile +index 49d5933..fc16dfe 100644 +--- a/src/com/sun/gssapi/Makefile ++++ b/src/com/sun/gssapi/Makefile +@@ -81,7 +81,7 @@ classes: $(CDIR)/$(PKGDIR) \ + $(SUBDIRS) + + $(PFILES): +- $(RM) $@; install -s -m 644 -f $(@D) $(PROP_FILES) ++ $(RM) $@; install -m 644 $(PROP_FILES) $(@D) + + clean: + $(RM) $(CDIR)/$(PKGDIR)/*.class $(TFILE) $(PFILES) +diff --git a/src/com/sun/gssapi/mechs/dummy/Makefile b/src/com/sun/gssapi/mechs/dummy/Makefile +index 88fc12d..cd3e0a7 100644 +--- a/src/com/sun/gssapi/mechs/dummy/Makefile ++++ b/src/com/sun/gssapi/mechs/dummy/Makefile +@@ -59,7 +59,7 @@ M4DEF_PROP += -D CONTEXT=_K1000A49 + M4DEF_PROP += -D CRED=_K2102CC5 + + Dummy.java: Dummy.m4 +- /usr/ccs/bin/m4 $(M4DEF_PROP) Dummy.m4 > Dummy.java ++ $(M4) $(M4DEF_PROP) Dummy.m4 > Dummy.java + + # Service Provider Interface Context Class and its methods/interface + M4DEF_CTXTSPI = -D GSSCtxtSpi=C018FE95 +@@ -86,5 +86,5 @@ M4DEF_CTXTSPI += -D _importSecCtxt=_S0AC8F9E + M4DEF_CTXTSPI += -D _dispose=_S020B957 + + DummyCtxt.java: DummyCtxt.m4 +- /usr/ccs/bin/m4 $(M4DEF_CTXTSPI) DummyCtxt.m4 > DummyCtxt.java ++ $(M4) $(M4DEF_CTXTSPI) DummyCtxt.m4 > DummyCtxt.java + +diff --git a/src/com/sun/nfs/XFileAccessor.java b/src/com/sun/nfs/XFileAccessor.java +index 50281d1..348ee3a 100644 +--- a/src/com/sun/nfs/XFileAccessor.java ++++ b/src/com/sun/nfs/XFileAccessor.java +@@ -71,7 +71,7 @@ class XFileAccessor implements com.sun.xfile.XFileAccessor { + return true; + } catch (IOException e) { + return false; +- }; ++ } + } + + public XFile getXFile() { diff --git a/dev-java/yanfs/metadata.xml b/dev-java/yanfs/metadata.xml new file mode 100644 index 000000000000..952a4b9b605c --- /dev/null +++ b/dev-java/yanfs/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> +</pkgmetadata> diff --git a/dev-java/yanfs/yanfs-1.0.ebuild b/dev-java/yanfs/yanfs-1.0.ebuild new file mode 100644 index 000000000000..9c248cd2c3ad --- /dev/null +++ b/dev-java/yanfs/yanfs-1.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +JAVA_PKG_IUSE="doc source examples" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Yet Another NFS - a Java NFS library" +HOMEPAGE="https://java.net/projects/yanfs" +SRC_URI="https://dev.gentoo.org/~ercpe/distfiles/dev-java/yanfs/yanfs-1.0.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=virtual/jre-1.6" +DEPEND=">=virtual/jdk-1.6" + +S="${WORKDIR}/${P}" + +java_prepare() { + epatch "${FILESDIR}/${PV}-make.patch" + rm -r "${S}"/src/com/sun/gssapi/mechs/dummy || die + + mkdir examples && \ + mv "${S}"/src/com/sun/rpc/samples/ examples/rpc && \ + mv "${S}"/src/com/sun/gssapi/samples/ examples/gssapi || die +} + +src_compile() { + CODEMGR_WS="${S}" emake -C "${S}/src/com/sun/gssapi/" + + java-pkg-2_src_compile +} + +src_install() { + java-pkg_dojar "${S}/${PN}.jar" + + use source && java-pkg_dosrc "${S}"/src/* + use doc && java-pkg_dojavadoc "${S}"/api/ + use examples && java-pkg_doexamples examples/* +} |