From 2b5f1a4f8b94ee7bc375d18754fa65fbe82ef266 Mon Sep 17 00:00:00 2001 From: beefcurtains Date: Wed, 1 Jul 2015 08:51:08 +0000 Subject: [PATCH] nbd: remove systemd build option (#1736) --- srcpkgs/nbd/files/nbd.service | 10 ---------- srcpkgs/nbd/template | 6 +----- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 srcpkgs/nbd/files/nbd.service diff --git a/srcpkgs/nbd/files/nbd.service b/srcpkgs/nbd/files/nbd.service deleted file mode 100644 index 3d580514cf..0000000000 --- a/srcpkgs/nbd/files/nbd.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Network Block Device Server -After=network.target - -[Service] -Type=forking -ExecStart=/usr/bin/nbd-server - -[Install] -WantedBy=multi-user.target diff --git a/srcpkgs/nbd/template b/srcpkgs/nbd/template index c4924e8be7..d07d295244 100644 --- a/srcpkgs/nbd/template +++ b/srcpkgs/nbd/template @@ -1,12 +1,11 @@ # Template file for 'nbd' pkgname=nbd version=3.11 -revision=1 +revision=2 build_style=gnu-configure configure_args="--enable-syslog --sbindir=/usr/bin" hostmakedepends="pkg-config" makedepends="libglib-devel" -build_options="systemd" system_accounts="nbd" nbd_homedir="/var/chroot" conf_files="/etc/nbd-server/config" @@ -20,8 +19,5 @@ checksum=b681ff0ae05e16e679814d8c87661844c582c716f9440bcfbd673ebc1dba1cfc post_install() { vsv nbd vinstall ${FILESDIR}/config 644 etc/nbd-server - if [ "$build_option_systemd" ]; then - vinstall ${FILESDIR}/nbd.service 644 usr/lib/systemd/system - fi vdoc doc/README }