Which is the basis of XXX?
Affero General Public License
The first is the Affero General Public License, version 1 which was published by Affero, Inc. in March 2002, and is based on the GNU General Public License, version 2 (GPLv2).
GNU General Public License