libarchive was used in a new external component.

External components don't go through any standard ebuild (except
Chrome in a very round about way), and so license information isn't
captured for them.

So, for now, adding libarchive as a hard coded EXTRA_PACKAGE. However, it
uses the BSD-2 license which requires custom license text. To support
this, add support for custom text into the AddExtraPkg() mechanism.

Also create a new sub-dir ('extra_package_licenses') to hold the files with
custom license text.

BUG=chromium:439191
TEST=Generated licenses, and inspected the results.

Change-Id: Ie223d5599487319878fb5e4911d2b9b446b3c80b
Previous-Reviewed-on: https://chromium-review.googlesource.com/233303
(cherry picked from commit 711626ccbd92b4d41f999dc7ea3ab5f0bcc79cd2)
Reviewed-on: https://chromium-review.googlesource.com/233910
Reviewed-by: Don Garrett <dgarrett@chromium.org>
Commit-Queue: Don Garrett <dgarrett@chromium.org>
Tested-by: Don Garrett <dgarrett@chromium.org>
3 files changed