summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2013-07-16 12:06:33 +0000
committerTom Wijsman <tomwij@gentoo.org>2013-07-16 12:06:33 +0000
commit4f1272e877e75e9a45584f976f599803566b167d (patch)
tree8ab4932ea19d656f7d01f575bebc4251ebdde072 /dev-java/osgi-enterprise-api
parentUpdate LICENSE to include the OSGi Specification 2.0 license and introduce fe... (diff)
downloadgentoo-2-4f1272e877e75e9a45584f976f599803566b167d.tar.gz
gentoo-2-4f1272e877e75e9a45584f976f599803566b167d.tar.bz2
gentoo-2-4f1272e877e75e9a45584f976f599803566b167d.zip
Update LICENSE to include the OSGi Specification 2.0 license and introduce fetch restriction as the license needs to be explicitly accepted (except for osgi-foundation) to obtain the downloads.
(Portage version: 2.1.12.13/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'dev-java/osgi-enterprise-api')
-rw-r--r--dev-java/osgi-enterprise-api/ChangeLog7
-rw-r--r--dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0.ebuild14
2 files changed, 18 insertions, 3 deletions
diff --git a/dev-java/osgi-enterprise-api/ChangeLog b/dev-java/osgi-enterprise-api/ChangeLog
index aba346105606..d4ea92e40555 100644
--- a/dev-java/osgi-enterprise-api/ChangeLog
+++ b/dev-java/osgi-enterprise-api/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/osgi-enterprise-api
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/osgi-enterprise-api/ChangeLog,v 1.1 2013/07/03 21:22:46 tomwij Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/osgi-enterprise-api/ChangeLog,v 1.2 2013/07/16 12:06:33 tomwij Exp $
+
+ 16 Jul 2013; Tom Wijsman <TomWij@gentoo.org> osgi-enterprise-api-5.0.0.ebuild:
+ Update LICENSE to include the OSGi Specification 2.0 license and introduce
+ fetch restriction as the license needs to be explicitly accepted (except for
+ osgi-foundation) to obtain the downloads.
*osgi-enterprise-api-5.0.0 (03 Jul 2013)
diff --git a/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0.ebuild b/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0.ebuild
index d2dcb68a4386..b67e3fd1c553 100644
--- a/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0.ebuild
+++ b/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0.ebuild,v 1.1 2013/07/03 21:22:46 tomwij Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0.ebuild,v 1.2 2013/07/16 12:06:33 tomwij Exp $
EAPI="5"
@@ -12,10 +12,12 @@ DESCRIPTION="OSGi Enterprise Release 5 Companion Code"
SRC_URI="http://www.osgi.org/download/r5/osgi.enterprise-${PV}.jar"
HOMEPAGE="http://www.osgi.org/Main/HomePage"
-LICENSE="Apache-2.0"
+LICENSE="Apache-2.0 OSGi-Specification-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+RESTRICT="bindist fetch"
+
CDEPEND="dev-java/glassfish-persistence:0
dev-java/osgi-core-api:0
java-virtuals/servlet-api:2.5"
@@ -31,6 +33,14 @@ JAVA_SRC_DIR="OSGI-OPT/src"
JAVA_GENTOO_CLASSPATH="glassfish-persistence,osgi-core-api,servlet-api-2.5"
+pkg_nofetch() {
+ einfo "Please download osgi.enterprise-${PV}.jar from"
+ einfo " http://www.osgi.org/Download/Release5"
+ einfo "which you can find listed as"
+ einfo " OSGi Enterprise Release 5 Companion Code"
+ einfo "after accepting the license."
+}
+
java_prepare() {
rm -r org || die
}