From: Ian Jackson Date: Mon, 26 Aug 1996 13:30:44 +0000 (+0100) Subject: dpkg (1.3.10) unstable; urgency=medium X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5766754ce69fd02e20d368bd909834df67f51348;p=dpkg dpkg (1.3.10) unstable; urgency=medium * dpkg-source(1) manpage alias symlinks are not dangling. * dselect selects things by default if they are installed. * Added `pentium' as alias for `i386' architecture. * Added `Suggests: cpio, patch' and explanatory text to Description. (Bugs #4262, #4263.) * More developers' PGP keys. * Manual updates, new source format released. -- Ian Jackson Mon, 26 Aug 1996 14:30:44 +0100 --- diff --git a/archtable b/archtable index 97a1cad5..a6aed81e 100644 --- a/archtable +++ b/archtable @@ -14,6 +14,7 @@ i386 i386 i486 i386 i586 i386 +pentium i386 sparc sparc alpha alpha m68k m68k diff --git a/debian/changelog b/debian/changelog index c9b586dd..7b9281da 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,16 @@ +dpkg (1.3.10) unstable; urgency=medium + + * dpkg-source(1) manpage alias symlinks are not dangling. + * dselect selects things by default if they are installed. + * Added `pentium' as alias for `i386' architecture. + * Added `Suggests: cpio, patch' and explanatory text to Description. + (Bugs #4262, #4263.) + + * More developers' PGP keys. + * Manual updates, new source format released. + + -- Ian Jackson Mon, 26 Aug 1996 14:30:44 +0100 + dpkg (1.3.9) unstable; urgency=low (high for new source format) * dpkg --get-selections and --set-selections added. diff --git a/debian/control b/debian/control index e6c5d1fc..cee28587 100644 --- a/debian/control +++ b/debian/control @@ -8,6 +8,7 @@ Package: dpkg Architecture: any Essential: yes Pre-Depends: ${shlibs:Pre-Depends} +Suggests: cpio, patch Conflicts: dpkgname Replaces: dpkgname Description: Package maintenance system for Debian Linux @@ -17,3 +18,6 @@ Description: Package maintenance system for Debian Linux The primary interface for the dpkg suite is the `dselect' program; a more low-level and less user-friendly interface is available in the form of the `dpkg' command. + . + In order to manipulate source packages using `dpkg-source' you will + need to install the `cpio' and `patch' packages. diff --git a/debian/rules b/debian/rules index bbc60c6f..8d9536d0 100755 --- a/debian/rules +++ b/debian/rules @@ -45,6 +45,11 @@ binary-arch: checkroot build etcdir=$(DIR)/debian/tmp/etc \ install find debian/tmp/usr/man -type f | xargs gzip -9v + set -e; for f in dpkg-buildpackage dpkg-gencontrol dpkg-distaddfile \ + dpkg-parsechangelog dpkg-genchanges dpkg-shlibdeps; do \ + rm debian/tmp/usr/man/man1/$$f.1; \ + ln -s dpkg-source.1.gz debian/tmp/usr/man/man1/$$f.1.gz ; \ + done gzip -9v debian/tmp/usr/doc/dpkg/changelog.* cp debian/copyright debian/tmp/usr/doc/dpkg/copyright cp TODO debian/tmp/usr/doc/dpkg/WISHLIST diff --git a/doc/changelog b/doc/changelog index 906c42f5..8b618e2c 100644 --- a/doc/changelog +++ b/doc/changelog @@ -1,3 +1,15 @@ +debian-manuals (2.0.0.0) unstable; + + * Footnote added OK'ing copyrights which require name changes. + * More detail about changelog format names. + + * Problematic licence restrictions are formatted as lists. + * Mentioned 822-date utility as way to generate RFC822 format dates. + * Typos corrected. + * Released. + + -- Ian Jackson Mon, 26 Aug 1996 14:27:34 +0100 + debian-manuals (0.2.1.1) unstable; * Can't overwrite directories in one package with files in another. diff --git a/doc/developer-keys.pgp b/doc/developer-keys.pgp index dc4b76fd..4449844e 100644 Binary files a/doc/developer-keys.pgp and b/doc/developer-keys.pgp differ diff --git a/doc/manuals-version b/doc/manuals-version index adf909f0..e1b373c1 100644 --- a/doc/manuals-version +++ b/doc/manuals-version @@ -1,2 +1,2 @@ - - + + diff --git a/doc/policy.sgml b/doc/policy.sgml index 38fc1cee..b98e11dc 100644 --- a/doc/policy.sgml +++ b/doc/policy.sgml @@ -96,39 +96,65 @@ violating copyrights.

All packages in the Debian distribution proper must be freely useable, -modifiable and redistributable in both source and binary form. It -must be possible for anyone to distribute and use modified source code -and their own own compiled binaries, at least when they do so as part +modifiable and redistributable in both source and binary +form.It is OK for there to be a requirement that modified +versions carry a warning, or that they be released with a different +name or version number, or something similar, because we can comply +with this requirement if necessary. +It must be possible for anyone to distribute and use modified source +code and their own compiled binaries, at least when they do so as part of a Debian distribution.

-Packages whose copyright permission notices (or patent problems) do -not allow distribution and copying for profit, without restriction on -the amount charged, or where distribution is restricted according to -the medium used, or where the distributor must ask any kind of special -permission of the authors, or with other onerous conditions, may only -be placed in the semi-supported non-free section of the Debian FTP -archives. This is important so that CDROM manufacturers can -distribute Debian without having to check the copyright of each +Packages + + +whose copyright permission notices (or patent problems) do not allow +distribution and copying for profit, without restriction on the amount +charged, or + +where distribution is restricted according to the medium used, or + +where the distributor must ask any kind of special permission of the +authors, or + +with other onerous conditions, + +may only be placed in the semi-supported non-free section of the +Debian FTP archives. This is important so that CDROM manufacturers +can distribute Debian without having to check the copyright of each package individually, simply by leaving out the contents of the non-free area; CDROM distributors are encouraged, though, to check the copyrights on programs in non-free individually and include as many as they can.

-Packages whose copyright permission notices (or patent problems) allow -only distribution of compiled binaries (and thus of which only -binaries are available), or where the source code which may be +Packages + + +whose copyright permission notices (or patent problems) allow only +distribution of compiled binaries (and thus of which only binaries are +available), or + +where the source code which may be distributed is not the complete source code required to compile the program (ie, the program cannot be compiled using only packages in the -main Debian distribution), or which depend for their use on non-free -or contrib packages, or allow free use only for a trial period -(shareware), or are demonstration programs lacking vital functionality -(crippleware), or are only installer-packages which require the user -to supply a separate file to be installed, or which fail to meet some -other policy requirements, may only be placed in the semi-supported -contrib section of the Debian FTP archives (unless they need to be in -non-free - see above). +main Debian distribution), or + +which depend for their use on non-free or contrib packages, or + +allow free use only for a trial period (shareware), or + +are demonstration programs lacking vital functionality (crippleware), +or + +are only installer-packages which require the user to supply a +separate file to be installed, or + +which fail to meet some other policy requirements, + +may only be placed in the semi-supported contrib section of the Debian +FTP archives (unless they need to be in non-free - see above).

