[arch-commits] Commit in nbd/trunk (PKGBUILD nbd-at.service.tmpl)
Date: Tuesday, December 20, 2016 @ 19:45:52 Author: eworm Revision: 200522 upgpkg: nbd 3.15.1-1 new upstream release Modified: nbd/trunk/PKGBUILD Deleted: nbd/trunk/nbd-at.service.tmpl -+ PKGBUILD| 28 +++- nbd-at.service.tmpl | 11 --- 2 files changed, 11 insertions(+), 28 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-12-20 18:53:30 UTC (rev 200521) +++ PKGBUILD2016-12-20 19:45:52 UTC (rev 200522) @@ -5,30 +5,24 @@ # Contributor: Gerhard Brauerpkgname=nbd -pkgver=3.14 -pkgrel=2 +pkgver=3.15.1 +pkgrel=1 pkgdesc="tools for network block devices, allowing you to use remote block devices over TCP/IP" arch=('i686' 'x86_64') url="http://nbd.sourceforge.net; license=('GPL') -source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz - nbd-at.service.tmpl - config - nbd.service - sysusers_nbd.conf) -backup=('etc/nbd-server/config') depends=('glib2') install=nbd.install -md5sums=('fa29f57ca752e363edc15f0e35f0a95f' - 'b34f29303dcab511e93e055ca24bbe77' - 'a5b890148b80c5951dbe9daa2f487d63' - '5d1acc143018117174f79eff15afa038' - 'd969703f3d161935bb160a5c7afd468f') +backup=('etc/nbd-server/config') +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz; + 'config' + 'nbd.service' + 'sysusers_nbd.conf') +sha256sums=('ac1108dfdaffe1cf01f5f0f34c738771184bf6ff4a503edefaf10a961f8b8745' +'ee2e9fbbeb8a8b9b71d16b6f32eb41788f6def9d00cc4a47897ed3cb97cdde7c' +'7f57d8764f9bf974ed407835467141ff54c9ed05471312a20437b398834c1f0c' +'11bbab28111c519d043bd96934e16508fe1483c9741e781eea9b9544b111505d') -prepare() { - install -D -m0644 nbd-at.service.tmpl "${srcdir}/${pkgname}-${pkgver}"/systemd/n...@.service.tmpl -} - build(){ cd "${srcdir}/${pkgname}-${pkgver}" Deleted: nbd-at.service.tmpl === --- nbd-at.service.tmpl 2016-12-20 18:53:30 UTC (rev 200521) +++ nbd-at.service.tmpl 2016-12-20 19:45:52 UTC (rev 200522) @@ -1,11 +0,0 @@ -[Unit] -Description=NBD client connection for %i -Documentation=man:nbd-client -PartOf=nbd.service -[Service] -Type=forking -ExecStart=@sbindir@/nbd-client %i -Before=dev-%i.device -RequiredBy=dev-%i.device -[Install] -RequiredBy=dev-%i.device
[arch-commits] Commit in nbd/trunk (PKGBUILD nbd-at.service.tmpl)
Date: Friday, July 1, 2016 @ 06:38:05 Author: eworm Revision: 181662 upgpkg: nbd 3.14-1 Added: nbd/trunk/nbd-at.service.tmpl Modified: nbd/trunk/PKGBUILD -+ PKGBUILD| 13 ++--- nbd-at.service.tmpl | 11 +++ 2 files changed, 21 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-07-01 06:23:38 UTC (rev 181661) +++ PKGBUILD2016-07-01 06:38:05 UTC (rev 181662) @@ -5,13 +5,14 @@ # Contributor: Gerhard Brauerpkgname=nbd -pkgver=3.13 -pkgrel=2 +pkgver=3.14 +pkgrel=1 pkgdesc="tools for network block devices, allowing you to use remote block devices over TCP/IP" arch=('i686' 'x86_64') url="http://nbd.sourceforge.net; license=('GPL') source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz + nbd-at.service.tmpl config nbd.service sysusers_nbd.conf) @@ -18,11 +19,16 @@ backup=('etc/nbd-server/config') depends=('glib2') install=nbd.install -md5sums=('784be37497cc2f9a53c67c8c77d1676d' +md5sums=('fa29f57ca752e363edc15f0e35f0a95f' + 'b34f29303dcab511e93e055ca24bbe77' 'a5b890148b80c5951dbe9daa2f487d63' '5d1acc143018117174f79eff15afa038' 'd969703f3d161935bb160a5c7afd468f') +prepare() { + install -D -m0644 nbd-at.service.tmpl "${srcdir}/${pkgname}-${pkgver}"/systemd/n...@.service.tmpl +} + build(){ cd "${srcdir}/${pkgname}-${pkgver}" @@ -39,6 +45,7 @@ cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install + install -D -m644 systemd/nbd@.service "${pkgdir}"/usr/lib/systemd/system/nbd@.service install -D -m644 "${srcdir}"/config "${pkgdir}"/etc/nbd-server/config install -D -m644 "${srcdir}"/nbd.service "${pkgdir}"/usr/lib/systemd/system/nbd.service Added: nbd-at.service.tmpl === --- nbd-at.service.tmpl (rev 0) +++ nbd-at.service.tmpl 2016-07-01 06:38:05 UTC (rev 181662) @@ -0,0 +1,11 @@ +[Unit] +Description=NBD client connection for %i +Documentation=man:nbd-client +PartOf=nbd.service +[Service] +Type=forking +ExecStart=@sbindir@/nbd-client %i +Before=dev-%i.device +RequiredBy=dev-%i.device +[Install] +RequiredBy=dev-%i.device
[arch-commits] Commit in nbd/trunk (PKGBUILD nbd)
Date: Friday, May 17, 2013 @ 01:49:50 Author: svenstaro Revision: 90983 upgpkg: nbd 3.3-3 Remove initscript Modified: nbd/trunk/PKGBUILD Deleted: nbd/trunk/nbd --+ PKGBUILD |6 ++ nbd | 39 --- 2 files changed, 2 insertions(+), 43 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-05-16 23:47:36 UTC (rev 90982) +++ PKGBUILD2013-05-16 23:49:50 UTC (rev 90983) @@ -6,19 +6,18 @@ pkgname=nbd pkgver=3.3 -pkgrel=2 +pkgrel=3 pkgdesc=tools for network block devices, allowing you to use remote block devices over TCP/IP arch=('i686' 'x86_64') url=http://nbd.sourceforge.net; license=('GPL') source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 - config nbd nbd.service) + config nbd.service) backup=('etc/nbd-server/config') depends=('glib2') install=nbd.install md5sums=('cde8fe6e870b8a7459f12e5dcf572d86' '2d05d426b8c2708d5f8a0d028fcbae05' - 'e7b13a8b3369e11927d9917664557efa' '5d1acc143018117174f79eff15afa038') build(){ @@ -35,7 +34,6 @@ make DESTDIR=${pkgdir} install install -D -m644 ${srcdir}/config ${pkgdir}/etc/nbd-server/config - install -D -m755 ${srcdir}/nbd ${pkgdir}/etc/rc.d/nbd install -D -m644 ${srcdir}/nbd.service ${pkgdir}/usr/lib/systemd/system/nbd.service install -D -m644 README ${pkgdir}/usr/share/doc/nbd/README Deleted: nbd === --- nbd 2013-05-16 23:47:36 UTC (rev 90982) +++ nbd 2013-05-16 23:49:50 UTC (rev 90983) @@ -1,39 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PIDFILE=/var/run/nbd-server.pid -PID=`cat $PIDFILE 2/dev/null` -case $1 in - start) -stat_busy Starting Network Block Device Server -if [ $PID = ]; then - /usr/bin/nbd-server -fi -if [ $PID != -o $? -gt 0 ]; then - stat_fail -else - add_daemon nbd - stat_done -fi -;; - stop) -stat_busy Stopping Network Block Device Server -[ ! -z $PID ] kill $PID /dev/null -rm -f $PIDFILE -if [ $? -gt 0 ]; then - stat_fail -else - rm_daemon nbd - stat_done -fi -;; - restart) -$0 stop -sleep 1 -$0 start -;; - *) -echo usage: $0 {start|stop|restart} -esac