dbp-importdsc(1) Import a Debian source package into darcs-buildpackage archive

SYNOPSIS

dbp-importdsc dsc_name

DESCRIPTION

dbp-importdsc imports a Debian source package into a darcs-buildpackage archive, notes the package version in the configs, and commits the change. All information, including package name, version, Debian diffs, and upstream source, is automatically detected from the source package.

This program will automatically detect if the upstream sources have already been imported, and if so, will not attempt to re-import them again.

It is an error to run dbp-importdsc on a package whose Debian version already exists in the archive. It is also an error to run dbp-importdsc on a package when a newer version already exists in the archive. dbp-importdsc detects both conditions and will terminate without causing harm.

OPTIONS

dsc_name
Gives the path to the Debian .dsc file from the source package.

BUGS

  • Neither GPG signatures nor MD5 sums are verified when unpacking Debian source packages.
  • This program does not deal well with Debian native packages (ones that lack a Debian diff.gz). It will probably work, but building the package later might result in a non-native package.

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 <[email protected]> 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.