X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=developers-reference.git;a=blobdiff_plain;f=developers-reference.sgml;h=646f4f56e5eaf8aaf4bfca8549fc48865ff6865c;hp=5ecbb3f39f9e6fe72cf535353a8816c5f45c688e;hb=0ec1fbb0a9297e19070866bce4c76ea3be47f320;hpb=e79f9d437bc77c3805b99383182e53d8dcd47f87 diff --git a/developers-reference.sgml b/developers-reference.sgml index 5ecbb3f..646f4f5 100644 --- a/developers-reference.sgml +++ b/developers-reference.sgml @@ -5,7 +5,7 @@ %commondata; - + @@ -34,7 +34,7 @@ -copyright ©1998, 1999 Adam Di Carlo +copyright ©1998 &ndash 2001 Adam Di Carlo copyright ©1997, 1998 Christian Schwarz

@@ -76,16 +76,15 @@ discussion of resources which can help maintainers with the quality of their packages ().

It should be clear that this reference does not discuss the technical -details of the Debian package nor how to generate Debian packages; -that information is discussed in the . Nor does this reference detail the -standards to which Debian software must comply; that information can -be found in the . +details of the Debian package nor how to generate Debian packages. +Nor does this reference detail the standards to which Debian software +must comply. All of such information can be found in the .

Furthermore, this document is not an expression of formal -policy. It contains documentation for the Debian system, and -generally agreed-upon best practices. +policy. It contains documentation for the Debian system and +generally agreed-upon best practices. Thus, it is what is called a +``normative'' document. Applying to Become a Maintainer @@ -928,9 +927,9 @@ The changes file is a control file with the following fields: &control-file-fields;

All of these fields are mandatory for a Debian upload. See the list -of control fields in the for the contents of these fields. You can close -bugs automatically using the Description field, see for the contents of these fields. You can close bugs +automatically using the Description field, see . Only the Distribution field is discussed in this section, since it relates to the archive maintenance policies. @@ -1086,7 +1085,7 @@ After uploading your package, you can check how the archive maintenance software will process it by running dinstall on your changes file: dinstall -n foo.changes - Uploading to non-us (pandora) + Uploading to non-US (pandora)

As discussed above, export controlled software should not be uploaded to ftp-master. Instead, use scp or non-anonymous @@ -1101,7 +1100,29 @@ the program for details. You can check your upload the same way it's done on ftp-master, with: dinstall -n foo.changes - +

+Note that U.S. residents or citizens are subject to restrictions on +export of cryptographic software. As of this writing, U.S. citizens are +allowed to export some cryptographic software, subject to notification +rules by the U.S. Department of Commerce. +

+Debian policy does not prevent upload to non-US by U.S. residents or +citizens, but care should be taken in doing so. It is recommended that +developers take all necessary steps to ensure that they are not +breaking current US law by doing an upload to non-US, including +consulting a lawyer. +

+For packages in non-US main or contrib, developers should at least +follow the . Maintainers of non-US/non-free packages should +further consult these of non-free software. +

+This section is for information only and does not constitute legal +advice. Again, it is strongly recommended that U.S. citizens and +residents consult a lawyer before doing uploads to non-US. + + Uploads via chiark

If you have a slow network connection to ftp-master, there are @@ -1521,7 +1542,7 @@ of things you should check or be aware of. Don't set architecture to a value other than ``all'' or ``any'' unless you really mean it. In too many cases, maintainers don't follow the -instructions in the . Setting your architecture to ``i386'' is usually incorrect. Make sure your source package is correct. Do dpkg-source -x @@ -1710,8 +1731,8 @@ belongs in.

If you need to change the section for one of your packages, change the package control information to place the package in the desired -section, and re-upload the package (see the for details). Carefully examine the +section, and re-upload the package (see the for details). Carefully examine the installation log sent to you when the package is installed into the archive. If for some reason the old location of the package remains, file a bug against ftp.debian.org asking that the old @@ -1752,8 +1773,8 @@ announce list (either &email-debian-changes; or Sometimes you made a mistake naming the package and you need to rename it. In this case, you need to follow a two-step process. First, set your debian/control file to replace and conflict with the -obsolete name of the package (see the for details). Once you've uploaded +obsolete name of the package (see the for details). Once you've uploaded that package, and the package has moved into the archive, file a bug against ftp.debian.org asking to remove the package with the obsolete name. @@ -1965,6 +1986,21 @@ of Debian policy as well as some checks for common errors. The use of id="upload-checking"> and . + + debconf +

+debconf provides a consistent interface to +configuring packages interactively. It is user interface +intedependant, allowing end-users to configure packages with a +text-only interface, an HTML interface, or a dialog interface. New +interfaces can be added modularly. +

+Many feel that this system should be used for all packages requiring +interactive configuration. debconf is not +currently required by Debian Policy, however, that may change in the +future. + + debhelper