Date: Wednesday, January 10, 2018 @ 13:10:49 Author: arodseth Revision: 281006
upgpkg: distcc 3.2rc1-3 Modified: distcc/trunk/PKGBUILD distcc/trunk/distccd.conf.d distcc/trunk/distccd.service -----------------+ PKGBUILD | 60 ++++++++++++++++++++++++++---------------------------- distccd.conf.d | 2 + distccd.service | 2 - 3 files changed, 32 insertions(+), 32 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-01-10 13:09:13 UTC (rev 281005) +++ PKGBUILD 2018-01-10 13:10:49 UTC (rev 281006) @@ -1,63 +1,61 @@ # $Id$ -# Maintainer: Sergej Pupykin <[email protected]> -# Maintainer: Judd Vinet <[email protected]> +# Maintainer: Alexander F Rødseth <[email protected]> +# Contributor: Sergej Pupykin <[email protected]> +# Contributor: Judd Vinet <[email protected]> # Contributor: Giovanni Scafora <[email protected]> pkgname=distcc pkgver=3.2rc1 -pkgrel=2 -pkgdesc="A distributed C, C++, Obj C compiler" +pkgrel=3 +pkgdesc='Distributed C, C++ and Objective-C compiler' arch=('x86_64') -url="https://github.com/distcc/distcc" +url='https://github.com/distcc/distcc' license=('GPL') -depends=('gcc' 'popt' 'avahi' 'dbus') -makedepends=('gtk2' 'pkgconfig' 'python2') +depends=('popt' 'avahi' 'dbus') +makedepends=('gtk2' 'python2') optdepends=('gtk2: for distccmon-gnome' 'python2') backup=('etc/conf.d/distccd' 'etc/distcc/hosts') source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz" - "distccd.conf.d" - "distccd.service") -md5sums=('3668b083fb00d28f54a5364c49733644' - '239aae53250e3e35288cba566bc0bbf1' - '09f0688da9c1840e518d2593bd5c3830') + distccd.conf.d + distccd.service) +sha256sums=('33e85981ff6afd94efc38b23b2d8b9036b3dff2dc6eac6982b9ff0ae1de64caa' + '43e02b461841ca2976816c244a0eca8b24820ca143f73cc0924403d75a8c012f' + '0f18ffb58647eeba643f28e9029a5d307100df3470eb228097f2b3f4196d8098') prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "$srcdir/$pkgname-$pkgver" ./autogen.sh } build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "$srcdir/$pkgname-$pkgver" - [ -f Makefile ] || PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ + [ -f Makefile ] || PYTHON=/usr/bin/python2 \ + ./configure \ + --prefix=/usr \ --with-gtk \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --enable-rfc2553 -# --without-avahi \ make WERROR_CFLAGS= INCLUDESERVER_PYTHON=/usr/bin/python2 } -check() { - cd "${srcdir}/${pkgname}-${pkgver}" -# make TEST_PYTHON=/usr/bin/python2 check -} - package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}/" INCLUDESERVER_PYTHON=/usr/bin/python2 install - install -D -m644 "$srcdir"/distccd.conf.d "$pkgdir"/etc/conf.d/distccd + cd "$srcdir/$pkgname-$pkgver" - install -d "$pkgdir"/usr/lib/${pkgname}/bin - ln -sf /usr/bin/${pkgname} "$pkgdir"/usr/lib/${pkgname}/bin/cc - ln -sf /usr/bin/${pkgname} "$pkgdir"/usr/lib/${pkgname}/bin/gcc - ln -sf /usr/bin/${pkgname} "$pkgdir"/usr/lib/${pkgname}/bin/g++ - ln -sf /usr/bin/${pkgname} "$pkgdir"/usr/lib/${pkgname}/bin/c++ - ln -sf /usr/bin/${pkgname} "$pkgdir"/usr/lib/${pkgname}/bin/cpp + make DESTDIR="$pkgdir" INCLUDESERVER_PYTHON=/usr/bin/python2 install - install -Dm0644 "$srcdir"/distccd.service "$pkgdir"/usr/lib/systemd/system/distccd.service + install -d "$pkgdir/usr/lib/$pkgname/bin" + for bin in gc gcc g++ c++ cpp; do + ln -sf "/usr/bin/$pkgname" "$pkgdir/usr/lib/$pkgname/bin/$bin" + done + + install -Dm644 "$srcdir/distccd.conf.d" "$pkgdir/etc/conf.d/distccd" + install -Dm644 "$srcdir/distccd.service" "$pkgdir/usr/lib/systemd/system/distccd.service" } + +# vim:set ts=2 sw=2 et: Modified: distccd.conf.d =================================================================== --- distccd.conf.d 2018-01-10 13:09:13 UTC (rev 281005) +++ distccd.conf.d 2018-01-10 13:10:49 UTC (rev 281006) @@ -4,4 +4,6 @@ # 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" Modified: distccd.service =================================================================== --- distccd.service 2018-01-10 13:09:13 UTC (rev 281005) +++ distccd.service 2018-01-10 13:10:49 UTC (rev 281006) @@ -1,5 +1,5 @@ [Unit] -Description=A distributed C/C++ compiler +Description=Distributed C, C++ and Objective-C compiler Documentation=man:distccd(1) After=network.target
