summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-08-20 15:38:34 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-08-20 16:11:14 -0400
commit43b7ad54b8633dee1619380d8daafdd96c219a7a (patch)
tree5075143cb6aed20897220431ad60b637ef2ba1f2
parent5211e23d484d82d06e1d32ee4b75ebe726e7b4cb (diff)
downloadabslibre-43b7ad54b8633dee1619380d8daafdd96c219a7a.tar.gz
abslibre-43b7ad54b8633dee1619380d8daafdd96c219a7a.tar.bz2
abslibre-43b7ad54b8633dee1619380d8daafdd96c219a7a.zip
pcr/openrc-security: Set pkgbase correctly, refer to a _commit, not master
-rw-r--r--pcr/openrc-security/PKGBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/pcr/openrc-security/PKGBUILD b/pcr/openrc-security/PKGBUILD
index 990de0ad4..ba9d56dc7 100644
--- a/pcr/openrc-security/PKGBUILD
+++ b/pcr/openrc-security/PKGBUILD
@@ -1,21 +1,23 @@
# Maintainer: David P. <megver83@parabola.nu>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+# Contributor: Luke Shumaker <lukeshu@parabola.nu>
-_url="https://raw.githubusercontent.com/gentoo/gentoo/master"
+pkgver=20171101
+_commit=34dfafc5204a4c15ccb7f36d3de2567f4b3aac29
+_url="https://raw.githubusercontent.com/gentoo/gentoo/${_commit}"
_sed_args=(-e 's|/var/run|/run|g')
prefix=true
$_prefix && _sed_args+=(-e 's|#!/sbin/openrc-run|#!/usr/bin/openrc-run|g')
-pkgbase=openrc-base
+pkgbase=openrc-security
pkgname=('apparmor-openrc'
'iptables-openrc'
'shorewall-openrc'
'shorewall6-openrc'
'firewalld-openrc')
-pkgver=20171101
-pkgrel=1
+pkgrel=2
pkgdesc="OpenRC init scripts"
arch=('any')
url="https://github.com/manjaro/packages-openrc"
@@ -43,10 +45,6 @@ sha512sums=('bd67d53e997ea65755148ba071fe6e3856d6e604b9167c666900721bc3dc24f63d3
'fee275ba8089b0abda5239edb06a3ab70c96acbbcd715c1a3aa5e92ba976294525c251b67b00d876e45f7c827767db45bd7623df42cc68c822234a7ea13d527b'
'9cf87d5b5807b224a325c9d038f159e55d277ad3eca62a1fd82d06d9ec1d0f71e58b239c57532b9b081271c7ab6f90b281cea1dca0bb9ea26e1e1c8ddaf3a691')
-pkgver() {
- date +%Y%m%d
-}
-
_inst_initd(){
install -Dm755 ${srcdir}/$1.initd ${pkgdir}/etc/init.d/$1