summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraysky2020-08-20 13:17:28 -0400
committergraysky2020-08-20 13:17:28 -0400
commitc96d9a3442fabcb3ea260eb9073efd8786a647f6 (patch)
treecfd71adfdccc38a5a6b7daae08f483ade178bf3d
parent036060d8e8baadd3b40331078e074b51462597d5 (diff)
downloadaur-c96d9a3442fabcb3ea260eb9073efd8786a647f6.tar.gz
Update to 10.2.0.20200812-2
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
-rw-r--r--sysusers.conf2
3 files changed, 13 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 73ac12de1f6..8e13476d1bd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = distccd-x86_64
pkgdesc = Toolchain for x86_64 builds on Arch ARM volunteers via distcc
pkgver = 10.2.0.20200812
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/graysky2/crosstool-ng_for_distcc
install = readme.install
arch = armv7h
@@ -16,9 +16,11 @@ pkgbase = distccd-x86_64
backup = etc/conf.d/distccd-x86_64
source = distccd-x86_64.service
source = distccd-x86_64.config
+ source = sysusers.conf
validpgpkeys = 4E22BB637E26407D5DEE550988A032865EE46C4C
b2sums = 55206b1b7aceb046cd049db2dbc73ad603807eabad392ab68d97f5181e12a581548a1c3281b037dec1bd3627c04dc25e1417681b11fdfcb17842eeec2b469c45
b2sums = 964d1f584c0d26a6a720edabcf0f7293949cf247d1ebecb87534cfb90e84493c6f2e97f23bd55090d774f8d136fdf33bc571d0927bb54893895bdf55e2f0a958
+ b2sums = d1b057ce49994ac61e9d5a861c1c770452102300d47a9c396b3272d7f5afbd3fe3e865e6db11c046e73ae3b6886bc8970a10624650731d55132362436904f989
source_armv7h = http://repo-ck.com/PKG_source/x-tools86-armv7h-20200812.tar.zst
source_armv7h = http://repo-ck.com/PKG_source/x-tools86-armv7h-20200812.tar.zst.sig
b2sums_armv7h = 298a5ed0f1007073f056ae157d53376f7c850ffecd541735883de6c1cef6e777a75d1b43704dad0330e40fdf48e47a574a5180d5bd047b331fc818ff162e5ba8
diff --git a/PKGBUILD b/PKGBUILD
index 6c47e3391cf..10fba7405c1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ arch=(armv7h aarch64)
_date=20200812
# inspect source tarball under $name/share/gcc-x.y.z
pkgver=10.2.0.$_date
-pkgrel=1
+pkgrel=2
license=('GPL' )
url="https://github.com/graysky2/crosstool-ng_for_distcc"
pkgdesc="Toolchain for x86_64 builds on Arch ARM volunteers via distcc"
@@ -13,7 +13,8 @@ depends=('distcc')
options=('libtool' 'emptydirs' '!strip')
source_armv7h=("http://repo-ck.com/PKG_source/x-tools86-armv7h-$_date.tar.zst"{,.sig})
source_aarch64=("http://repo-ck.com/PKG_source/x-tools86-aarch64-$_date.tar.zst"{,.sig})
-source=(distccd-x86_64.{service,config})
+source=(distccd-x86_64.{service,config}
+ sysusers.conf)
noextract=("x-tools86-armv7h-$_date.tar.zst"
"x-tools86-aarch64-$_date.tar.zst")
backup=(etc/conf.d/distccd-x86_64)
@@ -22,7 +23,8 @@ validpgpkeys=(
'4E22BB637E26407D5DEE550988A032865EE46C4C' # graysky
)
b2sums=('55206b1b7aceb046cd049db2dbc73ad603807eabad392ab68d97f5181e12a581548a1c3281b037dec1bd3627c04dc25e1417681b11fdfcb17842eeec2b469c45'
- '964d1f584c0d26a6a720edabcf0f7293949cf247d1ebecb87534cfb90e84493c6f2e97f23bd55090d774f8d136fdf33bc571d0927bb54893895bdf55e2f0a958')
+ '964d1f584c0d26a6a720edabcf0f7293949cf247d1ebecb87534cfb90e84493c6f2e97f23bd55090d774f8d136fdf33bc571d0927bb54893895bdf55e2f0a958'
+ 'd1b057ce49994ac61e9d5a861c1c770452102300d47a9c396b3272d7f5afbd3fe3e865e6db11c046e73ae3b6886bc8970a10624650731d55132362436904f989')
b2sums_armv7h=('298a5ed0f1007073f056ae157d53376f7c850ffecd541735883de6c1cef6e777a75d1b43704dad0330e40fdf48e47a574a5180d5bd047b331fc818ff162e5ba8'
'SKIP')
b2sums_aarch64=('6233bbf5cbe14012f18f60a91f65b9095b6398d8c14176a534d22eddfdfb5e889845ef5a321044cbb77ffef6197cbaf2876db24e67b31d53aae5b6d9d1d2f354'
@@ -43,6 +45,9 @@ package() {
ln -sf /usr/bin/distcc "${pkgdir}/usr/lib/distcc/x86_64-pc-linux-gnu-$bin"
done
+ # FS#67629
+ install -Dm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/distccd.conf"
+
# install service and config
install -Dm644 "${srcdir}/distccd-x86_64.service" \
"${pkgdir}/usr/lib/systemd/system/distccd-x86_64.service"
diff --git a/sysusers.conf b/sysusers.conf
new file mode 100644
index 00000000000..c026a443481
--- /dev/null
+++ b/sysusers.conf
@@ -0,0 +1,2 @@
+g distcc - -
+u distcc - "distcc user" /usr/bin/nologin