diff options
author | Johann Schmitz <ercpe@gentoo.org> | 2013-10-15 17:06:52 +0000 |
---|---|---|
committer | Johann Schmitz <ercpe@gentoo.org> | 2013-10-15 17:06:52 +0000 |
commit | ca7f67fa7e44e7de1bd278f47dda88dd39aa97a4 (patch) | |
tree | 851e9a20dffcd37b5fa04474042ecc14675d55e0 /dev-java/yanfs | |
parent | Version bump. (diff) | |
download | gentoo-2-ca7f67fa7e44e7de1bd278f47dda88dd39aa97a4.tar.gz gentoo-2-ca7f67fa7e44e7de1bd278f47dda88dd39aa97a4.tar.bz2 gentoo-2-ca7f67fa7e44e7de1bd278f47dda88dd39aa97a4.zip |
Ebuild for yanfs, a java NFS library
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 77C501ED)
Diffstat (limited to 'dev-java/yanfs')
-rw-r--r-- | dev-java/yanfs/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/yanfs/Manifest | 5 | ||||
-rw-r--r-- | dev-java/yanfs/files/1.0-make.patch | 82 | ||||
-rw-r--r-- | dev-java/yanfs/metadata.xml | 6 | ||||
-rw-r--r-- | dev-java/yanfs/yanfs-1.0.ebuild | 46 |
5 files changed, 148 insertions, 0 deletions
diff --git a/dev-java/yanfs/ChangeLog b/dev-java/yanfs/ChangeLog new file mode 100644 index 000000000000..08d406041449 --- /dev/null +++ b/dev-java/yanfs/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-java/yanfs +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/yanfs/ChangeLog,v 1.1 2013/10/15 17:06:52 ercpe Exp $ + +*yanfs-1.0 (15 Oct 2013) + + 15 Oct 2013; Johann Schmitz <ercpe@gentoo.org> +files/1.0-make.patch, + +metadata.xml, +yanfs-1.0.ebuild: + Ebuild for yanfs, a java NFS library diff --git a/dev-java/yanfs/Manifest b/dev-java/yanfs/Manifest new file mode 100644 index 000000000000..c0bfca024413 --- /dev/null +++ b/dev-java/yanfs/Manifest @@ -0,0 +1,5 @@ +AUX 1.0-make.patch 2620 SHA256 fce4ab605ed809cc7547c92ad08b8b40b45e221849dd3f2ed5fb0cc4c4854081 SHA512 85ad4c443800a33ffb16fee52bd1a2fd89dc8d3de8f6adbc184ca72ad3ee8c877d4658b4c2c82ebdb54b333c16dd54534f47d193e9b808a16f92a97bfd5b427a WHIRLPOOL 95602bdef0687e50691f8742a3ff9225247ebe8651b5e15ac8bc9a84bf6dc597692642df5c60e2a830e3919dc4bf6a0049fd10df80f76ba0e98eb786c8df1599 +DIST yanfs-1.0.tar.bz2 107232 SHA256 b1332f97391cf91e544c2668e2a1d81e4d4c76d3bd84b348bbe448eb58a7b719 SHA512 e7031ba630360240de136f588c337a3a4b551320f5e121c1910fc58ba08c7b7c6fe95fb87b57263c19e00a3e44fe81c36d9e8e8971d4fdf910bb3797c0a1eeeb WHIRLPOOL 05ecf92100f3fa760ba694659e8f401e69adbbef8ba31e5dbf36bfd81b387afc1bfc2d335dfe6d0f321579813fd0f9a60ead5db7b7450b3e71e80579ddd89713 +EBUILD yanfs-1.0.ebuild 1044 SHA256 51a1ffba15b2102d6a3e16345c6abc5febf71a9399095efc348702e19e0fb89a SHA512 9b6eaba9a021eb57f650ad720d99dbfff712ee7874fb0893b2346f0faa266b8ce703f7c51c9ec0aeee24c2a1f6ddaf901cff1f3f1625d12e2bd7fcd7f0a22dee WHIRLPOOL 0bee48aa011ddfb8d31075046b9609025775279fa170efb9c4204f8a01656489a0fc21e3532d19cad122198041845c9f718e0390629037a9f83c75b680b554fe +MISC ChangeLog 288 SHA256 0005b653cabb96e9b120f26b0942ba007aa4fd3082db539e584be115331195cd SHA512 3837aa2efd58e6a89a7ce05e074154f8b31fbc8deb2756776dbf8bd0a28f1e44b95b22eecc893fdc88d1c77700bdb52d5d59e2e78109339c63005d41885a57e9 WHIRLPOOL ab02bcb2fc0b04dd4d69da9e987c504b90f9d0750c2549467d771f1de22d425190bc148fc141fc51c9e2565521371c16753057c040e9282348ee78cd089fc8df +MISC metadata.xml 159 SHA256 1c070a909e96d9d193f84ad9304d196febbe33b60a724cc4b0d20634bb82255b SHA512 269cf19c37f2d136b926f546ec83ffdbc1374b2b6e26f8a31f21854143380386c31bfc7b2a0b9c47fb1f7c02607ddbdd43e517cb5c3270515e465c4dd7788843 WHIRLPOOL afb402fec04cddb3184b69eb8a8d36b404edd2870fd06c8f5e99be39c341ea6fa7542e0b680fac05529522ed33838e8279381d7a6de9dbc58fe55841229d8a51 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..604e0a4238bb --- /dev/null +++ b/dev-java/yanfs/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</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..637d8bcec152 --- /dev/null +++ b/dev-java/yanfs/yanfs-1.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/yanfs/yanfs-1.0.ebuild,v 1.1 2013/10/15 17:06:52 ercpe Exp $ + +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="http://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.5" +DEPEND=">=virtual/jdk-1.5" + +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/* +} |