deb-reversion(1)


NAME

   deb-reversion - simple script to change the version of a .deb file

SYNOPSIS

   deb-reversion [options] .deb-file [log message...]

DESCRIPTION

   deb-reversion unpacks the specified .deb file, changes the version
   number in the relevant locations, appends a Debian changelog entry with
   the specified contents, and creates a new .deb file with the updated
   version.

   By default, the tool creates a new version number suitable for local
   changes, such that the new package will be greater than the current
   one, but lesser than any future, official Debian packages. With -v
   version, the version number can be specified directly. On the other
   hand, the -c simply calculates the new version number but does not
   generate a new package.

   When building a .deb file, root privileges are required in order to
   have the correct permissions and ownerships in the resulting .deb file.
   This can be achieved either by running deb-reversion as root or running
   under fakeroot(1), as 'fakeroot deb-reversion foo.deb'.

   With -k hook, a hook script may be specified, which is run on the
   unpacked binary packages just before it is repacked. If you want to
   write changelog entries from within the hook, use 'dch -a -- your
   message'. (Alternatively, do not give a changelog entry on the
   deb-reversion command line and dch will be called automatically.) The
   hook command must be placed in quotes if it has more than one word; it
   is called via sh -c.

OPTIONS

   -v new-version, --new-version new-version
       Specifies the version number to be used for the new version. Passed
       to dch(1).

   -o old-version, --old-version old-version
       Specifies the version number to be used as the old version instead
       of the version stored in the .deb's control file.

   -c, --calculate-only
       Only calculate and display the new version number which would be
       used; do not build a new .deb file. Cannot be used in conjunction
       with -v.

   -s string, --string string
       Instead of using 'LOCAL.' as the version string to append to the
       old version number, use string instead.

   -k hook-command, --hook hook-command
       A hook command to run after unpacking the old .deb file and
       modifying the changelog, and before packing up the new .deb file.
       Must be in quotes if it is more than one (shell) word. Only one
       hook command may be specified; if you want to perform more than
       this, you could specify 'bash' as the hook command, and you will
       then be given a shell to work in.

   -D, --debug
       Pass --debug to dpkg-deb(1).

   -b, --force-bad-version
       Pass --force-bad-version to dch(1)

   -h, --help
       Display usage information.

   -V, --version
       Display version information.

SEE ALSO

   dch(1), dpkg-deb(1), fakeroot(1)

DISCLAIMER

   deb-reversion is a tool intended to help porters with modifying
   packages for other architectures, and to augment deb-repack, which
   creates modified packages with identical version numbers as the
   official packages. Chaos will ensue! With deb-reversion, a proper
   version number can be selected, which does not obstruct the next
   official release but can be specifically pinned with APT or held with
   dpkg.

   Please take note that deb-reversion does not come without problems.
   While it works fine in most cases, it may just not in yours.
   Especially, please consider that it changes binary packages (only!) and
   hence can break strict versioned dependencies between binary packages
   generated from the same source.

   You are using this tool at your own risk and I shall not shed a tear if
   your gerbil goes up in flames, your microwave attacks the stereo, or
   the angry slamming of your fist spills your coffee into the keyboard,
   which sets off a chain reaction resulting in a vast amount of money
   transferred from your account to mine.

AUTHOR

   deb-reversion is Copyright 2004-5 by martin f. krafft
   <madduck@debian.org> and modifications are Copyright 2006 by Julian
   Gilbey <jdg@debian.org>.

   Permission is granted to copy, distribute and/or modify this document
   under the terms of the Artistic License:
   http://www.opensource.org/licenses/artistic-license.php. On Debian
   systems, the complete text of the Artistic License can be found in
   /usr/share/common-licenses/Artistic.

   This manual page was written by martin f. krafft <madduck@debian.org>
   and modified by Julian Gilbey <jdg@debian.org>.

NOTES

    1. http://www.opensource.org/licenses/artistic-license.php

[FIXME: source]                  Feb 13, 2006                 DEB-REVERSION(1)





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.