summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2015-02-17 22:25:22 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2015-02-17 22:25:22 +0000
commit3ba9794e174d4ae99dff4a7414225f07f8799934 (patch)
treec3fe70bc05c607ec35f312cbae2e30b85439fec9 /dev-java
parentarm stable, bug #536790 (diff)
downloadhistorical-3ba9794e174d4ae99dff4a7414225f07f8799934.tar.gz
historical-3ba9794e174d4ae99dff4a7414225f07f8799934.tar.bz2
historical-3ba9794e174d4ae99dff4a7414225f07f8799934.zip
dev-java/oracle-javamail: added new ebuild
Package-Manager: portage-2.2.17/cvs/Linux x86_64 Manifest-Sign-Key: 0xCFE47E2F
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/oracle-javamail/ChangeLog12
-rw-r--r--dev-java/oracle-javamail/Manifest4
-rw-r--r--dev-java/oracle-javamail/metadata.xml5
-rw-r--r--dev-java/oracle-javamail/oracle-javamail-1.5.2.ebuild45
4 files changed, 66 insertions, 0 deletions
diff --git a/dev-java/oracle-javamail/ChangeLog b/dev-java/oracle-javamail/ChangeLog
new file mode 100644
index 000000000000..677b144675dc
--- /dev/null
+++ b/dev-java/oracle-javamail/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for dev-java/oracle-javamail
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-javamail/ChangeLog,v 1.1 2015/02/17 22:25:19 fordfrog Exp $
+
+*oracle-javamail-1.5.2 (17 Feb 2015)
+
+ 17 Feb 2015; Miroslav Šulc <fordfrog@gentoo.org>
+ +oracle-javamail-1.5.2.ebuild, +metadata.xml:
+ added new ebuild, successor of sun-javamail so preserving the keywords
+ (ebuilds per bug #540404 by William L. Thomson Jr.
+ <wlt@obsidian-studios.com>)
+
diff --git a/dev-java/oracle-javamail/Manifest b/dev-java/oracle-javamail/Manifest
new file mode 100644
index 000000000000..9a09f1235c91
--- /dev/null
+++ b/dev-java/oracle-javamail/Manifest
@@ -0,0 +1,4 @@
+DIST javamail-1.5.2-src.zip 1573447 SHA256 76efde22a38a021baa99087be1878787bf5e72ceb684b1bc33eb260a8ddcbdd5 SHA512 9d2ae8c38a8e7464023219dac13df95a34cab52a5ff9f19015ea0dde73a838f49ae006c9dc1538eeb978844af7ac962ce3b22d89f0f9ccda684141f7b52840bc WHIRLPOOL 6c438c6569cbd689eeaa8398301b5481956443ccb9f2112891bce5e97d1a792e0176e8fb395cbadd4175e87c253db833760aff96ea61654dad3d478d386fbf7b
+EBUILD oracle-javamail-1.5.2.ebuild 1442 SHA256 a1b556dc61b6c5610b36bec8420863415b0bc31eefdbe1f027143b080e18c0ac SHA512 1fdebf6dcf39fae3876cf841a1b3b6db28f63eb0bc4256e4188f037a98b83577ef98042951aad9cb4aaf7d120e832dbedaafd5f21c363d96e339fadc015cdc4a WHIRLPOOL 397a89b88d4092d3bff624d2bad2ab6101a7ea29a4c19ae4142b22f3b3d4085d4908713e022f66cc098435abedb27882b11d902defd7a6fdba3aec31928017af
+MISC ChangeLog 518 SHA256 78352335784c21bba347a8f9d480a01b90b9efa87f647b7ef4152f60c8b3fe4f SHA512 5795ff7ce9a66b3b5514fe205f6954a59aca675ef8b23ba19383d1bb2053dde82b55b5da894a3f31ebeedf2989854c8709944b83d4bb4ddaf1a1c7a18e9f2a9c WHIRLPOOL 36201a63acd611e0416e68c7226d933724b3e0a26cb180215d3a6dc42f45f3c9e910560d9e610d05cb2fa53a9e081f63ed2bb52765a64ce164acb518da3d3d88
+MISC metadata.xml 158 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb SHA512 54f88fc3270968439ba87295b04365a89101c55d33a8c209a56036dc60244e5c73f78ec09484b3e5af28de9dee2159b1dab670cbd5d80a9e0c4543145c0390a3 WHIRLPOOL fcffc4fb6751b5a6eec33aa833f9d7dea0168d3ab67f7e34565370f92fd917ed882bcc57585481bf4d31e601f83a592d99d1c3f50fc793f1c38cd174cc8b2f26
diff --git a/dev-java/oracle-javamail/metadata.xml b/dev-java/oracle-javamail/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/oracle-javamail/metadata.xml
@@ -0,0 +1,5 @@
+<?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/oracle-javamail/oracle-javamail-1.5.2.ebuild b/dev-java/oracle-javamail/oracle-javamail-1.5.2.ebuild
new file mode 100644
index 000000000000..f9ca12f288e1
--- /dev/null
+++ b/dev-java/oracle-javamail/oracle-javamail-1.5.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-javamail/oracle-javamail-1.5.2.ebuild,v 1.1 2015/02/17 22:25:19 fordfrog Exp $
+
+EAPI=4
+JAVA_PKG_IUSE="doc source"
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="A Java-based framework to build multiplatform mail and messaging applications"
+HOMEPAGE="https://java.net/projects/javamail/pages/Home"
+
+SRC_URI="https://java.net/projects/javamail/downloads/download/source/javamail-${PV}-src.zip"
+
+# either of these
+LICENSE="CDDL GPL-2 BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.6"
+RDEPEND=">=virtual/jre-1.6"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ default
+
+ # build.xml expects it here
+ mkdir -p legal/src/main/resources/META-INF || die
+ cp mail/src/main/resources/META-INF/LICENSE.txt \
+ legal/src/main/resources/META-INF || die
+}
+
+EANT_DOC_TARGET="docs"
+EANT_EXTRA_ARGS="-Dspec.dir=doc/spec"
+
+src_install() {
+ java-pkg_dojar target/release/mail.jar
+
+ dodoc doc/release/{CHANGES,COMPAT,NOTES,NTLMNOTES,README,SSLNOTES}.txt || die
+ dohtml -r doc/release/{*.html,images} || die
+
+ use doc && java-pkg_dojavadoc target/release/docs/javadocs
+ use source && java-pkg_dosrc mail/src/main/java
+}