Date: Monday, December 12, 2022 @ 01:50:01 Author: seblu Revision: 464176
archrelease: copy trunk to extra-x86_64 Added: bird/repos/extra-x86_64/PKGBUILD (from rev 464175, bird/trunk/PKGBUILD) bird/repos/extra-x86_64/bird.service (from rev 464175, bird/trunk/bird.service) Deleted: bird/repos/extra-x86_64/PKGBUILD bird/repos/extra-x86_64/bird.service --------------+ PKGBUILD | 108 ++++++++++++++++++++++++++++----------------------------- bird.service | 48 ++++++++++++------------- 2 files changed, 78 insertions(+), 78 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-12-12 01:49:55 UTC (rev 464175) +++ PKGBUILD 2022-12-12 01:50:01 UTC (rev 464176) @@ -1,54 +0,0 @@ -# Maintainer: Sébastien Luttringer - -pkgname=bird -pkgver=2.0.10 -pkgrel=1 -pkgdesc='RIP, OSPF, BGP, MPLS, BFD, Babel routing daemon' -arch=('x86_64') -url='https://bird.network.cz/' -license=('GPL2') -backup=('etc/bird.conf') -depends=('glibc' 'readline' 'ncurses' 'libssh') -replaces=('bird6') -options=(!emptydirs) -source=("https://bird.network.cz/download/$pkgname-$pkgver.tar.gz" - 'bird.service' - ) -sha256sums=('7ed341ddd8dc87fa9736586b3515447a8436fec442d65f4022155ab9de1ffd5a' - '4aa1e8d41229badd276aa3747f613e7df34761892add2258c63bdb5097dfeb2b') - -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 - echo "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 \ - --runstatedir=/run/$pkgname \ - --docdir=/usr/share/doc/$pkgname - make -} - -package () { - - cd $pkgbase-$pkgver - make DESTDIR="$pkgdir" install - - # systemd - install -D -m 644 "$srcdir/bird.service" "$pkgdir/usr/lib/systemd/system/bird.service" -} - -# vim:set ts=2 sw=2 et: Copied: bird/repos/extra-x86_64/PKGBUILD (from rev 464175, bird/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-12-12 01:50:01 UTC (rev 464176) @@ -0,0 +1,54 @@ +# Maintainer: Sébastien Luttringer + +pkgname=bird +pkgver=2.0.11 +pkgrel=1 +pkgdesc='RIP, OSPF, BGP, MPLS, BFD, Babel routing daemon' +arch=('x86_64') +url='https://bird.network.cz/' +license=('GPL2') +backup=('etc/bird.conf') +depends=('glibc' 'readline' 'ncurses' 'libssh') +replaces=('bird6') +options=(!emptydirs) +source=("https://bird.network.cz/download/$pkgname-$pkgver.tar.gz" + 'bird.service' + ) +sha256sums=('60a7b83b67b9d089d2a745a11fddd12461f631abc7b645b6c085adf90b3f55d6' + '4aa1e8d41229badd276aa3747f613e7df34761892add2258c63bdb5097dfeb2b') + +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 + echo "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 \ + --runstatedir=/run/$pkgname \ + --docdir=/usr/share/doc/$pkgname + make +} + +package () { + + cd $pkgbase-$pkgver + make DESTDIR="$pkgdir" install + + # systemd + install -D -m 644 "$srcdir/bird.service" "$pkgdir/usr/lib/systemd/system/bird.service" +} + +# vim:set ts=2 sw=2 et: Deleted: bird.service =================================================================== --- bird.service 2022-12-12 01:49:55 UTC (rev 464175) +++ bird.service 2022-12-12 01:50:01 UTC (rev 464176) @@ -1,24 +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 -RuntimeDirectory=bird -RuntimeDirectoryMode=0750 -DynamicUser=true -User=bird -ProtectSystem=strict -ProtectHome=true -ProtectKernelTunables=true -ProtectControlGroups=true -PrivateTmp=true -PrivateDevices=true -CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW -AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW - -[Install] -WantedBy=multi-user.target Copied: bird/repos/extra-x86_64/bird.service (from rev 464175, bird/trunk/bird.service) =================================================================== --- bird.service (rev 0) +++ bird.service 2022-12-12 01:50:01 UTC (rev 464176) @@ -0,0 +1,24 @@ +[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 +RuntimeDirectory=bird +RuntimeDirectoryMode=0750 +DynamicUser=true +User=bird +ProtectSystem=strict +ProtectHome=true +ProtectKernelTunables=true +ProtectControlGroups=true +PrivateTmp=true +PrivateDevices=true +CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW +AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW + +[Install] +WantedBy=multi-user.target