summaryrefslogtreecommitdiff
path: root/pcr/openrc-base
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-09-25 19:29:59 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-09-25 19:29:59 -0500
commit790f01ce966851fc438db5b18583f5cc6a778a75 (patch)
tree1ec1d3d299d784dddb813b303929cbe008421742 /pcr/openrc-base
parent7a401147f9017469bb69da3898708f2c6a40ae4f (diff)
downloadabslibre-790f01ce966851fc438db5b18583f5cc6a778a75.tar.gz
abslibre-790f01ce966851fc438db5b18583f5cc6a778a75.tar.bz2
abslibre-790f01ce966851fc438db5b18583f5cc6a778a75.zip
openrc-base-20170904-1.1: updating version
Diffstat (limited to 'pcr/openrc-base')
-rw-r--r--pcr/openrc-base/PKGBUILD61
-rw-r--r--pcr/openrc-base/kmod-static-nodes.initd19
2 files changed, 54 insertions, 26 deletions
diff --git a/pcr/openrc-base/PKGBUILD b/pcr/openrc-base/PKGBUILD
index b49cf7d2c..a45e75af5 100644
--- a/pcr/openrc-base/PKGBUILD
+++ b/pcr/openrc-base/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer (Manjaro): artoo <artoo@manjaro.org>
+# Maintainer (Artix): artoo <artoo@cromnix.org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
_url="https://raw.githubusercontent.com/gentoo/gentoo/master"
@@ -10,25 +10,25 @@ $_prefix && _sed_args+=(-e 's|#!/sbin/openrc-run|#!/usr/bin/openrc-run|g')
pkgbase=openrc-base
pkgname=('dbus-openrc'
- 'cronie-openrc'
- 'cryptsetup-openrc'
- 'dhcpcd-openrc'
- 'device-mapper-openrc'
- 'glibc-openrc'
- 'inetutils-openrc'
- 'lvm2-openrc'
- 'mdadm-openrc'
- 'nfs-utils-openrc'
- 'quota-tools-openrc'
- 'rpcbind-openrc'
- 'syslog-ng-openrc')
-pkgver=20170505
+ 'cronie-openrc'
+ 'cryptsetup-openrc'
+ 'dhcpcd-openrc'
+ 'device-mapper-openrc'
+ 'glibc-openrc'
+ 'inetutils-openrc'
+ 'kmod-openrc'
+ 'lvm2-openrc'
+ 'mdadm-openrc'
+ 'nfs-utils-openrc'
+ 'quota-tools-openrc'
+ 'rpcbind-openrc'
+ 'syslog-ng-openrc')
+pkgver=20170904
pkgrel=1.1
pkgdesc="OpenRC init scripts"
arch=('any')
url="https://github.com/manjaro/packages-openrc"
license=('GPL2')
-# groups=('openrc-base' 'base-nosystemd')
groups=('base-openrc' 'openrc-base')
conflicts=('systemd-sysvcompat')
source=("cronie.initd::${_url}/sys-process/cronie/files/cronie-1.3-initd"
@@ -39,7 +39,7 @@ source=("cronie.initd::${_url}/sys-process/cronie/files/cronie-1.3-initd"
"device-mapper.initd::${_url}/sys-fs/lvm2/files/device-mapper.rc-2.02.105-r2"
"dmeventd.initd::${_url}/sys-fs/lvm2/files/dmeventd.initd-2.02.67-r1"
"lvm.confd::${_url}/sys-fs/lvm2/files/lvm.confd-2.02.28-r2"
- "lvm.initd::${_url}/sys-fs/lvm2/files/lvm.rc-2.02.166-r2"
+ "lvm.initd::${_url}/sys-fs/lvm2/files/lvm.rc-2.02.172"
"lvm-monitoring.initd::${_url}/sys-fs/lvm2/files/lvm-monitoring.initd-2.02.105-r2"
"lvmetad.initd::${_url}/sys-fs/lvm2/files/lvmetad.initd-2.02.116-r3"
# "lvmlockd.initd::${_url}/sys-fs/lvm2/files/lvmlockd.initd-2.02.166-r1"
@@ -66,7 +66,8 @@ source=("cronie.initd::${_url}/sys-process/cronie/files/cronie-1.3-initd"
# "rpcbind.confd::${_url}/net-nds/rpcbind/files/rpcbind.confd"
"rpcbind.initd::${_url}/net-nds/rpcbind/files/rpcbind.initd"
"syslog-ng.confd::${_url}/app-admin/syslog-ng/files/3.7/syslog-ng.confd"
- "syslog-ng.initd::${_url}/app-admin/syslog-ng/files/3.7/syslog-ng.rc6")
+ "syslog-ng.initd::${_url}/app-admin/syslog-ng/files/3.7/syslog-ng.rc6"
+ 'kmod-static-nodes.initd')
sha256sums=('8646ff964892eeb5f6c5da444a5ef5d898fb1f3a395c5b9fc85d32d8d56fc785'
'3d933a54abe62a547294b83208dbf5d7615d9c7f380d6504c91fff3620530803'
'd04627e1a64e4d86e957b20ff6f478fb376833b7602098a708af9c070e30a980'
@@ -75,7 +76,7 @@ sha256sums=('8646ff964892eeb5f6c5da444a5ef5d898fb1f3a395c5b9fc85d32d8d56fc785'
'e8bfde63341f9e6136ee20a15ed9ea455e2259dbcaea756f8c3d0f710c1c2746'
'5edaaad292d4fd6b67fd5323636dd2e839be33ae16fbc7872dadb0499fcf22da'
'28370c089c39c248d7ded0960b8d8a9256bada44d44c22ce3cec87d512ef6844'
- '257e6801b1d2890fe77b7d030489066d9129712eae395b77ae5e9e461d435f80'
+ '499fae740d7740895842e2a6db8736272ceacf2d4b6f57f00a8ff91b7993d1da'
'42847d8e6dabbcf2cc19846c6ad22cbab65e9a033c4add569b152504b16ab477'
'e7f17004d505eae5d8a2fb336b22f1cdb20bb2ecf85a98daf2485bb4b0d4ff12'
'ec55674955af7a31da51b8b72b599e8519809287dad796a9b16155bcba471b79'
@@ -100,7 +101,8 @@ sha256sums=('8646ff964892eeb5f6c5da444a5ef5d898fb1f3a395c5b9fc85d32d8d56fc785'
'ef7eec0fd1921f786580169628c9cc7af82c73d0b2cf420fba0e87f8fd428651'
'da992f87b5043e22dfd340b4a5440b76dce29cc14d3ef7b0ce586726fe4b220b'
'b29325498ee3b1f3d63672efcd1e93f0745eecdb9f4bb05fed82a2f085399484'
- '5c4ad3406fc885555883de0537614034de181d783bcb1e864bff6299ac6c1356')
+ '5c4ad3406fc885555883de0537614034de181d783bcb1e864bff6299ac6c1356'
+ '3ecbe7761b92a123a5a3d395ec3d9e090b0dfba7910a5987b4a2298c20a7e571')
pkgver() {
date +%Y%m%d
@@ -130,7 +132,7 @@ package_cronie-openrc() {
package_dbus-openrc() {
pkgdesc="OpenRC dbus init script"
- depends=('openrc' 'dbus')
+ depends=('openrc' 'dbus-elogind')
_inst_initd 'dbus'
@@ -148,7 +150,7 @@ package_dhcpcd-openrc() {
package_device-mapper-openrc() {
pkgdesc="OpenRC device-mapper init script"
- depends=('openrc' 'device-mapper' 'udev-openrc')
+ depends=('device-mapper' 'eudev-openrc')
backup=('etc/conf.d/device-mapper')
_inst_confd 'device-mapper'
@@ -189,6 +191,16 @@ package_inetutils-openrc() {
_inst_initd 'ftpd'
}
+package_kmod-openrc() {
+ pkgdesc="OpenRC nscd init script"
+ depends=('openrc' 'kmod')
+
+ _inst_initd 'kmod-static-nodes'
+
+ install -d "${pkgdir}/etc/runlevels/sysinit"
+ ln -sf "/etc/init.d/kmod-static-nodes" "${pkgdir}/etc/runlevels/sysinit/kmod-static-nodes"
+}
+
package_lvm2-openrc() {
pkgdesc="OpenRC lvm2 init script"
depends=('device-mapper-openrc' 'lvm2')
@@ -229,11 +241,10 @@ package_syslog-ng-openrc() {
package_rpcbind-openrc() {
pkgdesc="OpenRC rpcbind init script"
-# groups=('openrc-base')
depends=('openrc' 'rpcbind')
-# backup=('etc/conf.d/rpcbind')
+# backup=('etc/conf.d/rpcbind')
-# _inst_confd 'rpcbind'
+# _inst_confd 'rpcbind'
_inst_initd 'rpcbind'
sed -e 's|/sbin|/usr/bin|g' \
@@ -243,7 +254,6 @@ package_rpcbind-openrc() {
package_quota-tools-openrc() {
pkgdesc="OpenRC quota-tools init script"
-# groups=('openrc-base')
depends=('quota-tools' 'rpcbind-openrc')
backup=('etc/conf.d/quota')
@@ -258,7 +268,6 @@ package_quota-tools-openrc() {
package_nfs-utils-openrc() {
pkgdesc="OpenRC nfs-utils init script"
-# groups=('openrc-base')
depends=('nfs-utils' 'rpcbind-openrc' 'device-mapper-openrc')
backup=('etc/conf.d/nfs'
'etc/conf.d/nfsclient')
diff --git a/pcr/openrc-base/kmod-static-nodes.initd b/pcr/openrc-base/kmod-static-nodes.initd
new file mode 100644
index 000000000..7a3f529dc
--- /dev/null
+++ b/pcr/openrc-base/kmod-static-nodes.initd
@@ -0,0 +1,19 @@
+#!/usr/bin/openrc-run
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+description="Create list of required static device nodes for the current kernel"
+
+depend() {
+ after dev-mount
+ before tmpfiles.dev dev
+ keyword -lxc -systemd-nspawn
+}
+
+start() {
+ ebegin "Creating list of required static device nodes for the current kernel"
+ checkpath -q -d /run/tmpfiles.d
+ kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf
+ eend $?
+}