View Issue Details

IDProjectCategoryView StatusLast Update
0000588fileGeneralpublic2024-12-15 13:05
ReporterAnton Monroe Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Product Version5.46 
Fixed in VersionHEAD 
Summary0000588: Magdir/os2, new test for WarpIN archives
Descriptionin Magdir/os2, the test for a WarpIN archive produces output like
    foo.wpi: WarpIN Installer, created by WIC 1.0.19, 'OS/2 Netlabs', URL http://warpin.netlabs.org
Which is confusing because the file is not the installer, and the rest of the line describes the
application that created the archive. It could give the wrong impression that the archive itself
came from NetLabs. (Information about the archive is in a compressed text file inside the archive,
which 'file' cannot read.)

I kept the WIC version because it is the only available clue about what version of the installer
might be required, and added a test for the self-extracting version.


# archive for the OS/2 WarpIN package manager
# From: Joerg Jenderek
# URL: http://warpin.netlabs.org/
# Reference: http://mark0.net/download/triddefs_xml.7z/defs/a/ark-wpi.trid.xml
# Note: called by TrID "WarpIN Installer"
# Revised by: Anton Monroe December 2024
# Reference: http://trac.netlabs.org/warpin/browser/trunk/include/wiarchive/wiarchive.h
# magic is 4 bytes at the beginning
0 ubelong =0x770402BE OS/2 WarpIN archive
#!:mime application/octet-stream
!:mime application/x-os2-wpi
!:ext wpi
# the compiler that created the archive:
# "WicPM" or "WIC <version>". A few early archives say "reserved" or "Test application"
>0x106 string x \b, created with %s

# self-extracting archive for the OS/2 WarpIN package manager
# From: Anton Monroe December 2024
# Reference: http://trac.netlabs.org/warpin/browser/trunk/include/wiarchive/wiarchive.h
# look for "WarpIN self-extracting archive EXE stub" which is
# usually somewhere between offset 40000 and 45000, but one was at 62000
0 string/b MZ
>40000 search/25000 WarpIN\ self-extracting\ archive\ EXE\ stub
>>&3 ubelong =0x770402BE OS/2 WarpIN self-extracting archive
!:ext exe
>>>&0x102 string x \b, created with %s
TagsNo tags attached.

Activities

christos

2024-12-15 13:05

manager   ~0004131

Applied, thanks!

Issue History

Date Modified Username Field Change
2024-12-15 01:30 Anton Monroe New Issue
2024-12-15 13:05 christos Assigned To => christos
2024-12-15 13:05 christos Status new => assigned
2024-12-15 13:05 christos Status assigned => resolved
2024-12-15 13:05 christos Resolution open => fixed
2024-12-15 13:05 christos Fixed in Version => HEAD
2024-12-15 13:05 christos Note Added: 0004131