From c599011a8e23db2bd0fd26c2810d0132b008d52b Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Wed, 24 Jul 2024 16:41:05 +0300 Subject: [PATCH] port to PikaOS 4 --- .github/release-canary-v3 | 2 +- .github/workflows/release.yml | 46 - .github/workflows/release_i386.yml | 46 - .../debian/1777-dirs | 0 .../debian/2775-dirs | 0 base-files-not-yet/debian/NEWS | 9 + .../debian/README | 15 +- .../debian/README.FHS | 0 .../debian/base-files.dirs | 7 - .../debian/base-files.docs | 0 .../debian/base-files.links | 2 +- .../debian/base-files.lintian-overrides | 35 + base-files-not-yet/debian/changelog | 1598 +++++++++++++++++ .../debian/check-md5sum-etc | 0 base-files-not-yet/debian/clean | 1 + base-files-not-yet/debian/control | 23 + base-files-not-yet/debian/copyright | 37 + base-files-not-yet/debian/gbp.conf | 4 + .../debian/postinst | 48 +- base-files-not-yet/debian/postrm | 11 + base-files-not-yet/debian/preinst | 32 + .../debian/rules | 49 +- .../debian/source/format | 0 base-files-not-yet/debian/timestamps | 21 + base-files-not-yet/etc/debian_version | 1 + base-files-not-yet/etc/host.conf | 1 + base-files-not-yet/etc/issue | 2 + base-files-not-yet/etc/issue.net | 1 + base-files-not-yet/etc/os-release | 13 + .../licenses/Apache-2.0 | 0 .../licenses/Artistic | 0 .../licenses/BSD | 0 .../licenses/CC0-1.0 | 0 .../licenses/GFDL-1.2 | 2 +- .../licenses/GFDL-1.3 | 22 +- .../licenses/GPL-1 | 0 .../licenses/GPL-2 | 0 .../licenses/GPL-3 | 8 +- .../licenses/LGPL-2 | 2 +- .../licenses/LGPL-2.1 | 0 .../licenses/LGPL-3 | 2 +- .../licenses/MPL-1.1 | 0 .../licenses/MPL-2.0 | 0 base-files-not-yet/motd/10-uname | 2 + base-files-not-yet/origins/pika | 3 + base-files-not-yet/share/dot.bashrc | 19 + .../share/dot.profile | 0 .../share/dot.profile.md5sums | 0 .../share/info.dir | 2 +- {basefiles => base-files-not-yet}/share/motd | 0 .../share/profile | 5 +- base-files-not-yet/share/profile.md5sums | 16 + .../share/staff-group-for-usr-local | 0 basefiles/debian/base-files.lintian-overrides | 22 - basefiles/debian/base-files.maintscript | 1 - basefiles/debian/changelog | 36 - basefiles/debian/clean | 3 - basefiles/debian/control | 36 - basefiles/debian/copyright.in | 28 - basefiles/debian/current-md5sums-obsolete | 3 - basefiles/debian/lsb-release-udeb.install | 1 - basefiles/debian/motd-news | 19 - basefiles/debian/motd-news-config.install | 1 - .../debian/motd-news-config.lintian-overrides | 5 - basefiles/debian/motd-news-config.postinst | 55 - basefiles/debian/motd-news.service | 8 - basefiles/debian/motd-news.timer | 11 - basefiles/etc/debian_version | 1 - basefiles/etc/host.conf | 3 - basefiles/etc/issue | 2 - basefiles/etc/issue.net | 1 - basefiles/etc/legal | 5 - basefiles/etc/lsb-release | 4 - basefiles/etc/os-release | 9 - basefiles/locale-check.c | 80 - basefiles/logos/ubuntu-logo-text-dark.png | 1 - basefiles/logos/ubuntu-logo-text-dark.svg | 1 - basefiles/logos/ubuntu-logo-text.png | 1 - basefiles/logos/ubuntu-logo-text.svg | 1 - basefiles/logos/ubuntu-logo.png | 1 - basefiles/logos/ubuntu-logo.svg | 1 - basefiles/motd/00-header | 10 - basefiles/motd/10-help-text | 5 - basefiles/motd/50-motd-news | 1 - basefiles/origins/debian | 3 - basefiles/origins/pika | 2 - basefiles/origins/ubuntu | 4 - basefiles/profile.d/01-locale-fix.sh | 2 - basefiles/share/dot.bashrc | 99 - basefiles/share/networks | 2 - basefiles/share/profile.md5sums | 12 - main.sh | 21 +- main32.sh | 19 - pika-build-config/amd64-v3.sh | 9 + pika-build-config/i386.sh | 4 + release.sh | 7 +- 96 files changed, 1955 insertions(+), 672 deletions(-) delete mode 100644 .github/workflows/release.yml delete mode 100644 .github/workflows/release_i386.yml rename {basefiles => base-files-not-yet}/debian/1777-dirs (100%) rename {basefiles => base-files-not-yet}/debian/2775-dirs (100%) create mode 100644 base-files-not-yet/debian/NEWS rename {basefiles => base-files-not-yet}/debian/README (87%) rename {basefiles => base-files-not-yet}/debian/README.FHS (100%) rename {basefiles => base-files-not-yet}/debian/base-files.dirs (87%) rename {basefiles => base-files-not-yet}/debian/base-files.docs (100%) rename {basefiles => base-files-not-yet}/debian/base-files.links (75%) create mode 100644 base-files-not-yet/debian/base-files.lintian-overrides create mode 100644 base-files-not-yet/debian/changelog rename {basefiles => base-files-not-yet}/debian/check-md5sum-etc (100%) create mode 100644 base-files-not-yet/debian/clean create mode 100644 base-files-not-yet/debian/control create mode 100644 base-files-not-yet/debian/copyright create mode 100644 base-files-not-yet/debian/gbp.conf rename basefiles/debian/postinst.in => base-files-not-yet/debian/postinst (70%) create mode 100644 base-files-not-yet/debian/postrm create mode 100644 base-files-not-yet/debian/preinst rename {basefiles => base-files-not-yet}/debian/rules (59%) rename {basefiles => base-files-not-yet}/debian/source/format (100%) create mode 100644 base-files-not-yet/debian/timestamps create mode 100644 base-files-not-yet/etc/debian_version create mode 100644 base-files-not-yet/etc/host.conf create mode 100644 base-files-not-yet/etc/issue create mode 100644 base-files-not-yet/etc/issue.net create mode 100644 base-files-not-yet/etc/os-release rename {basefiles => base-files-not-yet}/licenses/Apache-2.0 (100%) rename {basefiles => base-files-not-yet}/licenses/Artistic (100%) rename {basefiles => base-files-not-yet}/licenses/BSD (100%) rename {basefiles => base-files-not-yet}/licenses/CC0-1.0 (100%) rename {basefiles => base-files-not-yet}/licenses/GFDL-1.2 (99%) rename {basefiles => base-files-not-yet}/licenses/GFDL-1.3 (99%) rename {basefiles => base-files-not-yet}/licenses/GPL-1 (100%) rename {basefiles => base-files-not-yet}/licenses/GPL-2 (100%) rename {basefiles => base-files-not-yet}/licenses/GPL-3 (99%) rename {basefiles => base-files-not-yet}/licenses/LGPL-2 (99%) rename {basefiles => base-files-not-yet}/licenses/LGPL-2.1 (100%) rename {basefiles => base-files-not-yet}/licenses/LGPL-3 (99%) rename {basefiles => base-files-not-yet}/licenses/MPL-1.1 (100%) rename {basefiles => base-files-not-yet}/licenses/MPL-2.0 (100%) create mode 100644 base-files-not-yet/motd/10-uname create mode 100644 base-files-not-yet/origins/pika create mode 100644 base-files-not-yet/share/dot.bashrc rename {basefiles => base-files-not-yet}/share/dot.profile (100%) rename {basefiles => base-files-not-yet}/share/dot.profile.md5sums (100%) rename {basefiles => base-files-not-yet}/share/info.dir (91%) rename {basefiles => base-files-not-yet}/share/motd (100%) rename {basefiles => base-files-not-yet}/share/profile (69%) create mode 100644 base-files-not-yet/share/profile.md5sums rename {basefiles => base-files-not-yet}/share/staff-group-for-usr-local (100%) delete mode 100644 basefiles/debian/base-files.lintian-overrides delete mode 100644 basefiles/debian/base-files.maintscript delete mode 100644 basefiles/debian/changelog delete mode 100644 basefiles/debian/clean delete mode 100644 basefiles/debian/control delete mode 100644 basefiles/debian/copyright.in delete mode 100755 basefiles/debian/current-md5sums-obsolete delete mode 100644 basefiles/debian/lsb-release-udeb.install delete mode 100644 basefiles/debian/motd-news delete mode 100644 basefiles/debian/motd-news-config.install delete mode 100644 basefiles/debian/motd-news-config.lintian-overrides delete mode 100644 basefiles/debian/motd-news-config.postinst delete mode 100644 basefiles/debian/motd-news.service delete mode 100644 basefiles/debian/motd-news.timer delete mode 100644 basefiles/etc/debian_version delete mode 100644 basefiles/etc/host.conf delete mode 100644 basefiles/etc/issue delete mode 100644 basefiles/etc/issue.net delete mode 100644 basefiles/etc/legal delete mode 100644 basefiles/etc/lsb-release delete mode 100644 basefiles/etc/os-release delete mode 100644 basefiles/locale-check.c delete mode 120000 basefiles/logos/ubuntu-logo-text-dark.png delete mode 120000 basefiles/logos/ubuntu-logo-text-dark.svg delete mode 120000 basefiles/logos/ubuntu-logo-text.png delete mode 120000 basefiles/logos/ubuntu-logo-text.svg delete mode 120000 basefiles/logos/ubuntu-logo.png delete mode 120000 basefiles/logos/ubuntu-logo.svg delete mode 100755 basefiles/motd/00-header delete mode 100755 basefiles/motd/10-help-text delete mode 100755 basefiles/motd/50-motd-news delete mode 100644 basefiles/origins/debian delete mode 100644 basefiles/origins/pika delete mode 100644 basefiles/origins/ubuntu delete mode 100644 basefiles/profile.d/01-locale-fix.sh delete mode 100644 basefiles/share/dot.bashrc delete mode 100644 basefiles/share/networks delete mode 100644 basefiles/share/profile.md5sums delete mode 100755 main32.sh create mode 100755 pika-build-config/amd64-v3.sh create mode 100755 pika-build-config/i386.sh diff --git a/.github/release-canary-v3 b/.github/release-canary-v3 index 56a6051..0cfbf08 100644 --- a/.github/release-canary-v3 +++ b/.github/release-canary-v3 @@ -1 +1 @@ -1 \ No newline at end of file +2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index af7758f..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: PikaOS Package Release - -on: - workflow_dispatch - -jobs: - build: - runs-on: self-hosted - container: - image: ghcr.io/pikaos-linux/pika-package-container:latest - volumes: - - /proc:/proc - options: --privileged -it - - steps: - - uses: actions/checkout@v3 - - - name: Import GPG key - id: import_gpg - uses: crazy-max/ghaction-import-gpg@v5 - with: - gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} - passphrase: ${{ secrets.PASSPHRASE }} - - - name: Install SSH key - uses: shimataro/ssh-key-action@v2 - with: - key: ${{ secrets.SSH_KEY }} - name: id_rsa - known_hosts: ${{ secrets.KNOWN_HOSTS }} - if_key_exists: replace - - - name: Build Package - run: ./main.sh - - - name: Release Package - run: ./release.sh - - - name: Purge cache - uses: strrife/cloudflare-chunked-purge-action@master - env: - # Zone is required by both authentication methods - CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }} - - CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }} - PURGE_URLS: ${{ vars.PURGE_URLS }} diff --git a/.github/workflows/release_i386.yml b/.github/workflows/release_i386.yml deleted file mode 100644 index effea49..0000000 --- a/.github/workflows/release_i386.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: PikaOS Package Release (i386) - -on: - workflow_dispatch - -jobs: - build: - runs-on: self-hosted - container: - image: ghcr.io/pikaos-linux/pika-i386-package-container:latest - volumes: - - /proc:/proc - options: --privileged -it - - steps: - - uses: actions/checkout@v3 - - - name: Import GPG key - id: import_gpg - uses: crazy-max/ghaction-import-gpg@v5 - with: - gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} - passphrase: ${{ secrets.PASSPHRASE }} - - - name: Install SSH key - uses: shimataro/ssh-key-action@v2 - with: - key: ${{ secrets.SSH_KEY }} - name: id_rsa - known_hosts: ${{ secrets.KNOWN_HOSTS }} - if_key_exists: replace - - - name: Build Package - run: ./main32.sh - - - name: Release Package - run: ./release.sh - - - name: Purge cache - uses: strrife/cloudflare-chunked-purge-action@master - env: - # Zone is required by both authentication methods - CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }} - - CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }} - PURGE_URLS: ${{ vars.PURGE_URLS }} diff --git a/basefiles/debian/1777-dirs b/base-files-not-yet/debian/1777-dirs similarity index 100% rename from basefiles/debian/1777-dirs rename to base-files-not-yet/debian/1777-dirs diff --git a/basefiles/debian/2775-dirs b/base-files-not-yet/debian/2775-dirs similarity index 100% rename from basefiles/debian/2775-dirs rename to base-files-not-yet/debian/2775-dirs diff --git a/base-files-not-yet/debian/NEWS b/base-files-not-yet/debian/NEWS new file mode 100644 index 0000000..285c231 --- /dev/null +++ b/base-files-not-yet/debian/NEWS @@ -0,0 +1,9 @@ +base-files (13.2) unstable; urgency=medium + + By default, snippets for Bourne and Bourne-compatible shells (*.sh) + in /etc/profile.d will only be sourced by /etc/profile if they + conform to a sensible regexp including only some ASCII characters, + as it already happens with cron entries and the like. Previously, + the behaviour was not really well defined. + + -- Santiago Vila Fri, 03 May 2024 18:04:00 +0200 diff --git a/basefiles/debian/README b/base-files-not-yet/debian/README similarity index 87% rename from basefiles/debian/README rename to base-files-not-yet/debian/README index 01570a9..9cc76c8 100644 --- a/basefiles/debian/README +++ b/base-files-not-yet/debian/README @@ -4,10 +4,10 @@ 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 "bookworm/sid". Should it not read "bookworm" or "testing"? +says "trixie/sid". Should it not read "trixie" or "testing"? Q. I upgraded my system to the unstable distribution and now my /etc/issue -says "bookworm/sid". Should it not read "sid" or "unstable"? +says "trixie/sid". Should it not read "sid" or "unstable"? A. That would be nice, but it is not possible because of the way the testing distribution works. Packages uploaded for unstable reach @@ -17,9 +17,9 @@ 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 -"bookworm/sid" (or whatever is appropriate). +"trixie/sid" (or whatever is appropriate). -Q. Why "bookworm/sid" and not "testing/unstable" as it used to be? +Q. Why "trixie/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. @@ -95,5 +95,12 @@ 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. +Q. My system (when I do "dpkg -s base-files") shows /etc/profile as +an "obsolete conffile". Is this ok? + +A. Yes. The file was handled by base-files as a conffile in the dpkg sense +in the past, so dpkg may consider the file as an obsolete conffile. +There is currently not a way to tell dpkg to unregister it as a conffile +without removing it, so the best approach for now is to do nothing about it. Santiago Vila diff --git a/basefiles/debian/README.FHS b/base-files-not-yet/debian/README.FHS similarity index 100% rename from basefiles/debian/README.FHS rename to base-files-not-yet/debian/README.FHS diff --git a/basefiles/debian/base-files.dirs b/base-files-not-yet/debian/base-files.dirs similarity index 87% rename from basefiles/debian/base-files.dirs rename to base-files-not-yet/debian/base-files.dirs index 1ff9a5f..d0769e4 100644 --- a/basefiles/debian/base-files.dirs +++ b/base-files-not-yet/debian/base-files.dirs @@ -1,4 +1,3 @@ -bin boot dev etc @@ -8,20 +7,14 @@ etc/profile.d etc/skel etc/update-motd.d home -lib -lib/systemd/system proc root run -sbin sys tmp usr -usr/bin usr/games usr/include -usr/lib -usr/sbin usr/share usr/share/base-files usr/share/common-licenses diff --git a/basefiles/debian/base-files.docs b/base-files-not-yet/debian/base-files.docs similarity index 100% rename from basefiles/debian/base-files.docs rename to base-files-not-yet/debian/base-files.docs diff --git a/basefiles/debian/base-files.links b/base-files-not-yet/debian/base-files.links similarity index 75% rename from basefiles/debian/base-files.links rename to base-files-not-yet/debian/base-files.links index 3166652..3dd0249 100644 --- a/basefiles/debian/base-files.links +++ b/base-files-not-yet/debian/base-files.links @@ -1,4 +1,4 @@ -usr/share/doc/base-files/README usr/share/doc/base-files/FAQ +usr/share/doc/base-files/README usr/share/doc/base-files/FAQ usr/share/common-licenses/GFDL-1.3 usr/share/common-licenses/GFDL usr/share/common-licenses/LGPL-3 usr/share/common-licenses/LGPL usr/share/common-licenses/GPL-3 usr/share/common-licenses/GPL diff --git a/base-files-not-yet/debian/base-files.lintian-overrides b/base-files-not-yet/debian/base-files.lintian-overrides new file mode 100644 index 0000000..e65cf1d --- /dev/null +++ b/base-files-not-yet/debian/base-files.lintian-overrides @@ -0,0 +1,35 @@ +# +# Permissions 0700 on /root are intentional as people expect +# the /root directory to be more private than /home/* directories. +# +base-files: non-standard-dir-perm 0700 != 0755 [root/] +# +# The /etc/os-release symlink is relative on purpose to avoid breaking dracut. +# See Bug #755394 for details. +# +base-files: relative-symlink ../usr/lib/os-release [etc/os-release] +# +# The purpose of having licenses here is precisely to allow +# other packages to reference them. +# +base-files: extra-license-file [usr/share/common-licenses/Artistic] +base-files: extra-license-file [usr/share/common-licenses/BSD] +base-files: extra-license-file [usr/share/common-licenses/GPL-1] +base-files: extra-license-file [usr/share/common-licenses/GPL-2] +base-files: extra-license-file [usr/share/common-licenses/GPL-3] +base-files: extra-license-file [usr/share/common-licenses/LGPL-2] +base-files: extra-license-file [usr/share/common-licenses/LGPL-2.1] +base-files: extra-license-file [usr/share/common-licenses/LGPL-3] +# +# These links really should be relative. +# +base-files: relative-symlink usr/bin [bin] +base-files: relative-symlink usr/lib [lib] +base-files: relative-symlink usr/lib64 [lib64] +base-files: relative-symlink usr/libx32 [libx32] +base-files: relative-symlink usr/sbin [sbin] +# +# We need these for the relevant architectures. +# +base-files: non-multi-arch-lib-dir [usr/lib64/] +base-files: non-multi-arch-lib-dir [usr/libx32/] diff --git a/base-files-not-yet/debian/changelog b/base-files-not-yet/debian/changelog new file mode 100644 index 0000000..98a2e2d --- /dev/null +++ b/base-files-not-yet/debian/changelog @@ -0,0 +1,1598 @@ +base-files (13.3-101pika) pika; urgency=medium + + * Port to PikaOS 4 + + -- Ward Nakchbandi Thu, 06 Jun 2024 00:35:00 +0200 + +base-files (13.3) unstable; urgency=medium + + [ Helmut Grohne ] + * DEP17: Install /usr-merge aliasing symlinks. Closes: #1064459. + + -- Santiago Vila Thu, 06 Jun 2024 00:35:00 +0200 + +base-files (13.2) unstable; urgency=medium + + * Document that /etc/profile is not a conffile anymore. Closes: #868095. + * Use a regexp to source files in /etc/profile.d. The behaviour should now be + well defined and consistent. Closes: #885414, #1069279. + * Add NEWS.Debian entry for the above. + * Document that the default umask is defined in /etc/login.defs. Closes: #983606. + * Add #DEBHELPER# token to postinst to make lintian happy. + * Make binary package to be git-reproducible. + + -- Santiago Vila Fri, 03 May 2024 18:15:00 +0200 + +base-files (13.1) unstable; urgency=medium + + * Rename postinst.in to postinst. Use dh_installdeb token feature instead. + * Add /usr/local/libexec. Closes: #994220. + * Machine-readable copyright file. Closes: #1020828. + * Add a debian/gbp.conf file. + + -- Santiago Vila Wed, 17 Apr 2024 12:45:00 +0200 + +base-files (13) unstable; urgency=medium + + * Change issue, issue.net, debian_version and os-release + to read "trixie/sid". + * Change VERSION_CODENAME in os-release to read "trixie". + * Drop VERSION and VERSION_ID from os-release. + + -- Santiago Vila Sun, 11 Jun 2023 17:00:00 +0200 + +base-files (12.4) unstable; urgency=medium + + * Release candidate for bookworm as stable: + - Use "12" as version in /etc/issue and /etc/issue.net. + (never expected to change after release) + - Use 12.0 as version in /etc/debian_version. + (expected to change at every point release) + - Change PRETTY_NAME in /usr/lib/os-release, adding 12 as version number + and "(bookworm)" as codename. Add also VERSION_ID and VERSION. + (never expected to change) + - Variable VERSION_CODENAME was already defined as "bookworm". + - Update README (bookworm -> trixie). + * Refresh GFDL-1.2, GFDL-1.3, GPL-3, LGPL-2 and LGPL-3 from their + canonical place at https://ftp.gnu.org/gnu/Licenses/ as they have + minor editorial changes like trimming spaces, https, etc. + * Drop debian/current-md5sums-obsolete. Closes: #1009358. + * Ship a real debian/copyright file in source package instead of + generating it at build time. + * Call dh_installchangelogs using --no-trim option. + Add versioned build-dependency on debhelper for the above. + * Update lintian-overrides to new format. + * Rules-Requires-Root: binary-targets. + * Update standards version to 4.6.2. + + -- Santiago Vila Thu, 02 Mar 2023 14:55:00 +0100 + +base-files (12.3) unstable; urgency=high + + * Add VERSION_CODENAME to /etc/os-release. Closes: #1008735. + This still respects the fact that Debian distributions do not have + a version number until they are actually released as stable, but makes + /etc/os-release a little bit more useful for those who use testing as + a pre-release for the next stable. Those users are also the reason why + in this case we are simply using the string "bookworm". + + -- Santiago Vila Mon, 03 Oct 2022 23:30:00 +0200 + +base-files (12.2) unstable; urgency=medium + + * A simplified version of the patch for DPKG_ROOT was applied, but the + simplification went too far and was incorrect. Closes: #824594. + * Use $() instead of `` when calling md5sum. + + -- Santiago Vila Wed, 19 Jan 2022 23:35:00 +0100 + +base-files (12.1) unstable; urgency=medium + + * Add support for DPKG_ROOT to postinst. Closes: #824594 + + -- Santiago Vila Wed, 19 Jan 2022 22:40:00 +0100 + +base-files (12) unstable; urgency=medium + + * Do not create /var/run/utmp in postinst, as /var/run is + ephemeral and it does not make sense. Closes: #989725. + * Do not create /var/lib/dpkg/status if missing anymore, + as dpkg already does that. Closes: #989726. + * Change issue, issue.net, debian_version and os-release to read + "bookworm/sid". Closes: #992369. + * Drop VERSION, VERSION_ID and CODENAME from os-release. + + -- Santiago Vila Sun, 22 Aug 2021 19:00:00 +0200 + +base-files (11.1) unstable; urgency=medium + + * Use https where appropriate, namely, origins/debian (currently used) + and share/staff-group-for-usr-local (not anymore). Closes: #959470. + * Gracefully handle /usr/share/info not existing. Closes: #977113. + * Use $() instead of `` where appropriate, namely, the default files + for /etc/profile and /root/.bashrc. Closes: #982687. + * Update share/profile.md5sums as the default file has changed. + * Update build-dependency on debhelper. + * Release candidate for bullseye as stable: + - Use "11" as version in /etc/issue and /etc/issue.net. + (never expected to change after buster is released) + - Use 11.0 as version in /etc/debian_version. + (expected to change at every point release) + - Change PRETTY_NAME in /usr/lib/os-release, adding 11 as version number + and "(bullseye)" as codename. Add also VERSION_ID and VERSION. + (never expected to change) + - Add VERSION_CODENAME to os-release. + (only expected on stable releases) + - Update README (bullseye -> bookworm). + + -- Santiago Vila Sat, 10 Apr 2021 22:15:00 +0200 + +base-files (11) unstable; urgency=medium + + * Change issue, issue.net, debian_version and os-release to read + "bullseye/sid". + * Drop VERSION, VERSION_ID and CODENAME from os-release. + * Make "mesg n" silent in default /root/.profile. Closes: #930654. + + -- Santiago Vila Tue, 09 Jul 2019 12:05:50 +0200 + +base-files (10.3) unstable; urgency=medium + + * Add Breaks: debian-security-support (<< 2019.04.25). Closes: #928172. + This is the first version of debian-security-support which does not break + when /etc/debian_version contains a string in the form "10.x". + + -- Santiago Vila Mon, 13 May 2019 22:25:32 +0200 + +base-files (10.2) unstable; urgency=medium + + * Release candidate for buster as stable: + - Use "10" as version in /etc/issue and /etc/issue.net. + (never expected to change after buster is released) + - Use 10.0 as version in /etc/debian_version. + (expected to change at every point release) + - Change PRETTY_NAME in /usr/lib/os-release, adding 10 as version number + and "(buster)" as codename. Add also VERSION_ID and VERSION. + (never expected to change) + - Add VERSION_CODENAME to os-release. Closes: #829245. This is optional + according to the specs but some people find it useful. Please note that + for now this is only expected to be present on stable releases. + - Update README (buster -> bullseye). + + -- Santiago Vila Fri, 19 Apr 2019 13:05:00 +0200 + +base-files (10.1) unstable; urgency=medium + + * Add CC0-1.0 to common-licenses. Closes: #859649, #882628. + Source: https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt. + * Simplify debian/rules a little bit by dropping install target + and using override_dh_auto_install instead. Closes: #886901. + Package should now build from source again in every supported way. + Thanks to Daniel Schepler for the report and to Niels Thykier for + clarifying the true nature of this bug. + * Do not create /etc/staff-group-for-usr-local on new installs anymore. + Do not create it on upgrades either, as we don't support upgrades + skipping stable releases, and even less skipping several releases. + * Standards-Version: 4.1.3. + + -- Santiago Vila Sun, 14 Jan 2018 00:36:34 +0100 + +base-files (10) unstable; urgency=medium + + * Change issue, issue.net, debian_version and os-release to read + "buster/sid", and drop VERSION and VERSION_ID from os-release. + * Fix typo in changelog for version 9. + + -- Santiago Vila Mon, 26 Jun 2017 00:19:42 +0200 + +base-files (9.9) unstable; urgency=medium + + * Add MPL-1.1 and MPL-2.0 to common-licenses. Closes: #849835. + License texts taken from https://www.mozilla.org/en-US/MPL/. + * Add a default /etc/update-motd.d/10-uname script to + recover the traditional motd behaviour. Closes: #859124. + + -- Santiago Vila Tue, 04 Apr 2017 18:00:30 +0200 + +base-files (9.8) unstable; urgency=medium + + * Release candidate for stretch as stable: + - Use "9" as version in /etc/issue and /etc/issue.net. + (never expected to change after stretch is released) + - Use 9.0 as version in /etc/debian_version. + (expected to change at every point release) + - Change PRETTY_NAME in /usr/lib/os-release, adding 9 as version number + and "(stretch)" as codename. Add also VERSION_ID and VERSION. + (never expected to change) + - Update README (stretch -> buster). + * Standards-Version: 3.9.8 (no special changes for this). + + -- Santiago Vila Sun, 15 Jan 2017 23:00:02 +0100 + +base-files (9.7) unstable; urgency=medium + + * Do not care about /etc/nsswitch.conf anymore, as the file has been + moved to libc-bin. Closes: #827095. + [ Guillem Jover ] + * Do not use gzip compression anymore to build .deb and use the default. + + -- Santiago Vila Sun, 27 Nov 2016 19:29:38 +0100 + +base-files (9.6) unstable; urgency=low + + * Add lintian override for /etc/os-release. + * Add lintian overrides for /usr/share/common-licenses. + * Standards-Version: 3.9.7 (no special changes for this). + * Switch to dh. Hopefully this should make the package easier + to fork. Closes: #693423. + * Change default /etc/profile to not warn about possibly undefined + variables PS1 and BASH. Closes: #776154. + + -- Santiago Vila Fri, 04 Mar 2016 17:33:40 +0100 + +base-files (9.5) unstable; urgency=medium + + * os-release: Drop trailing slash in SUPPORT_URL variable, as the URL + is not supposed to have it. Closes: #781809, #800791. + + -- Santiago Vila Wed, 28 Oct 2015 23:29:08 +0100 + +base-files (9.4) unstable; urgency=medium + + * Fix two install_from_default() calls in postinst that were still + using the old calling convention, making debootstrap to fail. + Thanks to Steven Shiau for the report. Closes: #795952 + + -- Santiago Vila Tue, 18 Aug 2015 12:06:00 +0200 + +base-files (9.3) unstable; urgency=medium + + * Change /usr/share/base-files/dot.profile (the default /root/.profile) + to not fail with new mesg behaviour in stretch. Closes: #794727. + * Add extra code in postinst so that people who never modified + their /root/.profile from jessie get the fixed version. This is + done by the update_to_current_default() function, which is now + more general and allows updating files not in /etc. + * While we are at it, modify install_from_default() function so that + it's called in the same simplified way as update_to_current_default(). + + -- Santiago Vila Mon, 17 Aug 2015 17:50:38 +0200 + +base-files (9.2) unstable; urgency=medium + + * Create md5sums in a reproducible way. + * Use "dpkg-parsechangelog -S Date" to get the date. + * Allow building with umasks other than 022, as far as + they make a minimum of sense. Closes: #774498. + + -- Santiago Vila Sun, 17 May 2015 14:44:10 +0200 + +base-files (9.1) unstable; urgency=low + + * Use gzip -n to stop recording current time in gzip headers. + * Fix mtimes before building the binary package. + * The package should now build reproducibly. Closes: #774498. + Thanks to Jérémy Bobbio . + + -- Santiago Vila Fri, 15 May 2015 12:45:34 +0200 + +base-files (9) unstable; urgency=medium + + * Changed issue, issue.net, debian_version and os-release to read + "stretch/sid", and dropped VERSION and VERSION_ID from os-release. + * Changed HOME_URL and SUPPORT_URL in os-release from http to https, + as those are the preferred URLs now. + + -- Santiago Vila Thu, 30 Apr 2015 12:00:50 +0200 + +base-files (8) unstable; urgency=low + + * Release for jessie as stable: + - Use "8" as version in /etc/issue and /etc/issue.net. As usual, this + is never expected to change once that jessie is released as Debian 8. + - Use 8.0 as version in /etc/debian_version. As usual, this is expected + to change at every point release. + - Changed PRETTY_NAME in /usr/lib/os-release, adding 8 as version number + and "(jessie)" as codename. Added also VERSION_ID and VERSION. + This file, /usr/lib/os-release, is not expected to change either. + - Updated README (jessie -> stretch). + * Packages are not expected to rely on the contents of any of these + files, but if they do, they might better break now while we can still + fix them. + + -- Santiago Vila Sun, 30 Nov 2014 13:36:12 +0100 + +base-files (7.10) unstable; urgency=low + + * Dropped "chown root:root" lines in postinst, as they are + completely redundant. The postinst script is run by root. + This might also help as a workaround for Bug#766459. + + -- Santiago Vila Mon, 27 Oct 2014 13:35:32 +0100 + +base-files (7.9) unstable; urgency=low + + * The change introduced in version 7.7 regarding /mnt seems to break + the ability of debootstrap currently in wheezy to create a sid chroot. + The case of initial install of /mnt is already handled by postinst line + "install_directory mnt 755 root" inside the big "if" block that + creates a bunch of other things, so we can restrict re-creating the /mnt + directory on upgrades to the case when we are really upgrading. + Therefore, the code is moved to the same "if" block where /etc/profile + and /etc/nsswitch.conf are upgraded to their new defaults when unchanged. + This might help as a workaround for Bug#766459. + + -- Santiago Vila Mon, 27 Oct 2014 12:33:22 +0100 + +base-files (7.8) unstable; urgency=low + + * The /etc/profile.d mechanism may be used to override PS1 setting + in /etc/bash.bashrc, which is particularly nice because there is + no need to modify /etc/profile or /etc/bash.bashrc for that, + but this is no longer possible if /etc/profile.d is sourced + before /etc/bash.bashrc. Therefore, /etc/profile.d is sourced + after /etc/bash.bashrc again. Closes: #766351. + + -- Santiago Vila Wed, 22 Oct 2014 16:10:30 +0200 + +base-files (7.7) unstable; urgency=low + + * Updated FAQ to explain that only /etc/debian_version is updated at + every point release, using Debian 8.x as an example, to be read by + users of jessie during its lifetime as stable. Closes: #621757. + * Changed default /etc/profile to source /etc/bash.bashrc after + processing profile.d stuff, not before. Closes: #698479. + * Drop comment lines about umask in /etc/profile, as it has been + there for enough time for everybody to take note. + * The directory /mnt is not included inside base-files.deb anymore. + Instead, it is created by postinst the very first time base-files + is installed (by debootstrap), or when upgrading from an earlier + base-files version. This should make the usual upgrade at every point + release to work even if /mnt is a stale mount point. Closes: #763405. + + -- Santiago Vila Tue, 21 Oct 2014 21:20:14 +0200 + +base-files (7.6) unstable; urgency=low + + * By default, when the computer is booting, green and red colors are used + to signal that a service started successfully, or that it did not. + In this context, trying to use colors for something else might be + misleading or even confusing. For this reason, I'm dropping + ANSI_COLOR from /usr/lib/os-release. Closes: #758246. + * Clarified in the copyright file that the Artistic License currently + in common-licenses is actually the one coming from Perl. Closes: #764553. + + -- Santiago Vila Thu, 09 Oct 2014 20:27:00 +0200 + +base-files (7.5) unstable; urgency=medium + + * Made /etc/os-release symlink to be relative, as an absolute symlink + seems to break boot when using a dracut initrd. Thanks to Daniel Schaal + for the report. Closes: #755394. + + -- Santiago Vila Sun, 20 Jul 2014 12:10:26 +0200 + +base-files (7.4) unstable; urgency=medium + + * Updated FAQ to match current policy wording about common-licenses. + Thanks to Gioele Barabucci for the report. Closes: #723195. + * Moved /etc/os-release to /usr/lib/os-release. Put a symlink pointing to + the new place. Thanks to Marco d'Itri for the report. Closes: #753658. + * Changed BUG_REPORT_URL in os-release to https, as the BTS has moved. + Thanks to Martin Zobel-Helas for the report. Closes: #754455. + + -- Santiago Vila Sat, 19 Jul 2014 18:00:08 +0200 + +base-files (7.3) unstable; urgency=medium + + * Added gshadow entry to default /etc/nsswitch.conf. Closes: #699090. + * Update /etc/nsswitch.conf if not modified by the user. Closes: #716786. + * Added nsswitch.conf.md5sums which works exactly like profile.md5sums. + * Changed debian/check-etc-profile-md5sum to debian/check-md5sum-etc. + This is now used twice in debian/rules, for profile and nsswitch.conf. + * Build package with -Zgzip to ease bootstrapping. Closes: #740278. + * Reformat paragraph in previous changelog to avoid too long lines. + * Added build-arch and build-indep targets to debian/rules. + * Standards-Version: 3.9.5 (no special changes for this). + + -- Santiago Vila Sun, 04 May 2014 14:39:06 +0200 + +base-files (7.2) unstable; urgency=medium + + * Changed issue, issue.net, debian_version and os-release to read + "jessie/sid", and dropped VERSION and VERSION_ID from os-release. + + -- Santiago Vila Sun, 05 May 2013 18:19:00 +0200 + +base-files (7.1) unstable; urgency=low + + * Added Multi-Arch: foreign. This is needed even if base-files is + "Essential: yes" because there are quite a number of packages + having versioned dependencies on it. Closes: #695863. + + -- Santiago Vila Fri, 14 Dec 2012 13:55:36 +0100 + +base-files (7.0) unstable; urgency=low + + * Oops. Even if the Breaks on sendfile does not help APT to decide about + the configuration order, removing the breaks is wrong, because then it is + possible to upgrade base-files and not sendfile, which would effectively + break sendfile. Readded Breaks on sendfile. + + -- Santiago Vila Wed, 12 Dec 2012 13:05:12 +0100 + +base-files (7) unstable; urgency=low + + * Added 89126d8bba3325594e1539bcc97847f3 to the list of /etc/profile + md5sums which are ok to be replaced by the current default version to + help sendfile to fix its /etc/profile modification bug in a single + upgrade (instead of waiting for the next point release). Closes: #689835. + Drop "unmodified" word in postinst, as it may not always be true. + * Dropped versioned Breaks on sendfile, as it had no effect. + * Changed debian_version, issue, issue.net and os-release to read "7.0". + Added also "(wheezy)" in VERSION and PRETTY_NAME. + * Added VERSION and VERSION_ID to /etc/os-release, for release as stable. + Please remember: Applications should not rely on these fields to be set. + * Updated README (wheezy -> jessie). + + -- Santiago Vila Wed, 12 Dec 2012 12:55:00 +0100 + +base-files (6.12) unstable; urgency=low + + * Added HOME_URL, SUPPORT_URL and BUG_REPORT_URL to /etc/os-release. + Reported by Raphaël Hertzog. Closes: #681480. + * Added Breaks: sendfile (<< version in squeeze) to help sendfile bug + regarding improper modification of /etc/profile to be fixed faster. + Reported by Andreas Beckmann. Closes: #689835. + * Make /var/run and /var/lock absolute again. + Reported by Roger Leigh. Closes: #690345. + + -- Santiago Vila Sat, 27 Oct 2012 17:41:00 +0200 + +base-files (6.11) unstable; urgency=medium + + * Create /etc/motd instead of /etc/motd.tail, with same default contents, + as initscripts is now using /etc/motd again as a real file. + + -- Santiago Vila Sun, 17 Jun 2012 14:14:44 +0200 + +base-files (6.10) unstable; urgency=low + + * Record md5sums of unmodified /etc/profile versions so that we can + upgrade it automatically, as it's done in Ubuntu. + * In the initial install, create /etc/motd.tail instead of /etc/motd, + as /etc/motd is converted to a symlink by initscripts and /etc/motd.tail + is since a long time the master copy to which the output of uname is added. + Remove postinst code which tries to update /etc/motd, as it does no longer + work and the file has not changed in a lot of time. Will add code to + update /etc/motd.tail based on md5sum if it ever changes in a future. + * Implement proposed transition plan for group staff in /usr/local. + The file /etc/staff-group-for-usr-local is now created on upgrades + from releases before 6.10 and (for now) also on initial install. + * Removed reference to /etc/nsswitch.conf in extended description, as + the file is being moved to libc-bin. + + -- Santiago Vila Sat, 09 Jun 2012 17:41:30 +0200 + +base-files (6.9) unstable; urgency=low + + * We can't make /etc/profile a conffile without triggering a piuparts + check which is considered to be serious. Sorry, /etc/profile + will be handled as before for now. Closes: #673767. + + -- Santiago Vila Mon, 21 May 2012 15:12:06 +0200 + +base-files (6.8) unstable; urgency=low + + * Added /etc/os-release. Closes: #659853. Note: for stable releases + this file will look like it's suggested in the bug report above. + Also, like /etc/debian_version, this file should only be considered + meaningful for stable releases, which testing and unstable are not. + * By popular demand, make /etc/profile a conffile. Closes: #668871. + * Added /sys for all systems but the Hurd. Closes: #670091. + * Added /proc for the Hurd, as it's already being used. + * Added a lintian override for /root being 700. + + -- Santiago Vila Thu, 17 May 2012 00:08:42 +0200 + +base-files (6.7) unstable; urgency=low + + * Switch to "compat" again in default /etc/nsswitch.conf. It is not + obsolete and it should not go away. Closes: #651356. + Thanks a lot to Petter Reinholdtsen. + + -- Santiago Vila Sun, 04 Mar 2012 01:02:00 +0100 + +base-files (6.6) unstable; urgency=low + + * Switch to "files" instead of "compat" in default /etc/nsswitch.conf. + That was only useful for libc5. The new default will only take + effect for new installs. Thanks to Roger Leigh. Closes: #651356. + * Reword the very first question in base-files FAQ. Closes: #622200. + * When migrating /var/run and /var/lock, create relative symlinks + instead of absolute ones. Useful for chroots. Closes: #652301. + + -- Santiago Vila Sat, 03 Mar 2012 16:35:22 +0100 + +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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Thu, 2 Oct 2003 16:42:58 +0200 + +base-files (3.0.10) unstable; urgency=low + + * Use `:' for chown, not `.' (Closes: #204860). + + -- Santiago Vila 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 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 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 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 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 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 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 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 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 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 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 Wed, 28 Nov 2001 11:22:42 +0100 + +base-files (2.2.15) unstable; urgency=low + + * Removed /usr/doc. + + -- Santiago Vila 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 for the report. + + -- Santiago Vila 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 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 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 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 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 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 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 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 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- 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Sun, 20 Apr 1997 22:50:21 -0700 + +base-files (1.3.3) frozen unstable; urgency=low + + * Add "frozen" to the distribution. + + -- Bruce Perens 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 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 Fri, 18 Apr 1997 15:09:31 -0700 + +base-files (1.3.0) unstable; urgency=low + + * Edit for Debian 1.3 + + -- Bruce Perens 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 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 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 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 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 Thu, 14 Nov 1996 21:02:09 -0800 diff --git a/basefiles/debian/check-md5sum-etc b/base-files-not-yet/debian/check-md5sum-etc similarity index 100% rename from basefiles/debian/check-md5sum-etc rename to base-files-not-yet/debian/check-md5sum-etc diff --git a/base-files-not-yet/debian/clean b/base-files-not-yet/debian/clean new file mode 100644 index 0000000..b4ac698 --- /dev/null +++ b/base-files-not-yet/debian/clean @@ -0,0 +1 @@ +debian/triggers diff --git a/base-files-not-yet/debian/control b/base-files-not-yet/debian/control new file mode 100644 index 0000000..942fed8 --- /dev/null +++ b/base-files-not-yet/debian/control @@ -0,0 +1,23 @@ +Source: base-files +Section: admin +Priority: required +Maintainer: Santiago Vila +Standards-Version: 4.6.2 +Build-Depends: debhelper-compat (= 13), debhelper (>= 13.10~) +Rules-Requires-Root: binary-targets + +Package: base-files +Provides: base, usr-is-merged +Architecture: any +Pre-Depends: awk +Depends: ${misc:Depends} +Essential: yes +Priority: required +Replaces: base, miscutils, dpkg (<= 1.15.0) +Breaks: debian-security-support (<< 2019.04.25), initscripts (<< 2.88dsf-13.3), sendfile (<< 2.1b.20080616-5.2~) +Multi-Arch: foreign +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, and others, + and the text of several common licenses in use on Debian systems. diff --git a/base-files-not-yet/debian/copyright b/base-files-not-yet/debian/copyright new file mode 100644 index 0000000..a971207 --- /dev/null +++ b/base-files-not-yet/debian/copyright @@ -0,0 +1,37 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Comment: + This is the Debian prepackaged version of the Debian Base System + Miscellaneous files. These files were written by Ian Murdock + and Bruce Perens . + . + This package was first put together by Bruce Perens , + from his own sources. + +Files: * +Copyright: (C) 1995-2011 Software in the Public Interest +License: GPL-2+ + 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 systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL'. +Comment: + The Artistic License in /usr/share/common-licenses is the one coming + from Perl and its SPDX name is "Artistic License 1.0 (Perl)". + +Files: licenses/GFDL-* + licenses/GPL-* + licenses/LGPL-* +Copyright: 1989-2008 Free Software Foundation, Inc. +License: verbatim + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. +Comment: + The GNU licenses in /usr/share/common-licenses were taken from ftp.gnu.org. diff --git a/base-files-not-yet/debian/gbp.conf b/base-files-not-yet/debian/gbp.conf new file mode 100644 index 0000000..6f74a48 --- /dev/null +++ b/base-files-not-yet/debian/gbp.conf @@ -0,0 +1,4 @@ +[DEFAULT] +upstream-branch = master +debian-branch = master +debian-tag = %(version)s diff --git a/basefiles/debian/postinst.in b/base-files-not-yet/debian/postinst similarity index 70% rename from basefiles/debian/postinst.in rename to base-files-not-yet/debian/postinst index d24ade8..e1ad3a4 100644 --- a/basefiles/debian/postinst.in +++ b/base-files-not-yet/debian/postinst @@ -13,6 +13,10 @@ install_local_dir() { if [ ! -d "$DPKG_ROOT$1" ]; then mkdir -p "$DPKG_ROOT$1" fi + if [ -f "$DPKG_ROOT/etc/staff-group-for-usr-local" ]; then + chown root:staff "$DPKG_ROOT$1" 2>/dev/null || true + chmod 2775 "$DPKG_ROOT$1" 2> /dev/null || true + fi } install_from_default() { @@ -58,7 +62,7 @@ if [ "$1" = "configure" ] && [ "$2" = "" ]; then install_from_default dot.profile /root/.profile install_from_default dot.bashrc /root/.bashrc install_from_default profile /etc/profile - install_from_default networks /etc/networks + install_from_default motd /etc/motd install_directory mnt 755 root install_directory srv 755 root install_directory opt 755 root @@ -79,6 +83,7 @@ if [ "$1" = "configure" ] && [ "$2" = "" ]; then install_local_dir /usr/local/bin install_local_dir /usr/local/games install_local_dir /usr/local/lib + install_local_dir /usr/local/libexec install_local_dir /usr/local/include install_local_dir /usr/local/sbin install_local_dir /usr/local/src @@ -96,14 +101,6 @@ if [ -d "$DPKG_ROOT/usr/share/info" ] && [ ! -f "$DPKG_ROOT/usr/info/dir" ] && [ fi if [ "$1" = "configure" ] && [ "$2" != "" ]; then - # If we're upgrading base-files, remove the upgrade-available flag - # maintained by update-manager, and rerun the release-upgrade check - # immediately (in the background) to update the flag. - rm -f $DPKG_ROOT/var/lib/update-notifier/release-upgrade-available - if [ -x $DPKG_ROOT/usr/lib/update-manager/check-new-release ]; then - $DPKG_ROOT/usr/lib/update-manager/check-new-release -q > $DPKG_ROOT/var/lib/update-notifier/release-upgrade-available & - fi - update_to_current_default profile /etc/profile update_to_current_default dot.profile /root/.profile if dpkg --compare-versions "$2" lt-nl "7.7"; then @@ -111,21 +108,26 @@ if [ "$1" = "configure" ] && [ "$2" != "" ]; then fi fi -# special case of having /etc/default/motd-news removed by hand -# signal the motd-news-config package that this happened, so that -# it does not put back the file with default contents which would -# re-enable motd-news -motd_news_config="$DPKG_ROOT/etc/default/motd-news" -# only in upgrades, never fresh installs like in debootstrap -if [ "$2" != "" ] && \ - [ ! -e ${motd_news_config} ] && \ - [ ! -e ${motd_news_config}.dpkg-remove ] && \ - [ ! -e ${motd_news_config}.dpkg-backup ]; then - # The .wasremoved file only matters if ubuntu-server is installed, - # because that's what will pull in motd-news-config - if dpkg -l ubuntu-server 2>/dev/null | grep -q ^i; then - touch ${motd_news_config}.wasremoved +rtlddir="#USR_MERGE_RTLDLIB#" +if [ "$1" = "configure" ] && [ -n "$rtlddir" ]; then + # Remove temporary DEP17 M4 diversion added by glibc. + dpkg-divert --quiet --package base-files --remove --no-rename --divert "/.$rtlddir.usr-is-merged" "/$rtlddir" +fi + +if [ "$1" = "configure" ] || [ "$1" = "triggered" ]; then + for d in #USR_MERGE_MULTILIB#; do + if [ -d "$DPKG_ROOT/usr/$d" ]; then + if [ -L "$DPKG_ROOT/$d" ]; then + : + elif [ -d "$DPKG_ROOT/$d" ]; then + echo "Warning: /$d is not a symlink, but should be." 1>&2 + else + ln -s "usr/$d" "$DPKG_ROOT/$d" fi + elif [ -L "$DPKG_ROOT/$d" ]; then + rm "$DPKG_ROOT/$d" + fi + done fi #DEBHELPER# diff --git a/base-files-not-yet/debian/postrm b/base-files-not-yet/debian/postrm new file mode 100644 index 0000000..402c738 --- /dev/null +++ b/base-files-not-yet/debian/postrm @@ -0,0 +1,11 @@ +#!/bin/sh +set -e + +if [ "$1" = "remove" ]; then + for d in #USR_MERGE_MULTILIB#; do + # Remove DEP17 M4 protective diversions + dpkg-divert --quiet --package base-files --remove --no-rename --divert "/.$d.usr-is-merged" "/$d" + done +fi + +#DEBHELPER# diff --git a/base-files-not-yet/debian/preinst b/base-files-not-yet/debian/preinst new file mode 100644 index 0000000..b657de5 --- /dev/null +++ b/base-files-not-yet/debian/preinst @@ -0,0 +1,32 @@ +#!/bin/sh +set -e + +if [ "$1" = "install" ] || [ "$1" = "upgrade" ]; then + for d in bin lib lib32 lib64 libo32 lib64 sbin; do + if [ -d "$DPKG_ROOT/$d" ] && [ ! -L "$DPKG_ROOT/$d" ]; then + cat < debian/copyright - sed -e "s/#VENDORFILE#/$(VENDORFILE)/g" debian/postinst.in > debian/postinst + set -e; { \ + echo "# Triggers for creating multilib aliasing symlinks on demand"; \ + for d in $(USR_MERGE_MULTILIB); do \ + echo "interest-noawait /usr/$$d"; \ + done; \ + } > debian/triggers + +execute_after_dh_installdirs: + dh_installdirs $(foreach d,$(USR_MERGE),usr/$(d)) override_dh_auto_install: install -p -m 644 etc/* $(DESTDIR)/etc install -p -m 755 motd/* $(DESTDIR)/etc/update-motd.d - install -p -m 644 debian/motd-news.service $(DESTDIR)/lib/systemd/system/ - install -p -m 644 debian/motd-news.timer $(DESTDIR)/lib/systemd/system/ install -p -m 644 licenses/* $(DESTDIR)/usr/share/common-licenses install -p -m 644 origins/* $(DESTDIR)/etc/dpkg/origins install -p -m 644 share/* $(DESTDIR)/usr/share/base-files mkdir $(DESTDIR)/usr/share/pixmaps install -p -m 644 logos/* $(DESTDIR)/usr/share/pixmaps - install -p -m 644 share/* $(DESTDIR)/usr/share/ - install -p -m 644 profile.d/* $(DESTDIR)/etc/profile.d - install -p -m 755 locale-check $(DESTDIR)/usr/bin ifeq ($(DEB_HOST_GNU_SYSTEM),gnu) rmdir $(DESTDIR)/sys endif @@ -46,12 +58,15 @@ endif mv $(DESTDIR)/etc/os-release $(DESTDIR)/usr/lib/os-release ln -s ../usr/lib/os-release $(DESTDIR)/etc/os-release -override_dh_installsystemd: - dh_installsystemd -pbase-files motd-news.timer - dh_installsystemd -pbase-files motd-news.service +override_dh_installchangelogs: + dh_installchangelogs --no-trim override_dh_link: dh_link -X os-release + # We want these links to be relative, so we cannot use dh_link. + set -e; for d in $(USR_MERGE); do \ + ln -s usr/$$d debian/base-files/$$d; \ + done override_dh_compress: dh_compress -X README @@ -63,3 +78,9 @@ override_dh_fixperms: cd debian/base-files && chmod 1777 `cat ../1777-dirs` cd debian/base-files && chmod 2775 `cat ../2775-dirs` cd debian/base-files && chmod 700 root + +override_dh_installdeb: + dh_installdeb \ + '-DVENDORFILE=$(VENDORFILE)' \ + '-DUSR_MERGE_MULTILIB=$(USR_MERGE_MULTILIB)' \ + '-DUSR_MERGE_RTLDLIB=$(USR_MERGE_RTLDLIB)' diff --git a/basefiles/debian/source/format b/base-files-not-yet/debian/source/format similarity index 100% rename from basefiles/debian/source/format rename to base-files-not-yet/debian/source/format diff --git a/base-files-not-yet/debian/timestamps b/base-files-not-yet/debian/timestamps new file mode 100644 index 0000000..1c92569 --- /dev/null +++ b/base-files-not-yet/debian/timestamps @@ -0,0 +1,21 @@ +#!/bin/sh +set -e +BUILD_DATE=$(dpkg-parsechangelog -S Date) +touch -d "${BUILD_DATE}" etc/* +touch -d "${BUILD_DATE}" motd/* +touch -d "${BUILD_DATE}" origins/* +touch -d "${BUILD_DATE}" share/* +touch -d "1996-12-16 02:58:50 UTC" licenses/Artistic +touch -d "1999-08-26 12:06:20 UTC" licenses/BSD +touch -d "2004-12-19 20:30:25 UTC" licenses/Apache-2.0 +touch -d "2010-03-23 23:34:05 UTC" licenses/GPL-1 +touch -d "2010-03-23 23:34:05 UTC" licenses/GPL-2 +touch -d "2010-03-23 23:34:05 UTC" licenses/LGPL-2.1 +touch -d "2017-04-03 11:00:00 UTC" licenses/MPL-1.1 +touch -d "2017-04-03 20:00:00 UTC" licenses/MPL-2.0 +touch -d "2017-04-25 22:26:15 UTC" licenses/CC0-1.0 +touch -d "2017-09-30 07:14:21 UTC" licenses/GPL-3 +touch -d "2017-09-30 07:14:21 UTC" licenses/LGPL-3 +touch -d "2017-09-30 07:15:28 UTC" licenses/GFDL-1.2 +touch -d "2022-02-10 06:14:38 UTC" licenses/GFDL-1.3 +touch -d "2022-02-10 06:14:38 UTC" licenses/LGPL-2 diff --git a/base-files-not-yet/etc/debian_version b/base-files-not-yet/etc/debian_version new file mode 100644 index 0000000..201ac20 --- /dev/null +++ b/base-files-not-yet/etc/debian_version @@ -0,0 +1 @@ +trixie/sid diff --git a/base-files-not-yet/etc/host.conf b/base-files-not-yet/etc/host.conf new file mode 100644 index 0000000..d1a59f7 --- /dev/null +++ b/base-files-not-yet/etc/host.conf @@ -0,0 +1 @@ +multi on diff --git a/base-files-not-yet/etc/issue b/base-files-not-yet/etc/issue new file mode 100644 index 0000000..91f5bd0 --- /dev/null +++ b/base-files-not-yet/etc/issue @@ -0,0 +1,2 @@ +PikaOS 4 \n \l + diff --git a/base-files-not-yet/etc/issue.net b/base-files-not-yet/etc/issue.net new file mode 100644 index 0000000..a9a2897 --- /dev/null +++ b/base-files-not-yet/etc/issue.net @@ -0,0 +1 @@ +PikaOS 4 diff --git a/base-files-not-yet/etc/os-release b/base-files-not-yet/etc/os-release new file mode 100644 index 0000000..72db736 --- /dev/null +++ b/base-files-not-yet/etc/os-release @@ -0,0 +1,13 @@ +PRETTY_NAME="PikaOS 4" +NAME="PikaOS" +VERSION_ID="4" +VERSION="4" +VERSION_CODENAME=nest +ID=pika +HOME_URL="https://www.pika-os.com/" +SUPPORT_URL="https://discord.gg/6HKR2YRvNg" +BUG_REPORT_URL="https://git.pika-os.com/" +PRIVACY_POLICY_URL="https://www.pika-os.com/" +ID_LIKE=debian +DEBIAN_CODENAME=sid +LOGO=pika-logo diff --git a/basefiles/licenses/Apache-2.0 b/base-files-not-yet/licenses/Apache-2.0 similarity index 100% rename from basefiles/licenses/Apache-2.0 rename to base-files-not-yet/licenses/Apache-2.0 diff --git a/basefiles/licenses/Artistic b/base-files-not-yet/licenses/Artistic similarity index 100% rename from basefiles/licenses/Artistic rename to base-files-not-yet/licenses/Artistic diff --git a/basefiles/licenses/BSD b/base-files-not-yet/licenses/BSD similarity index 100% rename from basefiles/licenses/BSD rename to base-files-not-yet/licenses/BSD diff --git a/basefiles/licenses/CC0-1.0 b/base-files-not-yet/licenses/CC0-1.0 similarity index 100% rename from basefiles/licenses/CC0-1.0 rename to base-files-not-yet/licenses/CC0-1.0 diff --git a/basefiles/licenses/GFDL-1.2 b/base-files-not-yet/licenses/GFDL-1.2 similarity index 99% rename from basefiles/licenses/GFDL-1.2 rename to base-files-not-yet/licenses/GFDL-1.2 index a988da5..68d93f4 100644 --- a/basefiles/licenses/GFDL-1.2 +++ b/base-files-not-yet/licenses/GFDL-1.2 @@ -355,7 +355,7 @@ The Free Software Foundation may publish new, revised versions of the GNU Free Documentation License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. See -http://www.gnu.org/copyleft/. +https://www.gnu.org/licenses/. Each version of the License is given a distinguishing version number. If the Document specifies that a particular numbered version of this diff --git a/basefiles/licenses/GFDL-1.3 b/base-files-not-yet/licenses/GFDL-1.3 similarity index 99% rename from basefiles/licenses/GFDL-1.3 rename to base-files-not-yet/licenses/GFDL-1.3 index 2f7e03c..857214d 100644 --- a/basefiles/licenses/GFDL-1.3 +++ b/base-files-not-yet/licenses/GFDL-1.3 @@ -4,7 +4,7 @@ Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. - + Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -377,7 +377,7 @@ The Free Software Foundation may publish new, revised versions of the GNU Free Documentation License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. See -http://www.gnu.org/copyleft/. +https://www.gnu.org/licenses/. Each version of the License is given a distinguishing version number. If the Document specifies that a particular numbered version of this @@ -401,19 +401,19 @@ public wiki that anybody can edit is an example of such a server. A "Massive Multiauthor Collaboration" (or "MMC") contained in the site means any set of copyrightable works thus published on the MMC site. -"CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0 -license published by Creative Commons Corporation, a not-for-profit -corporation with a principal place of business in San Francisco, -California, as well as future copyleft versions of that license +"CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0 +license published by Creative Commons Corporation, a not-for-profit +corporation with a principal place of business in San Francisco, +California, as well as future copyleft versions of that license published by that same organization. -"Incorporate" means to publish or republish a Document, in whole or in +"Incorporate" means to publish or republish a Document, in whole or in part, as part of another Document. -An MMC is "eligible for relicensing" if it is licensed under this -License, and if all works that were first published under this License -somewhere other than this MMC, and subsequently incorporated in whole or -in part into the MMC, (1) had no cover texts or invariant sections, and +An MMC is "eligible for relicensing" if it is licensed under this +License, and if all works that were first published under this License +somewhere other than this MMC, and subsequently incorporated in whole or +in part into the MMC, (1) had no cover texts or invariant sections, and (2) were thus incorporated prior to November 1, 2008. The operator of an MMC Site may republish an MMC contained in the site diff --git a/basefiles/licenses/GPL-1 b/base-files-not-yet/licenses/GPL-1 similarity index 100% rename from basefiles/licenses/GPL-1 rename to base-files-not-yet/licenses/GPL-1 diff --git a/basefiles/licenses/GPL-2 b/base-files-not-yet/licenses/GPL-2 similarity index 100% rename from basefiles/licenses/GPL-2 rename to base-files-not-yet/licenses/GPL-2 diff --git a/basefiles/licenses/GPL-3 b/base-files-not-yet/licenses/GPL-3 similarity index 99% rename from basefiles/licenses/GPL-3 rename to base-files-not-yet/licenses/GPL-3 index 94a9ed0..f288702 100644 --- a/basefiles/licenses/GPL-3 +++ b/base-files-not-yet/licenses/GPL-3 @@ -1,7 +1,7 @@ GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found. GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program. If not, see . + along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. @@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see -. +. The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read -. +. diff --git a/basefiles/licenses/LGPL-2 b/base-files-not-yet/licenses/LGPL-2 similarity index 99% rename from basefiles/licenses/LGPL-2 rename to base-files-not-yet/licenses/LGPL-2 index 5bc8fb2..12735e6 100644 --- a/basefiles/licenses/LGPL-2 +++ b/base-files-not-yet/licenses/LGPL-2 @@ -133,7 +133,7 @@ such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. - + 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an diff --git a/basefiles/licenses/LGPL-2.1 b/base-files-not-yet/licenses/LGPL-2.1 similarity index 100% rename from basefiles/licenses/LGPL-2.1 rename to base-files-not-yet/licenses/LGPL-2.1 diff --git a/basefiles/licenses/LGPL-3 b/base-files-not-yet/licenses/LGPL-3 similarity index 99% rename from basefiles/licenses/LGPL-3 rename to base-files-not-yet/licenses/LGPL-3 index 65c5ca8..0a04128 100644 --- a/basefiles/licenses/LGPL-3 +++ b/base-files-not-yet/licenses/LGPL-3 @@ -1,7 +1,7 @@ GNU LESSER GENERAL PUBLIC LICENSE Version 3, 29 June 2007 - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. diff --git a/basefiles/licenses/MPL-1.1 b/base-files-not-yet/licenses/MPL-1.1 similarity index 100% rename from basefiles/licenses/MPL-1.1 rename to base-files-not-yet/licenses/MPL-1.1 diff --git a/basefiles/licenses/MPL-2.0 b/base-files-not-yet/licenses/MPL-2.0 similarity index 100% rename from basefiles/licenses/MPL-2.0 rename to base-files-not-yet/licenses/MPL-2.0 diff --git a/base-files-not-yet/motd/10-uname b/base-files-not-yet/motd/10-uname new file mode 100644 index 0000000..92773ce --- /dev/null +++ b/base-files-not-yet/motd/10-uname @@ -0,0 +1,2 @@ +#!/bin/sh +uname -snrvm diff --git a/base-files-not-yet/origins/pika b/base-files-not-yet/origins/pika new file mode 100644 index 0000000..f1d5d66 --- /dev/null +++ b/base-files-not-yet/origins/pika @@ -0,0 +1,3 @@ +Vendor: PikaOS +Vendor-URL: https://ppa.pika-os.com/ +Bugs: https://git.pika-os.com/ diff --git a/base-files-not-yet/share/dot.bashrc b/base-files-not-yet/share/dot.bashrc new file mode 100644 index 0000000..db632b8 --- /dev/null +++ b/base-files-not-yet/share/dot.bashrc @@ -0,0 +1,19 @@ +# ~/.bashrc: executed by bash(1) for non-login shells. + +# Note: PS1 is set in /etc/profile, and the default umask is defined +# in /etc/login.defs. You should not need this unless you want different +# defaults for root. +# PS1='${debian_chroot:+($debian_chroot)}\h:\w\$ ' +# umask 022 + +# You may uncomment the following lines if you want `ls' to be colorized: +# export LS_OPTIONS='--color=auto' +# eval "$(dircolors)" +# alias ls='ls $LS_OPTIONS' +# alias ll='ls $LS_OPTIONS -l' +# alias l='ls $LS_OPTIONS -lA' +# +# Some more alias to avoid making mistakes: +# alias rm='rm -i' +# alias cp='cp -i' +# alias mv='mv -i' diff --git a/basefiles/share/dot.profile b/base-files-not-yet/share/dot.profile similarity index 100% rename from basefiles/share/dot.profile rename to base-files-not-yet/share/dot.profile diff --git a/basefiles/share/dot.profile.md5sums b/base-files-not-yet/share/dot.profile.md5sums similarity index 100% rename from basefiles/share/dot.profile.md5sums rename to base-files-not-yet/share/dot.profile.md5sums diff --git a/basefiles/share/info.dir b/base-files-not-yet/share/info.dir similarity index 91% rename from basefiles/share/info.dir rename to base-files-not-yet/share/info.dir index 04e6c9e..550533d 100644 --- a/basefiles/share/info.dir +++ b/base-files-not-yet/share/info.dir @@ -11,7 +11,7 @@ File: dir Node: Top This is the top of the INFO tree it. --- PLEASE ADD DOCUMENTATION TO THIS TREE. (See INFO topic first.) --- -In Ubuntu, Info `dir' entries are added with the command +In Debian #OSNAME#, Info `dir' entries are added with the command `install-info'. Please refer to install-info(8) for usage details. * Menu: The list of major topics begins on the next line. diff --git a/basefiles/share/motd b/base-files-not-yet/share/motd similarity index 100% rename from basefiles/share/motd rename to base-files-not-yet/share/motd diff --git a/basefiles/share/profile b/base-files-not-yet/share/profile similarity index 69% rename from basefiles/share/profile rename to base-files-not-yet/share/profile index 7f85066..73f85e3 100644 --- a/basefiles/share/profile +++ b/base-files-not-yet/share/profile @@ -1,6 +1,9 @@ # /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). +PATH="/usr/local/sbin:/usr/local/bin:/usr/local/libexec:/usr/local/games:/usr/sbin:/sbin:/usr/bin:/bin:/usr/libexec:/usr/games" +export PATH + if [ "${PS1-}" ]; then if [ "${BASH-}" ] && [ "$BASH" != "/bin/sh" ]; then # The file bash.bashrc already sets the default PS1. @@ -18,7 +21,7 @@ if [ "${PS1-}" ]; then fi if [ -d /etc/profile.d ]; then - for i in /etc/profile.d/*.sh; do + for i in $(run-parts --list --regex '^[a-zA-Z0-9_][a-zA-Z0-9._-]*\.sh$' /etc/profile.d); do if [ -r $i ]; then . $i fi diff --git a/base-files-not-yet/share/profile.md5sums b/base-files-not-yet/share/profile.md5sums new file mode 100644 index 0000000..a1d0941 --- /dev/null +++ b/base-files-not-yet/share/profile.md5sums @@ -0,0 +1,16 @@ +356d504b5bf759b7bfef6cdc9e3c66e1 3.1.1 to 3.1.16 +f8b8e27b1a1b30a721a032baa254c973 4 to 5.0.0 +bfabfb83a6d9a773eb5e4fc81af9030e 5.1 and 5.2 +138403cbdd92a069480fefbf99ccbac8 5.3 +ab8413a709112f5ce298462fa445b190 5.4 +caefbdc2b725c2acb43d205f61779f9c 5.5 +bd615094228169d947e3af41c140ac57 5.6 +3bde72168bca3746e9281e863d43d6dc 5.7 and 5.8 +b94c2e3df2a779ac12080942df4d86ea 5.9 to 6.4 +89126d8bba3325594e1539bcc97847f3 buggy version by sendfile +91901ce5707909cfec8b3a1a6efbfa61 6.5 to 7.6 +6c56009f8aabda9400878ce3c7fd91af 7.7 +ff2bae0480885c074afadec201f5c668 7.8 to 9.5 +2255054e61cee1a99dbe893377820dde 9.6 to 11 +48a30a427d1794feb49f102b87ddce2b 11.1 to 13.1 +be6a0f27688b15faede8ad38300c1acc 13.2 to current diff --git a/basefiles/share/staff-group-for-usr-local b/base-files-not-yet/share/staff-group-for-usr-local similarity index 100% rename from basefiles/share/staff-group-for-usr-local rename to base-files-not-yet/share/staff-group-for-usr-local diff --git a/basefiles/debian/base-files.lintian-overrides b/basefiles/debian/base-files.lintian-overrides deleted file mode 100644 index d57f3a3..0000000 --- a/basefiles/debian/base-files.lintian-overrides +++ /dev/null @@ -1,22 +0,0 @@ -# -# Permissions 0700 on /root are intentional as people expect -# the /root directory to be more private than /home/* directories. -# -base-files: non-standard-dir-perm root/ 0700 != 0755 -# -# The /etc/os-release symlink is relative on purpose to avoid breaking dracut. -# See Bug #755394 for details. -# -base-files: symlink-should-be-absolute etc/os-release ../usr/lib/os-release -# -# The purpose of having licenses here is precisely to allow -# other packages to reference them. -# -base-files: extra-license-file usr/share/common-licenses/Artistic -base-files: extra-license-file usr/share/common-licenses/BSD -base-files: extra-license-file usr/share/common-licenses/GPL-1 -base-files: extra-license-file usr/share/common-licenses/GPL-2 -base-files: extra-license-file usr/share/common-licenses/GPL-3 -base-files: extra-license-file usr/share/common-licenses/LGPL-2 -base-files: extra-license-file usr/share/common-licenses/LGPL-2.1 -base-files: extra-license-file usr/share/common-licenses/LGPL-3 diff --git a/basefiles/debian/base-files.maintscript b/basefiles/debian/base-files.maintscript deleted file mode 100644 index 9972f51..0000000 --- a/basefiles/debian/base-files.maintscript +++ /dev/null @@ -1 +0,0 @@ -rm_conffile /etc/default/motd-news 11ubuntu11~ base-files diff --git a/basefiles/debian/changelog b/basefiles/debian/changelog deleted file mode 100644 index abd7881..0000000 --- a/basefiles/debian/changelog +++ /dev/null @@ -1,36 +0,0 @@ -base-files (13.1ubuntu99-100pika4) pikauwu; urgency=medium - - * Update to pikauwu - - -- Ward Nakchbandi Sat, 15 Oct 2022 20:50:00 +0300 - - -base-files (12.3ubuntu99-99pika6) lunar; urgency=medium - - * Update to new branding - - -- Ward Nakchbandi Sat, 15 Oct 2022 20:50:00 +0300 - -base-files (12.3ubuntu99-99pika2) lunar; urgency=medium - - * Upgrade to lunar - - -- Ward Nakchbandi Sat, 15 Oct 2022 20:50:00 +0300 - -base-files (12.2ubuntu99-99pika6) kinetic; urgency=medium - - * Move profile.d scripts to pika-baseos - - -- Ward Nakchbandi Sat, 15 Oct 2022 20:50:00 +0300 - -base-files (12.99pika2) kinetic; urgency=medium - - * Fix Icons sizes - - -- Ward Nakchbandi Sat, 15 Oct 2022 20:50:00 +0300 - -base-files (12.99pika1) kinetic; urgency=medium - - * PikaOS rebranding - - -- Ward Nakchbandi Sat, 15 Oct 2022 20:50:00 +0300 diff --git a/basefiles/debian/clean b/basefiles/debian/clean deleted file mode 100644 index f39c089..0000000 --- a/basefiles/debian/clean +++ /dev/null @@ -1,3 +0,0 @@ -debian/postinst -debian/copyright -locale-check diff --git a/basefiles/debian/control b/basefiles/debian/control deleted file mode 100644 index f149093..0000000 --- a/basefiles/debian/control +++ /dev/null @@ -1,36 +0,0 @@ -Source: base-files -Section: admin -Priority: required -Maintainer: Ubuntu Developers -XSBC-Original-Maintainer: Santiago Vila -Standards-Version: 4.1.3 -Build-Depends: debhelper-compat (= 13) - -Package: base-files -Provides: base -Architecture: any -Pre-Depends: awk -Depends: ${misc:Depends}, ${shlibs:Depends}, libcrypt1 (>= 1:4.4.10-10ubuntu3) -Essential: yes -Priority: required -Replaces: base, miscutils, dpkg (<= 1.15.0) -Breaks: debian-security-support (<< 2019.04.25), initscripts (<< 2.88dsf-13.3), sendfile (<< 2.1b.20080616-5.2~) - , ubuntu-server (<< 1.453) -Multi-Arch: foreign -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, and others, - and the text of several common licenses in use on Debian systems. - -Package: motd-news-config -Architecture: all -Priority: optional -Breaks: base-files (<< 11ubuntu11) -Replaces: base-files (<< 11ubuntu11) -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: Configuration for motd-news shipped in base-files - This package contains the configuration read by the motd-news script - shipped in the base-files package. - . - Install this package if you want motd-news to be enabled. diff --git a/basefiles/debian/copyright.in b/basefiles/debian/copyright.in deleted file mode 100644 index 1d905d5..0000000 --- a/basefiles/debian/copyright.in +++ /dev/null @@ -1,28 +0,0 @@ -This is the Debian #OSNAME# prepackaged version of the Debian Base System -Miscellaneous files. These files were written by Ian Murdock - and Bruce Perens . - -This package was first put together by Bruce Perens , -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. - -The Artistic License in /usr/share/common-licenses is the one coming -from Perl and its SPDX name is "Artistic License 1.0 (Perl)". - - -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/basefiles/debian/current-md5sums-obsolete b/basefiles/debian/current-md5sums-obsolete deleted file mode 100755 index 5236dc4..0000000 --- a/basefiles/debian/current-md5sums-obsolete +++ /dev/null @@ -1,3 +0,0 @@ -#!/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/basefiles/debian/lsb-release-udeb.install b/basefiles/debian/lsb-release-udeb.install deleted file mode 100644 index e37a25f..0000000 --- a/basefiles/debian/lsb-release-udeb.install +++ /dev/null @@ -1 +0,0 @@ -etc/lsb-release diff --git a/basefiles/debian/motd-news b/basefiles/debian/motd-news deleted file mode 100644 index 434e562..0000000 --- a/basefiles/debian/motd-news +++ /dev/null @@ -1,19 +0,0 @@ -# Enable/disable the dynamic MOTD news service -# This is a useful way to provide dynamic, informative -# information pertinent to the users and administrators -# of the local system -ENABLED=1 - -# Configure the source of dynamic MOTD news -# White space separated list of 0 to many news services -# For security reasons, these must be https -# and have a valid certificate -# Canonical runs a service at motd.ubuntu.com, and you -# can easily run one too -URLS="https://motd.ubuntu.com" - -# Specify the time in seconds, you're willing to wait for -# dynamic MOTD news -# Note that news messages are fetched in the background by -# a systemd timer, so this should never block boot or login -WAIT=5 diff --git a/basefiles/debian/motd-news-config.install b/basefiles/debian/motd-news-config.install deleted file mode 100644 index 876b3b8..0000000 --- a/basefiles/debian/motd-news-config.install +++ /dev/null @@ -1 +0,0 @@ -debian/motd-news etc/default diff --git a/basefiles/debian/motd-news-config.lintian-overrides b/basefiles/debian/motd-news-config.lintian-overrides deleted file mode 100644 index da71c4e..0000000 --- a/basefiles/debian/motd-news-config.lintian-overrides +++ /dev/null @@ -1,5 +0,0 @@ -# -# enabling/disabling in the .service file would not allow the -# "other-package activates service" mechanism that motd-news uses -# -motd-news-config: init.d-script-should-always-start-service diff --git a/basefiles/debian/motd-news-config.postinst b/basefiles/debian/motd-news-config.postinst deleted file mode 100644 index 0be04fd..0000000 --- a/basefiles/debian/motd-news-config.postinst +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/sh -# postinst script for motd-news-config -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-remove' -# * `abort-deconfigure' `in-favour' -# `removing' -# -# for details, see https://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - configure) - # only run on new installs, $2 will be empty then - if [ -z "$2" ]; then - # /e/d/motd-news was moved from pkg:base-files to this package. - # base-files runs rm_conffile which, if it was modified, leaves - # /e/d/motd-news.dpkg-bak around. We want to preserve that *changed* - # config file in this migration, and this is something that - # rm_conffile is not handling. In that case, let's put the backup - # file back in place - if [ -e /etc/default/motd-news.dpkg-bak ]; then - mv /etc/default/motd-news.dpkg-bak /etc/default/motd-news - fi - if [ -e /etc/default/motd-news.wasremoved ] && [ -e /etc/default/motd-news ]; then - sed -i -e 's/^ENABLED=1/# Changed by motd-news-config.postinst:\n# config file was manually removed - disable the service\nENABLED=0/' /etc/default/motd-news - fi - fi - rm -f /etc/default/motd-news.wasremoved - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/basefiles/debian/motd-news.service b/basefiles/debian/motd-news.service deleted file mode 100644 index 99be3f7..0000000 --- a/basefiles/debian/motd-news.service +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=Message of the Day -After=network-online.target -Documentation=man:update-motd(8) - -[Service] -Type=oneshot -ExecStart=/etc/update-motd.d/50-motd-news --force diff --git a/basefiles/debian/motd-news.timer b/basefiles/debian/motd-news.timer deleted file mode 100644 index f7c4317..0000000 --- a/basefiles/debian/motd-news.timer +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Message of the Day - -[Timer] -OnCalendar=00,12:00:00 -RandomizedDelaySec=12h -Persistent=true -OnStartupSec=1min - -[Install] -WantedBy=timers.target diff --git a/basefiles/etc/debian_version b/basefiles/etc/debian_version deleted file mode 100644 index a82f56a..0000000 --- a/basefiles/etc/debian_version +++ /dev/null @@ -1 +0,0 @@ -bookworm/sid diff --git a/basefiles/etc/host.conf b/basefiles/etc/host.conf deleted file mode 100644 index d8ec0b4..0000000 --- a/basefiles/etc/host.conf +++ /dev/null @@ -1,3 +0,0 @@ -# The "order" line is only used by old versions of the C library. -order hosts,bind -multi on diff --git a/basefiles/etc/issue b/basefiles/etc/issue deleted file mode 100644 index eed8d1d..0000000 --- a/basefiles/etc/issue +++ /dev/null @@ -1,2 +0,0 @@ -PikaOS Linux 3 \n \l - diff --git a/basefiles/etc/issue.net b/basefiles/etc/issue.net deleted file mode 100644 index dfc3847..0000000 --- a/basefiles/etc/issue.net +++ /dev/null @@ -1 +0,0 @@ -PikaOS Linux 3 diff --git a/basefiles/etc/legal b/basefiles/etc/legal deleted file mode 100644 index 4ba2c15..0000000 --- a/basefiles/etc/legal +++ /dev/null @@ -1,5 +0,0 @@ -PikaOS Copyright and EULA 2022 - 2023: - -ILLEGAL! -POLICE HANDS UP! GET ON THE FUCKING GROUND!!!!! -WE GOT YOU YOU BITCH. diff --git a/basefiles/etc/lsb-release b/basefiles/etc/lsb-release deleted file mode 100644 index f6e6a0d..0000000 --- a/basefiles/etc/lsb-release +++ /dev/null @@ -1,4 +0,0 @@ -DISTRIB_ID=PikaOS -DISTRIB_RELEASE=3 -DISTRIB_CODENAME=devel -DISTRIB_DESCRIPTION="PikaOS Linux 3" diff --git a/basefiles/etc/os-release b/basefiles/etc/os-release deleted file mode 100644 index cad05a0..0000000 --- a/basefiles/etc/os-release +++ /dev/null @@ -1,9 +0,0 @@ -NAME="PikaOS" -VERSION="3" -ID=pika -ID_LIKE="ubuntu debian" -PRETTY_NAME="PikaOS Linux 3" -VERSION_ID="3" -VERSION_CODENAME=devel -UBUNTU_CODENAME=devel -LOGO=pika-logo \ No newline at end of file diff --git a/basefiles/locale-check.c b/basefiles/locale-check.c deleted file mode 100644 index 09bfa3b..0000000 --- a/basefiles/locale-check.c +++ /dev/null @@ -1,80 +0,0 @@ -#include -#include -#include -#include - -char *help = "locale-check DEFAULT_LOCALE\n" - "\n" - "Check that the various locale-related environment variables contain\n" - "values that can be set. Output shell that can be passed to eval to\n" - "set any invalid environment variables to DEFAULT_LOCALE\n"; - -static void usage(void) { - fprintf(stderr, "%s", help); - exit(1); -} - -static void check(int category, char* varname, char* defvalue) { - if (getenv(varname) != NULL) { - if (setlocale(category, "") == NULL) { - printf("%s=%s\n", varname, defvalue); - } - } -} - -#define SINGLEQUOTE '\'' -#define BACKSLASH '\\' - -/* Quote 'val' for shell */ -static char *quote(char* val) { - /* This implementation single quotes val and replaces single quotes - with SINGLEQUOTE BACKSLASH SINGLEQUOTE SINGLEQUOTE. The worst - case is that val is entirely single quotes, in which case each - character of the input becomes 4 bytes. Then 3 bytes for - surrounding quotes and terminating NUL. */ - char *ret = malloc(strlen(val)*4+3); - char *source = val; - char *dest = ret; - - *dest++ = SINGLEQUOTE; - while (*source) { - if (*source == SINGLEQUOTE) { - *dest++ = SINGLEQUOTE; - *dest++ = BACKSLASH; - *dest++ = SINGLEQUOTE; - } - *dest++ = *source++; - } - *dest++ = SINGLEQUOTE; - *dest++ = 0; - return ret; -} - -#define CHECK(cat, def) check(cat, #cat, def); - -int main(int argc, char** argv) { - char *defval; - if (argc != 2) { - usage(); - } - defval = quote(argv[1]); - /* setlocale will never consult LANG if LC_ALL is set */ - if (getenv("LC_ALL") == NULL) { - check(LC_ALL, "LANG", defval); - } else { - CHECK(LC_ALL, defval); - } - CHECK(LC_ADDRESS, defval); - CHECK(LC_COLLATE, defval); - CHECK(LC_CTYPE, defval); - CHECK(LC_IDENTIFICATION, defval); - CHECK(LC_MEASUREMENT, defval); - CHECK(LC_MESSAGES, defval); - CHECK(LC_MONETARY, defval); - CHECK(LC_NAME, defval); - CHECK(LC_NUMERIC, defval); - CHECK(LC_PAPER, defval); - CHECK(LC_TELEPHONE, defval); - CHECK(LC_TIME, defval); - return 0; -} diff --git a/basefiles/logos/ubuntu-logo-text-dark.png b/basefiles/logos/ubuntu-logo-text-dark.png deleted file mode 120000 index 8d74b17..0000000 --- a/basefiles/logos/ubuntu-logo-text-dark.png +++ /dev/null @@ -1 +0,0 @@ -pika-logo-text-dark.svg \ No newline at end of file diff --git a/basefiles/logos/ubuntu-logo-text-dark.svg b/basefiles/logos/ubuntu-logo-text-dark.svg deleted file mode 120000 index 8d74b17..0000000 --- a/basefiles/logos/ubuntu-logo-text-dark.svg +++ /dev/null @@ -1 +0,0 @@ -pika-logo-text-dark.svg \ No newline at end of file diff --git a/basefiles/logos/ubuntu-logo-text.png b/basefiles/logos/ubuntu-logo-text.png deleted file mode 120000 index 7c92bcf..0000000 --- a/basefiles/logos/ubuntu-logo-text.png +++ /dev/null @@ -1 +0,0 @@ -pika-logo-text.svg \ No newline at end of file diff --git a/basefiles/logos/ubuntu-logo-text.svg b/basefiles/logos/ubuntu-logo-text.svg deleted file mode 120000 index 7c92bcf..0000000 --- a/basefiles/logos/ubuntu-logo-text.svg +++ /dev/null @@ -1 +0,0 @@ -pika-logo-text.svg \ No newline at end of file diff --git a/basefiles/logos/ubuntu-logo.png b/basefiles/logos/ubuntu-logo.png deleted file mode 120000 index 1418deb..0000000 --- a/basefiles/logos/ubuntu-logo.png +++ /dev/null @@ -1 +0,0 @@ -pika-logo.svg \ No newline at end of file diff --git a/basefiles/logos/ubuntu-logo.svg b/basefiles/logos/ubuntu-logo.svg deleted file mode 120000 index 1418deb..0000000 --- a/basefiles/logos/ubuntu-logo.svg +++ /dev/null @@ -1 +0,0 @@ -pika-logo.svg \ No newline at end of file diff --git a/basefiles/motd/00-header b/basefiles/motd/00-header deleted file mode 100755 index 4fcc341..0000000 --- a/basefiles/motd/00-header +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -[ -r /etc/lsb-release ] && . /etc/lsb-release - -if [ -z "$DISTRIB_DESCRIPTION" ] && [ -x /usr/bin/lsb_release ]; then - # Fall back to using the very slow lsb_release utility - DISTRIB_DESCRIPTION=$(lsb_release -s -d) -fi - -printf "Welcome to %s (%s %s %s)\n" "$DISTRIB_DESCRIPTION" "$(uname -o)" "$(uname -r)" "$(uname -m)" diff --git a/basefiles/motd/10-help-text b/basefiles/motd/10-help-text deleted file mode 100755 index fe8f5ba..0000000 --- a/basefiles/motd/10-help-text +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -printf "PikaOS Police: 911 what's your emergency?\n" -printf "You: I Did Something Really stupid... plz save me.\n" -printf "PikaOS Police: https://discord.gg/6HKR2YRvNg\n" diff --git a/basefiles/motd/50-motd-news b/basefiles/motd/50-motd-news deleted file mode 100755 index 1a24852..0000000 --- a/basefiles/motd/50-motd-news +++ /dev/null @@ -1 +0,0 @@ -#!/bin/sh diff --git a/basefiles/origins/debian b/basefiles/origins/debian deleted file mode 100644 index 3b623d2..0000000 --- a/basefiles/origins/debian +++ /dev/null @@ -1,3 +0,0 @@ -Vendor: Debian -Vendor-URL: https://www.debian.org/ -Bugs: debbugs://bugs.debian.org diff --git a/basefiles/origins/pika b/basefiles/origins/pika deleted file mode 100644 index 632a797..0000000 --- a/basefiles/origins/pika +++ /dev/null @@ -1,2 +0,0 @@ -Vendor: PikaOS -Parent: Ubuntu diff --git a/basefiles/origins/ubuntu b/basefiles/origins/ubuntu deleted file mode 100644 index 7cc3ce2..0000000 --- a/basefiles/origins/ubuntu +++ /dev/null @@ -1,4 +0,0 @@ -Vendor: Ubuntu -Vendor-URL: http://www.ubuntu.com/ -Bugs: https://bugs.launchpad.net/ubuntu/+filebug -Parent: Debian diff --git a/basefiles/profile.d/01-locale-fix.sh b/basefiles/profile.d/01-locale-fix.sh deleted file mode 100644 index e3c8733..0000000 --- a/basefiles/profile.d/01-locale-fix.sh +++ /dev/null @@ -1,2 +0,0 @@ -# Make sure the locale variables are set to valid values. -eval $(/usr/bin/locale-check C.UTF-8) diff --git a/basefiles/share/dot.bashrc b/basefiles/share/dot.bashrc deleted file mode 100644 index f6939ee..0000000 --- a/basefiles/share/dot.bashrc +++ /dev/null @@ -1,99 +0,0 @@ -# ~/.bashrc: executed by bash(1) for non-login shells. -# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) -# for examples - -# If not running interactively, don't do anything -[ -z "$PS1" ] && return - -# don't put duplicate lines in the history. See bash(1) for more options -# ... or force ignoredups and ignorespace -HISTCONTROL=ignoredups:ignorespace - -# append to the history file, don't overwrite it -shopt -s histappend - -# for setting history length see HISTSIZE and HISTFILESIZE in bash(1) -HISTSIZE=1000 -HISTFILESIZE=2000 - -# check the window size after each command and, if necessary, -# update the values of LINES and COLUMNS. -shopt -s checkwinsize - -# make less more friendly for non-text input files, see lesspipe(1) -[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" - -# set variable identifying the chroot you work in (used in the prompt below) -if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then - debian_chroot=$(cat /etc/debian_chroot) -fi - -# set a fancy prompt (non-color, unless we know we "want" color) -case "$TERM" in - xterm-color) color_prompt=yes;; -esac - -# uncomment for a colored prompt, if the terminal has the capability; turned -# off by default to not distract the user: the focus in a terminal window -# should be on the output of commands, not on the prompt -#force_color_prompt=yes - -if [ -n "$force_color_prompt" ]; then - if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then - # We have color support; assume it's compliant with Ecma-48 - # (ISO/IEC-6429). (Lack of such support is extremely rare, and such - # a case would tend to support setf rather than setaf.) - color_prompt=yes - else - color_prompt= - fi -fi - -if [ "$color_prompt" = yes ]; then - PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' -else - PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' -fi -unset color_prompt force_color_prompt - -# If this is an xterm set the title to user@host:dir -case "$TERM" in -xterm*|rxvt*) - PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" - ;; -*) - ;; -esac - -# enable color support of ls and also add handy aliases -if [ -x /usr/bin/dircolors ]; then - test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" - alias ls='ls --color=auto' - #alias dir='dir --color=auto' - #alias vdir='vdir --color=auto' - - alias grep='grep --color=auto' - alias fgrep='fgrep --color=auto' - alias egrep='egrep --color=auto' -fi - -# some more ls aliases -alias ll='ls -alF' -alias la='ls -A' -alias l='ls -CF' - -# Alias definitions. -# You may want to put all your additions into a separate file like -# ~/.bash_aliases, instead of adding them here directly. -# See /usr/share/doc/bash-doc/examples in the bash-doc package. - -if [ -f ~/.bash_aliases ]; then - . ~/.bash_aliases -fi - -# enable programmable completion features (you don't need to enable -# this, if it's already enabled in /etc/bash.bashrc and /etc/profile -# sources /etc/bash.bashrc). -#if [ -f /etc/bash_completion ] && ! shopt -oq posix; then -# . /etc/bash_completion -#fi diff --git a/basefiles/share/networks b/basefiles/share/networks deleted file mode 100644 index 0890307..0000000 --- a/basefiles/share/networks +++ /dev/null @@ -1,2 +0,0 @@ -# symbolic names for networks, see networks(5) for more information -link-local 169.254.0.0 diff --git a/basefiles/share/profile.md5sums b/basefiles/share/profile.md5sums deleted file mode 100644 index 3da8ac8..0000000 --- a/basefiles/share/profile.md5sums +++ /dev/null @@ -1,12 +0,0 @@ -4a409a5f2242928822658b14918b2ee1 -61a3f85a2dc30f4e920f615109137be5 -67f902de4d3fb8cd2f4778cad06d9b17 -863ed3bf8041b035234cce25d4792fdd -9519666d98e08940df6f25dcf4598bef -9a279ae6bdd1251f64b7e70e960ef00d -aa3516b5ca8ed326d75e56cc856e7d48 -b59ea6ac3a1ad8c0527ec94f73bafca0 -c3a1d42cddcc565f16b48eb9c2119d9d -85a2a7227b884e4c84ff950626fcc89f -9d5ee34149287021622dd9e21c17ec26 -9926b56bc6e576d4ad206dd82d38deff diff --git a/main.sh b/main.sh index 1206f46..84e97b0 100755 --- a/main.sh +++ b/main.sh @@ -1,13 +1,24 @@ +#! /bin/bash + +set -e + +source ./pika-build-config.sh + +echo "$PIKA_BUILD_ARCH" > pika-build-arch + +VERSION="13.3" + # Get logos -wget https://github.com/PikaOS-Linux/pika-branding/raw/main/logos/pika-mono-small.svg -O ./basefiles/logos/pika-logo-duotone.svg -wget https://github.com/PikaOS-Linux/pika-branding/raw/main/logos/pika-logo-text-dark.svg -O ./basefiles/logos/pika-logo-text-dark.svg -wget https://github.com/PikaOS-Linux/pika-branding/raw/main/logos/pika-logo-text.svg -O ./basefiles/logos/pika-logo-text.svg -wget https://github.com/PikaOS-Linux/pika-branding/raw/main/logos/pika-logo.svg -O ./basefiles/logos/pika-logo.svg +wget https://git.pika-os.com/website/pika-branding/raw/branch/main/logos/pika-mono-small.svg -O ./base-files-not-yet/logos/pika-logo-duotone.svg +wget https://git.pika-os.com/website/pika-branding/raw/branch/main/logos/pika-logo-text-dark.svg -O ./base-files-not-yet/logos/pika-logo-text-dark.svg +wget https://git.pika-os.com/website/pika-branding/raw/branch/main/logos/pika-logo-text.svg -O ./base-files-not-yet/logos/pika-logo-text.svg +wget https://git.pika-os.com/website/pika-branding/raw/branch/main/logos/pika-logo.svg -O ./base-files-not-yet/logos/pika-logo.svg # Clone Upstream -cd ./basefiles +cd ./base-files-not-yet # Get build deps +LOGNAME=root dh_make --createorig -y -l -p base-files_"$VERSION" || echo "dh-make: Ignoring Last Error" apt-get build-dep ./ -y # Build package diff --git a/main32.sh b/main32.sh deleted file mode 100755 index 1206f46..0000000 --- a/main32.sh +++ /dev/null @@ -1,19 +0,0 @@ -# Get logos -wget https://github.com/PikaOS-Linux/pika-branding/raw/main/logos/pika-mono-small.svg -O ./basefiles/logos/pika-logo-duotone.svg -wget https://github.com/PikaOS-Linux/pika-branding/raw/main/logos/pika-logo-text-dark.svg -O ./basefiles/logos/pika-logo-text-dark.svg -wget https://github.com/PikaOS-Linux/pika-branding/raw/main/logos/pika-logo-text.svg -O ./basefiles/logos/pika-logo-text.svg -wget https://github.com/PikaOS-Linux/pika-branding/raw/main/logos/pika-logo.svg -O ./basefiles/logos/pika-logo.svg - -# Clone Upstream -cd ./basefiles - -# Get build deps -apt-get build-dep ./ -y - -# Build package -dpkg-buildpackage --no-sign - -# Move the debs to output -cd ../ -mkdir -p ./output -mv ./*.deb ./output/ diff --git a/pika-build-config/amd64-v3.sh b/pika-build-config/amd64-v3.sh new file mode 100755 index 0000000..4547e43 --- /dev/null +++ b/pika-build-config/amd64-v3.sh @@ -0,0 +1,9 @@ +PIKA_BUILD_ARCH="amd64-v3" +DEBIAN_FRONTEND="noninteractive" +DEB_BUILD_MAINT_OPTIONS="optimize=+lto -march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32" +DEB_CFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32" +DEB_CPPFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32" +DEB_CXXFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32" +DEB_LDFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32" +DEB_BUILD_OPTIONS="nocheck notest terse" +DPKG_GENSYMBOLS_CHECK_LEVEL=0 diff --git a/pika-build-config/i386.sh b/pika-build-config/i386.sh new file mode 100755 index 0000000..9a76b13 --- /dev/null +++ b/pika-build-config/i386.sh @@ -0,0 +1,4 @@ +PIKA_BUILD_ARCH="i386" +DEBIAN_FRONTEND="noninteractive" +DEB_BUILD_OPTIONS="nocheck notest terse" +DPKG_GENSYMBOLS_CHECK_LEVEL=0 diff --git a/release.sh b/release.sh index 1575255..2b121d4 100755 --- a/release.sh +++ b/release.sh @@ -1,8 +1,3 @@ # send debs to server -rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/ +rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/cockatiel-incoming/ -# add debs to repo -ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pikauwu-main /srv/www/incoming/' - -# publish the repo -ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:' \ No newline at end of file