man dbp-importorig (Commandes) - Import an upstream source into a darcs-buildpackage archive

NAME

dbp-importorig - Import an upstream source into a darcs-buildpackage archive

SYNOPSIS

dbp-importorig filename_or_dir package version

DESCRIPTION

dbp-importorig imports the tar.gz file given by filename (or a directory, if filename is one) into the darcs-buildpackage archive. Since upstream tarballs do not contain the package and version information in a unified format, you must specify that on the command line as well.

It is an error to run dbp-importorig on a package when a newer version already exists in the archive. dbp-importorig detects this condition and will terminate without causing harm.

OPTIONS

filename_or_dir
Gives the path to a tar.gz file to import.

Alternatively, gives the path to a directory to import without unpacking anything.

package
Gives the Debian source package name corresponding to this upstream package.
version
Gives the package version corresponding to this upstream package. This should not contain the Debian part (-1, -2, etc).

FILES

The following specific files are used by this application:

~/.darcs-buildpackage
Specifies the location of the canonical Debian and upstream repositories.

ENVIRONMENT

This application uses no environment variables directly, but other programs it calls may do so.

COPYRIGHT

darcs-buildpackage, all associated scripts and programs, this manual, and all build scripts are Copyright (C) 2003 - 2005 John Goerzen.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

AUTHOR

darcs-buildpackage, its modules, documentation, executables, and all included files, except where noted, was written by John Goerzen <jgoerzen@complete.org> and copyright is held as stated in the COPYRIGHT section.

darcs-buildpackage may be downloaded from the Debian packaging system or at <URL:http://packages.debian.org/darcs-buildpackage>.

darcs-buildpackage may also be downloaded using Darcs by running darcs get --partial http://darcs.complete.org/darcs-buildpackage.

SEE ALSO

Detailed usage information, including a background and a description of how the tools fit together, can be found in the darcs-buildpackage Manual. On Debian systems, you may find this at /usr/share/doc/darcs-buildpackage.

darcs-buildpackage applications have references in that manual and the following manpages: dbp-importdsc(1), dbp-importorig(1), dbp-markdeb(1), darcs-buildpackage(1).

Other related references include: darcs(1), dpkg-source(1), tar(1).