This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Convert cygwin packages to RPM


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

Attachment: cyg2rpm.pl
Description: Binary data

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]