[pkg-wpa-devel] Bug#718651: Bug#718651: Bug#718651: Built hostapd/wpasupplicant 2.1 (patch)

Gerald Turner gturner at unzane.com
Mon Jun 2 08:38:26 UTC 2014


Stefan Lippers-Hollmann <s.L-H at gmx.de> writes:
> On Saturday 31 May 2014, Stefan Lippers-Hollmann wrote:
>> On Saturday 31 May 2014, Gerald Turner wrote:
>> > Stefan Lippers-Hollmann <s.L-H at gmx.de> writes:
>> > > On Saturday 31 May 2014, Gerald Turner wrote:
> [...]
>> > Would you like me to spend some time reconstructing a DEP-5
>> > copyright file for 2.1, or would that also be wasted effort?
>>
>> It doesn't make sense to start collecting the copyright information
>> from the 2.1 release, as meanwhile 28 files changed their copyright
>> (new years, typically 2014, added), 24 new files were added + the
>> whole new subdirectory hs20/ (which is fortunately licensed rather
>> uniformly) and with 6 files being completely removed. If we already
>> had this DEP-5 listing for 2.1, it would be reasonable to update it,
>> but when starting from scratch, it only makes sense to start from
>> current upstream HEAD (and then to use git diff <hash>..hostap_2_2,
>> to fill up the gaps until v2.1 gets tagged. I'm not asking you to
>> spend time on this, as I know far too well how demotivating this is,
>> but I certainly wouldn't say no to a patch either.
>
> Just as a hint, I have just[1] updated debian/get-orig-source to work
> with wpa 2.2~. Using a version number like e.g.
> 	2.1+git20140531.1+147848e-1
> then fetches the according upstream tarball.

Well, I've done it, and it sure was tedious!

Steps:

  git log --full-diff -p hostapd hs20 patches src wpa_supplicant | \
    egrep '(^diff|Copyright)' | \
    grep -B1 Copyright | \
    ./git-log-full-diff-parse-copyright

The Perl script (attached) took a few hours to write - there's a brick
of about 60 lines to munge file moves.  Then about another hour to
inspect all that output, plus poking at each file to make sure that the
license change actually occured.

--
Gerald Turner <gturner at unzane.com>        Encrypted mail preferred!
OpenPGP: 4096R / CA89 B27A 30FA 66C5 1B80  3858 EC94 2276 FDB8 716D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wpa_2.1+git20140601.1+c6b6e105_copyright.patch
Type: text/x-diff
Size: 13254 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-wpa-devel/attachments/20140602/65592cd0/attachment.patch>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: git-log-full-diff-parse-copyright
URL: <http://lists.alioth.debian.org/pipermail/pkg-wpa-devel/attachments/20140602/65592cd0/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 965 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-wpa-devel/attachments/20140602/65592cd0/attachment.sig>


More information about the Pkg-wpa-devel mailing list