dpkg-source.1 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738
  1. .\" Hey, Emacs! This is an -*- nroff -*- source file.
  2. .\" Authors: Ian Jackson
  3. .TH DPKG\-SOURCE 1 "7th August" "Debian Project" "Debian GNU/Linux manual"
  4. .SH NAME
  5. dpkg\-source, dpkg\-gencontrol, dpkg\-shlibdeps, dpkg\-genchanges,
  6. dpkg\-buildpackage, dpkg\-distaddfile, dpkg\-parsechangelog
  7. \- Debian source package tools
  8. .SH SYNOPSIS
  9. .B dpkg-source
  10. .BI "-x " filename .dsc
  11. .br
  12. .B dpkg-source -b
  13. .RI [ options "] " directory " [" orig-directory |'']
  14. .br
  15. .B dpkg-gencontrol
  16. .RI [ options ]
  17. .br
  18. .B dpkg-shlibdeps
  19. .IR options
  20. .br
  21. .B dpkg-genchanges
  22. .RI [ options ]
  23. .br
  24. .B dpkg-buildpackage
  25. .RI [ options ]
  26. .br
  27. .B dpkg-distaddfile
  28. .RI [ options ] " filename section priority"
  29. .br
  30. .B dpkg-parsechangelog
  31. .RI [ options ]
  32. .SH DESCRIPTION
  33. .B dpkg-source
  34. packs and unpacks Debian source archives.
  35. .B dpkg-gencontrol
  36. reads information from an unpacked Debian source tree and generates a
  37. binary package control file on standard output; it also adds an entry
  38. for the binary package to
  39. .BR debian/files .
  40. .B dpkg-shlibdeps
  41. calculates shared library dependencies for executables named in its
  42. arguments. The dependencies are added to the substitution
  43. variables file
  44. .B debian/substvars
  45. as variable names
  46. .BI shlibs: dependencyfield
  47. where
  48. .I dependencyfield
  49. is a dependency field name. Any other variables starting
  50. .I shlibs:
  51. are removed from the file.
  52. .B dpkg-shlibdeps
  53. will read shared library dependency information from
  54. .BR debian/shlibs.local ,
  55. .BR /etc/dpkg/shlibs.override ,
  56. the
  57. .B shlibs
  58. control area file of the package containing the file which
  59. .B ldd
  60. reports as satisfying the library dependency, or
  61. .BR /etc/dpkg/shlibs.default .
  62. The first match will be used. See the
  63. .I Debian packaging manual
  64. for details of the format of shared library dependency files.
  65. .B dpkg-genchanges
  66. reads information from an unpacked and built Debian source tree and
  67. from the files it has generated and generates a Debian upload control
  68. file
  69. .RB ( .changes " file)."
  70. .B dpkg-buildpackage
  71. is a control script which can be used to help automate the building of
  72. a package.
  73. .B dpkg-distaddfile
  74. adds an entry for a named file to
  75. .BR debian/files .
  76. .B dpkg-parsechangelog
  77. reads and parses the changelog of an unpacked Debian source tree and
  78. outputs the information in it to standard output in a machine-readable
  79. form.
  80. None of these commands allow multiple options to be combined into one,
  81. and they do not allow the value for an option to be specified in a
  82. separate argument.
  83. .SH COMMON OPTIONS
  84. Many of these programs share options; these are described here,
  85. together with the programs that accept them.
  86. .TP
  87. .BI -h
  88. Display the particular program's version and usage message, including
  89. a synopsis of the options it understands. This option is understood
  90. by all the source package tools.
  91. .TP
  92. .BI -v version
  93. In
  94. .BR dpkg-buildpackage ", " dpkg-genchanges " and " dpkg-parsechangelog
  95. this causes changelog information from all versions strictly later
  96. than
  97. .I version
  98. (which must appear in the changelog file) to be used.
  99. In
  100. .BR dpkg-gencontrol
  101. it sets the version number of the binary package which will be
  102. generated.
  103. .TP
  104. .BI -C changesdescription
  105. Read the description of the changes from the file
  106. .I changesdescription
  107. rather than using the information from the source tree's changelog
  108. file. This is understood by
  109. .BR dpkg-buildpackage " and " dpkg-genchanges .
  110. .TP
  111. .BI -m maintaineraddress
  112. Use
  113. .I maintaineraddress
  114. as the name and email address of the maintainer for this upload,
  115. rather than using the information from the source tree's changelog.
  116. This is understood by
  117. .BR dpkg-buildpackage " and " dpkg-genchanges .
  118. .TP
  119. .BR -si ", " -sa ", " -sd
  120. These options control whether the original source archive is included
  121. in the upload generated by
  122. .BR dpkg-buildpackage " and " dpkg-genchanges
  123. if any source is being generated (ie,
  124. .BR -b " or " -B
  125. haven't been used).
  126. By default, or if
  127. .B -si
  128. is specified, the original source will be included if the version
  129. number ends in
  130. .BR -0 " or " -1 ,
  131. ie if the Debian revision part of the version number is
  132. .BR 0 " or " 1 .
  133. .B -sa
  134. forces the inclusion of the original source;
  135. .B -sd
  136. forces its exclusion and includes only the diff.
  137. .TP
  138. .BI -V name = value
  139. Set an output substitution variable.
  140. This option is understood by
  141. .BR dpkg-source ", " dpkg-gencontrol " and " dpkg-genchanges .
  142. See below for a discussion of output substitution.
  143. .TP
  144. .BI -T substvarsfile
  145. Read (or, for
  146. .BR dpkg-shlibdeps ,
  147. write) substitution variables in
  148. .IR substvarsfile ;
  149. the default is
  150. .BR debian/substvars .
  151. This option is understood by
  152. .BR dpkg-source ", " dpkg-gencontrol ", " dpkg-shlibdeps " and " dpkg-genchanges .
  153. .TP
  154. .BI -D field = value
  155. Override or add an output control file field.
  156. This option is understood by
  157. .BR dpkg-source ", " dpkg-gencontrol " and " dpkg-genchanges .
  158. .TP
  159. .BI -U field
  160. Remove an output control file field.
  161. This option is understood by
  162. .BR dpkg-source ", " dpkg-gencontrol " and " dpkg-genchanges .
  163. .TP
  164. .BR -b | -B
  165. For
  166. .BR dpkg-genchanges " and " dpkg-buildpackage
  167. this specifies that a binary-only build is taking place.
  168. .B -b
  169. indicates that no source files are to be built and/or distributed, and
  170. .B -B
  171. that no architecture-independent binary package files are to be
  172. distributed either. The distinction between
  173. .BR -b " and " -B
  174. is only used by
  175. .BR dpkg-buildpackage ;
  176. .B dpkg-genchanges
  177. just produces a
  178. .B .changes
  179. file for whatever files were produced by the
  180. .B binary-*
  181. target(s) of the package being built.
  182. .B -b
  183. tells
  184. .B dpkg-source
  185. to build a source package (rather than to extract one) - see below.
  186. .TP
  187. .BI -c controlfile
  188. Specifies the main source control file to read information from. The
  189. default is
  190. .BR debian/control .
  191. This option is understood by
  192. .BR dpkg-source ", " dpkg-gencontrol " and " dpkg-genchanges .
  193. .TP
  194. .BI -l changelogfile
  195. Specifies the change log file to read information from. The
  196. default is
  197. .BR debian/changelog .
  198. This option is understood by
  199. .BR dpkg-source ", " dpkg-gencontrol " and " dpkg-genchanges .
  200. .TP
  201. .BI -f fileslistfile
  202. Read or write the list of files to be uploaded here, rather than using
  203. .BR debian/files .
  204. This option is understood by
  205. .BR dpkg-gencontrol ", " dpkg-genchanges " and " dpkg-distaddfile .
  206. .TP
  207. .BI -F changelogformat
  208. Specifies the format of the changelog. By default the format is read
  209. from a special line near the bottom of the changelog (see the
  210. Debian packaging manual) or failing that defaults to
  211. .BR debian ,
  212. the standard format described in the
  213. .IR "Debian packaging manual" .
  214. This option is understood by
  215. .BR dpkg-source ", " dpkg-gencontrol " and " dpkg-genchanges .
  216. .SH DPKG-SOURCE OPTIONS
  217. When the common options
  218. .BR -c " and " -l
  219. are given with relative pathnames these are interpreted starting at
  220. the source tree's top level directory.
  221. .TP
  222. .B -x
  223. Extract a source package. One non-option argument should be supplied,
  224. the name of the Debian source control file
  225. .RB ( .dsc ).
  226. No options are useful with
  227. .BR "dpkg-source -x" .
  228. .B dpkg-source
  229. will read the names of the other file(s) making up the source package
  230. from the control file; they are assumed to be in the same directory as
  231. the
  232. .BR .dsc .
  233. The files in the extracted package will have their permissions and
  234. ownerships set to those which would have been expected if the files
  235. and directories had simply been created - directories and executable
  236. files will be 0777 and plain files will be 0666, both modified by the
  237. extractors' umask; if the parent directory is setgid then the
  238. extracted directories will be too, and all the files and directories
  239. will inherit its group ownership.
  240. .TP
  241. .B -b
  242. Build: pack up a source tree. One or two non-option arguments should
  243. be supplied. The first is taken as the name of the directory
  244. containing the unpacked source tree. If a second argument is supplied
  245. it should be the name of the original source directory or tarfile or
  246. the empty string if the package is a Debian-specific one and so has no
  247. Debianisation diffs. If no second argument is supplied then
  248. .B dpkg-source
  249. will look for the original source tarfile
  250. .IB package _ upstream-version .orig.tar.gz
  251. or the original source directory
  252. .IB directory .orig
  253. or the empty string (no original source, and so no diff) depending on
  254. the arguments.
  255. .TP
  256. .BR -sa , -sp , -su , -sk , -sA , -sP , -sU , -sK , -ss " with " -b
  257. If
  258. .BR -sk " or " -sp
  259. is specified
  260. .B dpkg-source
  261. expects the original source as a tarfile, by default
  262. .IB package _ upstream-version .orig.tar.gz\fR.
  263. It will leave this original source in place as a tarfile, or copy it
  264. to the current directory if it isn't already there
  265. If
  266. .B -sp
  267. is used rather than
  268. .B -sk
  269. it will remove it again afterwards.
  270. If
  271. .BR -su " or " -sr
  272. is specified the original source is expected as a directory, by
  273. default
  274. .IB package - upstream-version .orig
  275. and
  276. .B dpkg-source
  277. will create a new original source archive from it. If
  278. .B -sr
  279. is used
  280. .B dpkg-source will remove that directory after it has been used.
  281. If
  282. .B -ss
  283. is specified
  284. .B dpkg-source
  285. will expect that the original source is available both as a directory
  286. and as a tarfile. If will use the directory to create the diff, but
  287. the tarfile to create the
  288. .BR .dsc .
  289. This option must be used with care - if the directory and tarfile do
  290. not match a bad source archive will be generated.
  291. If
  292. .B -sn
  293. is specified
  294. .B dpkg-source
  295. will not look for any original source, and will not generate a diff.
  296. The second argument, if supplied, must be the empty string. This is
  297. used for Debian-specific packages which do not have a separate
  298. upstream source and therefore have no debianisation diffs.
  299. If
  300. .BR -sa " or " -sA
  301. is specified
  302. .B dpkg-source
  303. will look for the original source archive as a tarfile or as a
  304. directory - the second argument, if any, may be either, or the empty
  305. string (this is equivalent to using
  306. .BR -sn ).
  307. If a tarfile is found it will unpack it to create the diff and remove
  308. it afterwards (this is equivalent to
  309. .BR -sp );
  310. if a directory is found it will pack it to create the original source
  311. and remove it afterwards (this is equivalent to
  312. .BR -sr );
  313. if neither is found it will assume that the package has no
  314. debianisation diffs, only a straightforward source archive (this is
  315. equivalent to
  316. .BR -sn ).
  317. If both are found then dpkg-source will ignore the directory,
  318. overwriting it, if
  319. .B -sA
  320. was specified (this is equivalent to
  321. .BR -sP )
  322. or raise an error if
  323. .B -sa
  324. was specified.
  325. .B -sA
  326. is the default.
  327. .BR -sa ", " -sp ", " -sk ", " -su " and " -sr
  328. will not overwrite existing tarfiles or directories. If this is
  329. desired then
  330. .BR -sA ", " -sP ", " -sK ", " -su " and " -sR
  331. should be used instead.
  332. .TP
  333. .BR -sp , -su , -sn " with " -x
  334. In all cases any existing original source tree will be removed.
  335. If
  336. .B -sp
  337. is used when extracting then the original source (if any) will be left
  338. as a tarfile. If it is not already located in the current directory
  339. or if an existing but different file is there it will be copied there.
  340. This is the default.
  341. .B -su
  342. unpacks the original source tree.
  343. .B -sn
  344. ensures that the original source is neither copied to the current
  345. directory nor unpacked. Any original source tree that was in the
  346. current directory is still removed.
  347. .SH DPKG-GENCONTROL OPTIONS
  348. .B dpkg-gencontrol
  349. does not take any non-option arguments.
  350. .TP
  351. .BI -p package
  352. Generate information for the binary package
  353. .IR package .
  354. If the source control file lists only one binary package then this
  355. option may be omitted; otherwise it is essential to select which
  356. binary package's information to generate.
  357. .TP
  358. .BR -is ", " -ip ", " -isp
  359. Include the
  360. .BR Section " and " Priority
  361. fields for this package from the main source control file in the
  362. binary package control file being generated. Usually this information
  363. is not included here, but only in the
  364. .B .changes
  365. file.
  366. .B -isp
  367. includes both fields,
  368. .BR -is " only the " Section " and " -ip " only the " Priority .
  369. .TP
  370. .BI -P packagebuilddir
  371. Tells
  372. .B dpkg-source
  373. that the package is being built in
  374. .I packagebuilddir
  375. instead of
  376. .BR debian/tmp .
  377. This value is used to find the default value of the
  378. .B Installed-Size
  379. substitution variable and control file field (using
  380. .BR du ),
  381. and for the default location of the output file.
  382. .TP
  383. .B -O
  384. Causes the control file to be printed to standard output, rather than
  385. to
  386. .B debian/tmp/DEBIAN/control
  387. (or
  388. .IB packagebuilddir /DEBIAN/control
  389. if
  390. .B -P
  391. was used).
  392. .SH DPKG-SHLIBDEPS OPTIONS
  393. .B dpkg-shlibdeps
  394. interprets non-option arguments as executable names, just as if they'd
  395. been supplied as
  396. .BI -e executable\fR.
  397. .TP
  398. .BI -e executable
  399. Include dependencies appropriate for the shared libraries required by
  400. .IR executable .
  401. .TP
  402. .BI -d dependencyfield
  403. Add dependencies to be added to the control file dependency field
  404. .IR dependencyfield .
  405. (The dependencies for this field are placed in the variable
  406. .BI shlibs: dependencyfield\fR.)
  407. The
  408. .BI -d dependencyfield
  409. option takes effect for all executables after the option, until the
  410. next
  411. .BI -d dependencyfield\fR.
  412. The default
  413. .I dependencyfield
  414. is
  415. .BR Depends .
  416. If the same dependency entry (or set of alternatives) appears in more
  417. than one of the recognised dependency field names
  418. .BR Pre-Depends ", " Depends ", " Recommends " or " Suggests
  419. then
  420. .B dpkg-shlibdeps
  421. will automatically remove the dependency from all fields except the
  422. one representing the most important dependencies.
  423. .TP
  424. .BI -p varnameprefix
  425. Causes substitution variables to start with
  426. .IB varnameprefix :
  427. instead of
  428. .BR shlib: .
  429. Likewise, any existing substitution variables starting with
  430. .IB varnameprefix :
  431. (rather than
  432. .BR shlib: )
  433. are removed from the the substitution variables file.
  434. .TP
  435. .BI -L localshlibsfile
  436. Causes
  437. .B dpkg-shlibs
  438. to read overriding shared library dependency information from
  439. .I localshlibsfile
  440. instead of
  441. .BR debian/shlibs.local .
  442. .TP
  443. .B -O
  444. Causes the substitution variable settings to be printed to standard
  445. output, rather than being added to the substitution variables file
  446. .RB ( debian/substvars
  447. by default).
  448. .SH DPKG-GENCHANGES OPTIONS
  449. .B dpkg-gencontrol
  450. does not take any non-option arguments.
  451. .TP
  452. .BI -u uploadfilesdir
  453. Look for the files to be uploaded in
  454. .I uploadfilesdir
  455. rather than
  456. .B ..
  457. .RB ( dpkg-genchanges
  458. needs to find these files so that it can include their sizes and
  459. checksums in the
  460. .B .changes
  461. file).
  462. .TP
  463. .B -q
  464. Usually
  465. .B dpkg-genchanges
  466. will produce informative messages on standard error, for example about
  467. how many of the package's source files are being uploaded.
  468. .B -q
  469. suppresses these messages.
  470. .SH DPKG-BUILDPACKAGE OPTIONS
  471. .B dpkg-buildpackage
  472. does not take any non-option arguments.
  473. .TP
  474. .BI -r gain-root-command
  475. When
  476. .B dpkg-buildpackage
  477. needs to execute part of the build process as root, it prefixes the
  478. command it executes with
  479. .I gain-root-command
  480. if one has been specified.
  481. .I gain-root-command
  482. should be the name of a program on the
  483. .B PATH
  484. and will get as arguments the name of the real command to run and the
  485. arguments it should take.
  486. .I gain-root-command
  487. should not contain spaces or any other shell metacharacters.
  488. .\" what happens, if it contains spaces? (hs)
  489. .I gain-root-command
  490. might typically be
  491. .BR sudo ", " super " or " really .
  492. .B su
  493. is not suitable, since it requires a
  494. .B -c
  495. option to run a command and even then it can only invoke the user's
  496. shell with
  497. .B -c
  498. instead of passing arguments individually to the command to be run.
  499. .TP
  500. .BI -p sign-command
  501. When
  502. .B dpkg-buildpackage
  503. needs to execute GPG or PGP to sign a source control
  504. .RB ( .dsc )
  505. file or a
  506. .B .changes
  507. file it will run
  508. .I sign-command
  509. (searching the
  510. .B PATH
  511. if necessary) instead of
  512. .BR pgp .
  513. .I sign-command
  514. will get all the arguments that
  515. .B pgp
  516. would have gotten. If
  517. .I sign-command
  518. takes its arguments in GPG rather than PGP style, you should give
  519. the
  520. .B -sgpg
  521. option.
  522. .I sign-command
  523. should not contain spaces or any other shell metacharacters.
  524. .TP
  525. .B -tc
  526. Clean the source tree (using
  527. .I gain-root-command
  528. .BR "debian/rules clean" )
  529. after the package has been built.
  530. .TP
  531. .BR -us ", " -uc
  532. Do not sign the source package or the changelog, respectively.
  533. .TP
  534. .BI -a architecture
  535. Specify the Debian architecture we build for. The architecture of the
  536. machine we build on is determined automatically, and is also the default
  537. for the host machine.
  538. .SH DPKG-DISTADDFILE ARGUMENTS
  539. .B dpkg-distaddfile
  540. does not take any non-common options. It takes three non-option
  541. arguments, the filename and the section and priority for the
  542. .B .changes
  543. file.
  544. The filename should be specified relative to the directory where
  545. .B dpkg-genchanges
  546. will expect to find the files, usually
  547. .BR .. ,
  548. rather than being a pathname relative to the current directory when
  549. .B dpkg-distaddfile
  550. is run.
  551. .SH DPKG-PARSECHANGELOG ARGUMENTS
  552. .B dpkg-parsechangelog
  553. does not take any non-common options or non-option arguments.
  554. .SH VARIABLE SUBSTITUTION
  555. Before
  556. .BR dpkg-source ", " dpkg-gencontrol " and " dpkg-genchanges
  557. write their control information (to the source control file
  558. .B .dsc
  559. for
  560. .B dpkg-source
  561. and to standard output for
  562. .BR dpkg-gencontrol " and " dpkg-genchanges )
  563. they perform some variable substitutions on the output file.
  564. A variable substitution has the form
  565. .BI ${ variable-name }\fR.
  566. Variable names consist of alphanumerics, hyphens and colons and start
  567. with an alphanumeric. Variable substitutions are performed repeatedly
  568. until none are left; the full text of the field after the substitution
  569. is rescanned to look for more substitutions.
  570. After all the substitutions have been done each occurence of the
  571. string
  572. .B ${}
  573. (which is not a legal substitution) is replaced with a
  574. .B $
  575. sign.
  576. Variables can be set using the
  577. .B -V
  578. common option. They can be also specified in the file
  579. .B debian/substvars
  580. (or whatever other file is specified using the
  581. .B -T
  582. option). This file consists of lines of the form
  583. .IB name = value\fR.
  584. Trailing whitespace on each line, blank lines, and
  585. lines starting with a
  586. .B #
  587. symbol (comments) are ignored.
  588. Additionally, the following standard variables are available:
  589. .TP
  590. .BI Arch
  591. The current build architecture (from
  592. .BR "dpkg \-\-print-architecture" ).
  593. .TP
  594. .B Source-Version
  595. The source package version (from the changelog file).
  596. .TP
  597. .B Installed-Size
  598. The total size of the package's installed files. This value is copied
  599. into the corresponding control file field; setting it will modify the
  600. value of that field. If this variable isn't set
  601. .B dpkg-gencontrol
  602. will use
  603. .B du -k debian/tmp
  604. to find the default value.
  605. .TP
  606. .B Extra-Size
  607. Additional disk space used when the package is installed. If this
  608. variable is set its value is added to that of the
  609. .B Installed-Size
  610. variable (whether set explicitly or using the default value) before it
  611. is copied into the
  612. .B Installed-Size
  613. control file field.
  614. .TP
  615. .BI F: fieldname
  616. The value of the output field
  617. .IR fieldname
  618. (which must be given in the canonical capitalisation). Setting these
  619. variables has no effect other than on places where they are expanded
  620. explicitly.
  621. .TP
  622. .B Format
  623. The
  624. .B .changes
  625. file format version generated by this version of the source packaging
  626. scripts. If you set this variable the contents of the
  627. .B Format
  628. field in the
  629. .B .changes
  630. file will change too.
  631. .TP
  632. .BR Newline ", " Space ", " Tab
  633. These variables each hold the corresponding character.
  634. .TP
  635. .BI shlibs: dependencyfield
  636. Variable settings with names of this form are generated by
  637. .B dpkg-shlibdeps
  638. - see above.
  639. .LP
  640. If a variable is referred to but not defined it generates a warning
  641. and an empty value is assumed.
  642. .SH FILES
  643. .TP
  644. .B debian/control
  645. The main source control information file, giving version-independent
  646. information about the source package and the binary packages it can
  647. produce.
  648. .TP
  649. .B debian/changelog
  650. The changelog file, used to obtain version-dependent information about
  651. the source package, such as the urgency and distribution of an upload,
  652. the changes made since a particular release, and the source version
  653. number itself.
  654. .TP
  655. .B debian/files
  656. The list of generated files which are part of the upload being
  657. prepared.
  658. .B dpkg-gencontrol
  659. adds the presumed filenames of binary packages whose control files it
  660. generates here;
  661. .B dpkg-distaddfile
  662. can be used to add additional files.
  663. .B dpkg-genchanges
  664. reads the data here when producing a
  665. .B .changes
  666. file.
  667. .TP
  668. .B debian/substvars
  669. List of substitution variables and values.
  670. .TP
  671. .B debian/shlibs.local
  672. Package-local overriding shared library dependency information.
  673. .TP
  674. .B /etc/dpkg/shlibs.override
  675. Per-system overriding shared library dependency information.
  676. .TP
  677. .B /etc/dpkg/shlibs.default
  678. Per-system default shared library dependency information.
  679. .SH BUGS
  680. The point at which field overriding occurs compared to certain
  681. standard output field settings is rather confused.
  682. The binary package entries in the
  683. .B debian/files
  684. file will be passed through variable substitution twice. This should
  685. not matter, since
  686. .BR $ ", " { " and " }
  687. are not legal in package names or version numbers.
  688. It should be possible to specify spaces and shell metacharacters in
  689. and initial arguments for
  690. .IR gain-root-command " and " sign-command .
  691. .SH SEE ALSO
  692. .IR "Debian packaging manual" ,
  693. .br
  694. .IR "Debian policy manual" ,
  695. .br
  696. .BR dpkg\-deb (1),
  697. .BR dpkg (8),
  698. .BR dselect (8),
  699. .BR gpg (1),
  700. .BR pgp (1).
  701. .SH AUTHOR
  702. The utilities and this manpage were written by Ian Jackson. They are
  703. Copyright (C)1995-1996 by him and released under the GNU General
  704. Public Licence; there is NO WARRANTY. See
  705. .B /usr/share/doc/dpkg/copyright
  706. and
  707. .B /usr/share/common-licenses/GPL
  708. for details.