1. 23 3月, 2019 7 次提交
    • M
      slirp: remove reference to COPYRIGHT file · 0c4cc4e2
      Marc-André Lureau 提交于
      The slirp COPYRIGHT file is a BSD-3 license. Instead of referring to
      another project file, the SPDX license notice present in all source
      files states that unequivocally.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      0c4cc4e2
    • M
      slirp: clarify license of slirp files using SPDX: implicit via unstated · dfacac4c
      Marc-André Lureau 提交于
      Add SPDX license identifier to clarify the license of files without
      explicit license header.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Reviewed-by: NThomas Huth <thuth@redhat.com>
      dfacac4c
    • M
      slirp: clarify license of slirp files using SPDX: implicit via COPYRIGHT · 3e6d35e5
      Marc-André Lureau 提交于
      Add SPDX license identifier to clarify the license of files with
      reference to BSD license from slirp COPYRIGHT file.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Reviewed-by: NThomas Huth <thuth@redhat.com>
      3e6d35e5
    • M
      slirp: clarify license of slirp files using SPDX: explicit MIT · 6087fd53
      Marc-André Lureau 提交于
      Add SPDX license identifier to clarify the license of files with
      explicit MIT license header.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Reviewed-by: NThomas Huth <thuth@redhat.com>
      6087fd53
    • M
      slirp: clarify license of slirp files using SPDX: explicit BSD · d2f27fcb
      Marc-André Lureau 提交于
      Add SPDX license identifier to clarify the license of files with
      explicit 3-clause BSD license header.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Reviewed-by: NThomas Huth <thuth@redhat.com>
      d2f27fcb
    • M
      slirp: relicense GPL files to BSD-3 · 87ecdc71
      Marc-André Lureau 提交于
      In order to make slirp a standalone project, the project must have a
      clear license, and be compatible with the GPL or LGPL.
      
      Since commit 2f5f8996 ("Remove the
      advertising clause from the slirp license"), slirp is BSD-3. But new
      files have been added under slirp/ with QEMU GPL license since then.
      
      The copyright holders have been asked to relicense files to BSD-3 and
      gave their permission:
      
      - slirp/dhcpv6.{c,h}
      
      Subject: Re: Clearing slirp/ license
      To: "Marc-André Lureau" <marcandre.lureau@gmail.com>, QEMU <qemu-devel@nongnu.org>, Thomas Huth <thuth@redhat.com>
      Cc: Peter Maydell <peter.maydell@linaro.org>, Samuel Thibault <samuel.thibault@ens-lyon.org>
      References: <CAJ+F1CKBRNdLPb_wOLhURdUJd-j1RHY2toKSTEhCBt_zs4Xk1w@mail.gmail.com>
      From: "Cédric Le Goater" <clg@kaod.org>
      Message-ID: <e942cdab-fe1b-fdf4-3b9f-da16a4afa953@kaod.org>
      Date: Mon, 11 Mar 2019 16:23:25 +0100
      
      > Could you reply that you have no objection in relicensing those files
      > are 3-Clause BSD?
      
      Fine for me. You can change the license of slirp/ncsi.c and
      slirp/ncsi-pkt.hto a 3-Clause BSD.
      
      Thanks,
      
      C.
      
      Subject: Re: [Qemu-devel] Clearing slirp/ license
      To: Peter Maydell <peter.maydell@linaro.org>, Shan Gavin <shan.gavin@gmail.com>
      Cc: Alexey Kardashevskiy <aik@ozlabs.ru>, "Marc-André Lureau" <marcandre.lureau@gmail.com>, Gavin Shan <gwshan@linux.vnet.ibm.com>, Thomas Huth <thuth@redhat.com>, QEMU <qemu-devel@nongnu.org>, Samuel Thibault <samuel.thibault@ens-lyon.org>
      References: <CAJ+F1CKBRNdLPb_wOLhURdUJd-j1RHY2toKSTEhCBt_zs4Xk1w@mail.gmail.com> <e942cdab-fe1b-fdf4-3b9f-da16a4afa953@kaod.org> <CAJ+F1C+hFfsa5gcSdttTP5J+uyDvNdYJWrm9OJM26+Zc1ZQkew@mail.gmail.com> <cc62e1fd-c564-e1b7-d10c-30665b481352@ozlabs.ru> <CAOL5TwkQXhPjdPP9v7n7mxAVxbDCSo6MEaG+E-Xys=MoD_pg2g@mail.gmail.com> <CAFEAcA_g=L2LSo=B_5dpJhJJrqFiOb6sswMVohQwpVGiKi_A7w@mail.gmail.com>
      From: "Cédric Le Goater" <clg@kaod.org>
      Message-ID: <4ddf6031-0df1-b3b5-965e-a181266e42b0@kaod.org>
      Date: Tue, 12 Mar 2019 11:49:21 +0100
      
      > Is the code in question copyright you personally, or copyright
      > IBM as your employer at the time ? If the latter, it is IBM that
      > would need to approve the relicensing.
      
      That was done. I had our legal team approve the change of license.
      
      Thanks,
      
      C.
      
      From: Shan Gavin <shan.gavin@gmail.com>
      Date: Tue, 12 Mar 2019 15:04:54 +0800
      Message-ID: <CAOL5TwkQXhPjdPP9v7n7mxAVxbDCSo6MEaG+E-Xys=MoD_pg2g@mail.gmail.com>
      Subject: Re: [Qemu-devel] Clearing slirp/ license
      To: Alexey Kardashevskiy <aik@ozlabs.ru>
      Cc: "Marc-André Lureau" <marcandre.lureau@gmail.com>, "Cédric Le Goater" <clg@kaod.org>, gwshan@linux.vnet.ibm.com, Peter Maydell <peter.maydell@linaro.org>, Thomas Huth <thuth@redhat.com>, QEMU <qemu-devel@nongnu.org>, Samuel Thibault <samuel.thibault@ens-lyon.org>
      
      > Gavin, could you reply that you have no objection in relicensing
      > ncsi-pkt.h as 3-Clause BSD?
      
      No objection. Please go ahead with the relicensing.
      
      Cheers,
      Gavin
      
      - ncsi.c, ncsi-pkt.h
      
      Subject: Re: Clearing slirp/ license
      To: "Marc-André Lureau" <marcandre.lureau@gmail.com>, QEMU <qemu-devel@nongnu.org>, "Cédric Le Goater" <clg@kaod.org>
      Cc: Peter Maydell <peter.maydell@linaro.org>, Samuel Thibault <samuel.thibault@ens-lyon.org>
      References: <CAJ+F1CKBRNdLPb_wOLhURdUJd-j1RHY2toKSTEhCBt_zs4Xk1w@mail.gmail.com>
      From: Thomas Huth <thuth@redhat.com>
      Message-ID: <ed5a9f55-f2e5-298d-58ac-414759e9b491@redhat.com>
      Date: Wed, 13 Feb 2019 12:30:32 +0100
      
      > Could you reply that you have no objection in relicensing those files
      > are 3-Clause BSD?
      
      Ok, for the records: I'm fine if you change the license of dhcpv6.[ch]
      to either 3-Clause BSD or 2-Clause BSD.
      
       Thomas
      
      - vmstate.{c,h}
      
      From: Juan Quintela <quintela@redhat.com>
      To: "Marc-André Lureau" <marcandre.lureau@gmail.com>
      Cc: QEMU <qemu-devel@nongnu.org>, Peter Maydell <peter.maydell@linaro.org>, Samuel Thibault <samuel.thibault@ens-lyon.org>
      Subject: Re: Clearing slirp/ license
      Date: Tue, 12 Mar 2019 12:43:17 +0100
      Message-ID: <87k1h4qpwq.fsf@trasno.org>
      
      > Juan, Could you reply that you have no objection in relicensing the
      > vmstate files as 3-Clause BSD?
      
      No problem at all on my side.
      
      Later, Juan.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      [ for the NC-SI files ]
      Reviewed-by: NCédric Le Goater <clg@kaod.org>
      Acked-by: NThomas Huth <thuth@redhat.com>
      87ecdc71
    • M
      slirp: update COPYRIGHT to use full 3-Clause BSD License · 772c7127
      Marc-André Lureau 提交于
      According to commit 2f5f8996 ("Remove
      the advertising clause from the slirp license"), Danny Gasparovski
      gave permission to license slirp code under 3-clause BSD license:
      
          Subject: RE: Slirp license
          Date: Thu, 8 Jan 2009 10:51:00 +1100
          From: "Gasparovski, Daniel" <Daniel.Gasparovski@ato.gov.au>
          To: "Richard Fontana" <rfontana@redhat.com>
      
          I have no objection to having Slirp code in QEMU be licensed under
          the 3-clause BSD license.
      
      slirp/COPYRIGHT's initial version in 2004 (commit 5fafdf24) listed
      only 3 clauses BUT used the poisonous advertising clause for clause 3
      which is the controversial clause of non-free 4-clause (that is, it
      appears that the BSD-4 license was copied, and then the WRONG clause
      was deleted, when creating COPYRIGHT.  Perhaps explained as an easy
      mistake to make since 3-clause was created by removing clause 3 of the
      4-clause, where you sometimes see the three-clause version with
      clauses 1, 2, 4; but more commonly see a renumbered version with
      clauses 1, 2, 3 to close the gap. If you pay attention only to clause
      numbers instead of content, it can be easy to confuse which clause to
      delete to go from 4-clause to 3-clause).
      
      Commit 2f5f8996 removed the poisonous wrong clause on
      the grounds of moving from 4-clause to 3-clause; but did not add the
      missing clause, which makes it LOOK like the 2-clause version.  But I
      think we have a decent enough trail showing the intent for 3-clause.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Reviewed-by: NThomas Huth <thuth@redhat.com>
      772c7127
  2. 14 3月, 2019 1 次提交
  3. 07 3月, 2019 11 次提交
  4. 13 2月, 2019 2 次提交
    • M
      slirp: wrap the remaining socket functions · adf1add2
      Marc-André Lureau 提交于
      QEMU wraps the socket functions in os-win32.h, but in commit
      a9d8b3ec, the header inclusion was dropped,
      breaking libslirp on Windows.
      
      Wrap the missing functions.
      
      Rename the wrapped function with "slirp_" prefix and "_wrap" suffix,
      for consistency and to avoid a clash with existing function (such as
      "slirp_socket").
      
      Fixes: a9d8b3ec ("slirp: replace remaining qemu headers dependency")
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-Id: <20190212160953.29051-3-marcandre.lureau@redhat.com>
      Signed-off-by: NSamuel Thibault <samuel.thibault@ens-lyon.org>
      Tested-by: Howard Spoelstra
      adf1add2
    • M
      slirp: remove slirp_ prefix for socket wrappers · fdbfba8c
      Marc-André Lureau 提交于
      QEMU wraps the socket functions in os-win32.h, but in commit
      a9d8b3ec, the header inclusion was dropped,
      breaking libslirp on Windows.
      
      There are already a few socket functions that are wrapped in libslirp,
      with "slirp_" prefix, but many of them are missing, and we are going
      to wrap the missing functions in a second patch.
      
      Using "slirp_" prefix avoids the conflict with socket function #define
      wrappers in QEMU os-win32.h, but they are quite intrusive. In the end,
      the functions should behave the same as original one, but with errno
      being set. To avoid the churn, and potential confusion, remove the
      "slirp_" prefix. A series of #undef is necessary until libslirp is
      made standalone to prevent the #define conflict with QEMU.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-Id: <20190212160953.29051-2-marcandre.lureau@redhat.com>
      Signed-off-by: NSamuel Thibault <samuel.thibault@ens-lyon.org>
      fdbfba8c
  5. 07 2月, 2019 19 次提交