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]

Re: Convert cygwin packages to RPM


SJ Kissane wrote:
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

You don't do that with 'setup.exe'. You do it with 'cygcheck -f'.


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

Interesting. Discussions in the past about using RPM packaging have always gotten stymied by the "chicken or the egg" problem of a 'rpm' port. The port that's easiest and fits best is one based on Cygwin. But one can't use such a port to install a new cygwin1.dll. Do you have plans to address this area?

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

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