1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>dbp-importorig</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="Building Debian Packages with darcs-buildpackage"
HREF="dbp.html"><LINK
REL="UP"
TITLE="Command Reference"
HREF="dbp.man.reference.html"><LINK
REL="PREVIOUS"
TITLE="dbp-importdsc"
HREF="dbp.man.dbp.importdsc.html"><LINK
REL="NEXT"
TITLE="dbp-markdeb"
HREF="dbp.man.dbp.markdeb.html"><STYLE
TYPE="text/css"
>.synopsis, .classsynopsis {
background: #eeeeee;
border: solid 1px #aaaaaa;
padding: 0.5em;
}
.programlisting {
background: #eeeeff;
border: solid 1px #aaaaff;
padding: 0.5em;
}
.variablelist {
padding: 4px;
margin-left: 3em;
}
.navigation {
background: #ffeeee;
border: solid 1px #ffaaaa;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.navigation a {
color: #770000;
}
.navigation a:visited {
color: #550000;
}
.navigation .title {
font-size: 200%;
}</STYLE
></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><TABLE
WIDTH="100%"
CLASS="navigation"
SUMMARY="Navigation header"
CELLPADDING="2"
CELLSPACING="2"
><TR
VALIGN="middle"
><TD
><A
ACCESSKEY="p"
HREF="dbp.man.dbp.importdsc.html"
><IMG
SRC="left.png"
WIDTH="24"
HEIGHT="24"
BORDER="0"
ALT="Prev"></A
></TD
><TD
><A
ACCESSKEY="u"
HREF="dbp.man.reference.html"
><IMG
SRC="up.png"
WIDTH="24"
HEIGHT="24"
BORDER="0"
ALT="Up"></A
></TD
><TD
><A
ACCESSKEY="h"
HREF="dbp.html"
><IMG
SRC="home.png"
WIDTH="24"
HEIGHT="24"
BORDER="0"
ALT="Home"></A
></TD
><TH
WIDTH="100%"
align="center"
>Building Debian Packages with darcs-buildpackage</TH
><TD
><A
ACCESSKEY="n"
HREF="dbp.man.dbp.markdeb.html"
><IMG
SRC="right.png"
WIDTH="24"
HEIGHT="24"
BORDER="0"
ALT="Next"></A
></TD
></TR
></TABLE
><H1
><A
NAME="DBP.MAN.DBP.IMPORTORIG"
></A
>dbp-importorig</H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN376"
></A
><H2
>Name</H2
>dbp-importorig -- Import an upstream source into a <SPAN
CLASS="APPLICATION"
>darcs-buildpackage</SPAN
>
archive</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN380"
></A
><H2
>Synopsis</H2
><P
><B
CLASS="COMMAND"
>dbp-importorig</B
> <TT
CLASS="REPLACEABLE"
><I
>filename_or_dir</I
></TT
> <TT
CLASS="REPLACEABLE"
><I
>package</I
></TT
> <TT
CLASS="REPLACEABLE"
><I
>version</I
></TT
> </P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="DBP.MAN.DBP.IMPORTORIG.DESCRIPTION"
></A
><H2
>Description</H2
><P
> <B
CLASS="COMMAND"
>dbp-importorig</B
> imports the tar.gz file given by
<SPAN
CLASS="PROPERTY"
>filename</SPAN
> (or a directory, if
<SPAN
CLASS="PROPERTY"
>filename</SPAN
> is one) into the <SPAN
CLASS="APPLICATION"
>darcs-buildpackage</SPAN
>
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.
</P
><P
> It is an
error to run <B
CLASS="COMMAND"
>dbp-importorig</B
> on a package when a newer version
already exists in the archive. <B
CLASS="COMMAND"
>dbp-importorig</B
> detects this
condition and will terminate without causing harm.
</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="DBP.MAN.DBP.IMPORTORIG.OPTIONS"
></A
><H2
>Options</H2
><P
></P
><TABLE
CLASS="variablelist"
BORDER="0"
CELLSPACING="0"
CELLPADDING="4"
><TBODY
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><A
NAME="AEN402"><SPAN
STYLE="white-space: nowrap"
>filename_or_dir</SPAN
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
> Gives the path to a tar.gz file to import.
</P
><P
> Alternatively, gives the path to a directory to import
without unpacking anything.
</P
></TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><A
NAME="AEN407"><SPAN
STYLE="white-space: nowrap"
>package</SPAN
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>Gives the Debian source package name
corresponding to this upstream package.
</P
></TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><A
NAME="AEN411"><SPAN
STYLE="white-space: nowrap"
>version</SPAN
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>Gives the package version
corresponding to this upstream package. This should not
contain the Debian part (-1, -2, etc).
</P
></TD
></TR
></TBODY
></TABLE
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN415"
></A
><H2
>Files</H2
><P
> The following specific files are used by this application:
</P
><P
></P
><TABLE
CLASS="variablelist"
BORDER="0"
CELLSPACING="0"
CELLPADDING="4"
><TBODY
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
><A
NAME="AEN419"><SPAN
STYLE="white-space: nowrap"
><TT
CLASS="FILENAME"
>~/.darcs-buildpackage</TT
></SPAN
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
> Specifies the location of the canonical Debian and
upstream repositories.
</P
></TD
></TR
></TBODY
></TABLE
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN424"
></A
><H2
>Environment</H2
><P
> This application uses no environment variables directly, but
other programs it calls may do so.
</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN427"
></A
><H2
>Copyright</H2
><P
> darcs-buildpackage, all associated scripts and programs, this manual,
and all build scripts are Copyright © 2003 - 2005 John Goerzen.
</P
><P
> 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.
</P
><P
> 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.
</P
><P
> 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
</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN433"
></A
><H2
>Author</H2
><P
> <SPAN
CLASS="APPLICATION"
>darcs-buildpackage</SPAN
>, its modules, documentation, executables, and all
included files, except where noted, was written by
John Goerzen <CODE
CLASS="EMAIL"
><<A
HREF="mailto:jgoerzen@complete.org"
>jgoerzen@complete.org</A
>></CODE
> and
copyright is held as stated in the COPYRIGHT section.
</P
><P
> <SPAN
CLASS="APPLICATION"
>darcs-buildpackage</SPAN
> may be downloaded from the Debian packaging system or at
<A
HREF="http://packages.debian.org/darcs-buildpackage"
TARGET="_top"
>http://packages.debian.org/darcs-buildpackage</A
>.
</P
><P
> <SPAN
CLASS="APPLICATION"
>darcs-buildpackage</SPAN
> may also be downloaded using Darcs by running
<B
CLASS="COMMAND"
>darcs get --partial
http://darcs.complete.org/darcs-buildpackage</B
>.
</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN444"
></A
><H2
>See Also</H2
><P
> 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
<TT
CLASS="FILENAME"
>/usr/share/doc/darcs-buildpackage</TT
>.
</P
><P
> <SPAN
CLASS="APPLICATION"
>darcs-buildpackage</SPAN
> applications have references in that manual and the
following manpages:
<SPAN
CLASS="APPLICATION"
>dbp-importdsc</SPAN
>(1),
<SPAN
CLASS="APPLICATION"
>dbp-importorig</SPAN
>(1),
<SPAN
CLASS="APPLICATION"
>dbp-markdeb</SPAN
>(1),
<SPAN
CLASS="APPLICATION"
>darcs-buildpackage</SPAN
>(1).
</P
><P
> Other related references include:
<SPAN
CLASS="APPLICATION"
>darcs</SPAN
>(1),
<SPAN
CLASS="APPLICATION"
>dpkg-source</SPAN
>(1),
<SPAN
CLASS="APPLICATION"
>tar</SPAN
>(1).
</P
></DIV
><TABLE
CLASS="navigation"
WIDTH="100%"
SUMMARY="Navigation footer"
CELLPADDING="2"
CELLSPACING="2"
><TR
VALIGN="middle"
><TD
ALIGN="left"
><A
ACCESSKEY="p"
HREF="dbp.man.dbp.importdsc.html"
><B
><<< dbp-importdsc</B
></A
></TD
><TD
ALIGN="right"
><A
ACCESSKEY="n"
HREF="dbp.man.dbp.markdeb.html"
><B
>dbp-markdeb >>></B
></A
></TD
></TR
></TABLE
></BODY
></HTML
>
|