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

Re: DOS line endings in tarball



> >    I am trying to upgrade a package but I have the problem that the line
> > endings in the original tarball are in DOS mode and this makes boring
> > problems with dpatch.
> >    How can I fix that without changing the original tarball? I don't want
> > to run dos2unix on all files :)
>
> Well, you should either talk to upstream to consider fixing that up or
> write a small script to call dos2unix on all files for you and then repack
> the tarball back as well. I can't think of any other decent option ;-)
>
Thanks. I just thought it was forbidden to touch the original tarball. I did 
the following
tar xzf tarball.tgz
cd tarball
dos2unix $(find . -type f |grep -v \.png)
cd ..
tar czf tarball.tgz tarball

Hope that is OK.

> > I want to upload the new package along with libqt4 4.3 into experimental.
> > I cannot make my pbuilder download from experimental although I make a
> > hook to add experimental into sources.list. Can anyone help me?
>
> experimental is a non-automatic repository ( i.e. if you want to pull
> packages from there you should call apt-get install with -t experimental.
> In the case of pbuilder you can use:
>
> PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-experi
>mental"
>
> instead of:
> PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends"
>
> in your /etc/pbuilderrc.
>
Thanks, this is valuable information




Reply to: