Date: Friday, August 21, 2020 @ 11:21:09 Author: seblu Revision: 394474
archrelease: copy trunk to testing-x86_64 Added: filesystem/repos/testing-x86_64/ filesystem/repos/testing-x86_64/PKGBUILD (from rev 394473, filesystem/trunk/PKGBUILD) filesystem/repos/testing-x86_64/archlinux.png (from rev 394473, filesystem/trunk/archlinux.png) filesystem/repos/testing-x86_64/archlinux.svg (from rev 394473, filesystem/trunk/archlinux.svg) filesystem/repos/testing-x86_64/crypttab (from rev 394473, filesystem/trunk/crypttab) filesystem/repos/testing-x86_64/env-generator (from rev 394473, filesystem/trunk/env-generator) filesystem/repos/testing-x86_64/fstab (from rev 394473, filesystem/trunk/fstab) filesystem/repos/testing-x86_64/group (from rev 394473, filesystem/trunk/group) filesystem/repos/testing-x86_64/gshadow (from rev 394473, filesystem/trunk/gshadow) filesystem/repos/testing-x86_64/host.conf (from rev 394473, filesystem/trunk/host.conf) filesystem/repos/testing-x86_64/hosts (from rev 394473, filesystem/trunk/hosts) filesystem/repos/testing-x86_64/issue (from rev 394473, filesystem/trunk/issue) filesystem/repos/testing-x86_64/ld.so.conf (from rev 394473, filesystem/trunk/ld.so.conf) filesystem/repos/testing-x86_64/locale.sh (from rev 394473, filesystem/trunk/locale.sh) filesystem/repos/testing-x86_64/motd (from rev 394473, filesystem/trunk/motd) filesystem/repos/testing-x86_64/nsswitch.conf (from rev 394473, filesystem/trunk/nsswitch.conf) filesystem/repos/testing-x86_64/os-release (from rev 394473, filesystem/trunk/os-release) filesystem/repos/testing-x86_64/passwd (from rev 394473, filesystem/trunk/passwd) filesystem/repos/testing-x86_64/profile (from rev 394473, filesystem/trunk/profile) filesystem/repos/testing-x86_64/resolv.conf (from rev 394473, filesystem/trunk/resolv.conf) filesystem/repos/testing-x86_64/securetty (from rev 394473, filesystem/trunk/securetty) filesystem/repos/testing-x86_64/shadow (from rev 394473, filesystem/trunk/shadow) filesystem/repos/testing-x86_64/shells (from rev 394473, filesystem/trunk/shells) filesystem/repos/testing-x86_64/sysctl (from rev 394473, filesystem/trunk/sysctl) filesystem/repos/testing-x86_64/sysusers (from rev 394473, filesystem/trunk/sysusers) filesystem/repos/testing-x86_64/tmpfiles (from rev 394473, filesystem/trunk/tmpfiles) ---------------+ PKGBUILD | 130 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ crypttab | 12 +++++ env-generator | 3 + fstab | 4 + group | 1 gshadow | 1 host.conf | 4 + hosts | 2 issue | 2 ld.so.conf | 4 + locale.sh | 22 +++++++++ nsswitch.conf | 18 +++++++ os-release | 10 ++++ passwd | 1 profile | 45 +++++++++++++++++++ resolv.conf | 2 securetty | 12 +++++ shadow | 1 shells | 5 ++ sysctl | 3 + sysusers | 28 ++++++++++++ tmpfiles | 17 +++++++ 22 files changed, 327 insertions(+) Copied: filesystem/repos/testing-x86_64/PKGBUILD (from rev 394473, filesystem/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1,130 @@ +# Maintainer: Sébastien Luttringer +# Contributor: Tom Gundersen <t...@jklm.no> + +pkgname=filesystem +pkgver=2020.08.21 +pkgrel=1 +pkgdesc='Base Arch Linux files' +arch=('x86_64') +license=('GPL') +url='https://www.archlinux.org' +depends=('iana-etc') +backup=('etc/crypttab' 'etc/fstab' 'etc/group' 'etc/gshadow' 'etc/host.conf' + 'etc/hosts' 'etc/issue' 'etc/ld.so.conf' 'etc/motd' 'etc/nsswitch.conf' + 'etc/passwd' 'etc/profile' 'etc/resolv.conf' 'etc/securetty' + 'etc/shadow' 'etc/shells') +source=('crypttab' 'env-generator' 'fstab' 'group' 'gshadow' 'host.conf' 'hosts' + 'issue' 'ld.so.conf' 'locale.sh' 'motd' 'nsswitch.conf' 'os-release' + 'passwd' 'profile' 'resolv.conf' 'securetty' 'shadow' 'shells' 'sysctl' + 'sysusers' 'tmpfiles' 'archlinux.svg' 'archlinux.png') +sha256sums=('e03bede3d258d680548696623d5979c6edf03272e801a813c81ba5a5c64f4f82' + 'ed0cb4f1db4021f8c3b5ce78fdf91d2c0624708f58f36c9cf867f4d93c3bc6da' + 'e54626e74ed8fee4173b62a545ab1c3a3a069e4217a0ee8fc398d9933e9c1696' + '244f0718ee2a9d6862ae59d6c18c1dd1568651eada91a704574fa527fbac2b3a' + '90d879374f77bac47f132164c1e7fc4892e994ff1d1ac376efa0c1c26ea37273' + '4d7b647169063dfedbff5e1e22cee77bd1a4183dbcfd5e802e68939da4bbf733' + 'd9cd8a77d9e0aa5e90d7f4ed74c8745c17b525e720e28e4c44364150003c35f9' + 'c774dbbcaea38ee1c1141d0daf82aa8177bfb26aca896d6f0c4ccdc902f6ac42' + 'dad04a370e488aa85fb0a813a5c83cf6fd981ce01883fc59685447b092de84b5' + '8ca2d8eef6fb5143c9ef7e9174ccfef59ac7ad2deee243574cd10c763156cc10' + 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855' + '3b821d881a147977e251c522d722626881229d8bc150447673f39f28876ac749' + '53395e67cc113b7f73e72a829731f6d30319a841d164af8a1d4d4f829a9c3cd9' + '5e06477834f51abf42ea4e8dc199632afc6afbfd8c44354685a271e9a48d2c0a' + '7bb7e910d7bc073e34543f1e42b709e85efb6f1f7c0e5c9ffe0e207f8ca36fb6' + '5557d8e601b17a80d1ea7de78a9869be69637cb6a02fbfe334e22fdf64e61d4c' + 'd88be2b45b43605ff31dd83d6a138069b6c2e92bc8989b7b9ab9eba8da5f8c7b' + '6e13705ac4d6f69cdba118c6b70c722346fd3c45224133e6bbfe28aca719563c' + 'c390b31fffc4a2b5d78ae8c89f5317aadef1f71baac09cfb467b675db1406d61' + '89e43a0b7028f52d5c8e7fb961d962c4b4f4e9595880a6157274ddb2c7c0b6b4' + 'b5b28f395583d141d88c0b955cd05124f9b8cdf003feab01e55885b8e8c1303e' + '618ac097441c1f2daffc9967e5c3cd18ea8866f776db62d04bf401c53907b1c9' + 'e6959e41bf552662d6c662faa49ec84b5fadb8b612d49e8324bfe45752c0fb0d' + 'a10826be2337d2e96a273af4db62678caa7d1602d9f94b47dedebd71807ecc03') + +package() { + cd "$pkgdir" + + # setup root filesystem + for d in boot dev etc home mnt usr var opt srv/http run; do + install -d -m755 $d + done + install -d -m555 proc + install -d -m555 sys + install -d -m0750 root + install -d -m1777 tmp + # vsftpd won't run with write perms on /srv/ftp + # ftp (uid 14/gid 11) + install -d -m555 -g 11 srv/ftp + + # setup /etc and /usr/share/factory/etc + install -d etc/{ld.so.conf.d,skel,profile.d} usr/share/factory/etc + for f in fstab group host.conf hosts issue ld.so.conf motd nsswitch.conf \ + passwd resolv.conf securetty shells profile; do + install -m644 "$srcdir"/$f etc/ + install -m644 "$srcdir"/$f usr/share/factory/etc/ + done + ln -s ../proc/self/mounts etc/mtab + for f in gshadow shadow crypttab; do + install -m600 "$srcdir"/$f etc/ + install -m600 "$srcdir"/$f usr/share/factory/etc/ + done + touch etc/arch-release + install -m644 "$srcdir"/locale.sh etc/profile.d/locale.sh + install -Dm644 "$srcdir"/os-release usr/lib/os-release + + # setup /var + for d in cache local opt log/old lib/misc empty; do + install -d -m755 var/$d + done + install -d -m1777 var/{tmp,spool/mail} + + # allow setgid games (gid 50) to write scores + install -d -m775 -g 50 var/games + ln -s spool/mail var/mail + ln -s ../run var/run + ln -s ../run/lock var/lock + + # setup /usr hierarchy + for d in bin include lib share/{misc,pixmaps} src; do + install -d -m755 usr/$d + done + for d in {1..8}; do + install -d -m755 usr/share/man/man$d + done + + # add lib symlinks + ln -s usr/lib lib + [[ $CARCH = 'x86_64' ]] && { + ln -s usr/lib lib64 + ln -s lib usr/lib64 + } + + # add bin symlinks + ln -s usr/bin bin + ln -s usr/bin sbin + ln -s bin usr/sbin + + # setup /usr/local hierarchy + for d in bin etc games include lib man sbin share src; do + install -d -m755 usr/local/$d + done + ln -s ../man usr/local/share/man + + # setup systemd-sysctl + install -D -m644 "$srcdir"/sysctl usr/lib/sysctl.d/10-arch.conf + + # setup systemd-sysusers + install -D -m644 "$srcdir"/sysusers usr/lib/sysusers.d/arch.conf + + # setup systemd-tmpfiles + install -D -m644 "$srcdir"/tmpfiles usr/lib/tmpfiles.d/arch.conf + + # setup systemd.environment-generator + install -D -m755 "$srcdir"/env-generator usr/lib/systemd/system-environment-generators/10-arch + + # add logo + install -D -m644 "$srcdir"/archlinux.{svg,png} usr/share/pixmaps +} + +# vim:set ts=2 sw=2 et: Copied: filesystem/repos/testing-x86_64/archlinux.png (from rev 394473, filesystem/trunk/archlinux.png) =================================================================== (Binary files differ) Copied: filesystem/repos/testing-x86_64/archlinux.svg (from rev 394473, filesystem/trunk/archlinux.svg) =================================================================== (Binary files differ) Copied: filesystem/repos/testing-x86_64/crypttab (from rev 394473, filesystem/trunk/crypttab) =================================================================== --- testing-x86_64/crypttab (rev 0) +++ testing-x86_64/crypttab 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1,12 @@ +# Configuration for encrypted block devices. +# See crypttab(5) for details. + +# NOTE: Do not list your root (/) partition here, it must be set up +# beforehand by the initramfs (/etc/mkinitcpio.conf). + +# <name> <device> <password> <options> +# home UUID=b8ad5c18-f445-495d-9095-c9ec4f9d2f37 /etc/mypassword1 +# data1 /dev/sda3 /etc/mypassword2 +# data2 /dev/sda5 /etc/cryptfs.key +# swap /dev/sdx4 /dev/urandom swap,cipher=aes-cbc-essiv:sha256,size=256 +# vol /dev/sdb7 none Copied: filesystem/repos/testing-x86_64/env-generator (from rev 394473, filesystem/trunk/env-generator) =================================================================== --- testing-x86_64/env-generator (rev 0) +++ testing-x86_64/env-generator 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1,3 @@ +#!/bin/sh + +echo 'PATH=/usr/local/sbin:/usr/local/bin:/usr/bin' Copied: filesystem/repos/testing-x86_64/fstab (from rev 394473, filesystem/trunk/fstab) =================================================================== --- testing-x86_64/fstab (rev 0) +++ testing-x86_64/fstab 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1,4 @@ +# Static information about the filesystems. +# See fstab(5) for details. + +# <file system> <dir> <type> <options> <dump> <pass> Copied: filesystem/repos/testing-x86_64/group (from rev 394473, filesystem/trunk/group) =================================================================== --- testing-x86_64/group (rev 0) +++ testing-x86_64/group 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1 @@ +root:x:0:root Copied: filesystem/repos/testing-x86_64/gshadow (from rev 394473, filesystem/trunk/gshadow) =================================================================== --- testing-x86_64/gshadow (rev 0) +++ testing-x86_64/gshadow 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1 @@ +root:::root Copied: filesystem/repos/testing-x86_64/host.conf (from rev 394473, filesystem/trunk/host.conf) =================================================================== --- testing-x86_64/host.conf (rev 0) +++ testing-x86_64/host.conf 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1,4 @@ +# Resolver configuration file. +# See host.conf(5) for details. + +multi on Copied: filesystem/repos/testing-x86_64/hosts (from rev 394473, filesystem/trunk/hosts) =================================================================== --- testing-x86_64/hosts (rev 0) +++ testing-x86_64/hosts 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1,2 @@ +# Static table lookup for hostnames. +# See hosts(5) for details. Copied: filesystem/repos/testing-x86_64/issue (from rev 394473, filesystem/trunk/issue) =================================================================== --- testing-x86_64/issue (rev 0) +++ testing-x86_64/issue 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1,2 @@ +Arch Linux \r (\l) + Copied: filesystem/repos/testing-x86_64/ld.so.conf (from rev 394473, filesystem/trunk/ld.so.conf) =================================================================== --- testing-x86_64/ld.so.conf (rev 0) +++ testing-x86_64/ld.so.conf 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1,4 @@ +# Dynamic linker/loader configuration. +# See ld.so(8) and ldconfig(8) for details. + +include /etc/ld.so.conf.d/*.conf Copied: filesystem/repos/testing-x86_64/locale.sh (from rev 394473, filesystem/trunk/locale.sh) =================================================================== --- testing-x86_64/locale.sh (rev 0) +++ testing-x86_64/locale.sh 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1,22 @@ +#!/bin/sh + +# load locale.conf in XDG paths. +# /etc/locale.conf loads and overrides by kernel command line is done by systemd +# But we override it here, see FS#56688 +if [ -z "$LANG" ]; then + if [ -n "$XDG_CONFIG_HOME" ] && [ -r "$XDG_CONFIG_HOME/locale.conf" ]; then + . "$XDG_CONFIG_HOME/locale.conf" + elif [ -n "$HOME" ] && [ -r "$HOME/.config/locale.conf" ]; then + . "$HOME/.config/locale.conf" + elif [ -r /etc/locale.conf ]; then + . /etc/locale.conf + fi +fi + +# define default LANG to C if not already defined +LANG=${LANG:-C} + +# export all locale (7) variables when they exist +export LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY \ + LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT \ + LC_IDENTIFICATION Copied: filesystem/repos/testing-x86_64/motd (from rev 394473, filesystem/trunk/motd) =================================================================== Copied: filesystem/repos/testing-x86_64/nsswitch.conf (from rev 394473, filesystem/trunk/nsswitch.conf) =================================================================== --- testing-x86_64/nsswitch.conf (rev 0) +++ testing-x86_64/nsswitch.conf 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1,18 @@ +# Name Service Switch configuration file. +# See nsswitch.conf(5) for details. + +passwd: files systemd +group: files systemd +shadow: files + +publickey: files + +hosts: files mymachines myhostname resolve [!UNAVAIL=return] dns +networks: files + +protocols: files +services: files +ethers: files +rpc: files + +netgroup: files Copied: filesystem/repos/testing-x86_64/os-release (from rev 394473, filesystem/trunk/os-release) =================================================================== --- testing-x86_64/os-release (rev 0) +++ testing-x86_64/os-release 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1,10 @@ +NAME="Arch Linux" +PRETTY_NAME="Arch Linux" +ID=arch +BUILD_ID=rolling +ANSI_COLOR="38;2;23;147;209" +HOME_URL="https://www.archlinux.org/" +DOCUMENTATION_URL="https://wiki.archlinux.org/" +SUPPORT_URL="https://bbs.archlinux.org/" +BUG_REPORT_URL="https://bugs.archlinux.org/" +LOGO=archlinux Copied: filesystem/repos/testing-x86_64/passwd (from rev 394473, filesystem/trunk/passwd) =================================================================== --- testing-x86_64/passwd (rev 0) +++ testing-x86_64/passwd 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1 @@ +root:x:0:0::/root:/bin/bash Copied: filesystem/repos/testing-x86_64/profile (from rev 394473, filesystem/trunk/profile) =================================================================== --- testing-x86_64/profile (rev 0) +++ testing-x86_64/profile 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1,45 @@ +# /etc/profile + +# Set our umask +umask 022 + +# Append our default paths +appendpath () { + case ":$PATH:" in + *:"$1":*) + ;; + *) + PATH="${PATH:+$PATH:}$1" + esac +} + +appendpath '/usr/local/sbin' +appendpath '/usr/local/bin' +appendpath '/usr/bin' +unset -f appendpath + +export PATH + +# Load profiles from /etc/profile.d +if test -d /etc/profile.d/; then + for profile in /etc/profile.d/*.sh; do + test -r "$profile" && . "$profile" + done + unset profile +fi + +# Source global bash config, when interactive but not posix or sh mode +if test "$BASH" &&\ + test "$PS1" &&\ + test -z "$POSIXLY_CORRECT" &&\ + test "${0#-}" != sh &&\ + test -r /etc/bash.bashrc +then + . /etc/bash.bashrc +fi + +# Termcap is outdated, old, and crusty, kill it. +unset TERMCAP + +# Man is much better than us at figuring this out +unset MANPATH Copied: filesystem/repos/testing-x86_64/resolv.conf (from rev 394473, filesystem/trunk/resolv.conf) =================================================================== --- testing-x86_64/resolv.conf (rev 0) +++ testing-x86_64/resolv.conf 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1,2 @@ +# Resolver configuration file. +# See resolv.conf(5) for details. Copied: filesystem/repos/testing-x86_64/securetty (from rev 394473, filesystem/trunk/securetty) =================================================================== --- testing-x86_64/securetty (rev 0) +++ testing-x86_64/securetty 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1,12 @@ +# File which lists terminals from which root can log in. +# See securetty(5) for details. + +console +tty1 +tty2 +tty3 +tty4 +tty5 +tty6 +ttyS0 +hvc0 Copied: filesystem/repos/testing-x86_64/shadow (from rev 394473, filesystem/trunk/shadow) =================================================================== --- testing-x86_64/shadow (rev 0) +++ testing-x86_64/shadow 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1 @@ +root:*:14871:::::: Copied: filesystem/repos/testing-x86_64/shells (from rev 394473, filesystem/trunk/shells) =================================================================== --- testing-x86_64/shells (rev 0) +++ testing-x86_64/shells 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1,5 @@ +# Pathnames of valid login shells. +# See shells(5) for details. + +/bin/sh +/bin/bash Copied: filesystem/repos/testing-x86_64/sysctl (from rev 394473, filesystem/trunk/sysctl) =================================================================== --- testing-x86_64/sysctl (rev 0) +++ testing-x86_64/sysctl 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1,3 @@ +# Raise inotify resource limits +fs.inotify.max_user_instances = 1024 +fs.inotify.max_user_watches = 524288 Copied: filesystem/repos/testing-x86_64/sysusers (from rev 394473, filesystem/trunk/sysusers) =================================================================== --- testing-x86_64/sysusers (rev 0) +++ testing-x86_64/sysusers 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1,28 @@ +# default arch groups +# groups first, because we have user/group id mismatch on ftp and mail +g sys 3 - - +g mem 8 - - +g ftp 11 - - +g mail 12 - - +g log 19 - - +g smmsp 25 - - +g proc 26 - - +g games 50 - - +g lock 54 - - +g network 90 - - +g floppy 94 - - +g scanner 96 - - +g power 98 - - + +# default arch users +u bin 1 - - +u daemon 2 - - +u mail 8 - /var/spool/mail +u ftp 14 - /srv/ftp +u http 33 - /srv/http + +# default membership +m bin daemon +m bin sys +m daemon adm +m daemon bin Copied: filesystem/repos/testing-x86_64/tmpfiles (from rev 394473, filesystem/trunk/tmpfiles) =================================================================== --- testing-x86_64/tmpfiles (rev 0) +++ testing-x86_64/tmpfiles 2020-08-21 11:21:09 UTC (rev 394474) @@ -0,0 +1,17 @@ +# copy from factory when missing + +C /etc/crypttab +C /etc/fstab +C /etc/group +C /etc/gshadow +C /etc/host.conf +C /etc/hosts +C /etc/issue +C /etc/ld.so.conf +C /etc/motd +C /etc/nsswitch.conf +C /etc/passwd +C /etc/profile +C /etc/securetty +C /etc/shadow +C /etc/shells