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

Re: How to make a new release .deb?

On Sat, Mar 20, 1999 at 03:14:05PM +0200, Konstantinos Margaritis wrote:
>   I want to make a new debian package based on a new upstream release.
> What is the correct way of doing this? After I extract the tar file,
> do I just copy the old packages 'debian' directory? Do I apply the diffs from
> the old version, on top of the new one? Is there any better way? I will RTFM,
> but I would like a quick pointer nonetheless.
>   I hope I was not too misguiding.

One of the fastest ways there is of getting most of the work done for
you in the case of MOST packages) is something like:

$ cd package-1.1
$ zcat ../package_1.0-1.diff.gz | patch -p1
$ chmod +x debian/rules

From here, if the patch was 100% successful, just edit the changelog and
build a new package.  Good luck.  =>

Joseph Carter <knghtbrd@debian.org>            Debian GNU/Linux developer
PGP: E8D68481E3A8BB77 8EE22996C9445FBE            The Source Comes First!
<Knghtbrd> you people are all insane.
<Joey> knight: sure, that's why we work on Debian.
<JHM> Knghtbrd: get in touch with your inner nutcase.

Attachment: pgpPZ5QSPtRHy.pgp
Description: PGP signature

Reply to: