dsnet / compress

Collection of compression related Go packages.
BSD 3-Clause "New" or "Revised" License
405 stars 25 forks source link

What are the copyright and license of some testdata? #74

Open nishapariyar opened 1 year ago

nishapariyar commented 1 year ago

Hi there,

I was trying to package your project for Debian, I have few questions for dfsg compatibility:

How is this binary file (testdata/binary.bin) generated ?

What is the copyright and license of testdata/twain.txt ? I went through and found https://www.gutenberg.org/ebooks/74 shows it is Public domain in the USA, only?

Let me know. Thanks!

dsnet commented 1 year ago

How is this binary file (testdata/binary.bin) generated ?

I don't remember, but it definitely looks like the compiled output of parts of the Go stdlib. Since the Go toolchain is BSD, and since I generated the file with the Go compiler, it seems safe to declare that covered under BSD.

What is the copyright and license of testdata/twain.txt ?

At the time that I added this, it was copied from the Go stdlib. In the years since, it seems that others brought up copyright issues and it seems that removing the Gutenberg headers were sufficient to bring it fully into the public domain: https://go-review.googlesource.com/c/go/+/17196

Would replicating that change here be sufficient for you?

nishapariyar commented 1 year ago

How is this binary file (testdata/binary.bin) generated ?

I don't remember, but it definitely looks like the compiled output of parts of the Go stdlib. Since the Go toolchain is BSD, and since I generated the file with the Go compiler, it seems safe to declare that covered under BSD.

May be a go generator for this binary.bin would be good?

What is the copyright and license of testdata/twain.txt ?

At the time that I added this, it was copied from the Go stdlib. In the years since, it seems that others brought up copyright issues and it seems that removing the Gutenberg headers were sufficient to bring it fully into the public domain: https://go-review.googlesource.com/c/go/+/17196

Would replicating that change here be sufficient for you? Yes, It looks like that should work.

Thank you !

Maytha8 commented 5 months ago

Hi @dsnet, could you try and find a way to regenerate testdata/binary.bin? Otherwise, it will need to be removed and any tests using it will be skipped in the Debian package. Thanks!