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

Sébastien Luttringer seblu at archlinux.org
Fri Sep 1 20:57:33 UTC 2017


    Date: Friday, September 1, 2017 @ 20:57:32
  Author: seblu
Revision: 304440

archrelease: copy trunk to testing-i686, testing-x86_64

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

------------------------------+
 testing-i686/PKGBUILD        |  118 +++++++++++++++++++++++++++++++++++++++++
 testing-i686/crypttab        |   12 ++++
 testing-i686/fstab           |    4 +
 testing-i686/group           |    1 
 testing-i686/gshadow         |    1 
 testing-i686/host.conf       |    4 +
 testing-i686/hosts           |    2 
 testing-i686/issue           |    2 
 testing-i686/ld.so.conf      |    4 +
 testing-i686/locale.sh       |   26 +++++++++
 testing-i686/nsswitch.conf   |   18 ++++++
 testing-i686/os-release      |    9 +++
 testing-i686/passwd          |    1 
 testing-i686/profile         |   40 +++++++++++++
 testing-i686/resolv.conf     |    2 
 testing-i686/securetty       |   12 ++++
 testing-i686/shadow          |    1 
 testing-i686/shells          |    5 +
 testing-i686/sysusers        |   28 +++++++++
 testing-i686/tmpfiles        |   18 ++++++
 testing-x86_64/PKGBUILD      |  118 +++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/crypttab      |   12 ++++
 testing-x86_64/fstab         |    4 +
 testing-x86_64/group         |    1 
 testing-x86_64/gshadow       |    1 
 testing-x86_64/host.conf     |    4 +
 testing-x86_64/hosts         |    2 
 testing-x86_64/issue         |    2 
 testing-x86_64/ld.so.conf    |    4 +
 testing-x86_64/locale.sh     |   26 +++++++++
 testing-x86_64/nsswitch.conf |   18 ++++++
 testing-x86_64/os-release    |    9 +++
 testing-x86_64/passwd        |    1 
 testing-x86_64/profile       |   40 +++++++++++++
 testing-x86_64/resolv.conf   |    2 
 testing-x86_64/securetty     |   12 ++++
 testing-x86_64/shadow        |    1 
 testing-x86_64/shells        |    5 +
 testing-x86_64/sysusers      |   28 +++++++++
 testing-x86_64/tmpfiles      |   18 ++++++
 40 files changed, 616 insertions(+)

Copied: filesystem/repos/testing-i686/PKGBUILD (from rev 304439, filesystem/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1,118 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: Tom Gundersen <teg at jklm.no>
+
+pkgname=filesystem
+pkgver=2017.08
+pkgrel=1
+pkgdesc='Base Arch Linux files'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='https://www.archlinux.org'
+groups=('base')
+makedepends=('systemd')
+depends=('iana-etc')
+backup=('etc/fstab' 'etc/crypttab' 'etc/group' 'etc/hosts' 'etc/ld.so.conf'
+        'etc/passwd' 'etc/shadow' 'etc/gshadow' 'etc/resolv.conf' 'etc/motd'
+        'etc/nsswitch.conf' 'etc/shells' 'etc/host.conf' 'etc/securetty'
+        'etc/profile' 'etc/issue')
+source=('group' 'issue' 'nsswitch.conf' 'securetty' 'host.conf' 'ld.so.conf'
+        'passwd' 'shadow' 'fstab' 'crypttab' 'hosts' 'motd' 'os-release'
+        'resolv.conf' 'shells' 'gshadow' 'profile' 'locale.sh' 'sysusers'
+        'tmpfiles')
+md5sums=('7fed1e1fb855e41a6d64d41f8521d69a'
+         '7813c481156f6b280a3ba91fc6236368'
+         '44851ecc062ba34a4c024b6f3246c48f'
+         'f04bcb2803afc4dcb95670fe87343b4d'
+         '7d119a9cce152aa182fb3392ddeecea7'
+         '5deb9f890a4d08a245e9752ede77271e'
+         '5182ac38a0de85da8ade93ef71975ca4'
+         'f64466dd77c7bec37a8b47681468211a'
+         'e33f6dfdd61978fcb3ddf1431286e05a'
+         '5fa6674df7645d7f5895f2d12b4ef4e9'
+         'a1315ea3e2b64d197b6efaf9c14ff778'
+         'd41d8cd98f00b204e9800998ecf8427e'
+         '7756fd3b8876eee095bd6e94ddac13ca'
+         '0ee015fad07732676d9488ae498eed41'
+         'a78cd8d7f8240a8448edee82f503c34e'
+         '1c1e3b08acfa286f4b417c49de3e4366'
+         '13feaea89d404729ad2f7cf0bcc41d85'
+         '71ed98c52e11ada1f936ac8cb14eecd9'
+         '6ec767b80e0df5c4450078363a31bca0'
+         '6723590b164b281f471e8b1cd926b633')
+
+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
+  install -d -m555 -g ftp 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 "$pkgdir"/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 to write scores
+  install -d -m775 -g games 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 "$pkgdir"/lib
+  [[ $CARCH = 'x86_64' ]] && (
+    ln -s usr/lib "$pkgdir"/lib64
+    ln -s lib "$pkgdir"/usr/lib64
+  )
+
+  # add bin symlinks
+  ln -s usr/bin "$pkgdir"/bin
+  ln -s usr/bin "$pkgdir"/sbin
+  ln -s bin "$pkgdir"/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-sysusers
+  install -D -m644 "$srcdir"/sysusers "$pkgdir"/usr/lib/sysusers.d/arch.conf
+
+  # setup systemd-tmpfiles
+  install -D -m644 "$srcdir"/tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/arch.conf
+}
+
+# vim:set ts=2 sw=2 et:

Copied: filesystem/repos/testing-i686/crypttab (from rev 304439, filesystem/trunk/crypttab)
===================================================================
--- testing-i686/crypttab	                        (rev 0)
+++ testing-i686/crypttab	2017-09-01 20:57:32 UTC (rev 304440)
@@ -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-i686/fstab (from rev 304439, filesystem/trunk/fstab)
===================================================================
--- testing-i686/fstab	                        (rev 0)
+++ testing-i686/fstab	2017-09-01 20:57:32 UTC (rev 304440)
@@ -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-i686/group (from rev 304439, filesystem/trunk/group)
===================================================================
--- testing-i686/group	                        (rev 0)
+++ testing-i686/group	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1 @@
+root:x:0:root

Copied: filesystem/repos/testing-i686/gshadow (from rev 304439, filesystem/trunk/gshadow)
===================================================================
--- testing-i686/gshadow	                        (rev 0)
+++ testing-i686/gshadow	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1 @@
+root:::root

Copied: filesystem/repos/testing-i686/host.conf (from rev 304439, filesystem/trunk/host.conf)
===================================================================
--- testing-i686/host.conf	                        (rev 0)
+++ testing-i686/host.conf	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1,4 @@
+# Resolver configuration file.
+# See host.conf(5) for details.
+
+multi on

Copied: filesystem/repos/testing-i686/hosts (from rev 304439, filesystem/trunk/hosts)
===================================================================
--- testing-i686/hosts	                        (rev 0)
+++ testing-i686/hosts	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1,2 @@
+# Static table lookup for hostnames.
+# See hosts(5) for details.

Copied: filesystem/repos/testing-i686/issue (from rev 304439, filesystem/trunk/issue)
===================================================================
--- testing-i686/issue	                        (rev 0)
+++ testing-i686/issue	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1,2 @@
+Arch Linux \r (\l)
+

Copied: filesystem/repos/testing-i686/ld.so.conf (from rev 304439, filesystem/trunk/ld.so.conf)
===================================================================
--- testing-i686/ld.so.conf	                        (rev 0)
+++ testing-i686/ld.so.conf	2017-09-01 20:57:32 UTC (rev 304440)
@@ -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-i686/locale.sh (from rev 304439, filesystem/trunk/locale.sh)
===================================================================
--- testing-i686/locale.sh	                        (rev 0)
+++ testing-i686/locale.sh	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+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
+
+LANG=${LANG:-C}
+export LANG
+[ -n "$LC_CTYPE" ]          && export LC_CTYPE
+[ -n "$LC_NUMERIC" ]        && export LC_NUMERIC
+[ -n "$LC_TIME" ]           && export LC_TIME
+[ -n "$LC_COLLATE" ]        && export LC_COLLATE
+[ -n "$LC_MONETARY" ]       && export LC_MONETARY
+[ -n "$LC_MESSAGES" ]       && export LC_MESSAGES
+[ -n "$LC_PAPER" ]          && export LC_PAPER
+[ -n "$LC_NAME" ]           && export LC_NAME
+[ -n "$LC_ADDRESS" ]        && export LC_ADDRESS
+[ -n "$LC_TELEPHONE" ]      && export LC_TELEPHONE
+[ -n "$LC_MEASUREMENT" ]    && export LC_MEASUREMENT
+[ -n "$LC_IDENTIFICATION" ] && export LC_IDENTIFICATION

Copied: filesystem/repos/testing-i686/motd (from rev 304439, filesystem/trunk/motd)
===================================================================
Copied: filesystem/repos/testing-i686/nsswitch.conf (from rev 304439, filesystem/trunk/nsswitch.conf)
===================================================================
--- testing-i686/nsswitch.conf	                        (rev 0)
+++ testing-i686/nsswitch.conf	2017-09-01 20:57:32 UTC (rev 304440)
@@ -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 resolve [!UNAVAIL=return] dns myhostname
+networks: files
+
+protocols: files
+services: files
+ethers: files
+rpc: files
+
+netgroup: files

Copied: filesystem/repos/testing-i686/os-release (from rev 304439, filesystem/trunk/os-release)
===================================================================
--- testing-i686/os-release	                        (rev 0)
+++ testing-i686/os-release	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1,9 @@
+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-i686/passwd (from rev 304439, filesystem/trunk/passwd)
===================================================================
--- testing-i686/passwd	                        (rev 0)
+++ testing-i686/passwd	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1 @@
+root:x:0:0::/root:/bin/bash

Copied: filesystem/repos/testing-i686/profile (from rev 304439, filesystem/trunk/profile)
===================================================================
--- testing-i686/profile	                        (rev 0)
+++ testing-i686/profile	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1,40 @@
+# /etc/profile
+
+# Set our umask
+umask 022
+
+# Append our default paths
+appendpath () {
+    case ":$PATH:" in
+        *:"$1":*)
+            ;;
+        *)
+            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-i686/resolv.conf (from rev 304439, filesystem/trunk/resolv.conf)
===================================================================
--- testing-i686/resolv.conf	                        (rev 0)
+++ testing-i686/resolv.conf	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1,2 @@
+# Resolver configuration file.
+# See resolv.conf(5) for details.

Copied: filesystem/repos/testing-i686/securetty (from rev 304439, filesystem/trunk/securetty)
===================================================================
--- testing-i686/securetty	                        (rev 0)
+++ testing-i686/securetty	2017-09-01 20:57:32 UTC (rev 304440)
@@ -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-i686/shadow (from rev 304439, filesystem/trunk/shadow)
===================================================================
--- testing-i686/shadow	                        (rev 0)
+++ testing-i686/shadow	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1 @@
+root::14871::::::

Copied: filesystem/repos/testing-i686/shells (from rev 304439, filesystem/trunk/shells)
===================================================================
--- testing-i686/shells	                        (rev 0)
+++ testing-i686/shells	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1,5 @@
+# Pathnames of valid login shells.
+# See shells(5) for details.
+
+/bin/sh
+/bin/bash

Copied: filesystem/repos/testing-i686/sysusers (from rev 304439, filesystem/trunk/sysusers)
===================================================================
--- testing-i686/sysusers	                        (rev 0)
+++ testing-i686/sysusers	2017-09-01 20:57:32 UTC (rev 304440)
@@ -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 daemon bin
+m bin daemon
+m bin sys
+m daemon adm

Copied: filesystem/repos/testing-i686/tmpfiles (from rev 304439, filesystem/trunk/tmpfiles)
===================================================================
--- testing-i686/tmpfiles	                        (rev 0)
+++ testing-i686/tmpfiles	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1,18 @@
+# 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/resolv.conf
+C /etc/securetty
+C /etc/shadow
+C /etc/shells

Copied: filesystem/repos/testing-x86_64/PKGBUILD (from rev 304439, filesystem/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1,118 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: Tom Gundersen <teg at jklm.no>
+
+pkgname=filesystem
+pkgver=2017.08
+pkgrel=1
+pkgdesc='Base Arch Linux files'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='https://www.archlinux.org'
+groups=('base')
+makedepends=('systemd')
+depends=('iana-etc')
+backup=('etc/fstab' 'etc/crypttab' 'etc/group' 'etc/hosts' 'etc/ld.so.conf'
+        'etc/passwd' 'etc/shadow' 'etc/gshadow' 'etc/resolv.conf' 'etc/motd'
+        'etc/nsswitch.conf' 'etc/shells' 'etc/host.conf' 'etc/securetty'
+        'etc/profile' 'etc/issue')
+source=('group' 'issue' 'nsswitch.conf' 'securetty' 'host.conf' 'ld.so.conf'
+        'passwd' 'shadow' 'fstab' 'crypttab' 'hosts' 'motd' 'os-release'
+        'resolv.conf' 'shells' 'gshadow' 'profile' 'locale.sh' 'sysusers'
+        'tmpfiles')
+md5sums=('7fed1e1fb855e41a6d64d41f8521d69a'
+         '7813c481156f6b280a3ba91fc6236368'
+         '44851ecc062ba34a4c024b6f3246c48f'
+         'f04bcb2803afc4dcb95670fe87343b4d'
+         '7d119a9cce152aa182fb3392ddeecea7'
+         '5deb9f890a4d08a245e9752ede77271e'
+         '5182ac38a0de85da8ade93ef71975ca4'
+         'f64466dd77c7bec37a8b47681468211a'
+         'e33f6dfdd61978fcb3ddf1431286e05a'
+         '5fa6674df7645d7f5895f2d12b4ef4e9'
+         'a1315ea3e2b64d197b6efaf9c14ff778'
+         'd41d8cd98f00b204e9800998ecf8427e'
+         '7756fd3b8876eee095bd6e94ddac13ca'
+         '0ee015fad07732676d9488ae498eed41'
+         'a78cd8d7f8240a8448edee82f503c34e'
+         '1c1e3b08acfa286f4b417c49de3e4366'
+         '13feaea89d404729ad2f7cf0bcc41d85'
+         '71ed98c52e11ada1f936ac8cb14eecd9'
+         '6ec767b80e0df5c4450078363a31bca0'
+         '6723590b164b281f471e8b1cd926b633')
+
+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
+  install -d -m555 -g ftp 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 "$pkgdir"/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 to write scores
+  install -d -m775 -g games 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 "$pkgdir"/lib
+  [[ $CARCH = 'x86_64' ]] && (
+    ln -s usr/lib "$pkgdir"/lib64
+    ln -s lib "$pkgdir"/usr/lib64
+  )
+
+  # add bin symlinks
+  ln -s usr/bin "$pkgdir"/bin
+  ln -s usr/bin "$pkgdir"/sbin
+  ln -s bin "$pkgdir"/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-sysusers
+  install -D -m644 "$srcdir"/sysusers "$pkgdir"/usr/lib/sysusers.d/arch.conf
+
+  # setup systemd-tmpfiles
+  install -D -m644 "$srcdir"/tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/arch.conf
+}
+
+# vim:set ts=2 sw=2 et:

Copied: filesystem/repos/testing-x86_64/crypttab (from rev 304439, filesystem/trunk/crypttab)
===================================================================
--- testing-x86_64/crypttab	                        (rev 0)
+++ testing-x86_64/crypttab	2017-09-01 20:57:32 UTC (rev 304440)
@@ -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/fstab (from rev 304439, filesystem/trunk/fstab)
===================================================================
--- testing-x86_64/fstab	                        (rev 0)
+++ testing-x86_64/fstab	2017-09-01 20:57:32 UTC (rev 304440)
@@ -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 304439, filesystem/trunk/group)
===================================================================
--- testing-x86_64/group	                        (rev 0)
+++ testing-x86_64/group	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1 @@
+root:x:0:root

Copied: filesystem/repos/testing-x86_64/gshadow (from rev 304439, filesystem/trunk/gshadow)
===================================================================
--- testing-x86_64/gshadow	                        (rev 0)
+++ testing-x86_64/gshadow	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1 @@
+root:::root

Copied: filesystem/repos/testing-x86_64/host.conf (from rev 304439, filesystem/trunk/host.conf)
===================================================================
--- testing-x86_64/host.conf	                        (rev 0)
+++ testing-x86_64/host.conf	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1,4 @@
+# Resolver configuration file.
+# See host.conf(5) for details.
+
+multi on

Copied: filesystem/repos/testing-x86_64/hosts (from rev 304439, filesystem/trunk/hosts)
===================================================================
--- testing-x86_64/hosts	                        (rev 0)
+++ testing-x86_64/hosts	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1,2 @@
+# Static table lookup for hostnames.
+# See hosts(5) for details.

Copied: filesystem/repos/testing-x86_64/issue (from rev 304439, filesystem/trunk/issue)
===================================================================
--- testing-x86_64/issue	                        (rev 0)
+++ testing-x86_64/issue	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1,2 @@
+Arch Linux \r (\l)
+

Copied: filesystem/repos/testing-x86_64/ld.so.conf (from rev 304439, filesystem/trunk/ld.so.conf)
===================================================================
--- testing-x86_64/ld.so.conf	                        (rev 0)
+++ testing-x86_64/ld.so.conf	2017-09-01 20:57:32 UTC (rev 304440)
@@ -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 304439, filesystem/trunk/locale.sh)
===================================================================
--- testing-x86_64/locale.sh	                        (rev 0)
+++ testing-x86_64/locale.sh	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+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
+
+LANG=${LANG:-C}
+export LANG
+[ -n "$LC_CTYPE" ]          && export LC_CTYPE
+[ -n "$LC_NUMERIC" ]        && export LC_NUMERIC
+[ -n "$LC_TIME" ]           && export LC_TIME
+[ -n "$LC_COLLATE" ]        && export LC_COLLATE
+[ -n "$LC_MONETARY" ]       && export LC_MONETARY
+[ -n "$LC_MESSAGES" ]       && export LC_MESSAGES
+[ -n "$LC_PAPER" ]          && export LC_PAPER
+[ -n "$LC_NAME" ]           && export LC_NAME
+[ -n "$LC_ADDRESS" ]        && export LC_ADDRESS
+[ -n "$LC_TELEPHONE" ]      && export LC_TELEPHONE
+[ -n "$LC_MEASUREMENT" ]    && export LC_MEASUREMENT
+[ -n "$LC_IDENTIFICATION" ] && export LC_IDENTIFICATION

Copied: filesystem/repos/testing-x86_64/motd (from rev 304439, filesystem/trunk/motd)
===================================================================
Copied: filesystem/repos/testing-x86_64/nsswitch.conf (from rev 304439, filesystem/trunk/nsswitch.conf)
===================================================================
--- testing-x86_64/nsswitch.conf	                        (rev 0)
+++ testing-x86_64/nsswitch.conf	2017-09-01 20:57:32 UTC (rev 304440)
@@ -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 resolve [!UNAVAIL=return] dns myhostname
+networks: files
+
+protocols: files
+services: files
+ethers: files
+rpc: files
+
+netgroup: files

Copied: filesystem/repos/testing-x86_64/os-release (from rev 304439, filesystem/trunk/os-release)
===================================================================
--- testing-x86_64/os-release	                        (rev 0)
+++ testing-x86_64/os-release	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1,9 @@
+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 304439, filesystem/trunk/passwd)
===================================================================
--- testing-x86_64/passwd	                        (rev 0)
+++ testing-x86_64/passwd	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1 @@
+root:x:0:0::/root:/bin/bash

Copied: filesystem/repos/testing-x86_64/profile (from rev 304439, filesystem/trunk/profile)
===================================================================
--- testing-x86_64/profile	                        (rev 0)
+++ testing-x86_64/profile	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1,40 @@
+# /etc/profile
+
+# Set our umask
+umask 022
+
+# Append our default paths
+appendpath () {
+    case ":$PATH:" in
+        *:"$1":*)
+            ;;
+        *)
+            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 304439, filesystem/trunk/resolv.conf)
===================================================================
--- testing-x86_64/resolv.conf	                        (rev 0)
+++ testing-x86_64/resolv.conf	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1,2 @@
+# Resolver configuration file.
+# See resolv.conf(5) for details.

Copied: filesystem/repos/testing-x86_64/securetty (from rev 304439, filesystem/trunk/securetty)
===================================================================
--- testing-x86_64/securetty	                        (rev 0)
+++ testing-x86_64/securetty	2017-09-01 20:57:32 UTC (rev 304440)
@@ -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 304439, filesystem/trunk/shadow)
===================================================================
--- testing-x86_64/shadow	                        (rev 0)
+++ testing-x86_64/shadow	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1 @@
+root::14871::::::

Copied: filesystem/repos/testing-x86_64/shells (from rev 304439, filesystem/trunk/shells)
===================================================================
--- testing-x86_64/shells	                        (rev 0)
+++ testing-x86_64/shells	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1,5 @@
+# Pathnames of valid login shells.
+# See shells(5) for details.
+
+/bin/sh
+/bin/bash

Copied: filesystem/repos/testing-x86_64/sysusers (from rev 304439, filesystem/trunk/sysusers)
===================================================================
--- testing-x86_64/sysusers	                        (rev 0)
+++ testing-x86_64/sysusers	2017-09-01 20:57:32 UTC (rev 304440)
@@ -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 daemon bin
+m bin daemon
+m bin sys
+m daemon adm

Copied: filesystem/repos/testing-x86_64/tmpfiles (from rev 304439, filesystem/trunk/tmpfiles)
===================================================================
--- testing-x86_64/tmpfiles	                        (rev 0)
+++ testing-x86_64/tmpfiles	2017-09-01 20:57:32 UTC (rev 304440)
@@ -0,0 +1,18 @@
+# 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/resolv.conf
+C /etc/securetty
+C /etc/shadow
+C /etc/shells



More information about the arch-commits mailing list