[arch-commits] Commit in distcc/repos/community-x86_64 (8 files)
Alexander Rødseth
arodseth at archlinux.org
Tue Jan 5 11:03:23 UTC 2021
Date: Tuesday, January 5, 2021 @ 11:03:23
Author: arodseth
Revision: 808756
archrelease: copy trunk to community-x86_64
Added:
distcc/repos/community-x86_64/PKGBUILD
(from rev 808755, distcc/trunk/PKGBUILD)
distcc/repos/community-x86_64/distccd.conf.d
(from rev 808755, distcc/trunk/distccd.conf.d)
distcc/repos/community-x86_64/distccd.service
(from rev 808755, distcc/trunk/distccd.service)
distcc/repos/community-x86_64/sysusers.conf
(from rev 808755, distcc/trunk/sysusers.conf)
Deleted:
distcc/repos/community-x86_64/PKGBUILD
distcc/repos/community-x86_64/distccd.conf.d
distcc/repos/community-x86_64/distccd.service
distcc/repos/community-x86_64/sysusers.conf
-----------------+
PKGBUILD | 144 ++++++++++++++++++++++++++----------------------------
distccd.conf.d | 18 +++---
distccd.service | 24 ++++-----
sysusers.conf | 4 -
4 files changed, 94 insertions(+), 96 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-05 11:03:15 UTC (rev 808755)
+++ PKGBUILD 2021-01-05 11:03:23 UTC (rev 808756)
@@ -1,73 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: John <graysky at archlinux.us>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Judd Vinet <jvinet at zeroflux.org>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-
-pkgname=distcc
-pkgver=3.3.3
-pkgrel=9
-_gccver=10.2.0 # Current GCC version, used for symlinks. See FS#69044
-pkgdesc='Distributed compilation service for C, C++ and Objective-C'
-arch=(x86_64)
-url='https://github.com/distcc/distcc'
-license=(GPL)
-depends=(avahi popt python)
-makedepends=(git)
-optdepends=("gcc=$_gccver")
-backup=(etc/conf.d/distccd
- etc/distcc/hosts)
-source=("git+$url#commit=4cde9bcfbda589abd842e3bbc652ce369085eaae" # tag: v3.3.3
- distccd.conf.d
- distccd.service
- sysusers.conf)
-sha256sums=('SKIP'
- '43e02b461841ca2976816c244a0eca8b24820ca143f73cc0924403d75a8c012f'
- '360493245590d8c1480ff93cd30c9e81cb86efebacd78e45f37e7d6cdbcc2136'
- '4e037a6225f498b51d6902d117be979454ac78ec5fd2f65f1d5a38e10859612a')
-
-prepare() {
- cd $pkgname
- ./autogen.sh
- sed -i 's/ install-gnome-data//g' Makefile.in
- # FS#66418, support Python 3.9
- find . -name "*.py" -type f -exec sed -i 's/e.clock(/e.perf_counter(/g' {} \;
-}
-
-build() {
- cd "$pkgname"
- export CFLAGS+=' -fcommon'
- ./configure \
- --enable-rfc2553 \
- --mandir=/usr/share/man \
- --prefix=/usr \
- --sbindir=/usr/bin \
- --sysconfdir=/etc \
- --without-gtk
- make WERROR_CFLAGS= INCLUDESERVER_PYTHON=/usr/bin/python
-}
-
-package() {
- make -C $pkgname \
- DESTDIR="$pkgdir" \
- INCLUDESERVER_PYTHON=/usr/bin/python \
- install
- # Configuration
- install -Dm644 distccd.conf.d "$pkgdir/etc/conf.d/distccd"
- install -Dm644 distccd.service \
- "$pkgdir/usr/lib/systemd/system/distccd.service"
- # Symlinks
- _targets=(c++ c89 c99 cc clang clang++ cpp g++ gcc $CARCH-pc-linux-gnu-g++
- $CARCH-pc-linux-gnu-gcc $CARCH-pc-linux-gnu-gcc-$_gccver)
- install -d "$pkgdir/usr/lib/$pkgname/bin"
- for bin in "${_targets[@]}"; do
- # For whitelist since version 3.3, see FS#57978
- ln -sf ../../bin/$pkgname "$pkgdir/usr/lib/$pkgname/$bin"
- # Needed for makepkg to work
- ln -sf ../../../bin/$pkgname "$pkgdir/usr/lib/$pkgname/bin/$bin"
- done
- # FS#67629
- install -Dm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/distccd.conf"
-}
-
-# getver: distcc.org
Copied: distcc/repos/community-x86_64/PKGBUILD (from rev 808755, distcc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-01-05 11:03:23 UTC (rev 808756)
@@ -0,0 +1,71 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: John <graysky at archlinux.us>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Judd Vinet <jvinet at zeroflux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=distcc
+pkgver=3.3.5
+pkgrel=1
+_gccver=10.2.0 # Current GCC version, used for symlinks. See FS#69044
+pkgdesc='Distributed compilation service for C, C++ and Objective-C'
+arch=(x86_64)
+url='https://github.com/distcc/distcc'
+license=(GPL)
+depends=(avahi popt python)
+makedepends=(git)
+optdepends=("gcc=$_gccver")
+backup=(etc/conf.d/distccd
+ etc/distcc/hosts)
+source=("git+$url#commit=8d2a5709d249949e8177dcf08b56dbe7857daa7f" # tag: v3.3.5
+ distccd.conf.d
+ distccd.service
+ sysusers.conf)
+sha256sums=('SKIP'
+ '43e02b461841ca2976816c244a0eca8b24820ca143f73cc0924403d75a8c012f'
+ '360493245590d8c1480ff93cd30c9e81cb86efebacd78e45f37e7d6cdbcc2136'
+ '4e037a6225f498b51d6902d117be979454ac78ec5fd2f65f1d5a38e10859612a')
+
+prepare() {
+ cd $pkgname
+ ./autogen.sh
+ sed -i 's/ install-gnome-data//g' Makefile.in
+ # FS#66418, support Python 3.9
+ find . -name '*.py' -type f -exec sed -i 's,e.clock(,e.perf_counter(,g' {} \;
+}
+
+build() {
+ cd $pkgname
+ export CFLAGS+=' -fcommon'
+ ./configure \
+ --enable-rfc2553 \
+ --mandir=/usr/share/man \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc \
+ --without-gtk
+ make WERROR_CFLAGS= INCLUDESERVER_PYTHON=/usr/bin/python
+}
+
+package() {
+ make -C $pkgname \
+ DESTDIR="$pkgdir" \
+ INCLUDESERVER_PYTHON=/usr/bin/python \
+ install
+ # Configuration
+ install -Dm644 distccd.conf.d "$pkgdir/etc/conf.d/distccd"
+ install -Dm644 distccd.service \
+ "$pkgdir/usr/lib/systemd/system/distccd.service"
+ # Symlinks
+ _targets=(c++ c89 c99 cc clang clang++ cpp g++ gcc $CARCH-pc-linux-gnu-g++
+ $CARCH-pc-linux-gnu-gcc $CARCH-pc-linux-gnu-gcc-$_gccver)
+ install -d "$pkgdir/usr/lib/$pkgname/bin"
+ for bin in "${_targets[@]}"; do
+ # For whitelist since version 3.3, see FS#57978
+ ln -sf ../../bin/$pkgname "$pkgdir/usr/lib/$pkgname/$bin"
+ # Needed for makepkg to work
+ ln -sf ../../../bin/$pkgname "$pkgdir/usr/lib/$pkgname/bin/$bin"
+ done
+ # FS#67629
+ install -Dm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/distccd.conf"
+}
Deleted: distccd.conf.d
===================================================================
--- distccd.conf.d 2021-01-05 11:03:15 UTC (rev 808755)
+++ distccd.conf.d 2021-01-05 11:03:23 UTC (rev 808756)
@@ -1,9 +0,0 @@
-#
-# Parameters to be passed to distccd
-#
-# You must explicitly add IPs (or subnets) that are allowed to connect,
-# using the --allow switch. See the distccd manpage for more info.
-#
-
-DISTCC_ARGS="--allow 127.0.0.1"
-#DISTCC_ARGS="--allow 192.168.0.0/24 --log-level error --log-file /tmp/distccd.log"
Copied: distcc/repos/community-x86_64/distccd.conf.d (from rev 808755, distcc/trunk/distccd.conf.d)
===================================================================
--- distccd.conf.d (rev 0)
+++ distccd.conf.d 2021-01-05 11:03:23 UTC (rev 808756)
@@ -0,0 +1,9 @@
+#
+# Parameters to be passed to distccd
+#
+# You must explicitly add IPs (or subnets) that are allowed to connect,
+# using the --allow switch. See the distccd manpage for more info.
+#
+
+DISTCC_ARGS="--allow 127.0.0.1"
+#DISTCC_ARGS="--allow 192.168.0.0/24 --log-level error --log-file /tmp/distccd.log"
Deleted: distccd.service
===================================================================
--- distccd.service 2021-01-05 11:03:15 UTC (rev 808755)
+++ distccd.service 2021-01-05 11:03:23 UTC (rev 808756)
@@ -1,12 +0,0 @@
-[Unit]
-Description=Distributed C, C++ and Objective-C compiler
-Documentation=man:distccd(1)
-After=network.target
-
-[Service]
-User=distcc
-EnvironmentFile=/etc/conf.d/distccd
-ExecStart=/usr/bin/distccd --no-detach --daemon $DISTCC_ARGS
-
-[Install]
-WantedBy=multi-user.target
Copied: distcc/repos/community-x86_64/distccd.service (from rev 808755, distcc/trunk/distccd.service)
===================================================================
--- distccd.service (rev 0)
+++ distccd.service 2021-01-05 11:03:23 UTC (rev 808756)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Distributed C, C++ and Objective-C compiler
+Documentation=man:distccd(1)
+After=network.target
+
+[Service]
+User=distcc
+EnvironmentFile=/etc/conf.d/distccd
+ExecStart=/usr/bin/distccd --no-detach --daemon $DISTCC_ARGS
+
+[Install]
+WantedBy=multi-user.target
Deleted: sysusers.conf
===================================================================
--- sysusers.conf 2021-01-05 11:03:15 UTC (rev 808755)
+++ sysusers.conf 2021-01-05 11:03:23 UTC (rev 808756)
@@ -1,2 +0,0 @@
-g distcc - -
-u distcc - "distcc user" /usr/bin/nologin
Copied: distcc/repos/community-x86_64/sysusers.conf (from rev 808755, distcc/trunk/sysusers.conf)
===================================================================
--- sysusers.conf (rev 0)
+++ sysusers.conf 2021-01-05 11:03:23 UTC (rev 808756)
@@ -0,0 +1,2 @@
+g distcc - -
+u distcc - "distcc user" /usr/bin/nologin
More information about the arch-commits
mailing list