[arch-commits] Commit in filesystem/repos (24 files)

Jan Steffens heftig at archlinux.org
Tue Aug 21 13:54:24 UTC 2018


    Date: Tuesday, August 21, 2018 @ 13:54:24
  Author: heftig
Revision: 332747

archrelease: copy trunk to testing-x86_64

Added:
  filesystem/repos/testing-x86_64/
  filesystem/repos/testing-x86_64/PKGBUILD
    (from rev 332746, filesystem/trunk/PKGBUILD)
  filesystem/repos/testing-x86_64/crypttab
    (from rev 332746, filesystem/trunk/crypttab)
  filesystem/repos/testing-x86_64/env-generator
    (from rev 332746, filesystem/trunk/env-generator)
  filesystem/repos/testing-x86_64/fstab
    (from rev 332746, filesystem/trunk/fstab)
  filesystem/repos/testing-x86_64/group
    (from rev 332746, filesystem/trunk/group)
  filesystem/repos/testing-x86_64/gshadow
    (from rev 332746, filesystem/trunk/gshadow)
  filesystem/repos/testing-x86_64/host.conf
    (from rev 332746, filesystem/trunk/host.conf)
  filesystem/repos/testing-x86_64/hosts
    (from rev 332746, filesystem/trunk/hosts)
  filesystem/repos/testing-x86_64/issue
    (from rev 332746, filesystem/trunk/issue)
  filesystem/repos/testing-x86_64/ld.so.conf
    (from rev 332746, filesystem/trunk/ld.so.conf)
  filesystem/repos/testing-x86_64/locale.sh
    (from rev 332746, filesystem/trunk/locale.sh)
  filesystem/repos/testing-x86_64/motd
    (from rev 332746, filesystem/trunk/motd)
  filesystem/repos/testing-x86_64/nsswitch.conf
    (from rev 332746, filesystem/trunk/nsswitch.conf)
  filesystem/repos/testing-x86_64/os-release
    (from rev 332746, filesystem/trunk/os-release)
  filesystem/repos/testing-x86_64/passwd
    (from rev 332746, filesystem/trunk/passwd)
  filesystem/repos/testing-x86_64/profile
    (from rev 332746, filesystem/trunk/profile)
  filesystem/repos/testing-x86_64/resolv.conf
    (from rev 332746, filesystem/trunk/resolv.conf)
  filesystem/repos/testing-x86_64/securetty
    (from rev 332746, filesystem/trunk/securetty)
  filesystem/repos/testing-x86_64/shadow
    (from rev 332746, filesystem/trunk/shadow)
  filesystem/repos/testing-x86_64/shells
    (from rev 332746, filesystem/trunk/shells)
  filesystem/repos/testing-x86_64/sysctl
    (from rev 332746, filesystem/trunk/sysctl)
  filesystem/repos/testing-x86_64/sysusers
    (from rev 332746, filesystem/trunk/sysusers)
  filesystem/repos/testing-x86_64/tmpfiles
    (from rev 332746, filesystem/trunk/tmpfiles)

---------------+
 PKGBUILD      |  127 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 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    |    8 +++
 passwd        |    1 
 profile       |   40 +++++++++++++++++
 resolv.conf   |    2 
 securetty     |   12 +++++
 shadow        |    1 
 shells        |    5 ++
 sysctl        |    3 +
 sysusers      |   28 ++++++++++++
 tmpfiles      |   17 +++++++
 22 files changed, 317 insertions(+)

