Commit 57dc4eb4 authored by Lorenzo "Palinuro" Faletra's avatar Lorenzo "Palinuro" Faletra
Browse files

Import Debian version 2021.07.30

base-files (1:2021.07.30) lts; urgency=medium
.
  * Update for Parrot 5.0 LTS.
.
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).
.
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.
parent 33652ad4
Pipeline #3539 failed with stages
......@@ -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 "buster/sid". Should it not read "buster" or "testing"?
says "bookworm/sid". Should it not read "bookworm" or "testing"?
Q. I upgraded my system to the unstable distribution and now my /etc/issue
says "buster/sid". Should it not read "sid" or "unstable"?
says "bookworm/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
"buster/sid" (or whatever is appropriate).
"bookworm/sid" (or whatever is appropriate).
Q. Why "buster/sid" and not "testing/unstable" as it used to be?
Q. Why "bookworm/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.
......@@ -31,7 +31,7 @@ not a reliable way to know that anymore. Looking at the contents of
your /etc/apt/sources.list file is probably a much better way.
Q. There is a new point release and I've just upgraded my system.
The /etc/debian_version file now says 8.x but /etc/issue still says 8.
The /etc/debian_version file now says 10.x but /etc/issue still says 10.
Is this ok?
A. Yes. The release managers asked me not to touch /etc/issue, as that's
......
......@@ -9,6 +9,7 @@ etc/skel
etc/update-motd.d
home
lib
lib/systemd/system-preset
proc
root
run
......
base-files (1:2021.07.30) lts; urgency=medium
* Update for Parrot 5.0 LTS.
-- Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org> Fri, 30 Jul 2021 20:53:02 +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 <sanvila@debian.org> 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 <sanvila@debian.org> Tue, 09 Jul 2019 12:05:50 +0200
base-files (1:2021.03.12) rolling; urgency=medium
* Bump Parrot 4.11 version.
......
Source: base-files
Section: admin
Priority: required
XSBC-Original-Maintainer: Santiago Vila <sanvila@debian.org>
Maintainer: Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org>
Standards-Version: 4.2.0
Build-Depends: debhelper (>= 10)
Standards-Version: 4.1.3
Build-Depends: debhelper-compat (= 13)
Package: base-files
Provides: base
Architecture: any
Pre-Depends: awk
Depends: ${misc:Depends}
Recommends: parrot-core
Essential: yes
Priority: required
Replaces: base, miscutils, dpkg (<= 1.15.0)
Breaks: initscripts (<< 2.88dsf-13.3), sendfile (<< 2.1b.20080616-5.2~)
Breaks: debian-security-support (<< 2019.04.25), initscripts (<< 2.88dsf-13.3), sendfile (<< 2.1b.20080616-5.2~)
Multi-Arch: foreign
Description: Debian/Parrot base system miscellaneous files
Description: Debian base system miscellaneous files - Parrot Edition
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.
.
This package was modified to carry the settings for Parrot Security.
......@@ -45,23 +45,12 @@ update_to_current_default() {
}
if [ ! -e /etc/dpkg/origins/default ]; then
if [ -e /etc/dpkg/origins/parrot ]; then
ln -sf parrot /etc/dpkg/origins/default
elif [ -e /etc/dpkg/origins/#VENDORFILE# ]; then
if [ -e /etc/dpkg/origins/#VENDORFILE# ]; then
ln -sf #VENDORFILE# /etc/dpkg/origins/default
fi
else
if [ -e /etc/dpkg/origins/parrot ]; then
if ! dpkg-vendor --is Parrot; then
ln -sf parrot /etc/dpkg/origins/default
fi
fi
fi
if [ "$1" = "configure" ] && [ "$2" = "" ]; then
install_from_default staff-group-for-usr-local \
/etc/staff-group-for-usr-local
install_from_default nsswitch.conf /etc/nsswitch.conf
install_from_default dot.profile /root/.profile
install_from_default dot.bashrc /root/.bashrc
install_from_default profile /etc/profile
......@@ -119,21 +108,15 @@ if [ ! -f /var/lib/dpkg/status ]; then
chmod 644 /var/lib/dpkg/status
fi
if [ ! -f /usr/info/dir ] && [ ! -f /usr/share/info/dir ]; then
if [ -d /usr/share/info ] && [ ! -f /usr/info/dir ] && [ ! -f /usr/share/info/dir ]; then
install_from_default info.dir /usr/share/info/dir
chmod 644 /usr/share/info/dir
fi
if [ "$1" = "configure" ] && [ "$2" != "" ]; then
update_to_current_default profile /etc/profile
update_to_current_default nsswitch.conf /etc/nsswitch.conf
update_to_current_default dot.profile /root/.profile
if dpkg --compare-versions "$2" lt-nl "7.7"; then
install_directory mnt 755 root
fi
fi
if dpkg --compare-versions "$2" lt-nl "6.10"; then
install_from_default staff-group-for-usr-local \
/etc/staff-group-for-usr-local
fi
......@@ -16,7 +16,6 @@ DESTDIR = debian/base-files
override_dh_auto_build:
sh debian/check-md5sum-etc profile
sh debian/check-md5sum-etc nsswitch.conf
sed -e "s&#OSNAME#&$(OSNAME)&g" debian/copyright.in > debian/copyright
sed -e "s/#VENDORFILE#/$(VENDORFILE)/g" debian/postinst.in > debian/postinst
......@@ -26,6 +25,7 @@ override_dh_auto_install:
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
install -p -m 644 systemd-preset/* $(DESTDIR)/lib/systemd/system-preset
ifeq ($(DEB_HOST_GNU_SYSTEM),gnu)
rmdir $(DESTDIR)/sys
endif
......
Parrot OS 4.11 \n \l
Parrot OS 5.0 \n \l
Parrot OS 4.11
Parrot OS 5.0
DISTRIB_ID=Parrot
DISTRIB_RELEASE=4.11
DISTRIB_CODENAME=rolling
DISTRIB_DESCRIPTION="Parrot OS 4.11"
PRETTY_NAME="Parrot OS 4.11"
PRETTY_NAME="Parrot OS 5.0 (LTS)"
NAME="Parrot OS"
ID=parrot
ID_LIKE=debian
VERSION="4.11"
VERSION_ID="4.11"
VERSION_ID="5.0"
VERSION="5.0 (LTS)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.parrotsec.org/"
SUPPORT_URL="https://community.parrotsec.org/"
BUG_REPORT_URL="https://community.parrotsec.org/"
#!/bin/sh
source /etc/lsb-release
echo -e "
____ _ ____
| _ \ __ _ _ __ _ __ ___ | |_ / ___| ___ ___
| |_) / _\` | '__| '__/ _ \| __| \___ \ / _ \/ __|
| __/ (_| | | | | | (_) | |_ ___) | __/ (__
|_| \__,_|_| |_| \___/ \__| |____/ \___|\___|
"
echo "Distro version: $DISTRIB_DESCRIPTION"
echo "Kernel Version: $(uname -srm)"
echo -e "
The programs included with the Parrot GNU/Linux are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Parrot GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
"
uname -snrvm
Vendor: Debian
Vendor-URL: http://www.debian.org/
Vendor-URL: https://www.debian.org/
Bugs: debbugs://bugs.debian.org
......@@ -6,4 +6,4 @@ if [ "$BASH" ]; then
fi
fi
mesg n || true
mesg n 2> /dev/null || true
54328f6b27a45c51986ed436f3f609bf 8
46438b614dcb2175148fa7e0bdc604a4 9.3
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
gshadow: files
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
109e33e2c91d1853b5bc56078a96aa18 3.0.0 to 3.1.15
3114ea9cf2f3bd8d120b4da96e3832d5 3.1.8 and 3.1.9
295c15c4bdac80e50b37689ef08f359c 3.1.16 to 7.2
30b82cb1ce20d480703da2208a4607b4 6.6
f8e97bf611374634c7cb3a6085503ab5 7.3
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "`id -u`" -eq 0 ]; then
if [ "$(id -u)" -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
......@@ -16,7 +16,7 @@ if [ "${PS1-}" ]; then
. /etc/bash.bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
if [ "$(id -u)" -eq 0 ]; then
PS1='# '
else
PS1='$ '
......
......@@ -11,4 +11,5 @@ b94c2e3df2a779ac12080942df4d86ea 5.9 to 6.4
91901ce5707909cfec8b3a1a6efbfa61 6.5 to 7.6
6c56009f8aabda9400878ce3c7fd91af 7.7
ff2bae0480885c074afadec201f5c668 7.8 to 9.5
2255054e61cee1a99dbe893377820dde 9.6 to current
2255054e61cee1a99dbe893377820dde 9.6 to 11
48a30a427d1794feb49f102b87ddce2b 11.1 to current
......@@ -13,4 +13,4 @@ This file is created by base-files on the initial install, and it's
also created on upgrades from any base-files release before 6.10, which
means it will be created on upgrades from squeeze to wheezy.
See http://bugs.debian.org/299007 for details.
See https://bugs.debian.org/299007 for details.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment