summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorIan Jackson <ian@chiark.chu.cam.ac.uk>1996-05-01 00:47:22 +0100
committerIan Jackson <ian@chiark.chu.cam.ac.uk>1996-05-01 00:47:22 +0100
commit258ed6ae6ff639a76b534353fcc502d4ca97ca8c (patch)
tree86bfc07b74704816a4f5a97cebe7e9266a8adf40 /doc
parentb51c2b656d19154769033e60d6d4f296955862fe (diff)
downloaddpkg-258ed6ae6ff639a76b534353fcc502d4ca97ca8c.tar.gz
dpkg (1.1.6); priority=MEDIUM
* Check virtual dependencies when removing (ouch! - thanks SDE.) * Fixed bug in internal database validity management that could make dselect and dpkg dump core. (Bug#2613.) * Fixed two coredumping bugs when using local diversions. (Bug#2804.) * Fixed disappearance of overwritten packages. (Bug#2696.) * install-info won't modify dir file before start of menu. * install-info will create Miscellaneous heading if no sections yet. * Only alphanums and +-. allowed in package names - enforced by dpkg-deb --build and documented in Guidelines. * dselect doesn't display packages unless they are installed, selected or available. * dselect doesn't show spurious section and priority headings. * dselect has a few extra keybindings (from Lee Olds). * --force message changed to `--force enabled' so that default is OK. * dpkg-name now includes architecture component in .deb filename, and translates - in package name to _. * .deb file has architecture component in filename. * Guidelines changed to say Pre-Depends is for experts only. * Guidelines say to provide a unidiff (-u) rather than an old context diff. * Guidelines say 755 root.root for shared libraries. -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Wed, 1 May 1996 00:47:22 +0100
Diffstat (limited to 'doc')
-rw-r--r--doc/guidelines.info-124
-rw-r--r--doc/guidelines.texi26
2 files changed, 31 insertions, 19 deletions
diff --git a/doc/guidelines.info-1 b/doc/guidelines.info-1
index ac9171445..c69a33482 100644
--- a/doc/guidelines.info-1
+++ b/doc/guidelines.info-1
@@ -218,8 +218,9 @@ the guidelines below.
course, owned by the appropriate group.
* Library files should generally be mode 644 and owned by
- `root.root'. If the package requires different permissions or
- ownerships to function correctly, they should be used instead.
+ `root.root'; shared libraries should be mode 755. If the package
+ requires different permissions or ownerships to function
+ correctly, they should be used instead.
* Manual pages should be mode 644 and owned by `root.root'. The
`nroff' source must be installed. You should *not* install a
@@ -471,8 +472,8 @@ for the existence of a file in the source directory.
`<package>-<original_version>' (again, see the section below on
version numbering).
- * Create the context diff against the original package using `diff
- -cNr', and use `gzip -9' to compress it. Context diffs should be
+ * Create the unified context diff against the original package using
+ `diff -uNr', and use `gzip -9' to compress it. Diffs should be
named in the form <package>-<version>.diff.gz--for example,
`fileutils-3.9-3.diff.gz'.
@@ -628,9 +629,9 @@ installation tools.
The value of `Package' should be the name of the package. Package
names must start with an alphanumeric, must be at least two characters,
-and may contain only alphanumerics and the characters - + . @ : = % _
-(that is, hyphen, plus, stop, at, colon, equals, percent and
-underscore). They are not case sensitive.
+and may contain only alphanumerics and the characters - + . (that is,
+hyphen, plus, stop) (1). They are sort of case sensitive - please try
+to get the case right first time.
The `Maintainer' field should be in the form
@@ -694,7 +695,8 @@ reluctant to downgrade packages.
`Pre-Depends'
Used by base packages to ensure that (for example) shared
- libraries are present befoore they are upgraded.
+ libraries are present before they are upgraded. This feature is
+ for expert use only.
`Source'
Gives the name of the source package when several binary packages
@@ -732,6 +734,12 @@ the reasons described in `dependency-ordering.txt', and the others
because older versions of those packages do not have the appropriate
`Provides' field.
+ ---------- Footnotes ----------
+
+ (1) The characters @ : = % _ (at, colon, equals, percent and
+underscore) used to be legal and are still accepted when found in a
+package file, but may not be used in new packages
+

File: guidelines.info, Node: conffiles, Next: Installation and Removal Scripts, Prev: control, Up: Control Files
diff --git a/doc/guidelines.texi b/doc/guidelines.texi
index 78662e4d4..21c5d9f57 100644
--- a/doc/guidelines.texi
+++ b/doc/guidelines.texi
@@ -234,8 +234,9 @@ owned by the appropriate group.
@item
Library files should generally be mode 644 and owned by
-@code{root.root}. If the package requires different permissions
-or ownerships to function correctly, they should be used instead.
+@code{root.root}; shared libraries should be mode 755. If the package
+requires different permissions or ownerships to function correctly, they
+should be used instead.
@item
Manual pages should be mode 644 and owned by @code{root.root}. The
@@ -529,9 +530,9 @@ but the tarfile should unpack into a directory named
below on version numbering).
@item
-Create the context diff against the original package using @file{diff
--cNr}, and use @file{gzip -9} to compress it. Context diffs should be
-named in the form <@i{package}>-<@i{version}>.diff.gz---for example,
+Create the unified context diff against the original package using
+@file{diff -uNr}, and use @file{gzip -9} to compress it. Diffs should
+be named in the form <@i{package}>-<@i{version}>.diff.gz---for example,
@file{fileutils-3.9-3.diff.gz}.
@end itemize
@@ -684,11 +685,14 @@ The version number in the format
Each field has a particular format and meaning for the package
installation tools.
-The value of @file{Package} should be the name of the package.
-Package names must start with an alphanumeric, must be at least two
-characters, and may contain only alphanumerics and the characters
-- + . @@ : = % _ (that is, hyphen, plus, stop, at, colon, equals,
-percent and underscore). They are not case sensitive.
+The value of @file{Package} should be the name of the package. Package
+names must start with an alphanumeric, must be at least two characters,
+and may contain only alphanumerics and the characters - + . (that is,
+hyphen, plus, stop) @footnote{The characters @@ : = % _ (at, colon,
+equals, percent and underscore) used to be legal and are still accepted
+when found in a package file, but may not be used in new packages}.
+They are sort of case sensitive - please try to get the case right first
+time.
The @code{Maintainer} field should be in the form
@@ -752,7 +756,7 @@ used as a location for the package in the distribution.
A boolean field used by the base packages.
@item Pre-Depends
Used by base packages to ensure that (for example) shared libraries are
-present befoore they are upgraded.
+present before they are upgraded. This feature is for expert use only.
@item Source
Gives the name of the source package when several binary packages are
generated from a single source tree.