summaryrefslogtreecommitdiff
path: root/pcr/openrc
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/openrc')
-rw-r--r--pcr/openrc/LICENSE23
-rw-r--r--pcr/openrc/PKGBUILD15
2 files changed, 7 insertions, 31 deletions
diff --git a/pcr/openrc/LICENSE b/pcr/openrc/LICENSE
deleted file mode 100644
index a995d5485..000000000
--- a/pcr/openrc/LICENSE
+++ /dev/null
@@ -1,23 +0,0 @@
-Copyright (c) <YEAR>, <OWNER>
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-1. Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
diff --git a/pcr/openrc/PKGBUILD b/pcr/openrc/PKGBUILD
index bb81fa6f2..bc234528b 100644
--- a/pcr/openrc/PKGBUILD
+++ b/pcr/openrc/PKGBUILD
@@ -5,13 +5,13 @@
_url="https://github.com/OpenRC/openrc/archive"
pkgname=openrc
-pkgver=0.19.1
+pkgver=0.20.2
pkgrel=1
pkgdesc="Gentoo's universal init system"
-arch=('i686' 'x86_64' 'armv7h')
+arch=('i686' 'x86_64')
url="http://www.gentoo.org/proj/en/base/openrc/"
license=('BSD2')
-depends=('inetutils' 'psmisc' 'sysvinit')
+depends=('psmisc' 'sysvinit')
optdepends=('netifrc: Network Interface Management Scripts'
'networkmanager-openrc: NetworkManager'
'connman-openrc: connman')
@@ -27,11 +27,9 @@ backup=('etc/rc.conf'
'etc/inittab')
source=("${pkgname}-${pkgver}.tar.gz::${_url}/${pkgver}.tar.gz"
"${pkgname}.logrotate"
- 'LICENSE'
'use-optional-modules-load-d.patch')
-sha256sums=('8a9495bafa5e260b03a06df098424d78f3655041279b37f4d8499e903b6e4ed1'
+sha256sums=('d641cbdf153dfe09dac833ab48566d2dbecaaf461d19a1dbd4d0ccefb0fba24f'
'0b44210db9770588bd491cd6c0ac9412d99124c6be4c9d3f7d31ec8746072f5c'
- '28875cc6cb52e93657b96cf1bf0cc3b91891cdcbbc3196007c8cd93c6e22078f'
'54e0cfb59b83ad42ec85486b99b7fed52ccbc8f98f0f113668eacf48a24a2d03')
_args=(BRANDING="Parabola")
@@ -43,11 +41,12 @@ _args+=(MKSELINUX=no)
_args+=(MKPAM=pam)
_args+=(MKTERMCAP=ncurses)
_args+=(MKNET=no)
-
+_args+=(MKTOOLS=no)
prepare(){
cd "${srcdir}/${pkgname}-${pkgver}"
sed -e "s|/sbin|/usr/bin|g" -i support/sysvinit/inittab
+ sed -i 's:0444:0644:' mk/sys.mk
patch -Np1 -i ${srcdir}/use-optional-modules-load-d.patch
}
@@ -69,5 +68,5 @@ package() {
install -d ${pkgdir}/usr/lib/rc/cache
- install -Dm644 ${srcdir}/LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 ${srcdir}//${pkgname}-${pkgver}/LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}