dev-lang/php: new 5.6 and 7.0 revisions with additional LICENSE entries.
authorMichael Orlitzky <mjo@gentoo.org>
Fri, 30 Sep 2016 23:29:26 +0000 (19:29 -0400)
committerMichael Orlitzky <mjo@gentoo.org>
Fri, 30 Sep 2016 23:42:39 +0000 (19:42 -0400)
The main license under which PHP is distributed is the "PHP license."
But, a lot of files, functions, and libraries have been inlined and
bring with them the associated license from the upstream project. This
commit adds the following unconditionally:

  * BSD (thread-safe resource manager, probably other places)
  * Zend-2.0 (used by the Zend engine, everything under ${S}/Zend/)

and the following USE-conditionally:

  * LGPL-2.1+, used by the bcmath extension.
  * BSD-2, used by the fpm SAPI and mbstring extension.
  * gd, used by gd.
  * LGPL-2.1, used by the mbstring extension.

The main license was also updated from "PHP-3" to "PHP-3.01", because
that's what it is.

Package-Manager: portage-2.3.0

dev-lang/php/php-5.6.26-r2.ebuild [moved from dev-lang/php/php-5.6.26-r1.ebuild with 99% similarity]
dev-lang/php/php-7.0.11-r2.ebuild [moved from dev-lang/php/php-7.0.11-r1.ebuild with 99% similarity]

similarity index 99%
rename from dev-lang/php/php-5.6.26-r1.ebuild
rename to dev-lang/php/php-5.6.26-r2.ebuild
index 420cbd7e501e1fa9204016af725f2deebd08794f..90bc6e2917160e8bc475ebf54008c7c8ab68f23b 100644 (file)
@@ -9,7 +9,15 @@ inherit autotools flag-o-matic versionator libtool systemd
 DESCRIPTION="The PHP language runtime engine"
 HOMEPAGE="http://php.net/"
 SRC_URI="http://php.net/distributions/${P}.tar.xz"
-LICENSE="PHP-3"
+
+LICENSE="PHP-3.01
+       BSD
+       Zend-2.0
+       bcmath? ( LGPL-2.1+ )
+       fpm? ( BSD-2 )
+       gd? ( gd )
+       unicode? ( BSD-2 LGPL-2.1 )"
+
 SLOT="$(get_version_component_range 1-2)"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 
similarity index 99%
rename from dev-lang/php/php-7.0.11-r1.ebuild
rename to dev-lang/php/php-7.0.11-r2.ebuild
index 74644064ffb0e06a477baa9f31d448296309575c..0729ac3b199b5cc668a5a81da46df8c66ad0cd97 100644 (file)
@@ -9,7 +9,15 @@ inherit autotools flag-o-matic versionator libtool systemd
 DESCRIPTION="The PHP language runtime engine"
 HOMEPAGE="http://php.net/"
 SRC_URI="http://php.net/distributions/${P}.tar.xz"
-LICENSE="PHP-3"
+
+LICENSE="PHP-3.01
+       BSD
+       Zend-2.0
+       bcmath? ( LGPL-2.1+ )
+       fpm? ( BSD-2 )
+       gd? ( gd )
+       unicode? ( BSD-2 LGPL-2.1 )"
+
 SLOT="$(get_version_component_range 1-2)"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"