From bf7068b71b8e46cdfea0448ceae6bf4433dad508 Mon Sep 17 00:00:00 2001 From: Thomas Sachau Date: Mon, 2 Feb 2009 21:28:43 +0000 Subject: Initial commit. Fixes bug 240447 Package-Manager: portage-2.2_rc23/cvs/Linux x86_64 --- net-mail/Freemail/ChangeLog | 10 +++++ net-mail/Freemail/Freemail-9999.ebuild | 47 +++++++++++++++++++++ net-mail/Freemail/Manifest | 4 ++ net-mail/Freemail/files/build.patch | 76 ++++++++++++++++++++++++++++++++++ net-mail/Freemail/metadata.xml | 9 ++++ 5 files changed, 146 insertions(+) create mode 100644 net-mail/Freemail/ChangeLog create mode 100644 net-mail/Freemail/Freemail-9999.ebuild create mode 100644 net-mail/Freemail/Manifest create mode 100644 net-mail/Freemail/files/build.patch create mode 100644 net-mail/Freemail/metadata.xml (limited to 'net-mail/Freemail') diff --git a/net-mail/Freemail/ChangeLog b/net-mail/Freemail/ChangeLog new file mode 100644 index 000000000000..2084cd4e20cd --- /dev/null +++ b/net-mail/Freemail/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-mail/Freemail +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/Freemail/ChangeLog,v 1.1 2009/02/02 21:28:43 tommy Exp $ + +*Freemail-9999 (02 Feb 2009) + + 02 Feb 2009; Thomas Sachau (Tommy[D]) + +files/build.patch, +Freemail-9999.ebuild: + Initial commit. Fixes bug 240447 + diff --git a/net-mail/Freemail/Freemail-9999.ebuild b/net-mail/Freemail/Freemail-9999.ebuild new file mode 100644 index 000000000000..f67aa329fb9e --- /dev/null +++ b/net-mail/Freemail/Freemail-9999.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/Freemail/Freemail-9999.ebuild,v 1.1 2009/02/02 21:28:43 tommy Exp $ + +EAPI="2" + +ESVN_REPO_URI="http://freenet.googlecode.com/svn/trunk/apps/Freemail" +ESVN_OPTIONS="--ignore-externals" +EANT_BUILD_TARGET="dist" +inherit eutils java-pkg-2 java-ant-2 subversion + +DESCRIPTION="Anonymous IMAP/SMTP e-mail server over Freenet" +HOMEPAGE="http://www.freenetproject.org/tools.html" +SRC_URI="" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="" +IUSE="" + +CDEPEND="dev-java/bcprov + net-p2p/freenet[freemail]" +DEPEND="${CDEPEND} + >=virtual/jdk-1.5" +RDEPEND="${CDEPEND} + >=virtual/jre-1.5" + +EANT_GENTOO_CLASSPATH="bcprov freenet" +src_prepare() { + epatch "${FILESDIR}"/build.patch + java-ant_rewrite-classpath +} + +src_install() { + java-pkg_dojar lib/Freemail.jar + dodir /var/freenet/plugins + dosym ../../../usr/share/Freemail/lib/Freemail.jar /var/freenet/plugins/Freemail.jar + dodoc README || die "installation of documentation failed" +} + +pkg_postinst () { + elog "To load Freemail, go to the plugin page of freenet and enter at" + elog "Plugin-URL: plugins/Freemail.jar. This should load the Freemail plugin." + elog "Set your email client to IMAP port 3143 and SMTP port 3025 on localhost." + elog "To bind freemail to different ports, or to a different freenet node, edit" + elog "/var/freenet/globalconfig." +} diff --git a/net-mail/Freemail/Manifest b/net-mail/Freemail/Manifest new file mode 100644 index 000000000000..fe01ec216796 --- /dev/null +++ b/net-mail/Freemail/Manifest @@ -0,0 +1,4 @@ +AUX build.patch 3340 RMD160 a65f64238057bf7c8cd837d540b3a351927ce225 SHA1 7b0991a7804aa363bd460efbf9e82aad2bdb061d SHA256 5e5741c5c030c4b75690877635014f1a087614d44213e776f5a93d99f2fc98b1 +EBUILD Freemail-9999.ebuild 1431 RMD160 302a228db0601ef3040de177b3b9be0139092ac7 SHA1 2bee844080a45b54576714f3bca1dfe69ecd19dd SHA256 091c4876cdea6be589cdf05d4cf2663178711b47a5ca3297d618126efe9e895d +MISC ChangeLog 376 RMD160 707693bbfe3339edf19285ee1485beb798eb8492 SHA1 f62507e65dd131c09a130e99ff22e88783fc6836 SHA256 8398d0a956d0d37f3b0193f066acb6efd89ad3d8cd29df1c9c8383b7f395c8f0 +MISC metadata.xml 243 RMD160 7be756104e00991666e4eca8aeec67344ecd58b3 SHA1 ac8db07adeb283df0ee6b8dc8f833c491e756199 SHA256 76e8c4cafe92af4eb083e9682c375a2f887458dac6ce8f2982976a96abcf8219 diff --git a/net-mail/Freemail/files/build.patch b/net-mail/Freemail/files/build.patch new file mode 100644 index 000000000000..4ac3a878cdaf --- /dev/null +++ b/net-mail/Freemail/files/build.patch @@ -0,0 +1,76 @@ +--- build.xml 2008-10-08 18:58:11.000000000 +0200 ++++ build.xml.new 2008-10-08 18:59:25.000000000 +0200 +@@ -4,64 +4,8 @@ + + + +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- Attempting to fetch Freenet main jar - ant cannot do this reliably, so if it fails, delete ${deps}/${freenetjar} and ${freenetjarurl.localpath} and run ant again. +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- + +- ++ + + + +@@ -88,6 +33,7 @@ + + + ++ + +
+ diff --git a/net-mail/Freemail/metadata.xml b/net-mail/Freemail/metadata.xml new file mode 100644 index 000000000000..fed3658eec53 --- /dev/null +++ b/net-mail/Freemail/metadata.xml @@ -0,0 +1,9 @@ + + + + + tommy@gentoo.org + Thomas Sachau (Tommy[D]) + + + -- cgit v1.2.3-65-gdbad