summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-01-14 18:46:15 +0300
committerIgor Pashev <pashev.igor@gmail.com>2012-01-14 18:46:15 +0300
commit4b6db52271070fe7c92750a619d61c2d2c23a000 (patch)
tree10924f62c223ad68a88ea6103143809e0c259dce /debian
downloadbase-files-4b6db52271070fe7c92750a619d61c2d2c23a000.tar.gz
Initial import from base-files-6.5
Diffstat (limited to 'debian')
-rw-r--r--debian/1777-dirs3
-rw-r--r--debian/2775-dirs1
-rw-r--r--debian/README85
-rw-r--r--debian/README.FHS29
-rw-r--r--debian/changelog1082
-rw-r--r--debian/conffiles5
-rw-r--r--debian/control19
-rw-r--r--debian/copyright.in25
-rwxr-xr-xdebian/current-md5sums3
-rw-r--r--debian/directory-list40
-rw-r--r--debian/postinst.in118
-rwxr-xr-xdebian/rules75
-rw-r--r--debian/source/format1
13 files changed, 1486 insertions, 0 deletions
diff --git a/debian/1777-dirs b/debian/1777-dirs
new file mode 100644
index 0000000..c92add2
--- /dev/null
+++ b/debian/1777-dirs
@@ -0,0 +1,3 @@
+tmp
+var/lock
+var/tmp
diff --git a/debian/2775-dirs b/debian/2775-dirs
new file mode 100644
index 0000000..ad85adc
--- /dev/null
+++ b/debian/2775-dirs
@@ -0,0 +1 @@
+var/local
diff --git a/debian/README b/debian/README
new file mode 100644
index 0000000..d1c61eb
--- /dev/null
+++ b/debian/README
@@ -0,0 +1,85 @@
+Frequently Asked Questions about base-files
+===========================================
+
+* Questions about /etc/issue and /etc/debian_version:
+
+Q. I upgraded my system to the testing distribution and now my /etc/issue
+says "wheezy/sid". Should it not read "wheezy" or "testing"?
+
+Q. I upgraded my system to the unstable distribution and now my /etc/issue
+says "wheezy/sid". Should it not read "sid" or "unstable"?
+
+A. You obviously do not understand how the testing distribution works.
+Packages uploaded for unstable reach testing after ten days, provided
+they are built for every released architecture, have no RC-bugs and
+their dependencies may be met in testing. You should consider the
+testing and unstable distributions as two sides of the same coin.
+Since the base-files package in testing was initially uploaded for
+unstable, the only sensible /etc/issue to have is one that is both
+valid for testing and unstable, hence "wheezy/sid" (or whatever is
+appropriate).
+
+Q. Why "wheezy/sid" and not "testing/unstable" as it used to be?
+
+A. The codename is a little bit more informative, as the meaning of
+"testing" changes over time.
+
+Q. Ok, but how do I know which distribution I'm running?
+
+A. If you are running testing or unstable, then /etc/debian_version is
+not a reliable way to know that anymore. Looking at the contents of
+your /etc/apt/sources.list file is probably a much better way.
+
+
+* Other questions:
+
+Q. After upgrading my system recently, I noticed that some files from
+base-files do not match the ones which are installed on a fresh install
+of squeeze. Should I not be warned about that?
+
+A. Those files are configuration files, so they are completely under
+the control of the system admin. The files installed by base-files are
+just defaults. Changes in the default files are not important enough
+to warn the user, as it is also policy that prompting should be
+reduced to a minimum. This is also the reason they are not handled via
+dpkg's conffile mechanism.
+
+In either case, if you want to "upgrade" those files, just look at the
+postinst for base-files (i.e. /var/lib/dpkg/info/base-files.postinst)
+and you will see how they are created and where their master copies are:
+
+ install_from_default /usr/share/base-files/nsswitch.conf /etc/nsswitch.conf
+ install_from_default /usr/share/base-files/dot.profile /root/.profile
+ install_from_default /usr/share/base-files/dot.bashrc /root/.bashrc
+ install_from_default /usr/share/base-files/profile /etc/profile
+ install_from_default /usr/share/base-files/motd /etc/motd
+
+So, if you want your system to be as similar as possible to a newly
+installed squeeze system, you might want to sync these files manually.
+
+
+Q. Why isn't license "foo" included in common-licenses?
+
+A. I delegate such decisions to the policy group. If you want to
+propose a new license you should make a policy proposal to modify the
+paragraph in policy saying "Packages distributed under the UCB BSD
+license, Artistic license, GNU GPL and GNU LGPL should refer to the
+files in /usr/share/common-licenses". The way of doing this is
+explained in the debian-policy package. As usual, you should always
+take a look at already reported bugs against debian-policy before
+submitting a new one.
+
+Q. I upgraded from woody to sarge. Should my system be FHS-compliant now?
+
+A. Achieving FHS compliance by upgrading would be tricky and prone to
+error in certain cases, so it is not a goal of base-files, nor it is
+planned to be. By default, some "mandatory" directories (like /opt,
+/srv or /media) are only created in the first install (performed by
+debootstrap), to keep the code as simple as possible, follow the
+principle of least surprise on upgrades, and also to give people the
+freedom to remove those directories without them being created again
+when base-files is upgraded. Therefore, if you are running any sort of
+compliance tests, you should do it on newly installed systems only.
+
+
+Santiago Vila <sanvila@debian.org>
diff --git a/debian/README.FHS b/debian/README.FHS
new file mode 100644
index 0000000..6fdea01
--- /dev/null
+++ b/debian/README.FHS
@@ -0,0 +1,29 @@
+The FHS standard specifies /var/mail as the mail spool, but it also says
+/var/mail may be a symbolic link to another directory, and there is no
+requirement to physically move the mail spool to this location.
+
+Therefore, no package will move files around from one location to another
+on upgrades, and /var/mail will be the real directory only in newly
+installed systems.
+
+Since /var/spool/mail has been in use for several years now, we need
+also to provide backwards compatibility for some time yet.
+
+So, to summarize:
+
+* New systems (Debian 2.2 or later) will have /var/mail as a real
+directory and /var/spool/mail as a symlink to it.
+
+* Upgraded systems will have /var/spool/mail as the real directory
+and /var/mail as a symlink to it.
+
+
+People upgrading from previous releases who prefer the new physical
+location /var/mail over the old one may do the required changes in their
+systems if they do it with extreme care and know what they are doing. The
+packages in charge of ensuring that /var/mail exists (currently, libc6 and
+base-files) will not touch it at all if it already exists as a directory
+or a symlink.
+
+
+Santiago Vila <sanvila@debian.org>
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..aaef157
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,1082 @@
+base-files (6.5) unstable; urgency=low
+
+ * Modified default /etc/profile to not read /etc/bash.bashrc if bash
+ is invoked as /bin/sh. Closes: #632887.
+
+ -- Santiago Vila <sanvila@debian.org> Fri, 29 Jul 2011 21:03:02 +0200
+
+base-files (6.4) unstable; urgency=low
+
+ * Added /run. Closes: #620157.
+ * On new installs:
+ - Create /run/lock (debian-installer will remove it but this will
+ ensure that it exists even on chroot environments).
+ - Symlink /var/run to /run.
+ - Symlink /var/lock to /run/lock.
+ * On upgraded systems, initscripts will handle the transition to /run.
+ * Added "Breaks: initscripts << (2.88dsf-13.3)" to ensure that initscripts
+ is upgraded first, as otherwise udev would break.
+ * Thanks a lot to Roger Leigh.
+
+ -- Santiago Vila <sanvila@debian.org> Fri, 27 May 2011 14:25:42 +0200
+
+base-files (6.3) unstable; urgency=low
+
+ * Dropped /run until everything else is ready for it. In particular,
+ udev should not blindly assume that it works just because it exists.
+
+ -- Santiago Vila <sanvila@debian.org> Wed, 06 Apr 2011 20:33:02 +0200
+
+base-files (6.2) unstable; urgency=low
+
+ * Added /run. Requested by Roger Leigh. Closes: #620157.
+
+ -- Santiago Vila <sanvila@debian.org> Tue, 05 Apr 2011 18:03:36 +0200
+
+base-files (6.1) unstable; urgency=medium
+
+ * Changed issue, issue.net and debian_version to read "wheezy/sid".
+
+ -- Santiago Vila <sanvila@debian.org> Mon, 07 Feb 2011 19:24:00 +0100
+
+base-files (6.0) unstable; urgency=low
+
+ * Changed issue, issue.net and debian_version to read "6.0".
+ * Updated README accordingly.
+
+ -- Santiago Vila <sanvila@debian.org> Tue, 14 Dec 2010 22:20:38 +0100
+
+base-files (5.10) unstable; urgency=medium
+
+ * Changed postinst to not reset /var/run/utmp permissions on every upgrade.
+ It is definitely not base-files business to change the permissions of
+ an already existing /var/run/utmp, as the system admin might have
+ changed them on purpose after the file was created. Closes: #601746.
+
+ -- Santiago Vila <sanvila@debian.org> Sat, 13 Nov 2010 13:01:12 +0100
+
+base-files (5.9) unstable; urgency=medium
+
+ * Changed /etc/profile so that it defines PATH again. Closes: #571086.
+ We will have plenty of time to discuss about this after the release
+ of squeeze, but for now, this is the safe thing to do.
+
+ -- Santiago Vila <sanvila@debian.org> Fri, 06 Aug 2010 19:37:40 +0200
+
+base-files (5.8) unstable; urgency=low
+
+ * Added GPL version 1 from http://ftp.gnu.org/gnu/Licenses/ as there
+ are a lot of packages still using it. Bug #436105.
+
+ -- Santiago Vila <sanvila@debian.org> Mon, 05 Jul 2010 19:10:54 +0200
+
+base-files (5.7) unstable; urgency=low
+
+ * Drop umask setting from /etc/profile, will be handled by pam_umask.
+ Closes: #583967.
+
+ -- Santiago Vila <sanvila@debian.org> Tue, 01 Jun 2010 23:57:52 +0200
+
+base-files (5.6) unstable; urgency=low
+
+ * Ordinary user accounts start at UID 1000 by default, but they also
+ end at 29999 by default. Modified default /etc/profile accordingly.
+
+ -- Santiago Vila <sanvila@debian.org> Thu, 20 May 2010 11:34:34 +0200
+
+base-files (5.5) unstable; urgency=low
+
+ * Changed default /etc/profile so that the new umask of 002 is only
+ used for ordinary user accounts, which, according to policy, start
+ at uid 1000 by default.
+
+ -- Santiago Vila <sanvila@debian.org> Wed, 19 May 2010 18:57:10 +0200
+
+base-files (5.4) unstable; urgency=low
+
+ * Changed umask in default /etc/profile to 002, which has a little bit
+ more sense than 022 on systems like Debian having User Private Groups.
+ As usual for /etc/profile, only new installs will have the new default,
+ so nobody will be surprised by this on upgrades. Hopefully, this change
+ will be documented in the release notes for squeeze as well, for users
+ who install squeeze from scratch. Closes: #248140, #581434.
+ * Refresh GNU licenses from http://ftp.gnu.org/gnu/Licenses/, as they
+ have expanded the embedded tabs. Closes: #572245.
+ * Switch to "3.0 (native)" format.
+
+ -- Santiago Vila <sanvila@debian.org> Thu, 13 May 2010 18:35:42 +0200
+
+base-files (5.3) unstable; urgency=low
+
+ * Changed default /etc/profile so that it sources /etc/profile.d/*.sh
+ as mandated by the LSB section 16.2. Closes: #545756.
+ Package maintainers: Please don't use profile.d if you can avoid it,
+ as policy says "A program must not depend on environment variables
+ to get reasonable defaults".
+ * Removed questions about profile.d from FAQ.
+
+ -- Santiago Vila <sanvila@debian.org> Fri, 09 Apr 2010 18:07:20 +0200
+
+base-files (5.2) unstable; urgency=low
+
+ * Added question in FAQ to document the fact that some configuration
+ files in /etc are never updated on upgrades. Closes: #571083.
+ * Changed default /usr/src to be root:root and 755. Closes: #573701.
+ The old permissions were of little benefit, and the user can still
+ change this after installing a new system anyway.
+ * Renamed FAQ to README and added a compatibility symlink.
+ * Removed obsolete Depends on base-passwd, as version 2.0.3.4 is more
+ than 10 years old and we don't support upgrades which skip releases.
+ * Dropped preinst completely, as it was there just to support upgrades
+ from very old releases (that we don't support anymore).
+ * Removed postinst code that supports upgrades from very old releases.
+
+ -- Santiago Vila <sanvila@debian.org> Sun, 04 Apr 2010 13:22:04 +0200
+
+base-files (5.1) unstable; urgency=low
+
+ * Changed default permissions for /root to 700, as many admins consider
+ it should be more private than other home directories. Closes: #514794.
+ * Changed default permissions for /var/log/btmp to 660, to be in sync
+ with permissions set by logrotate. Closes: #547407.
+ * Do not export PS1 in /root/.bashrc, as it has bash escapes and it's
+ inherited to subshells that do not have to be bash. Closes: #567733.
+ * Added debian_chroot variable to default PS1 in /root/.bashrc.
+ * Comment out PS1 in /root/.bashrc anyway, as /etc/profile and
+ /etc/bash.bashrc already care about it. Closes: #443245.
+ * Comment out umask as well, as it's already in /etc/profile.
+ * Added /usr/local/games to default PATH in /etc/profile. Closes: #487105.
+ * While we are at it, comment out everything about PATH, as /etc/login.defs
+ should already care about this.
+ * Changed default /etc/profile so that it sources /etc/bash.bashrc
+ if the shell is bash. Closes: #275622.
+ * Drop \u part from default PS1 in /etc/profile, as it's only useful
+ for people with several non-root accounts. Most people are either root
+ or an ordinary user, so $ and # are enough to differentiate between them.
+ * Comment out PS1 setting in /etc/profile anyway, as we have bash.bashrc.
+
+ -- Santiago Vila <sanvila@debian.org> Sun, 31 Jan 2010 13:16:14 +0100
+
+base-files (5.0.0) unstable; urgency=low
+
+ * Drop README.base, remove-base, and the lines in postinst which checked
+ for the old base package being present.
+ * Do not fiddle with /etc/adjtime anymore, as it does not belong here.
+ * Added file /etc/dpkg/origins/debian from dpkg package, for the benefit
+ of Debian-derived distributions, as base-files is trivial to fork.
+ Hopefully, this will be one less reason to fork dpkg. Closes: #487437.
+ * Added dpkg (<= 1.15.0) to Replaces, because of the above.
+ * On initial install and also on upgrades, create /etc/dpkg/origins/default
+ as a symlink to /etc/dpkg/origins/debian, if it does not exist.
+ * Updated copyright year in copyright file.
+
+ -- Santiago Vila <sanvila@debian.org> Fri, 24 Apr 2009 21:02:42 +0200
+
+base-files (5.0) unstable; urgency=medium
+
+ * Changed issue, issue.net and debian_version to read "squeeze/sid".
+ * Added GFDL-1.3 from http://www.gnu.org/licenses/fdl-1.3.txt as new
+ packages in unstable are starting to use it. Closes: #517196.
+ * Updated generic GFDL symlink accordingly, as it is always supposed
+ to point to the latest version.
+
+ -- Santiago Vila <sanvila@debian.org> Thu, 26 Feb 2009 17:09:38 +0100
+
+base-files (5) unstable; urgency=low
+
+ * Changed issue, issue.net and debian_version to read "5.0".
+ * Changed FAQ so that users of lenny as stable will know what happens
+ when they upgrade to the new testing.
+
+ -- Santiago Vila <sanvila@debian.org> Thu, 04 Dec 2008 10:04:04 +0100
+
+base-files (4.0.6) unstable; urgency=low
+
+ * Changed the way wtmp, btmp and lastlog are handled. They are no longer
+ recreated at every base-files upgrade. Instead, they are only created
+ once, when base-files is installed by debootstrap. It is really not
+ base-files business to fiddle with those files, as it is documented
+ that removing them is the standard way to disable logging to them.
+ Closes: #488376.
+
+ -- Santiago Vila <sanvila@debian.org> Tue, 04 Nov 2008 20:34:12 +0100
+
+base-files (4.0.5) unstable; urgency=low
+
+ * Changed awk from Depends to Pre-Depends. Closes: #314571, #469552.
+ This is required to make the awk virtual package to be truly essential,
+ as only essential packages, their predependencies, and the dependencies
+ of their predependencies are guaranteed to be "working at all times".
+ Previously, the packaging system was allowed to remove an awk flavour
+ and install another one in the middle of an upgrade, which may break
+ packages using awk in their preinsts (and in fact, it happened).
+ Tkanks a lot to Steve Langasek for clarifying this issue.
+ * It's still soon to change /etc/debian_version. Please be patient.
+
+ -- Santiago Vila <sanvila@debian.org> Tue, 5 Aug 2008 18:06:06 +0200
+
+base-files (4.0.4) unstable; urgency=low
+
+ * Added Apache-2.0 to common-licenses. Closes: #471736.
+ Retrieved from http://www.apache.org/licenses/LICENSE-2.0.txt.
+ * Fixed typo in README.base. Closes: #475201.
+
+ -- Santiago Vila <sanvila@debian.org> Sun, 18 May 2008 16:26:00 +0200
+
+base-files (4.0.3) unstable; urgency=low
+
+ * Added md5sums. Closes: #464479.
+ * Do not create /initrd at install time anymore. Closes: #467429.
+
+ -- Santiago Vila <sanvila@debian.org> Tue, 11 Mar 2008 11:04:00 +0100
+
+base-files (4.0.2) unstable; urgency=low
+
+ * Changed default /root/.profile so that it sources /root/.bashrc only
+ if the shell is bash. Closes: #364326.
+
+ -- Santiago Vila <sanvila@debian.org> Mon, 19 Nov 2007 19:04:10 +0100
+
+base-files (4.0.1) unstable; urgency=low
+
+ * Added GPL-3 and LGPL-3 to common-licenses, as they are expected to
+ become common licenses. Closes: #431176. Please note that GPL and LGPL
+ will now point to GPL-3 and LGPL-3, as they are the most recent ones.
+ Packages under GPLv2 without "or any later version" must definitely
+ refer to the versioned file, not to the GPL symlink anymore.
+
+ -- Santiago Vila <sanvila@debian.org> Sun, 19 Aug 2007 19:15:30 +0200
+
+base-files (4.0.0) unstable; urgency=low
+
+ * Added GFDL-1.2 from ftp://ftp.gnu.org/gnu/Licenses/COPYING.DOC-1.2
+ to common-licenses, following policy (Closes: #420599).
+
+ -- Santiago Vila <sanvila@debian.org> Tue, 24 Apr 2007 09:39:36 +0200
+
+base-files (4.0) unstable; urgency=low
+
+ * Changed issue, issue.net and debian_version to read "lenny/sid".
+ * Changed FAQ accordingly.
+
+ -- Santiago Vila <sanvila@debian.org> Tue, 3 Apr 2007 11:45:30 +0200
+
+base-files (4) unstable; urgency=low
+
+ * Changed issue, issue.net and debian_version to read "4.0".
+ * Changed PATHs in default /etc/profile to not contain /usr/bin/X11,
+ as this is no longer needed by the X packages in etch (Closes: #388586).
+
+ -- Santiago Vila <sanvila@debian.org> Sat, 28 Oct 2006 15:44:00 +0200
+
+base-files (3.1.16) unstable; urgency=low
+
+ * Changed comment in default /etc/nsswitch.conf so that it refers to
+ glibc-doc-reference, not glibc-doc (Closes: #384722).
+
+ -- Santiago Vila <sanvila@debian.org> Mon, 28 Aug 2006 18:32:42 +0200
+
+base-files (3.1.15) unstable; urgency=low
+
+ * Added /usr/local/etc, required by FHS (Closes: #383493).
+ [ As usual, please note that this will only affect new installs ].
+ This directory is also allowed to be a symlink to /etc/local, but that's
+ a decision to be made by the end user after installing the system.
+ * Standards-Version: 3.7.2.
+
+ -- Santiago Vila <sanvila@debian.org> Sun, 20 Aug 2006 12:44:00 +0200
+
+base-files (3.1.14) unstable; urgency=low
+
+ * Removed (obsolete) order line from default host.conf (Closes: #354115).
+ * Updated GPL-2 from ftp://ftp.gnu.org/gnu/Licenses (Closes: #380067).
+
+ -- Santiago Vila <sanvila@debian.org> Mon, 7 Aug 2006 19:21:54 +0200
+
+base-files (3.1.13) unstable; urgency=low
+
+ * Updated LGPL-2 from ftp://ftp.gnu.org/gnu/Licenses (Closes: #332390).
+
+ -- Santiago Vila <sanvila@debian.org> Fri, 5 May 2006 18:08:14 +0200
+
+base-files (3.1.12) unstable; urgency=low
+
+ * Changed default /usr/share/info/dir so that it does not refer to
+ documentation not available in etch/main (Closes: #362597).
+
+ -- Santiago Vila <sanvila@debian.org> Sat, 15 Apr 2006 18:41:36 +0200
+
+base-files (3.1.11) unstable; urgency=low
+
+ * The file /etc/nsswitch.conf is now created by postinst in the first
+ install (made by debootstrap), and it's no longer a conffile.
+
+ -- Santiago Vila <sanvila@debian.org> Sat, 4 Mar 2006 13:26:14 +0100
+
+base-files (3.1.10) unstable; urgency=medium
+
+ * Removed mdns item from hosts line in default /etc/nsswitch.conf, since
+ it does not make everybody happy (Bugs #348578, #348580 and #351990).
+ * Updated default /etc/adjtime to current year.
+
+ -- Santiago Vila <sanvila@debian.org> Thu, 9 Feb 2006 18:41:22 +0100
+
+base-files (3.1.9) unstable; urgency=low
+
+ * The file /etc/inputrc is now handled by readline-common.
+ * Changed to section admin to match override file.
+
+ -- Santiago Vila <sanvila@debian.org> Fri, 30 Sep 2005 18:51:54 +0200
+
+base-files (3.1.8) unstable; urgency=low
+
+ * Added mdns to hosts line in default /etc/nsswitch.conf to support
+ mDNS when available (Closes: #324954). Suggested by Joey Hess.
+ * Dropped %h from issue.net, as it's not supported by all telnetd
+ daemons and it's not even supported by ssh (Closes: #329682).
+ Thanks to Dave Love for the report.
+
+ -- Santiago Vila <sanvila@debian.org> Thu, 29 Sep 2005 19:40:08 +0200
+
+base-files (3.1.7) unstable; urgency=medium
+
+ * Removed trailing spaces from default inputrc (Closes: #325007).
+
+ -- Santiago Vila <sanvila@debian.org> Thu, 25 Aug 2005 20:16:08 +0200
+
+base-files (3.1.6) unstable; urgency=low
+
+ * Removed /usr/doc and /usr/info.
+ * Modified postinst to create /usr/share/info/dir, not /usr/info/dir.
+
+ -- Santiago Vila <sanvila@debian.org> Tue, 12 Jul 2005 17:29:48 +0200
+
+base-files (3.1.5) unstable; urgency=medium
+
+ * Updated GPL-2 and LGPL-2.1 from ftp://ftp.gnu.org/gnu/Licenses again.
+ There should be no references to the old address anymore (Bug #312586).
+
+ -- Santiago Vila <sanvila@debian.org> Wed, 22 Jun 2005 00:36:32 +0200
+
+base-files (3.1.4) unstable; urgency=medium
+
+ * Updated GPL-2 and LGPL-2.1 from ftp://ftp.gnu.org/gnu/Licenses,
+ as FSF has moved again (Closes: #312586).
+
+ -- Santiago Vila <sanvila@debian.org> Fri, 10 Jun 2005 20:12:06 +0200
+
+base-files (3.1.3) unstable; urgency=low
+
+ * Changed issue, issue.net and debian_release to "testing/unstable".
+ Not that this is a lot useful, but at least is what people expect.
+ * Made /home to be 755 and root:root by default, since nobody finds
+ the sgid bit in such directory useful for anything.
+
+ -- Santiago Vila <sanvila@debian.org> Mon, 6 Jun 2005 19:32:20 +0200
+
+base-files (3.1.2) unstable; urgency=low
+
+ * Changed example line in default /root/.bashrc from eval `dircolors` to
+ eval "`dircolors`" as the old form may be dangerous (Closes: #285836).
+ Thanks a lot to Paul Eggert for the report.
+
+ -- Santiago Vila <sanvila@debian.org> Wed, 15 Dec 2004 23:51:58 +0100
+
+base-files (3.1.1) unstable; urgency=low
+
+ * The file /etc/profile is not a conffile anymore. Instead, it is created
+ by postinst in the very first base-files install, made by debootstrap.
+ * Accordingly, removed bash from Replaces field.
+
+ -- Santiago Vila <sanvila@debian.org> Tue, 14 Dec 2004 19:06:00 +0100
+
+base-files (3.1.0) unstable; urgency=low
+
+ * Moved PATH definition for root from the default /root/.profile to the
+ default /etc/profile, by popular demand (Closes: #278865).
+ * The file /etc/inputrc is now created by postinst in the first install.
+ Removed libreadline incarnations from Replaces field accordingly.
+ This file will probably be managed by libreadline-common some day.
+
+ -- Santiago Vila <sanvila@debian.org> Wed, 10 Nov 2004 17:32:00 +0100
+
+base-files (3.1) unstable; urgency=high
+
+ * Changed issue, issue.net and debian_version to read "3.1".
+
+ -- Santiago Vila <sanvila@debian.org> Mon, 26 Jul 2004 20:25:32 +0200
+
+base-files (3.0.16) unstable; urgency=low
+
+ * Changed -a to && in postinst (Closes #254781).
+ * Updated copyright year.
+
+ -- Santiago Vila <sanvila@debian.org> Sat, 19 Jun 2004 17:41:54 +0200
+
+base-files (3.0.15) unstable; urgency=low
+
+ * FAQ: Documented the fact that some FHS "mandatory" directories are
+ only created in the initial install (Closes: #242192).
+ * Do not create /cdrom and /floppy anymore (Closes: #245188).
+ * Use "ln -sf" to create /usr/local/man symlink (Closes: #245687).
+
+ -- Santiago Vila <sanvila@debian.org> Mon, 26 Apr 2004 19:44:44 +0200
+
+base-files (3.0.14) unstable; urgency=low
+
+ * Added /var/log/btmp, following /etc/login.defs (Closes: #239587).
+
+ -- Santiago Vila <sanvila@debian.org> Wed, 24 Mar 2004 13:40:46 +0100
+
+base-files (3.0.13) unstable; urgency=low
+
+ * Added /srv, /media and /usr/local/share/man (Closes: #230909).
+ * Added /usr/local/man as a symlink to /usr/local/share/man,
+ since FHS says both directories should be "synonymous".
+ * I'm not populating /media because subdirectories are optional.
+ They only must exist "if the corresponding subsystem is installed".
+ Detecting such things is not really base-files business. I would
+ expect debian-installer to create those subdirectories instead.
+ * /cdrom and /floppy will still be created in the first install until
+ debian-installer and/or apt stop using them for new installs.
+
+ -- Santiago Vila <sanvila@debian.org> Sat, 21 Feb 2004 17:47:34 +0100
+
+base-files (3.0.12) unstable; urgency=low
+
+ * Made issue and issue.net generated files, to prevent a double "GNU/"
+ prefix on GNU/K*BSD systems (Closes: #217383).
+
+ -- Santiago Vila <sanvila@debian.org> Sun, 26 Oct 2003 21:38:44 +0100
+
+base-files (3.0.11) unstable; urgency=low
+
+ * Updated /etc/inputrc (from readline maintainer). Closes: #213666.
+
+ -- Santiago Vila <sanvila@debian.org> Thu, 2 Oct 2003 16:42:58 +0200
+
+base-files (3.0.10) unstable; urgency=low
+
+ * Use `:' for chown, not `.' (Closes: #204860).
+
+ -- Santiago Vila <sanvila@debian.org> Mon, 11 Aug 2003 00:42:22 +0200
+
+base-files (3.0.9) unstable; urgency=low
+
+ * Prevent OSNAME from having the GNU/ prefix twice (Closes: #200741).
+ * Updated LGPL-2.1 from ftp.gnu.org. Instead of form feeds, the old
+ version was using `^' followed by `L' (Closes: #201867).
+
+ -- Santiago Vila <sanvila@debian.org> Mon, 21 Jul 2003 19:25:12 +0200
+
+base-files (3.0.8) unstable; urgency=low
+
+ * Fixed the way /etc/motd is updated so that it still works when md5sum
+ prints a `-' after the md5sum value (Closes: #180920).
+
+ -- Santiago Vila <sanvila@debian.org> Sat, 15 Feb 2003 14:30:04 +0100
+
+base-files (3.0.7) unstable; urgency=low
+
+ * Added "Why isn't license `foo' included in common-licenses?" to the FAQ.
+ Thanks to Colin Watson for the suggestion.
+
+ -- Santiago Vila <sanvila@debian.org> Sat, 18 Jan 2003 20:32:16 +0100
+
+base-files (3.0.6) unstable; urgency=low
+
+ * Changed /etc/profile so that PS1 isn't set for non-interactive shells.
+ This should make the usual way of testing for interactive shells
+ (checking for PS1) to always work (Closes: #164846).
+ * Changed /etc/motd to better reflect the truth about Debian: s/Most of//
+ and s/freely redistributable/free software/ (Closes: #169543).
+
+ -- Santiago Vila <sanvila@debian.org> Tue, 19 Nov 2002 22:06:12 +0100
+
+base-files (3.0.5) unstable; urgency=low
+
+ * Added a small FAQ. The current topics are:
+ - Why Debian does not have a profile.d directory?
+ - I upgraded to testing, why /etc/issue does not read "testing"?
+ * Standards-Version: 3.5.7 (do not create or remove doc symlinks).
+ Note: In theory, packages still creating doc symlinks are allowed
+ to blindly assume /usr/doc exists, so /usr/doc will still be part of
+ base-files for some time.
+ * Removed prerm, since it's not required anymore.
+
+ -- Santiago Vila <sanvila@debian.org> Sat, 12 Oct 2002 15:21:52 +0200
+
+base-files (3.0.4) unstable; urgency=low
+
+ * /etc/profile does no longer export PS1. This should prevent
+ strange prompts to be shown when switching from bash to a shell which
+ does not understand bash escapes (Closes: #141193).
+ * Set distribution to "testing/unstable".
+
+ -- Santiago Vila <sanvila@debian.org> Wed, 17 Jul 2002 16:01:02 +0200
+
+base-files (3.0.3) unstable; urgency=low
+
+ * Fixed wrong group ownerships under GNU/Hurd. This may also happen under
+ Linux when using the `bsdgroups' mount option, but even in this case
+ it will not happen if the package is built using fakeroot.
+
+ -- Santiago Vila <sanvila@debian.org> Sat, 27 Apr 2002 14:18:44 +0200
+
+base-files (3.0.2) unstable; urgency=medium
+
+ * Made /usr/share/doc/base-files/remove-base more robust (Closes: #132969).
+
+ -- Santiago Vila <sanvila@debian.org> Fri, 8 Feb 2002 16:36:54 +0100
+
+base-files (3.0.1) unstable; urgency=medium
+
+ * Modified postinst to use awk only on upgrades, not in the first install.
+ This should help debootstrap (Closes: #130056, #130087).
+
+ -- Santiago Vila <sanvila@debian.org> Sun, 20 Jan 2002 14:52:34 +0100
+
+base-files (3.0.0) unstable; urgency=medium
+
+ * Restored /usr/doc since it's still required by the system according
+ to the doc transition plan.
+
+ -- Santiago Vila <sanvila@debian.org> Sat, 19 Jan 2002 13:18:12 +0100
+
+base-files (3.0) unstable; urgency=medium
+
+ * Changed issue, issue.net and debian_version to read "3.0".
+
+ -- Santiago Vila <sanvila@debian.org> Wed, 28 Nov 2001 11:22:42 +0100
+
+base-files (2.2.15) unstable; urgency=low
+
+ * Removed /usr/doc.
+
+ -- Santiago Vila <sanvila@debian.org> Sat, 24 Nov 2001 13:23:32 +0100
+
+base-files (2.2.14) unstable; urgency=low
+
+ * Created /opt, /etc/opt and /var/opt in the first install.
+ They are mentioned in FHS 2.1 and required in FHS 2.2 (Closes: #118505).
+ * The copyright file now refers to GNU/Linux or GNU/Hurd as appropriate.
+ * Updated README.base and postinst to refer to /usr/share/doc.
+ * Updated default /etc/adjtime to current millenium.
+
+ -- Santiago Vila <sanvila@debian.org> Fri, 9 Nov 2001 17:02:50 +0100
+
+base-files (2.2.13) unstable; urgency=low
+
+ * GPL is now a symlink to GPL-2, which is the real file.
+
+ -- Santiago Vila <sanvila@debian.org> Sun, 2 Sep 2001 13:26:34 +0200
+
+base-files (2.2.12) unstable; urgency=low
+
+ * s/info readline/info rluserman/ in /etc/inputrc (Closes: #109110).
+ * Updated LGPL-2.1 from ftp.gnu.org to fix line breaks (Closes: #109319).
+
+ -- Santiago Vila <sanvila@debian.org> Wed, 22 Aug 2001 17:29:10 +0200
+
+base-files (2.2.11) unstable; urgency=low
+
+ * In the first install, populate /usr/local even if it exists.
+ Allows /usr/local to be mounted in a separate partition during the
+ install process (Closes: #107662).
+
+ -- Santiago Vila <sanvila@debian.org> Sat, 4 Aug 2001 19:09:16 +0200
+
+base-files (2.2.10) unstable; urgency=low
+
+ * Removed /var/state and /var/state/misc, added /usr/local/games.
+ Reported by Sebastian Riedel.
+ * Made /boot mode 755 and owned by root group, since no part of the system
+ seems to require special permissions here (Closes: #102080).
+
+ -- Santiago Vila <sanvila@debian.org> Wed, 27 Jun 2001 19:45:46 +0200
+
+base-files (2.2.9) unstable; urgency=medium
+
+ * Creates /etc/motd in the initial install (now made by debootstrap).
+ Forgot to do this in 2.2.7. Reported by Matt Kraai (Closes: #101342).
+
+ -- Santiago Vila <sanvila@debian.org> Tue, 19 Jun 2001 14:38:33 +0200
+
+base-files (2.2.8) unstable; urgency=low
+
+ * Made /etc/debian_version a `conffile' (Closes: #81249). To prevent
+ unneeded dpkg prompting, this file is overwritten in the preinst
+ if upgrading from a base-files release previous to 2.2.6
+ (thanks to Joey Hess for suggesting this solution).
+
+ -- Santiago Vila <sanvila@debian.org> Sat, 17 Mar 2001 19:33:22 +0100
+
+base-files (2.2.7) unstable; urgency=low
+
+ * The file /etc/motd is no longer a conffile. Instead, it will be updated
+ if its md5sum (minus its first two lines) matches the one in a list of
+ md5sums of previous Debian releases. This will reduce dpkg prompting
+ on upgrades (Closes: #71083).
+
+ -- Santiago Vila <sanvila@debian.org> Mon, 12 Mar 2001 20:23:06 +0100
+
+base-files (2.2.6) unstable; urgency=medium
+
+ * Use "testing/unstable" instead of "2.2" for the distribution number.
+ It seems everybody prefers to see something else other than "2.2".
+
+ -- Santiago Vila <sanvila@debian.org> Sun, 31 Dec 2000 11:41:55 +0100
+
+base-files (2.2.5) unstable; urgency=low
+
+ * Modified debian_version, issue and issue.net in /etc so that they
+ read "2.2" again, since this is the last Debian *stable* release so far.
+ Since packages in `unstable' are now automatically moved to `testing',
+ a codename in /etc/debian_version will never be "right" for everybody, so
+ the only sensible thing to do here is to wait until a new release number
+ has been officially decided (Closes: #80784).
+
+ -- Santiago Vila <sanvila@debian.org> Sat, 30 Dec 2000 20:40:05 +0100
+
+base-files (2.2.4) unstable; urgency=low
+
+ * Restored LGPL -> LGPL-2.1 symlink, which was mistakenly removed
+ in base-files_2.2.1 (Bug #75949).
+
+ -- Santiago Vila <sanvila@debian.org> Tue, 7 Nov 2000 11:21:54 +0100
+
+base-files (2.2.3) unstable; urgency=low
+
+ * Added /var/lib/misc, since it's required by FHS (Closes: Bug #74317).
+
+ -- Santiago Vila <sanvila@debian.org> Wed, 11 Oct 2000 20:09:48 +0200
+
+base-files (2.2.2) unstable; urgency=low
+
+ * Reduced verbosity, as suggested by Sean Perry (Closes: #70686).
+
+ -- Santiago Vila <sanvila@debian.org> Wed, 27 Sep 2000 14:05:12 +0200
+
+base-files (2.2.1) unstable; urgency=low
+
+ * Release for woody (debian_version, issue and issue.net).
+ * /etc/motd now refers to /usr/share/doc/*/copyright.
+ * Removed /usr/doc/copyright and /usr/man.
+
+ -- Santiago Vila <sanvila@debian.org> Thu, 20 Jul 2000 13:20:17 +0200
+
+base-files (2.2.0) frozen unstable; urgency=high
+
+ * The recipe in README.base does not work properly because dpkg
+ removes the conffiles listed in the status file (Bug #64734).
+ So, getting rid of base involves editing the status file.
+ To avoid mistakes, a shell script is now provided for that.
+ Thanks to Kevin Dalley <kevind@alacosta.org> for the report.
+
+ -- Santiago Vila <sanvila@ctv.es> Sat, 27 May 2000 20:27:13 +0200
+
+base-files (2.2) frozen unstable; urgency=low
+
+ * preinst and postinst: Do not deal with /dev/pts anymore.
+ * issue and issue.net: Removed the `frozen' word.
+ * Final release for potato (hopefully).
+
+ -- Santiago Vila <sanvila@ctv.es> Mon, 24 Apr 2000 14:02:44 +0200
+
+base-files (2.1.20) frozen unstable; urgency=high
+
+ * Made /var/log mode 755 and root.root (Bug #35504).
+ * Made /cdrom and /floppy mode 755 and root.root (Bug #25847).
+ * Removed /dev/pts. It made the package impossible to upgrade when
+ using devfs with Linux 2.4. libc6 is already supposed to deal
+ with /dev/pts (Bug #61408).
+ * postinst removes base.conffiles as well (otherwise, some files
+ like /etc/motd or /root/.bash_profile may disappear).
+ Thanks a lot to Mikko Oilinki for the report.
+ * Slightly improved README.base.
+
+ -- Santiago Vila <sanvila@ctv.es> Tue, 4 Apr 2000 17:31:01 +0200
+
+base-files (2.1.19) frozen unstable; urgency=low
+
+ * Removed /usr/dict (Bug #60118).
+ * Minimal handling of the old base package (Bug #32888).
+ * Removed redundant directive in /etc/inputrc (Bug #59689).
+ * Do not reference /usr/share/doc in /etc/motd yet (Bug #61116).
+
+ -- Santiago Vila <sanvila@ctv.es> Tue, 28 Mar 2000 17:51:46 +0200
+
+base-files (2.1.18) frozen unstable; urgency=low
+
+ * Handle better the /var/spool/mail-being-a-symlink case.
+ * Added /dev/pts for UNIX98-style pty handling under Linux.
+ * Added a README.FHS.
+
+ -- Santiago Vila <sanvila@ctv.es> Mon, 7 Feb 2000 18:29:00 +0100
+
+base-files (2.1.17) frozen unstable; urgency=high
+
+ * Some people has /var/spool/mail symlinked to somewhere else.
+ For this case, preinst now saves the symlink target before dpkg
+ removes it and postinst restores it.
+ * Do not fiddle with /usr/local on upgrades. From now on, users
+ will be free to remove it if they wish.
+
+ -- Santiago Vila <sanvila@ctv.es> Sat, 5 Feb 2000 20:10:17 +0100
+
+base-files (2.1.16) frozen unstable; urgency=low
+
+ * Generate default info dir file from /usr/share/base-files/info.dir.
+ * Do not generate an info dir file if one exists at /usr/share/info.
+ * Updated LGPL version 2 from ftp.gnu.org to fix a typo.
+ * Mail spool is /var/mail as per FHS (only in new installs).
+ * Acknowledge in the copyright file that the GNU Public Licenses are
+ copyrighted by the Free Software Foundation, Inc.
+
+ -- Santiago Vila <sanvila@ctv.es> Fri, 4 Feb 2000 14:26:21 +0100
+
+base-files (2.1.15) frozen unstable; urgency=low
+
+ * Removed misleading copyright notice in /etc/motd.
+ * Distribution set to "2.2" (adding `frozen' in issue and issue.net).
+ * Use DEB_HOST_GNU_SYSTEM for the architecture stuff wherever possible.
+
+ -- Santiago Vila <sanvila@ctv.es> Fri, 28 Jan 2000 14:03:25 +0100
+
+base-files (2.1.14) unstable; urgency=high
+
+ * Swap binary-arch and binary-indep targets in debian/rules, since this
+ is now Architecture: any. Thanks to Roman Hodek for the report.
+
+ -- Santiago Vila <sanvila@ctv.es> Wed, 22 Dec 1999 19:48:24 +0100
+
+base-files (2.1.13) unstable; urgency=low
+
+ * Made "Architecture: any" for /etc/motd to be os-dependant.
+ [ A binary-all-<os> scheme would simplify this ].
+ * Exclude /proc from the .deb under GNU/Hurd (reported by Marcus Brinkmann).
+ * Added `set -e' to postinst.
+ * Standards-Version: 3.1.1 (doc symlinks).
+ * Removed obsolete README. If someone still asks about /usr/spool or
+ /var/adm then a paragraph could be added to the Debian FAQ.
+ * Follow changes suggested by Branden Robinson:
+ * Removed remaining bashisms in default /root/.profile and use
+ /usr/bin/X11 for X11 binaries.
+ * Improved package description.
+ * Removed unused bin/edit in the source.
+ * Changed root test in /etc/profile to use id -u.
+
+ -- Santiago Vila <sanvila@ctv.es> Tue, 21 Dec 1999 11:53:35 +0100
+
+base-files (2.1.12) unstable; urgency=high
+
+ * Fixed Replaces field (reported a zillion times).
+ * Updated /etc/profile to use '$ ' as the shell prompt for normal
+ users and '# ' for the superuser if $BASH is not set.
+
+ -- Santiago Vila <sanvila@ctv.es> Mon, 20 Dec 1999 12:56:18 +0100
+
+base-files (2.1.11) unstable; urgency=low
+
+ * Include /etc/inputrc and /etc/profile from readline and bash,
+ as suggested by Matthias Klose.
+
+ -- Santiago Vila <sanvila@ctv.es> Fri, 17 Dec 1999 14:36:23 +0100
+
+base-files (2.1.10) unstable; urgency=low
+
+ * Create /var/log/lastlog as root.utmp, mode 664.
+ * Removed Linuxisms from /etc/motd.
+ * Updated GPL from ftp.gnu.org to be Y2K-compliant.
+
+ -- Santiago Vila <sanvila@ctv.es> Tue, 21 Sep 1999 12:18:57 +0200
+
+base-files (2.1.9) unstable; urgency=low
+
+ * Removed the advertising clause from BSD license (Bug #43347).
+ Reason: ftp://ftp.cs.berkeley.edu/ucb/4bsd/README.Impt.License.Change
+ Thanks to J.H.M. Dassen for the report.
+
+ -- Santiago Vila <sanvila@ctv.es> Thu, 26 Aug 1999 14:04:51 +0200
+
+base-files (2.1.8) unstable; urgency=low
+
+ * Added base-passwd (>= 2.0.3.4) to the Depends field.
+ * utmp and wtmp are now root.utmp and mode 664 (Bug #41569).
+ * Updated extended description regarding the common licenses.
+
+ -- Santiago Vila <sanvila@ctv.es> Tue, 27 Jul 1999 14:03:23 +0200
+
+base-files (2.1.7) unstable; urgency=low
+
+ * LGPL is now the Lesser Gnu Public License (Bug #40759).
+ For now, the old version is renamed to "LGPL-2".
+ * Changed compatibility symlink /usr/doc/copyright/LGPL so that it
+ points to the old version.
+ * Moved docs to /usr/share/doc/base-files.
+ * Changed default /etc/motd so that it refers both to /usr/doc/*/copyright
+ and /usr/share/doc/*/copyright.
+
+ -- Santiago Vila <sanvila@ctv.es> Fri, 16 Jul 1999 19:45:09 +0200
+
+base-files (2.1.6) unstable; urgency=low
+
+ * preinst: Do not fiddle with /etc/issue.net anymore.
+ * Changed the way /cdrom, /floppy and /initrd are handled.
+ These directories will now be created by postinst in the initial install.
+ This is a compromise after discussing in debian-policy about Bug #35928.
+ It will save people who like them the work of creating them after
+ installing a new system, and it will save people who dislike them the
+ work of removing them every time base-files is upgraded.
+ Since these directories are only a convenience for the user, who
+ is free to use them or not, the spirit of FHS is preserved.
+ * preinst and postinst: Following the principle of least surprise,
+ added code so that existing directories are not removed when upgrading
+ this package from previous releases.
+
+ -- Santiago Vila <sanvila@ctv.es> Tue, 20 Apr 1999 15:39:36 +0200
+
+base-files (2.1.5) unstable; urgency=low
+
+ * When /usr/local does not exist, create also /usr/local/src.
+ * Added /var/cache, /var/state and /var/state/misc.
+ * Added /usr/share/info and /usr/share/man.
+
+ -- Santiago Vila <sanvila@ctv.es> Wed, 7 Apr 1999 17:34:13 +0200
+
+base-files (2.1.4) unstable; urgency=low
+
+ * Removed the utmpx/wtmpx stuff from postinst.
+ * Updated the Artistic License (Bug #34685).
+
+ -- Santiago Vila <sanvila@ctv.es> Thu, 18 Mar 1999 17:14:51 +0100
+
+base-files (2.1.3) unstable; urgency=low
+
+ * Use `nis' for the `netgroup:' entry in /etc/nsswitch.conf (Bug #33091).
+
+ -- Santiago Vila <sanvila@ctv.es> Thu, 11 Mar 1999 17:50:22 +0100
+
+base-files (2.1.2) unstable; urgency=high
+
+ * Fixed a typo in postinst (Bug #34094).
+
+ -- Santiago Vila <sanvila@ctv.es> Thu, 4 Mar 1999 15:57:24 +0100
+
+base-files (2.1.1) unstable; urgency=low
+
+ * postinst: touch /var/log/wtmpx and /var/run/utmpx to support
+ the utmpd in glibc 2.1 (reported by Joel Klecker).
+ * Replaced "Debian Linux" by just "Debian" in the default info dir file.
+ * Updated for potato.
+
+ -- Santiago Vila <sanvila@ctv.es> Mon, 1 Mar 1999 18:47:23 +0100
+
+base-files (2.1.0) frozen unstable; urgency=medium
+
+ * Updated copyright date in /etc/motd (Bug #32646).
+
+ -- Santiago Vila <sanvila@ctv.es> Mon, 1 Feb 1999 13:40:07 +0100
+
+base-files (2.1) frozen unstable; urgency=low
+
+ * debian_version, issue and issue.net: `slink' replaced by `2.1'.
+ * Added /usr/share/dict, since there are already some packages
+ using it.
+
+ -- Santiago Vila <sanvila@ctv.es> Sun, 20 Dec 1998 17:40:56 +0100
+
+base-files (2.0.3) unstable; urgency=low
+
+ * Moved common licenses to /usr/share/common-licenses.
+ * Default dotfiles for root are now installed only the first time.
+ * /usr/local and subdirectories are now created mode 2775
+ and root.staff, according to policy.
+ * Added /usr/local/share.
+
+ -- Santiago Vila <sanvila@ctv.es> Mon, 26 Oct 1998 19:05:04 +0100
+
+base-files (2.0.2) unstable; urgency=low
+
+ * If it does not exist, now a default /root/.profile file is installed,
+ not a /root/.bash_profile file, for slightly better POSIX compliance.
+
+ -- Santiago Vila <sanvila@ctv.es> Wed, 14 Oct 1998 18:29:52 +0200
+
+base-files (2.0.1) unstable; urgency=low
+
+ * Added (commented out) some more alias for root's default .bashrc.
+ * issue, issue.net and debian_version: updated for slink (Bug #26325).
+ * Changed the way /etc/adjtime is handled (Bug #23255).
+ * Removed usr/man/man8 from directory-list.
+
+ -- Santiago Vila <sanvila@ctv.es> Sun, 6 Sep 1998 16:58:50 +0200
+
+base-files (2.0) frozen unstable; urgency=medium
+
+ * Removed the "frozen" word from /etc/debian_version.
+ * Removed the use of the ROOT variable in preinst and postinst for two
+ reasons: a) It is no longer needed, since the base system is built
+ by using dpkg's --root=dir option, which works in a chrooted environment;
+ and b) Unexpected results would be obtained if user root had actually
+ defined a variable named ROOT.
+
+ -- Santiago Vila <sanvila@ctv.es> Sun, 24 May 1998 13:33:25 +0200
+
+base-files (1.9) frozen unstable; urgency=low
+
+ * Default prompt for root is now '\h:\w\$ '.
+ * issue and issue.net: Removed the "frozen" word.
+ * Added a README explaining the /usr/spool symlink removal.
+ * nsswitch.conf: Use "compat" instead of "db files" for passwd, group
+ and shadow (Bug #10896).
+
+ -- Santiago Vila <sanvila@ctv.es> Sun, 26 Apr 1998 14:18:43 +0200
+
+base-files (1.8) unstable; urgency=low
+
+ * Added /usr/share/misc.
+ * Removed /var/local/usr.
+ * Distribution set to "frozen".
+ * Moved root's default dotfiles to /usr/share/base-files.
+
+ -- Santiago Vila <sanvila@ctv.es> Sun, 15 Mar 1998 13:05:54 +0100
+
+base-files (1.7) unstable; urgency=low
+
+ * Added "Depends: awk", so that awk is a "virtual essential package".
+ * /root/.bash_profile and /root/.bashrc are not `conffiles' anymore.
+ Instead, they are created from /root/.bash_profile.dpkg-dist and
+ /root/.bashrc.dpkg-dist if they do not exist.
+ * Default /root/.bash_profile sources /root/.bashrc.
+ * PS1 and umask are now set only once in default /root/.bashrc.
+ * Replaced /usr/bin/X11 by /usr/X11R6/bin in root's PATH.
+ * Manpage hierarchy is no longer created under /usr/local/man.
+ * Added a small comment in /etc/nsswitch.conf saying where
+ to find documentation about this file (libc6-doc package).
+ * Added some aliases for colorized `ls' commented out in .bashrc, so
+ that the user will simply have to uncomment them.
+
+ -- Santiago Vila <sanvila@ctv.es> Mon, 23 Feb 1998 18:42:28 +0100
+
+base-files (1.6.1) unstable; urgency=low
+
+ * Removed "Depends: awk". It has not been discussed yet.
+
+ -- Santiago Vila <sanvila@ctv.es> Sat, 14 Feb 1998 19:16:29 +0100
+
+base-files (1.6) unstable; urgency=low
+
+ * Default prompt for root is now PS1='\u@\h:\w\$ ', which may not
+ please everybody and/or generate a flame war, but at least is better
+ than nothing (previosuly it was PS1='\h\$ ').
+ * Added two blank lines to /etc/motd to keep Copyright notice from being
+ overwritten by /etc/init.d/bootmisc.sh.
+ * Removed compatibility symlinks /usr/spool, /usr/tmp, /usr/adm
+ and /var/adm. Now is when we have to see if something breaks.
+ * Removed /usr/lib/locale. Added /usr/share and /usr/include.
+ * Removed the /bin/edit script.
+
+ -- Santiago Vila <sanvila@ctv.es> Sat, 7 Feb 1998 13:30:46 +0100
+
+base-files (1.5) unstable; urgency=medium
+
+ * Removed "dns" from the "networks:" line in /etc/nsswitch.conf.
+
+ -- Santiago Vila <sanvila@ctv.es> Tue, 3 Feb 1998 21:32:52 +0100
+
+base-files (1.4) unstable; urgency=medium
+
+ * Uncompressed copyright files.
+ * debian/rules: package does no longer need to be built by root.
+ Changed `prototype' directory by an install -d `cat directories`,
+ and then set special permissions and ownerships directly.
+ * Added "Depends: awk", so that awk is a "virtual essential package".
+ * Updated GPL and LGPL. FSF's address changed some time ago to:
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ * /bin/edit is now #!/bin/sh.
+ * /etc/debian_version, /etc/issue and /etc/issue.net now read
+ "2.0 (unstable)" instead of "1.3".
+ * /etc/issue now reads "GNU/Linux" (not "GNU Linux").
+ * Updated copyright year for /etc/motd.
+ * Added an extended description.
+ * Removed debstd dependency.
+ * New maintainer.
+
+ -- Santiago Vila <sanvila@ctv.es> Mon, 2 Feb 1998 21:46:29 +0100
+
+base-files (1.3.5) frozen unstable; urgency=low
+
+ * Synchronization release to make sure my latest version is in 1.3 .
+ This is my last release before going on vacation, if anything
+ needs to be fixed in this package for 1.3, someone else must
+ fix it.
+
+ -- Bruce Perens <bruce@pixar.com> Wed, 30 Apr 1997 12:36:49 -0700
+
+base-files (1.3.4) frozen unstable; urgency=low
+
+ * /etc/issue had the wrong escapes.
+
+ -- Bruce Perens <bruce@pixar.com> Sun, 20 Apr 1997 22:50:21 -0700
+
+base-files (1.3.3) frozen unstable; urgency=low
+
+ * Add "frozen" to the distribution.
+
+ -- Bruce Perens <bruce@pixar.com> Fri, 18 Apr 1997 22:46:18 -0700
+
+base-files (1.3.2) unstable; urgency=low
+
+ * Remove /etc/issue.net -> /etc/issue symlink in the preinst if it
+ exists.
+
+ -- Bruce Perens <bruce@pixar.com> Fri, 18 Apr 1997 15:22:06 -0700
+
+base-files (1.3.1) unstable; urgency=low
+
+ * Install nsswitch.cnf, required for libc 6 name service .
+
+ -- Bruce Perens <bruce@pixar.com> Fri, 18 Apr 1997 15:09:31 -0700
+
+base-files (1.3.0) unstable; urgency=low
+
+ * Edit for Debian 1.3
+
+ -- Bruce Perens <bruce@pixar.com> Fri, 18 Apr 1997 13:51:19 -0800
+
+base-files (1.2.4) unstable; urgency=low
+
+ * Add "Provides: base", and "Requires: base-passwd, makedev".
+
+ -- Bruce Perens <bruce@pixar.com> Sun, 17 Dec 1996 10:48:41 -0800
+
+base-files (1.2.0-4) unstable; urgency=low
+
+ * Symlink /var/run/wtmp -> /var/log/wtmp. Create utmp and wtmp if they
+ don't exist, but don't clobber them if they do exist.
+
+ -- Bruce Perens <bruce@pixar.com> Sun, 1 Dec 1996 10:48:41 -0800
+
+base-files (1.2.0-3) unstable; urgency=low
+
+ * Wrong modes on /tmp. Set explicit umask 0 before copying files.
+
+ -- Bruce Perens <bruce@pixar.com> Tue, 26 Nov 1996 13:07:05 -0800
+
+base-files (1.2.0-2) unstable; urgency=low
+
+ * Don't clobber utmp and wtmp. Take spurious "Inc." off of SPI name,
+ California corporations aren't required to say "Inc." at the end of
+ their names.
+
+ -- Bruce Perens <bruce@pixar.com> Sat, 23 Nov 1996 12:16:28 -0800
+
+base-files (1.2.0-1) unstable; urgency=low
+
+ * Initial Release.
+ * Removed devices, passwd, and group. Devices are made by the C MAKEDEV at
+ run-time. /etc/MAKEDEV is installed by the "makedev" package.
+ /etc/passwd and /etc/group are installed by the "base-passwd" package.
+
+ -- Bruce Perens <bruce@pixar.com> Thu, 14 Nov 1996 21:02:09 -0800
diff --git a/debian/conffiles b/debian/conffiles
new file mode 100644
index 0000000..9d31221
--- /dev/null
+++ b/debian/conffiles
@@ -0,0 +1,5 @@
+/etc/debian_version
+/etc/dpkg/origins/debian
+/etc/host.conf
+/etc/issue
+/etc/issue.net
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b5452b9
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: base-files
+Section: admin
+Priority: required
+Maintainer: Santiago Vila <sanvila@debian.org>
+Standards-Version: 3.9.1
+
+Package: base-files
+Provides: base
+Architecture: any
+Pre-Depends: awk
+Essential: yes
+Priority: required
+Replaces: base, miscutils, dpkg (<= 1.15.0)
+Breaks: initscripts (<< 2.88dsf-13.3)
+Description: Debian base system miscellaneous files
+ This package contains the basic filesystem hierarchy of a Debian system, and
+ several important miscellaneous files, such as /etc/debian_version,
+ /etc/host.conf, /etc/issue, /etc/motd, /etc/profile, /etc/nsswitch.conf,
+ and others, and the text of several common licenses in use on Debian systems.
diff --git a/debian/copyright.in b/debian/copyright.in
new file mode 100644
index 0000000..ba7adc9
--- /dev/null
+++ b/debian/copyright.in
@@ -0,0 +1,25 @@
+This is the Debian #OSNAME# prepackaged version of the Debian Base System
+Miscellaneous files. These files were written by Ian Murdock
+<imurdock@debian.org> and Bruce Perens <bruce@pixar.com>.
+
+This package was first put together by Bruce Perens <Bruce@Pixar.com>,
+from his own sources.
+
+The GNU Public Licenses in /usr/share/common-licenses were taken from
+ftp.gnu.org and are copyrighted by the Free Software Foundation, Inc.
+
+
+Copyright (C) 1995-2011 Software in the Public Interest.
+
+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.
+
+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.
+
+On Debian #OSNAME# systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
diff --git a/debian/current-md5sums b/debian/current-md5sums
new file mode 100755
index 0000000..5236dc4
--- /dev/null
+++ b/debian/current-md5sums
@@ -0,0 +1,3 @@
+#!/bin/sh
+sed -e "s&#OSNAME#&GNU/Linux&" etc/motd | awk 'NR > 2' | md5sum
+sed -e "s&#OSNAME#&GNU/Hurd&" etc/motd | awk 'NR > 2' | md5sum
diff --git a/debian/directory-list b/debian/directory-list
new file mode 100644
index 0000000..862be7d
--- /dev/null
+++ b/debian/directory-list
@@ -0,0 +1,40 @@
+bin
+boot
+dev
+etc
+etc/default
+etc/profile.d
+etc/skel
+home
+lib
+mnt
+proc
+root
+run
+sbin
+tmp
+usr
+usr/bin
+usr/games
+usr/include
+usr/lib
+usr/sbin
+usr/share
+usr/share/common-licenses
+usr/share/dict
+usr/share/info
+usr/share/man
+usr/share/misc
+usr/src
+var
+var/backups
+var/cache
+var/lib
+var/lib/dpkg
+var/lib/misc
+var/local
+var/lock
+var/log
+var/run
+var/spool
+var/tmp
diff --git a/debian/postinst.in b/debian/postinst.in
new file mode 100644
index 0000000..b5dad41
--- /dev/null
+++ b/debian/postinst.in
@@ -0,0 +1,118 @@
+#!/bin/sh
+set -e
+
+install_local_dir() {
+ if [ ! -d $1 ]; then
+ mkdir -p $1
+ fi
+ chown root:staff $1 2> /dev/null || true
+ chmod 2775 $1 2> /dev/null || true
+}
+
+install_from_default() {
+ if [ ! -f $2 ]; then
+ cp -p $1 $2
+ fi
+}
+
+install_directory() {
+ if [ ! -d /$1 ]; then
+ mkdir /$1
+ chown root:$3 /$1
+ chmod $2 /$1
+ fi
+}
+
+migrate_directory() {
+ if [ ! -L $1 ]; then
+ rmdir $1
+ ln -s $2 $1
+ fi
+}
+
+if [ ! -e /etc/dpkg/origins/default ]; then
+ if [ -e /etc/dpkg/origins/#VENDORFILE# ]; then
+ ln -sf #VENDORFILE# /etc/dpkg/origins/default
+ fi
+fi
+
+if [ "$1" = "configure" ] && [ "$2" = "" ]; then
+ install_from_default /usr/share/base-files/nsswitch.conf /etc/nsswitch.conf
+ install_from_default /usr/share/base-files/dot.profile /root/.profile
+ install_from_default /usr/share/base-files/dot.bashrc /root/.bashrc
+ install_from_default /usr/share/base-files/profile /etc/profile
+ install_from_default /usr/share/base-files/motd /etc/motd
+ install_directory srv 755 root
+ install_directory opt 755 root
+ install_directory etc/opt 755 root
+ install_directory var/opt 755 root
+ install_directory media 755 root
+ install_directory var/mail 2775 mail
+ if [ ! -L /var/spool/mail ]; then
+ ln -s ../mail /var/spool/mail
+ fi
+ install_directory run/lock 1777 root
+ migrate_directory /var/run /run
+ migrate_directory /var/lock /run/lock
+
+ install_local_dir /usr/local
+ install_local_dir /usr/local/share
+ install_local_dir /usr/local/share/man
+ install_local_dir /usr/local/bin
+ install_local_dir /usr/local/games
+ install_local_dir /usr/local/lib
+ install_local_dir /usr/local/include
+ install_local_dir /usr/local/sbin
+ install_local_dir /usr/local/src
+ install_local_dir /usr/local/etc
+ ln -sf share/man /usr/local/man
+
+ if [ ! -f /var/log/wtmp ]; then
+ echo -n>/var/log/wtmp
+ fi
+ if [ ! -f /var/log/btmp ]; then
+ echo -n>/var/log/btmp
+ fi
+ if [ ! -f /var/log/lastlog ]; then
+ echo -n>/var/log/lastlog
+ fi
+ chown root:utmp /var/log/wtmp /var/log/btmp /var/log/lastlog
+ chmod 664 /var/log/wtmp /var/log/lastlog
+ chmod 660 /var/log/btmp
+ if [ ! -f /var/run/utmp ]; then
+ echo -n>/var/run/utmp
+ fi
+ chown root:utmp /var/run/utmp
+ chmod 664 /var/run/utmp
+fi
+
+if [ ! -d /var/lib/dpkg ]; then
+ mkdir -m 755 -p /var/lib/dpkg
+ chown root:root /var/lib/dpkg
+fi
+if [ ! -f /var/lib/dpkg/status ]; then
+ echo > /var/lib/dpkg/status
+ chmod 644 /var/lib/dpkg/status
+ chown root:root /var/lib/dpkg/status
+fi
+
+if [ ! -f /usr/info/dir ] && [ ! -f /usr/share/info/dir ]; then
+ install_from_default /usr/share/base-files/info.dir /usr/share/info/dir
+ chmod 644 /usr/share/info/dir
+ chown root:root /usr/share/info/dir
+fi
+
+if [ "$1" = "configure" ] && [ "$2" != "" ]; then
+ if [ -f /etc/motd ]; then
+ oldmd=`awk 'NR > 2' /etc/motd | md5sum | awk '{print $1}'`
+ newmd=`awk 'NR > 2' /usr/share/base-files/motd | md5sum | awk '{print $1}'`
+ if [ "$oldmd" != "$newmd" ]; then
+ if grep -q "$oldmd" /usr/share/base-files/motd.md5sums; then
+ awk 'NR <= 2' /etc/motd > /etc/motd.new
+ awk 'NR > 2' /usr/share/base-files/motd >> /etc/motd.new
+ mv /etc/motd /etc/motd.old
+ mv /etc/motd.new /etc/motd
+ fi
+ fi
+ fi
+fi
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..3848b05
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,75 @@
+#!/usr/bin/make -f
+
+package = base-files
+docdir = debian/tmp/usr/share/doc/$(package)
+
+OSNAME = "GNU/`uname | sed -e 's/GNU\///'`"
+ifeq ($(DEB_HOST_GNU_SYSTEM),linux)
+ OSNAME=GNU/Linux
+endif
+ifeq ($(DEB_HOST_GNU_SYSTEM),gnu)
+ OSNAME=GNU/Hurd
+endif
+
+VENDORFILE = debian
+
+VERSION = $(shell cat etc/debian_version)
+
+build:
+ touch build
+
+clean:
+ rm -f build
+ rm -f `find . -name "*~"`
+ rm -rf debian/tmp debian/files* core debian/substvars
+
+binary-arch: build
+ rm -rf debian/tmp
+ install -d debian/tmp/DEBIAN $(docdir) debian/tmp/etc/dpkg/origins
+ cp -a origins/* debian/tmp/etc/dpkg/origins
+ cd debian/tmp && install -d usr/share/$(package)
+ install -p -m 644 debian/changelog debian/README \
+ debian/README.FHS $(docdir)
+ cat debian/copyright.in | sed -e "s&#OSNAME#&$(OSNAME)&g" \
+ > $(docdir)/copyright
+ sed -e "s/#VENDORFILE#/$(VENDORFILE)/g" debian/postinst.in \
+ > debian/tmp/DEBIAN/postinst
+ chmod 755 debian/tmp/DEBIAN/postinst
+ cd debian && install -m 644 conffiles tmp/DEBIAN
+ cd debian/tmp && install -d `cat ../directory-list`
+ install -p -m 644 share/* debian/tmp/usr/share/base-files
+ install -p -m 644 licenses/* debian/tmp/usr/share/common-licenses
+ ln -s GFDL-1.3 debian/tmp/usr/share/common-licenses/GFDL
+ ln -s LGPL-3 debian/tmp/usr/share/common-licenses/LGPL
+ ln -s GPL-3 debian/tmp/usr/share/common-licenses/GPL
+ ln -s README $(docdir)/FAQ
+ install -p -m 644 etc/* debian/tmp/etc
+ rm -f debian/tmp/etc/motd
+ifeq ($(DEB_HOST_GNU_SYSTEM),gnu)
+ rmdir debian/tmp/proc
+endif
+ sed -e "s&#OSNAME#&$(OSNAME)&g" etc/motd \
+ > debian/tmp/usr/share/base-files/motd
+ sed -e "s&#OSNAME#&$(OSNAME)&g" share/info.dir \
+ > debian/tmp/usr/share/base-files/info.dir
+ sed -e "s&#OSNAME#&$(OSNAME)&g" etc/issue \
+ > debian/tmp/etc/issue
+ sed -e "s&#OSNAME#&$(OSNAME)&g" etc/issue.net \
+ > debian/tmp/etc/issue.net
+ gzip -9 $(docdir)/changelog
+ cd debian/tmp && \
+ md5sum `find usr -type f` > DEBIAN/md5sums
+ chown -R root:root debian/tmp
+ cd debian/tmp && chown root:staff var/local
+ cd debian/tmp && chmod 755 `find . -type d`
+ cd debian/tmp && chmod 1777 `cat ../1777-dirs`
+ cd debian/tmp && chmod 2775 `cat ../2775-dirs`
+ cd debian/tmp && chmod 700 root
+ dpkg-gencontrol
+ dpkg --build debian/tmp ..
+
+binary-indep: build
+
+binary: binary-indep binary-arch
+
+.PHONY: binary binary-arch binary-indep clean
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)