[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: original package with CRLF as line separators

On Sun, Sep 12, 1999 at 07:23:11PM -0400, Adam Di Carlo wrote:
> Peter S Galbraith <GalbraithP@dfo-mpo.gc.ca> writes:
> > Radovan Garabik wrote:
> > 
> > > I am packaging a program, which uses CRLF as end of line (don't ask me how
> > > it got there :-))
> > > The problem is, I have to turn it to LF, because the program is a script 
> > > and won't run with CRLF. But if I do this, *.diff.gz will be as big as
> > > *.orig.tar.gz. Isn't there a better way? Maybe running dos2unix in
> > > debian/rules or so... 
> > 
> > That's what I'd do, creating new files in a staging subdirectory
> > that you can remove in `make clean' (so that you can run
> > `debian/rules binary' multiple times, so that the diff.gz stays
> > small).
> Also, if the upstream source is .zip, you can use the -a switch when
> you unzip it.  Or you could just repack the .orig.tar.gz withe the
> unix EOL conventions respected.

upstream source is tar.gz
I am not sure if repacking is a good idea.. after all, this means modifying
the upstream source, and diff.gz is there for this purpose...

| Radovan Garabik http://melkor.dnp.fmph.uniba.sk/~garabik/ |
| __..--^^^--..__         garabik @ fmph.uniba.sk           |
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!

Reply to: