summaryrefslogtreecommitdiff
path: root/nonsystemd
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2019-02-02 00:07:11 -0300
committerDavid P <megver83@parabola.nu>2019-02-02 00:07:11 -0300
commitb77e47af2a7f49e7869d433ad6bbf542ed69e9c4 (patch)
tree9c1f5669cf9a65c2d72a4a321b586013dfec15bd /nonsystemd
parent38c2acc4663379e3c5cae871158d1aa829f8690c (diff)
upgpkg: nonsystemd/filesystem 2018.8-1.parabola1.nonsystemd1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd')
-rw-r--r--nonsystemd/filesystem/PKGBUILD73
-rw-r--r--nonsystemd/filesystem/nsswitch.conf2
-rw-r--r--nonsystemd/filesystem/sysctl3
-rw-r--r--nonsystemd/filesystem/sysusers6
4 files changed, 48 insertions, 36 deletions
diff --git a/nonsystemd/filesystem/PKGBUILD b/nonsystemd/filesystem/PKGBUILD
index 58dbb8f1a..25b59295a 100644
--- a/nonsystemd/filesystem/PKGBUILD
+++ b/nonsystemd/filesystem/PKGBUILD
@@ -1,50 +1,48 @@
-# $Id: PKGBUILD 291699 2017-03-26 22:06:04Z seblu $
+# Maintainer: David P. <megver83@parabola.nu>
# Maintainer (Arch): Sébastien Luttringer
# Contributor (Arch): Tom Gundersen <teg@jklm.no>
-# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-# Contributor: Nicolás Reynolds <fauno@kiwwwi.com.ar>
pkgname=filesystem
-pkgver=2018.1
-pkgrel=2.parabola2
-pkgrel+=.nonsystemd2
+pkgver=2018.8
+pkgrel=1.parabola1
+pkgrel+=.nonsystemd1
pkgdesc='Base Parabola GNU/Linux-libre files'
-arch=('i686' 'x86_64' 'armv7h')
+arch=('x86_64' 'i686' 'armv7h')
license=('GPL')
url='https://www.parabola.nu'
-groups=('base-openrc')
+groups=('base')
depends=('iana-etc')
-provides=("filesystem=$pkgver" filesystem-nosystemd)
-replaces=(filesystem-parabola filesystem-nosystemd)
-conflicts=(${conflicts[@]})
+replaces=(filesystem-parabola)
+conflicts=(filesystem-parabola)
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' 'fstab' 'group' 'gshadow' 'host.conf' 'hosts'
'issue' 'ld.so.conf' 'locale.sh' 'motd' 'nsswitch.conf' 'os-release'
- 'passwd' 'profile' 'resolv.conf' 'securetty' 'shadow' 'shells'
+ 'passwd' 'profile' 'resolv.conf' 'securetty' 'shadow' 'shells' 'sysctl'
'sysusers' 'tmpfiles')
-sha256sums=('e03bede3d258d680548696623d5979c6edf03272e801a813c81ba5a5c64f4f82'
- 'e54626e74ed8fee4173b62a545ab1c3a3a069e4217a0ee8fc398d9933e9c1696'
- '244f0718ee2a9d6862ae59d6c18c1dd1568651eada91a704574fa527fbac2b3a'
- '90d879374f77bac47f132164c1e7fc4892e994ff1d1ac376efa0c1c26ea37273'
- '4d7b647169063dfedbff5e1e22cee77bd1a4183dbcfd5e802e68939da4bbf733'
- 'd9cd8a77d9e0aa5e90d7f4ed74c8745c17b525e720e28e4c44364150003c35f9'
- '3ad448c78cab733759ae3365620504b1444e854effd066f1c7174652f046ebe1'
- 'dad04a370e488aa85fb0a813a5c83cf6fd981ce01883fc59685447b092de84b5'
- '8ca2d8eef6fb5143c9ef7e9174ccfef59ac7ad2deee243574cd10c763156cc10'
- 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
- 'aa4dc5b2374fb32863e3bc1ce20a2de2d34fe4eed1cd63c599bc82fab21463cc'
- '463dbccba0275ee80c532755c7048cb9ded83658a33a82f344aaf1520704f2ac'
- '5e06477834f51abf42ea4e8dc199632afc6afbfd8c44354685a271e9a48d2c0a'
- '5da078777cda24e4df697e2928451723f2303bfdbb2ce9551c822188c7945d25'
- '5557d8e601b17a80d1ea7de78a9869be69637cb6a02fbfe334e22fdf64e61d4c'
- 'd88be2b45b43605ff31dd83d6a138069b6c2e92bc8989b7b9ab9eba8da5f8c7b'
- '8ce994663d7588143ad7ed4441b07f468f4f7d3590164dd73ddfa3ea307ece8e'
- 'c390b31fffc4a2b5d78ae8c89f5317aadef1f71baac09cfb467b675db1406d61'
- 'ed5c607898391b2aab83a0f45e58c53ed9853b56c5f8892bb2ca24b771603b52'
- '618ac097441c1f2daffc9967e5c3cd18ea8866f776db62d04bf401c53907b1c9')
+sha512sums=('5f268b557257a201c256663b35f510d7fede0093e44645f18dc2a447ece2112d28bd7a60816331b37b72931583eff50d9dc616b9f9e9ff6d8f982db8d5b0c008'
+ 'b2ddf3db123f757e68a84926223b56a227c6e4fa99f1d06972246625b62f2a1b147f934e1bb4534d326127f8441a39afa6856f6ea2c7ecf6be53391bf0083370'
+ '0ade9187a5437076ec7d0f786528b0c4212e4f0c67edb87d8fd71815b144ab2876adeca7d943899d440e26d09ff7f4b3862733dc12decab202048cf640dfd5a8'
+ '2d93356e221aba569c47adf6c882d56fd53ae102e4bb17909a35dab505625860a66efe4dcdd0a33f5e85a6d3eabb4b7f9b9e027f1f157a991242d03ab7cbc85e'
+ 'bc1e8c9be2d4c05992aa640a0862ed6d3822afc0d083d9779268a9a888edcd4527ae49c899f8aaa1878b7650187c9a484d488b159ae58a289a543c4a8cdccbca'
+ '629ff56e5f4fd87de570fe5bc9af703efb9725743811541f21b6ada3c4a6e613c3a010029d7d73f4b706e33b3098337659a1ec5e556d11d952335f350ba108a8'
+ 'ad1d8521ad3ec1c50a6cca68543bb6c3acbe08832257fcfdfa04f1f8bfe8bc4ff91bde2971c7f5d36ee4f50e81c34ff586e28ee79d0a8d055a0b812001970fbc'
+ '61cc6de0bdc2feab9f8103e8b47b62fd0493e902797b50d3f813ed405058d4d2682c41c120e3fa0e2a8cf7800929054414d1e06b59fcb280585369895392c4e5'
+ 'e48b5f08563117b5fe80d4387a60dd874f3554bcc9e6307671bfc0b081aff398d1bbdc902f4a5cb04069d2f0ce5992758cb756dba33fe582124275295253fc03'
+ 'cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e'
+ '5706ecf2cdb02383c39e312117e48a34a78848d89c650456d162c986118790710df01b3371d4cbda089a04053d1b10a93f1502549573dd91705354230455fef0'
+ 'b8e9b15b7ba65a83c02b1017b9fb9b85486e222cfb5731e8cee350c46c1d67e2209831162465cb9bd191c62ab4aa716a4f38c6899876c5e6e709f784f6350fb4'
+ 'df24002d74d2d543be0f8b74b36def1eba7054efd8da1943b4422048ece6d41f3e40248c2169c5c1168ba64ede2dfbd6c21d6e70bbe1ba8c82137834327eecea'
+ '56cdfbfd0d6d89ab7d1f098813b384740358b2880d7ed640e02ac91e2ca6f66957a24a825cc2303739ce06fdeaa4a86acdfd8796ce6728208ed516a18622ae82'
+ '779049d55883fb7edf34ffd050e9d4d09252de529d776f507c1be19fd9688645d9100cf246fcd5b62ca1e1cf5408383ef02f09f3bc11203de33e5ad0ce17cda9'
+ '3252ba4ae19a5ff0fe0b5e999016391943614e3c6916305be8cc6ec26533d94bc33f9ea908a8fa3aa19b304979cba1ddb0d0d1daa5a8d18398ce237780c81767'
+ '6242431add157cc6b89aa8c1cac97fd83c7f8a7178f4ddf89b01af720002762d749e732920efb752a854a99a3345ec9cc20ab8dc3ce73001281f9ec54629b7c7'
+ 'c376b93b91dd181cf50b39a187255326aa1c76fb03972353620abb86ac2014631102c9296e11cc805c7409fb346bee827c4736cfb65fb9acf060fd5ca8957e02'
+ 'c040d3b13b9cb6dea00e88f2d5428c80c4045eeab9b9c1cf47eb1c3bf6b1f613a9f9181cd4133a18a8e15c651de70389d8ecf0ec873259e8a74068da5a24898e'
+ '4258736de8e9c0fef5e32526e1edb899513c43e6d7ad183021382f27e192d05021f6bc8ef3b4f7b33a4fae408fc2354273a2e44e68ef720db5c87d5836170667'
+ 'bdb116224a39b340a91edf99d8a43ee83e3e661d2c863dd7ea5a4e902982e331ecfa593bee67eb562161c24b45ccbd1c89c8511665881aa6876870a09d9a4794')
package() {
cd "$pkgdir"
@@ -77,7 +75,6 @@ package() {
ln -sv parabola-release etc/arch-release
install -m755 "$srcdir"/locale.sh etc/profile.d/locale.sh
install -Dm644 "$srcdir"/os-release usr/lib/os-release
- ln -s ../usr/lib/os-release etc/os-release
# setup /var
for d in cache local opt log/old lib/misc empty; do
@@ -117,11 +114,17 @@ package() {
done
ln -s ../man usr/local/share/man
- # setup sysusers
+ # setup sysctl
+ install -D -m644 "$srcdir"/sysctl usr/lib/sysctl.d/10-parabola.conf
+ ln -sv 10-parabola.conf usr/lib/sysctl.d/10-arch.conf
+
+ # setup opensysusers
install -D -m644 "$srcdir"/sysusers usr/lib/sysusers.d/parabola.conf
ln -sv parabola.conf usr/lib/sysusers.d/arch.conf
- # setup tmpfiles
+ # setup opentmpfiles
install -D -m644 "$srcdir"/tmpfiles usr/lib/tmpfiles.d/parabola.conf
ln -sv parabola.conf usr/lib/tmpfiles.d/arch.conf
}
+
+# vim:set ts=2 sw=2 et:
diff --git a/nonsystemd/filesystem/nsswitch.conf b/nonsystemd/filesystem/nsswitch.conf
index 9f97491ec..7ad980caf 100644
--- a/nonsystemd/filesystem/nsswitch.conf
+++ b/nonsystemd/filesystem/nsswitch.conf
@@ -7,7 +7,7 @@ shadow: files
publickey: files
-hosts: files resolve [!UNAVAIL=return] dns
+hosts: files myhostname resolve [!UNAVAIL=return] dns
networks: files
protocols: files
diff --git a/nonsystemd/filesystem/sysctl b/nonsystemd/filesystem/sysctl
new file mode 100644
index 000000000..b585ea2cc
--- /dev/null
+++ b/nonsystemd/filesystem/sysctl
@@ -0,0 +1,3 @@
+# Raise inotify resource limits
+fs.inotify.max_user_instances = 1024
+fs.inotify.max_user_watches = 524288
diff --git a/nonsystemd/filesystem/sysusers b/nonsystemd/filesystem/sysusers
index a8d5619a8..a2a343ba1 100644
--- a/nonsystemd/filesystem/sysusers
+++ b/nonsystemd/filesystem/sysusers
@@ -1,3 +1,5 @@
+# default parabola groups
+# groups first, because we have user/group id mismatch on ftp and mail
g sys 3 - -
g adm 4 - -
g tty 5 - -
@@ -26,11 +28,15 @@ g input 97 - -
g power 98 - -
g nobody 99 - -
g users 100 - -
+
+# default parabola 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