Date: Tuesday, December 22, 2020 @ 17:18:20 Author: arodseth Revision: 782680
archrelease: copy trunk to community-x86_64 Added: distcc/repos/community-x86_64/PKGBUILD (from rev 782679, distcc/trunk/PKGBUILD) distcc/repos/community-x86_64/distccd.conf.d (from rev 782679, distcc/trunk/distccd.conf.d) distcc/repos/community-x86_64/distccd.service (from rev 782679, distcc/trunk/distccd.service) distcc/repos/community-x86_64/sysusers.conf (from rev 782679, 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, 96 insertions(+), 94 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-12-22 17:18:12 UTC (rev 782679) +++ PKGBUILD 2020-12-22 17:18:20 UTC (rev 782680) @@ -1,71 +0,0 @@ -# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> -# Contributor: John <gray...@archlinux.us> -# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: Judd Vinet <jvi...@zeroflux.org> -# Contributor: Giovanni Scafora <giova...@archlinux.org> - -pkgname=distcc -pkgver=3.3.3 -pkgrel=8 -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) -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/time.clock()/time.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-9.2.0) - 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 782679, distcc/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-12-22 17:18:20 UTC (rev 782680) @@ -0,0 +1,73 @@ +# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> +# Contributor: John <gray...@archlinux.us> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Judd Vinet <jvi...@zeroflux.org> +# Contributor: Giovanni Scafora <giova...@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 Deleted: distccd.conf.d =================================================================== --- distccd.conf.d 2020-12-22 17:18:12 UTC (rev 782679) +++ distccd.conf.d 2020-12-22 17:18:20 UTC (rev 782680) @@ -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 782679, distcc/trunk/distccd.conf.d) =================================================================== --- distccd.conf.d (rev 0) +++ distccd.conf.d 2020-12-22 17:18:20 UTC (rev 782680) @@ -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 2020-12-22 17:18:12 UTC (rev 782679) +++ distccd.service 2020-12-22 17:18:20 UTC (rev 782680) @@ -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 782679, distcc/trunk/distccd.service) =================================================================== --- distccd.service (rev 0) +++ distccd.service 2020-12-22 17:18:20 UTC (rev 782680) @@ -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 2020-12-22 17:18:12 UTC (rev 782679) +++ sysusers.conf 2020-12-22 17:18:20 UTC (rev 782680) @@ -1,2 +0,0 @@ -g distcc - - -u distcc - "distcc user" /usr/bin/nologin Copied: distcc/repos/community-x86_64/sysusers.conf (from rev 782679, distcc/trunk/sysusers.conf) =================================================================== --- sysusers.conf (rev 0) +++ sysusers.conf 2020-12-22 17:18:20 UTC (rev 782680) @@ -0,0 +1,2 @@ +g distcc - - +u distcc - "distcc user" /usr/bin/nologin