Skip to content

Instantly share code, notes, and snippets.

@gnanet
Created September 18, 2015 21:25
Show Gist options
  • Select an option

  • Save gnanet/c70f84217bd9d76225af to your computer and use it in GitHub Desktop.

Select an option

Save gnanet/c70f84217bd9d76225af to your computer and use it in GitHub Desktop.

Revisions

  1. gnanet created this gist Sep 18, 2015.
    15 changes: 15 additions & 0 deletions update-deb-new-upstream-notes.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    Based on http://blog.fili.nl/updating-a-debian-package-with-a-new-upstream-release/

    wget {URL OF NEW UPSTREAM SOURCE TAR.GZ}

    sudo apt-get install devscripts
    sudo apt-get build-dep {PACKAGENAME}
    sudo apt-get source {PACKAGENAME}

    cd {PACKAGESOURCE-DIR}
    uupdate ../{NEW UPSTREAM SOURCE TAR.GZ} -v {NEW UPSTREAM VERSION}

    cd ../{NEW UPSTREAM PACKAGESOURCE-DIR}
    dpkg-buildpackage -us -uc -nc

    #This may warn about issues with genchanges, but if the .deb file is created, you do not need to care about it.