Bug 49080

Summary: The copyright violation in ant sources: test.exe
Product: Ant Reporter: Michal Vyskocil <mvyskocil>
Component: OtherAssignee: Ant Notifications List <notifications>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: nightly   
Target Milestone: 1.8.1   
Hardware: PC   
OS: Linux   
Attachments: The WinZip warning when running using wine

Description Michal Vyskocil 2010-04-09 10:35:33 UTC
The apache sources and svn [1] contains file called test.exe. Reading the bug#16213 it seems to be self-extracting zip archive created by WinZip. However running the test.exe displays a warning:

This copy of WinZip Self-Extractor is NOT LICENSED for distribution. Any distribution of this file is prohibited and is a violation of US Copyright law and international treaty.

And the content of the archive seems not correct at all - there are many references to WinZip, so the content might be copyrighted too.

Please recreate test.exe using some free zip program (like InfoZip [3]) and using copyright safe content - adding a README explaining it is also welcome.

[1] http://svn.apache.org/viewvc/ant/core/trunk/src/etc/testcases/taskdefs/zip/test.exe?view=log
[2] http://issues.apache.org/bugzilla/show_bug.cgi?id=16213
[3] http://www.info-zip.org/
Comment 1 Michal Vyskocil 2010-04-09 10:36:53 UTC
Created attachment 25249 [details]
The WinZip warning when running using wine

This is a warning I mentioned in an initial description.
Comment 2 Stefan Bodewig 2010-04-09 12:20:48 UTC
I see, and I agree this is unfortunate.

For the purpose of the testcase, any self-extracting archive would do.
Unfortunately I've failed to create a self extracting archive using InfoZIP
and don't have a version of WinZIP myself.

The file in question itself is probably a sample that ships with WinZIP
(judging from the ReadMe.txt), it is the extractor code embedded inside the
archive that we must not distribute.
Comment 3 Michal Vyskocil 2010-04-09 13:11:46 UTC
> For the purpose of the testcase, any self-extracting archive would do.
> Unfortunately I've failed to create a self extracting archive using InfoZIP
> and don't have a version of WinZIP myself.


Sorry, I missread the zip man page - the -A just skips the sfx header, it's not able to create SFX archive. I found the Zip2Secure - it'd be free (as a bear?) and might be used. Sorry I'm not running Windows, so I cannot help you more in this particular case.

http://www.chilkatsoft.com/chilkatSfx.asp
Comment 4 Stefan Bodewig 2010-04-09 14:06:52 UTC
(In reply to comment #3)

> I found the Zip2Secure

yes, found that as well and tried it, but the result itself is not a valid
ZIP archive.  WinZIPs self extracting zips can be extracted with other
zip implementations (like InfoZIP's) but Zip2Secure created ones can't.

I'm not convinced it has to be Windows, the Wikipedia page on self extracting
archives lists alternatives.  For our tests the resulting executable (platform
is not relevant) has to be a valid zip archive again.

Maybe another community member has access to a licensed version of WinZIP and
can create an unencumbered archive.  I'll let this sit for a few days - worst
case we are going to disable the test and delete the ZIP entirely.
Comment 5 Stefan Bodewig 2010-04-13 00:10:49 UTC
svn revision 933479 removes the file