Date: Friday, September 20, 2019 @ 19:27:12 Author: seblu Revision: 363167
archrelease: copy trunk to extra-x86_64 Added: bird/repos/extra-x86_64/PKGBUILD (from rev 363166, bird/trunk/PKGBUILD) bird/repos/extra-x86_64/bird.service (from rev 363166, bird/trunk/bird.service) Deleted: bird/repos/extra-x86_64/PKGBUILD bird/repos/extra-x86_64/bird.service --------------+ PKGBUILD | 126 ++++++++++++++++++++++++++++----------------------------- bird.service | 24 +++++----- 2 files changed, 75 insertions(+), 75 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-09-20 19:27:01 UTC (rev 363166) +++ PKGBUILD 2019-09-20 19:27:12 UTC (rev 363167) @@ -1,63 +0,0 @@ -# Maintainer: Sébastien Luttringer - -pkgname=bird -pkgver=2.0.5 -pkgrel=1 -pkgdesc='RIP, OSPF, BGP, MPLS, BFD, Babbel routing daemon' -arch=('x86_64') -url='https://bird.network.cz/' -license=('GPL2') -backup=('etc/bird.conf') -depends=('glibc' 'readline' 'ncurses' 'libssh') -replaces=('bird6') -source=("ftp://bird.network.cz/pub/bird/$pkgname-$pkgver.tar.gz" - 'bird.service') -md5sums=('a3a1af168f8f0e305a641598f6d38a7a' - '69221e063a3f07dcad519d5eeacaae75') - -prepare() { - cd $pkgname-$pkgver - # apply patch from the source array (should be a pacman feature) - local filename - for filename in "${source[@]}"; do - if [[ "$filename" =~ \.patch$ ]]; then - msg2 "Applying patch ${filename##*/}" - patch -p1 -N -i "$srcdir/${filename##*/}" - fi - done - : -} - -build() { - cd $pkgbase-$pkgver - ./configure \ - --prefix=/usr \ - --sbindir=/usr/bin \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --docdir=/usr/share/doc/$pkgname - make -} - -package () { - - cd $pkgbase-$pkgver - make \ - prefix="$pkgdir/usr" \ - sysconfdir="$pkgdir/etc" \ - sbindir="$pkgdir/usr/bin" \ - localstatedir="$pkgdir/var" \ - docdir="$pkgdir/usr/share/doc/$pkgname" \ - install - - # no /var inside pkg - rm -r "$pkgdir/var" - - # systemd - install -D -m 644 "$srcdir/bird.service" "$pkgdir/usr/lib/systemd/system/bird.service" - - # overwrite invalid default config file (see FS#57096) - install -D -m 644 doc/bird.conf.example2 "$pkgdir/etc/bird.conf" -} - -# vim:set ts=2 sw=2 et: Copied: bird/repos/extra-x86_64/PKGBUILD (from rev 363166, bird/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-09-20 19:27:12 UTC (rev 363167) @@ -0,0 +1,63 @@ +# Maintainer: Sébastien Luttringer + +pkgname=bird +pkgver=2.0.6 +pkgrel=1 +pkgdesc='RIP, OSPF, BGP, MPLS, BFD, Babbel routing daemon' +arch=('x86_64') +url='https://bird.network.cz/' +license=('GPL2') +backup=('etc/bird.conf') +depends=('glibc' 'readline' 'ncurses' 'libssh') +replaces=('bird6') +source=("ftp://bird.network.cz/pub/bird/$pkgname-$pkgver.tar.gz" + 'bird.service') +md5sums=('bc05f225f4fcb365da1dbb308a7e23cc' + '69221e063a3f07dcad519d5eeacaae75') + +prepare() { + cd $pkgname-$pkgver + # apply patch from the source array (should be a pacman feature) + local filename + for filename in "${source[@]}"; do + if [[ "$filename" =~ \.patch$ ]]; then + msg2 "Applying patch ${filename##*/}" + patch -p1 -N -i "$srcdir/${filename##*/}" + fi + done + : +} + +build() { + cd $pkgbase-$pkgver + ./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --docdir=/usr/share/doc/$pkgname + make +} + +package () { + + cd $pkgbase-$pkgver + make \ + prefix="$pkgdir/usr" \ + sysconfdir="$pkgdir/etc" \ + sbindir="$pkgdir/usr/bin" \ + localstatedir="$pkgdir/var" \ + docdir="$pkgdir/usr/share/doc/$pkgname" \ + install + + # no /var inside pkg + rm -r "$pkgdir/var" + + # systemd + install -D -m 644 "$srcdir/bird.service" "$pkgdir/usr/lib/systemd/system/bird.service" + + # overwrite invalid default config file (see FS#57096) + install -D -m 644 doc/bird.conf.example2 "$pkgdir/etc/bird.conf" +} + +# vim:set ts=2 sw=2 et: Deleted: bird.service =================================================================== --- bird.service 2019-09-20 19:27:01 UTC (rev 363166) +++ bird.service 2019-09-20 19:27:12 UTC (rev 363167) @@ -1,12 +0,0 @@ -[Unit] -Description=BIRD routing daemon -After=network.target - -[Service] -Type=forking -ExecStart=/usr/bin/bird -ExecReload=/usr/bin/birdc configure -ExecStop=/usr/bin/birdc down - -[Install] -WantedBy=multi-user.target Copied: bird/repos/extra-x86_64/bird.service (from rev 363166, bird/trunk/bird.service) =================================================================== --- bird.service (rev 0) +++ bird.service 2019-09-20 19:27:12 UTC (rev 363167) @@ -0,0 +1,12 @@ +[Unit] +Description=BIRD routing daemon +After=network.target + +[Service] +Type=forking +ExecStart=/usr/bin/bird +ExecReload=/usr/bin/birdc configure +ExecStop=/usr/bin/birdc down + +[Install] +WantedBy=multi-user.target