Programs whose authors encourage the user to make donations are fine diff --git a/doc/policy.text b/doc/policy.text index 62d9d93c..e28c5076 100644 --- a/doc/policy.text +++ b/doc/policy.text @@ -2,7 +2,7 @@ Debian policy manual -------------------- Ian Jackson - version 0.2.0.0 (dpkg 1.3.7), 22 August 1996 + version 0.2.1.1 (dpkg 1.3.10), 25 August 1996 0.1 Abstract ------------ @@ -43,14 +43,13 @@ 4.4. Changes to the upstream sources 4.5. Error trapping in makefiles - 5. How to become a Debian developer - 5.1. Before you start work + 5. Procedure - how to participate in the Debian project + 5.1. Before you start work on a package 5.2. When you have a package to upload 5.3. Upload handling - `.changes' files + 5.4. The Debian mailing lists - 6. The Debian mailing lists - - 7. Conversion procedure from old source packages + 6. Conversion procedure from old source packages 0.3. Copyright Notice @@ -73,6 +72,7 @@ administrators' manual. This document assumes familiarity with these other two manuals. + Unfortunately the system administrators' manual does not exist yet. The Debian version of the FSF's GNU hello program is provided as an example for people wishing to create Debian packages. @@ -99,36 +99,49 @@ without violating copyrights. All packages in the Debian distribution proper must be freely useable, - modifiable and redistributable in both source and binary form. It must - be possible for anyone to distribute and use modified source code and - their own own compiled binaries, at least when they do so as part of a - Debian distribution. - - Packages whose copyright permission notices (or patent problems) do - not allow distribution and copying for profit, without restriction on - the amount charged, or where distribution is restricted according to - the medium used, or where the distributor must ask any kind of special - permission of the authors, or with other onerous conditions, may only - be placed in the semi-supported non-free section of the Debian FTP - archives. This is important so that CDROM manufacturers can distribute - Debian without having to check the copyright of each package - individually, simply by leaving out the contents of the non-free area; - CDROM distributors are encouraged, though, to check the copyrights on - programs in non-free individually and include as many as they can. - - Packages whose copyright permission notices (or patent problems) allow - only distribution of compiled binaries (and thus of which only - binaries are available), or where the source code which may be - distributed is not the complete source code required to compile the - program (ie, the program cannot be compiled using only packages in the - main Debian distribution), or which depend for their use on non-free - or contrib packages, or allow free use only for a trial period - (shareware), or are demonstration programs lacking vital functionality - (crippleware), or are only installer-packages which require the user - to supply a separate file to be installed, or which fail to meet some - other policy requirements, may only be placed in the semi-supported - contrib section of the Debian FTP archives (unless they need to be in - non-free - see above). + modifiable and redistributable in both source and binary form.[1] It + must be possible for anyone to distribute and use modified source code + and their own own compiled binaries, at least when they do so as part + of a Debian distribution. + + [1] It is OK for there to be a requirement that modified versions + carry a warning, or that they be released with a different name + or version number, or something similar, because we can comply + with this requirement if necessary. + + Packages + * whose copyright permission notices (or patent problems) do not + allow distribution and copying for profit, without restriction on + the amount charged, or + * where distribution is restricted according to the medium used, or + * where the distributor must ask any kind of special permission of + the authors, or + * with other onerous conditions, + may only be placed in the semi-supported non-free section of the + Debian FTP archives. This is important so that CDROM manufacturers can + distribute Debian without having to check the copyright of each + package individually, simply by leaving out the contents of the + non-free area; CDROM distributors are encouraged, though, to check the + copyrights on programs in non-free individually and include as many as + they can. + + Packages + * whose copyright permission notices (or patent problems) allow + only distribution of compiled binaries (and thus of which only + binaries are available), or + * where the source code which may be distributed is not the + complete source code required to compile the program (ie, the + program cannot be compiled using only packages in the main Debian + distribution), or + * which depend for their use on non-free or contrib packages, or + * allow free use only for a trial period (shareware), or + * are demonstration programs lacking vital functionality + (crippleware), or + * are only installer-packages which require the user to supply a + separate file to be installed, or + * which fail to meet some other policy requirements, + may only be placed in the semi-supported contrib section of the Debian + FTP archives (unless they need to be in non-free - see above). Programs whose authors encourage the user to make donations are fine for the main distribution, provided that the authors do not claim that @@ -1008,7 +1021,7 @@ Mail name [`']: The value corresponds to a version of the Debian manuals, as can be found on the title page or page headers and footers (depending on the format). The value for this version of the manuals and packaging - standards is `0.2.0.0'. + standards is `0.2.1.1'. The version number has four components - major and minor number and major and minor patchlevel. When the standards change in a way that @@ -1017,7 +1030,8 @@ Mail name [`']: signaled by a change to the minor number. The major patchlevel will be changed for any change to the meaning of the standards, however small; the minor patchlevel will be changed when only cosmetic, typographical - or other edits which do not change the meaning are made. + or other edits which do not change the meaning are made, or changes + which do not affect the contents of packages. You should regularly, and especially if your package has become out of date, install the most recent version of dpkg and read @@ -1094,12 +1108,12 @@ Mail name [`']: ------------------------------------------------------------------------------- -5. How to become a Debian developer ------------------------------------- +5. Procedure - how to participate in the Debian project +-------------------------------------------------------- -5.1. Before you start work --------------------------- +5.1. Before you start work on a package +--------------------------------------- So, you've read all the documentation, you understand what everything in the hello example package is for, and you're about to Debianise @@ -1173,14 +1187,30 @@ Mail name [`']: All of them are mandatory for a Debian upload. See the list of control fields in the dpkg programmers' manual for the contents of these - fields. + fields. + The first time a version is uploaded which corresponds to a particular + upstream version the original source tarfile should be uploaded and + included in the `.changes' file; subsequent times the very same + tarfile should be used to build the new diffs and `.dsc' files, and it + need not then be uploaded. -------------------------------------------------------------------------------- + By default dpkg-genchanges and dpkg-buildpackage will include the + original source tarfile if and only if the Debian revision part of the + source version number is `0' or `1', indicating a new upstream + version. This behaviour may be modified by using `-sa' to always + include it or `-sd' to always leave it out. + If no original source is included in the upload then the original + source tarfile used by dpkg-source when constructing the `.dsc' file + and diff to be uploaded *must* be byte-for-byte identical with the one + already in the archive. If there is some reason why this is not the + case then the new version of the original source should be uploaded, + possibly by using the `-sa' flag. -6. The Debian mailing lists ---------------------------- + +5.4. The Debian mailing lists +----------------------------- The mailing list server is at `lists.debian.org'. Mail `debian--REQUEST@lists.debian.org'[1] with the word `subscribe' @@ -1194,22 +1224,29 @@ Mail name [`']: see the responses. As ever on the net, please trim down the quoting of articles you're - replying to. + replying to. In general, please adhere to the usual conventions for + posting messages. ------------------------------------------------------------------------------- -7. Conversion procedure from old source packages +6. Conversion procedure from old source packages ------------------------------------------------ This is a brief summary of the procedure for converting a pre-2.0.0.0-format source package into the new format. + You are strongly advised to download and examine the hello package, + and to read the section in the dpkg programmers' manual describing the + source packaging tools. More detail about the exact functionality of + these tools is available in dpkg-source(1). + * Download the original source code from wherever it can be found and do any rearrangement required to make it look like the original tree of the Debian source. Put it in - `-.orig'. + `-.orig/' or + `_.orig.tar.gz'. * Rename all files `debian.*' to `debian/*'. There may be some exceptions to this, but this is a good start. @@ -1233,7 +1270,7 @@ Mail name [`']: package fields. * Add the `Source' field. * Add the `Standards-Version' field. The current value is - `0.2.0.0'. + `0.2.1.1'. * Change the `Architecture' field for each package to `any', `all' or whatever. If there isn't an `Architecture' field add one. @@ -1272,7 +1309,7 @@ Mail name [`']: `/usr/doc/copyright/'. If it isn't then find `debian/copyright' and decide what to do with the `README'. - * Check for various other anachronisms: + * Check for various other anachronisms and problems: * Remove any `Package_Revision', `Package-Revision' or `Revision' fields. * Rename `Optional' to `Suggests', `Recommended' to @@ -1280,20 +1317,30 @@ Mail name [`']: * Change `/usr/doc/examples/' to `/usr/doc//examples'. * Make sure that manpages are installed compressed. + * Check that the description has an extended description, is + well-formatted and meaningful and helpful to people wanting + to know whether to install a package. * Look everything over. - * Do a test build using `dpkg-buildpackage -ur -uc -r'. - Check the permissions and locations of files in the resulting - package by eyeballing the output of `dpkg-deb --contents', and - check that the source build happened OK. Test install the binary - package(s) and test extract the source package(s). + * Do a test build using `dpkg-buildpackage -ur -uc -sa + -r'. Check the permissions and locations of files in + the resulting package by eyeballing the output of `dpkg-deb + --contents', and check that the source build happened OK. Test + install the binary package(s) and test extract the source + package(s). - * Sign the release: either re-run dpkg-buildpackage (this will - rebuild the package entirely), or PGP-sign the `.dsc', rebuild - the `.changes' using dpkg-genchanges, and then PGP-sign the + * Sign the release: either rebuild everything with + `dpkg-buildpackage -sa', or PGP-sign the `.dsc', rebuild the + `.changes' using `dpkg-genchanges -sa', and then PGP-sign the `.changes'. + The use of `-sa' on dpkg-buildpackage and dpkg-genchanges is important + when doing the first build/uploading of a new-format source package. + Unless this happens to be Debian revision `0' or `1' by default the + original source tarfile will not be included in the uploaded files + listed in the `.changes' file, and so it won't be installed on the FTP + site. `-sa' requests that the original source be included regardless. ------------------------------------------------------------------------------- @@ -1324,6 +1371,6 @@ Mail name [`']: Debian policy manual - Ian Jackson - version 0.2.0.0 (dpkg 1.3.7), - 22 August 1996 + Ian Jackson - version 0.2.1.1 (dpkg 1.3.10), + 25 August 1996 diff --git a/doc/programmer.sgml b/doc/programmer.sgml index 9c053fe4..dd87689f 100644 --- a/doc/programmer.sgml +++ b/doc/programmer.sgml @@ -887,7 +887,8 @@ copied to the -The This is generated +by the ; it should include the timezone specified numerically, with the timezone name or abbreviation optionally present as a comment.

@@ -913,10 +914,13 @@ providing a parser for the format you wish to use. In order to have \schangelog-format:\s+([0-9a-z]+)\W +The part in parentheses should be the name of the format. For +example, you might say: -\schangelog-format:\s+([0-9a-z]+)\W +@@@ changelog-format: joebloggs @@@ -The part in parentheses should be the name of the format. +Changelog format names are non-empty strings of alphanumerics.

If such a line exists then available.valid) blankpackageperfile(&pkg->available); state->direct= state->original= pkg->want; if (readwrite && pkg->want == pkginfo::want_unknown) { - state->suggested= pkg->priority <= pkginfo::pri_standard - ? pkginfo::want_install : pkginfo::want_purge; /* fixme: configurable */ + state->suggested= + pkg->status == pkginfo::stat_installed || + pkg->priority <= pkginfo::pri_standard /* fixme: configurable */ + ? pkginfo::want_install : pkginfo::want_purge; state->spriority= sp_inherit; } else { state->suggested= pkg->want; diff --git a/main/archtable.inc b/main/archtable.inc index 4a57a0b7..6ee4a67d 100644 --- a/main/archtable.inc +++ b/main/archtable.inc @@ -1,6 +1,7 @@ { "i386", "i386" }, { "i486", "i386" }, { "i586", "i386" }, + { "pentium", "i386" }, { "sparc", "sparc" }, { "alpha", "alpha" }, { "m68k", "m68k" }, diff --git a/version.h b/version.h index 332a4ee6..71a0835f 100644 --- a/version.h +++ b/version.h @@ -1 +1 @@ -#define DPKG_VERSION "1.3.9" /* This line modified by Makefile */ +#define DPKG_VERSION "1.3.10" /* This line modified by Makefile */