Copied: filesystem/repos/testing-x86_64/PKGBUILD (from rev 332746, filesystem/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-08-21 13:54:24 UTC (rev 332747)
@@ -0,0 +1,127 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: Tom Gundersen <teg at jklm.no>
+
+pkgname=filesystem
+pkgver=2018.1
+pkgrel=3
+pkgdesc='Base Arch Linux files'
+arch=('x86_64')
+license=('GPL')
+url='https://www.archlinux.org'
+groups=('base')
+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')
+md5sums=('5fa6674df7645d7f5895f2d12b4ef4e9'
+         '2b0344e9639f35f3c0d5637a23556089'
+         'e33f6dfdd61978fcb3ddf1431286e05a'
+         '7fed1e1fb855e41a6d64d41f8521d69a'
+         '1c1e3b08acfa286f4b417c49de3e4366'
+         '7d119a9cce152aa182fb3392ddeecea7'
+         'a1315ea3e2b64d197b6efaf9c14ff778'
+         '7813c481156f6b280a3ba91fc6236368'
+         '5deb9f890a4d08a245e9752ede77271e'
+         '580cf8b59eebfaac4fad373ffadc9912'
+         'd41d8cd98f00b204e9800998ecf8427e'
+         '981ee4d7e506a9d6d9ed2d872e16004b'
+         '0a0fbb8e64faabb40023bd180d7190a1'
+         '5182ac38a0de85da8ade93ef71975ca4'
+         '2c79e1762978235e7b4a9ef595f6c029'
+         '0ee015fad07732676d9488ae498eed41'
+         'f04bcb2803afc4dcb95670fe87343b4d'
+         'f64466dd77c7bec37a8b47681468211a'
+         'a78cd8d7f8240a8448edee82f503c34e'
+         'a51847c012555c843dbdf8df0da171d3'
+         'af7832eabaac9804c22f1f2b53816a49'
+         '0267a3a463f35eec8a31f40a720dfd86')
+
+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 -m755 "$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 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
+}
+
+# vim:set ts=2 sw=2 et:

Copied: filesystem/repos/testing-x86_64/crypttab (from rev 332746, filesystem/trunk/crypttab)
===================================================================
--- testing-x86_64/crypttab	                        (rev 0)
+++ testing-x86_64/crypttab	2018-08-21 13:54:24 UTC (rev 332747)
@@ -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 332746, filesystem/trunk/env-generator)
===================================================================
--- testing-x86_64/env-generator	                        (rev 0)
+++ testing-x86_64/env-generator	2018-08-21 13:54:24 UTC (rev 332747)
@@ -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 332746, filesystem/trunk/fstab)
===================================================================
--- testing-x86_64/fstab	                        (rev 0)
+++ testing-x86_64/fstab	2018-08-21 13:54:24 UTC (rev 332747)
@@ -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 332746, filesystem/trunk/group)
===================================================================
--- testing-x86_64/group	                        (rev 0)
+++ testing-x86_64/group	2018-08-21 13:54:24 UTC (rev 332747)
@@ -0,0 +1 @@
+root:x:0:root

Copied: filesystem/repos/testing-x86_64/gshadow (from rev 332746, filesystem/trunk/gshadow)
===================================================================
--- testing-x86_64/gshadow	                        (rev 0)
+++ testing-x86_64/gshadow	2018-08-21 13:54:24 UTC (rev 332747)
@@ -0,0 +1 @@
+root:::root

Copied: filesystem/repos/testing-x86_64/host.conf (from rev 332746, filesystem/trunk/host.conf)
===================================================================
--- testing-x86_64/host.conf	                        (rev 0)
+++ testing-x86_64/host.conf	2018-08-21 13:54:24 UTC (rev 332747)
@@ -0,0 +1,4 @@
+# Resolver configuration file.
+# See host.conf(5) for details.
+
+multi on

Copied: filesystem/repos/testing-x86_64/hosts (from rev 332746, filesystem/trunk/hosts)
===================================================================
--- testing-x86_64/hosts	                        (rev 0)
+++ testing-x86_64/hosts	2018-08-21 13:54:24 UTC (rev 332747)
@@ -0,0 +1,2 @@
+# Static table lookup for hostnames.
+# See hosts(5) for details.

Copied: filesystem/repos/testing-x86_64/issue (from rev 332746, filesystem/trunk/issue)
===================================================================
--- testing-x86_64/issue	                        (rev 0)
+++ testing-x86_64/issue	2018-08-21 13:54:24 UTC (rev 332747)
@@ -0,0 +1,2 @@
+Arch Linux \r (\l)
+

