As part of my current work on dependency generation, I'm looking at the types of files a package delivers and seeing whether we can extract any dependencies from those files. Currently, we're looking at pulling in dependencies from things like #!/usr/bin/python, elf dependencies, and hard link dependencies. We have plans to add something to peer inside a jar file, and possibly some programming language specific analysis such as looking at the import statements in python.

I was curious whether there was anything else we might need to address, so I ran the file command on all the files we deliver in resdistributable and collected the results, and an example file for each. After looking it through it, I don't see anything obvious we've missed, so I thought I'd see if anyone had suggestions or noticed something I'd missed.

I've attached the info.

Thanks,
Brock
8086 relocatable (Microsoft)    
/mnt/usr/lib/python2.4/vendor-packages/numpy/core/tests/data/astype_copy.pkl
Adobe Portable Document Format (PDF)    /mnt/usr/share/Cg/docs/CgUsersManual.pdf
Adobe Portable Document Format (PDF) v1.2       
/mnt/usr/share/Cg/docs/CgFX_bumpdemo_Tutorial.pdf
Adobe Portable Document Format (PDF) v1.3       
/mnt/usr/share/doc/ant/appendix_e.pdf
Adobe Portable Document Format (PDF) v1.4       
/mnt/usr/share/Cg/docs/Cg-2.0.pdf
Adobe Portable Document Format (PDF) v1.5       
/mnt/usr/share/ghostscript/8.63/examples/annots.pdf
Adobe PostScript ASCII font (PFA)       
/mnt/usr/X11/lib/X11/fonts/Type1/UTBI____.pfa
Adobe PostScript Type 1 binary font (PFB)       
/mnt/usr/X11/lib/X11/fonts/Type1/c0419bt_.pfb
Adobe font metrics      /mnt/usr/X11/lib/X11/fonts/Type1/UTBI____.afm
Compiled Terminfo Entry /mnt/usr/share/lib/terminfo/A/AT386-DOS
DOS executable (COM)    /mnt/usr/lib/fm/llib-lfmd_snmp.ln
DOS executable (EXE)    /mnt/usr/lib/python2.4/distutils/command/wininst-6.exe
English text    /mnt/usr/X11/lib/X11/fonts/100dpi/fonts.alias
Fault tree file, v768 rev 256, from esc v256 rev 4096   
/mnt/usr/lib/fm/eft/sca1000.eft
GIF file, v87   /mnt/usr/lib/python2.4/email/test/data/PyBanner048.gif
GIF file, v89   /mnt/usr/lib/python2.4/idlelib/Icons/folder.gif
ISO 9660 filesystem image       
/mnt/opt/VirtualBox/additions/VBoxGuestAdditions.iso
JPEG file       /mnt/usr/share/doc/ant/images/JDJEditorsChoiceAward.jpg
Kodak Color Management System, ICC Profile      
/mnt/usr/share/ImageMagick-6.3.4/config/sRGB.icm
MS-DOS library  /mnt/usr/share/mc/mc.hint.uk
Microsoft Document      
/mnt/usr/share/cmake-2.6/Templates/CMakeVSMacros1.vsmacros
OpenDocument Database   
/mnt/opt/openoffice.org/basis3.0/presets/database/biblio.odb
OpenDocument Drawing    
/mnt/usr/share/doc/sqlite3/images/fileformat/fileio_diagrams.odg
OpenDocument Presentation       /mnt/usr/share/doc/ant/slides/extending_ant.odp
OpenDocument Presentation Template      
/mnt/opt/openoffice.org/basis3.0/share/template/en-US/layout/lyt-aqua.otp
OpenDocument Spreadsheet        
/mnt/usr/share/doc/myspell-dictionary/it_IT/statistiche.ods
OpenDocument Spreadsheet Template       
/mnt/opt/openoffice.org/basis3.0/share/template/en-US/wizard/styles/black_white.ots
OpenDocument Text       
/mnt/opt/openoffice.org/basis3.0/share/template/wizard/letter/cs/bus-elegant_l.ott
OpenDocument Text Template      
/mnt/opt/openoffice.org/basis3.0/share/template/wizard/letter/bg/bus-elegant_l.ott
PBM raw file    /mnt/usr/share/emacs/22.1/etc/gnus.pbm
PGM raw file    
/mnt/usr/share/Cg/examples/OpenGL/advanced/vertex_texture/bumps.pgm
PNG image data  
/mnt/usr/share/Cg/examples/Direct3D10/basic/05_texture_sampling/NVIDIA.png
PPM raw file    /mnt/usr/lib/tk8.4/demos/images/teapot.ppm
Palm Pilot Application  /mnt/usr/lib/tcl8.4/init.tcl
PostScript document     /mnt/usr/share/a2ps/ps/ehandler.ps
PostScript document conforming to level 
/mnt/usr/share/ghostscript/8.63/examples/chess.ps
PostScript document conforming to level 1.0     
/mnt/usr/share/ghostscript/8.63/examples/doretree.ps
PostScript document conforming to level 2.0     
/mnt/usr/share/ghostscript/8.63/examples/golfer.eps
PostScript document conforming to level 3.0     
/mnt/usr/lib/tk8.4/images/logo.eps
RIFF gvi 1162690894 Max Bps 24948 X 28527, 825057652 frames     
/mnt/usr/share/man/man3/libgdata-google-1.2.3
Solaris Audit File      /mnt/usr/lib/python2.4/test/output/xmltests
StarOffice 7 Text Document      
/mnt/opt/openoffice.org/basis3.0/share/xslt/docbook/DocBookTemplate.stw
Sun demand paged dynamically linked     
/mnt/usr/sfw/lib/webmin/mount/openbsd-mounts-2
TrueType font file version 1.0 (TTF)    
/mnt/usr/X11/lib/X11/fonts/TTF/DejaVuSans-Bold.ttf
USTAR tar archive       /mnt/usr/lib/python2.4/test/testtar.tar
XML document    
/mnt/usr/share/Cg/examples/OpenGL/advanced/cgfx_boxfilter/cgfx_boxfilter_2003.vcproj
ZIP archive     /mnt/usr/share/lib/commons-logging.jar
[nt]roff, tbl, or eqn input text        
/mnt/usr/share/Cg/examples/OpenGL/advanced/Makefile
[nt]roff, tbl, or eqn input text with garbage   
/mnt/usr/share/man/man3erl/erl_tar.3erl
ascii text      /mnt/kernel/drv/bnx.conf
ascii text with garbage /mnt/usr/share/gimp/2.0/brushes/SketchBrush-64.gih
assembler program text  
/mnt/usr/lib/python2.4/vendor-packages/IPython/Extensions/ibrowse.py
assembler program text with garbage     
/mnt/usr/mysql/5.1/mysql-test/r/ctype_cp932_binlog_stm.result
audio data: 16-bit linear PCM, mono     /mnt/usr/share/sounds/email.wav
audio data: 16-bit linear PCM, stereo   /mnt/usr/share/sounds/card_shuffle.wav
audio data: 8-bit linear PCM, mono      
/mnt/usr/share/evolution/2.24/sounds/default_alarm.wav
audio data: 8-bit u-law, mono, 8000 Hz  /mnt/usr/lib/python2.4/test/audiotest.au
bzip2 compressed data , block size = 900k       
/mnt/usr/share/doc/SUNWPython26/README.bz2
c program text  
/mnt/usr/share/Cg/examples/OpenGL/advanced/cgfx_boxfilter/cgfx_boxfilter.c
c program text with garbage     /mnt/usr/include/anthy/dicutil.h
commands text   /mnt/usr/dt/appconfig/appmanager/C/Desktop_Apps/nvidia-settings
current ar archive, not a dynamic executable or shared object   
/mnt/usr/lib/libtclstub8.4.a
data    /mnt/usr/X11/lib/X11/fonts/ethiopic/GohaTibebZemen.otf
empty file      /mnt/usr/lib/python2.4/vendor-packages/IPython/gui/__init__.py
fortran program text    
/mnt/usr/lib/python2.4/vendor-packages/numpy/distutils/tests/f2py_ext/src/fib1.f
gzip compressed data - deflate method   
/mnt/usr/X11/lib/X11/fonts/100dpi/helvO10-ISO8859-1.pcf.gz
gzip compressed data - deflate method , max compression 
/mnt/usr/share/doc/automake/amhello-1.0.tar.gz
gzip compressed data - deflate method , original file name      
/mnt/usr/share/locale/cs/LC_MESSAGES/COPYING.desktop-other.gz
gzip compressed data - deflate method , original file name , max compression    
/mnt/usr/share/gedit-2/taglist/HTML.tags.gz
html document   /mnt/usr/share/Cg/docs/html/cgD3D8GetVertexDeclaration.html
impure dynamically linked       
/mnt/usr/mysql/5.1/mysql-test/std_data/bug19371.MYI
java archive file       /mnt/usr/share/vpanels/TimingFramework-1.0.jar
java class file /mnt/var/apache/servlets/Hello.class
pure sun2 executable    /mnt/opt/openoffice.org3/program/resource/oooen-US.res
text    /mnt/usr/share/applications/nvidia-settings.desktop
unix-rt ldp     /mnt/var/tpm/system/system.data.auth
vfont definition        /mnt/usr/lib/llib-l4014.ln
zoneinfo timezone data file     /mnt/usr/share/lib/zoneinfo/Africa/Abidjan
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to