Convert cygwin packages to RPM

SJ Kissane skissane@gmail.com
Mon Jun 16 13:01:00 GMT 2008


Hi all

I've become interested in making a Cygwin distribution based on RPM.
My main reasons for doing this:
(1) I come from a RHEL/OEL/Fedora background, so I'd rather use yum
than setup.exe
(2) I like the fact that rpm has a proper database of which file owns
which package, so I can
do things like rpm -qf $(which foo), and quickly find out where foo comes from.
I don't see any so-obvious way of doing that with setup.exe

Please find attached cyg2rpm.pl, which converts Cygwin binary packages
into RPMs.
Of course, this is just a hacky first attempt, but it shows where I'm going.

Example of usage:
$ ./cyg2rpm.pl http://mirror.aarnet.edu.au/pub/cygwin/ work

Cheers
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cyg2rpm.pl
Type: application/octet-stream
Size: 7172 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20080616/a70f8e20/attachment.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list