Copied: filesystem/repos/testing-x86_64/ld.so.conf (from rev 332746, filesystem/trunk/ld.so.conf)
===================================================================
--- testing-x86_64/ld.so.conf	                        (rev 0)
+++ testing-x86_64/ld.so.conf	2018-08-21 13:54:24 UTC (rev 332747)
@@ -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 332746, filesystem/trunk/locale.sh)
===================================================================
--- testing-x86_64/locale.sh	                        (rev 0)
+++ testing-x86_64/locale.sh	2018-08-21 13:54:24 UTC (rev 332747)
@@ -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 332746, filesystem/trunk/motd)
===================================================================
Copied: filesystem/repos/testing-x86_64/nsswitch.conf (from rev 332746, filesystem/trunk/nsswitch.conf)
===================================================================
--- testing-x86_64/nsswitch.conf	                        (rev 0)
+++ testing-x86_64/nsswitch.conf	2018-08-21 13:54:24 UTC (rev 332747)
@@ -0,0 +1,18 @@
+# Name Service Switch configuration file.
+# See nsswitch.conf(5) for details.
+
+passwd: files mymachines systemd
+group: files mymachines 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 332746, filesystem/trunk/os-release)
===================================================================
--- testing-x86_64/os-release	                        (rev 0)
+++ testing-x86_64/os-release	2018-08-21 13:54:24 UTC (rev 332747)
@@ -0,0 +1,8 @@
+NAME="Arch Linux"
+PRETTY_NAME="Arch Linux"
+ID=arch
+ID_LIKE=archlinux
+ANSI_COLOR="0;36"
+HOME_URL="https://www.archlinux.org/"
+SUPPORT_URL="https://bbs.archlinux.org/"
+BUG_REPORT_URL="https://bugs.archlinux.org/"

Copied: filesystem/repos/testing-x86_64/passwd (from rev 332746, filesystem/trunk/passwd)
===================================================================
--- testing-x86_64/passwd	                        (rev 0)
+++ testing-x86_64/passwd	2018-08-21 13:54:24 UTC (rev 332747)
@@ -0,0 +1 @@
+root:x:0:0::/root:/bin/bash

Copied: filesystem/repos/testing-x86_64/profile (from rev 332746, filesystem/trunk/profile)
===================================================================
--- testing-x86_64/profile	                        (rev 0)
+++ testing-x86_64/profile	2018-08-21 13:54:24 UTC (rev 332747)
@@ -0,0 +1,40 @@
+# /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 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
+if test "$PS1" && test "$BASH" && test -z ${POSIXLY_CORRECT+x} && 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 332746, filesystem/trunk/resolv.conf)
===================================================================
--- testing-x86_64/resolv.conf	                        (rev 0)
+++ testing-x86_64/resolv.conf	2018-08-21 13:54:24 UTC (rev 332747)
@@ -0,0 +1,2 @@
+# Resolver configuration file.
+# See resolv.conf(5) for details.

Copied: filesystem/repos/testing-x86_64/securetty (from rev 332746, filesystem/trunk/securetty)
===================================================================
--- testing-x86_64/securetty	                        (rev 0)
+++ testing-x86_64/securetty	2018-08-21 13:54:24 UTC (rev 332747)
@@ -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 332746, filesystem/trunk/shadow)
===================================================================
--- testing-x86_64/shadow	                        (rev 0)
+++ testing-x86_64/shadow	2018-08-21 13:54:24 UTC (rev 332747)
@@ -0,0 +1 @@
+root::14871::::::

Copied: filesystem/repos/testing-x86_64/shells (from rev 332746, filesystem/trunk/shells)
===================================================================
--- testing-x86_64/shells	                        (rev 0)
+++ testing-x86_64/shells	2018-08-21 13:54:24 UTC (rev 332747)
@@ -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 332746, filesystem/trunk/sysctl)
===================================================================
--- testing-x86_64/sysctl	                        (rev 0)
+++ testing-x86_64/sysctl	2018-08-21 13:54:24 UTC (rev 332747)
@@ -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 332746, filesystem/trunk/sysusers)
===================================================================
--- testing-x86_64/sysusers	                        (rev 0)
+++ testing-x86_64/sysusers	2018-08-21 13:54:24 UTC (rev 332747)
@@ -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 332746, filesystem/trunk/tmpfiles)
===================================================================
--- testing-x86_64/tmpfiles	                        (rev 0)
+++ testing-x86_64/tmpfiles	2018-08-21 13:54:24 UTC (rev 332747)
@@ -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



More information about the arch-commits mailing list