From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 77E061382C5 for ; Sat, 3 Apr 2021 14:36:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A080E081B; Sat, 3 Apr 2021 14:36:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7DF41E081B for ; Sat, 3 Apr 2021 14:36:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2D4F9335D4F for ; Sat, 3 Apr 2021 14:36:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5CDC263C for ; Sat, 3 Apr 2021 14:36:47 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1617460584.90a0342e7bd37e7069b5c6bdaf8eca6f43c4f3a2.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/nbd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-block/nbd/nbd-3.21-r1.ebuild sys-block/nbd/nbd-3.21.ebuild sys-block/nbd/nbd-9999.ebuild X-VCS-Directories: sys-block/nbd/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 90a0342e7bd37e7069b5c6bdaf8eca6f43c4f3a2 X-VCS-Branch: master Date: Sat, 3 Apr 2021 14:36:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 756a46a4-5bf9-40e2-ba90-ed66a7536eae X-Archives-Hash: b7cf9b4e1217898fcb3205fc7c71a294 commit: 90a0342e7bd37e7069b5c6bdaf8eca6f43c4f3a2 Author: Mike Gilbert gentoo org> AuthorDate: Sat Apr 3 14:36:24 2021 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Sat Apr 3 14:36:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90a0342e sys-block/nbd: install systemd service unit Signed-off-by: Mike Gilbert gentoo.org> sys-block/nbd/{nbd-3.21.ebuild => nbd-3.21-r1.ebuild} | 7 +++++++ sys-block/nbd/nbd-9999.ebuild | 9 ++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/sys-block/nbd/nbd-3.21.ebuild b/sys-block/nbd/nbd-3.21-r1.ebuild similarity index 94% rename from sys-block/nbd/nbd-3.21.ebuild rename to sys-block/nbd/nbd-3.21-r1.ebuild index 57890d32bc1..732367ad897 100644 --- a/sys-block/nbd/nbd-3.21.ebuild +++ b/sys-block/nbd/nbd-3.21-r1.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit systemd + DESCRIPTION="Userland client/server for kernel network block device" HOMEPAGE="http://nbd.sourceforge.net/" if [[ "${PV}" = 9999 ]] ; then @@ -58,3 +60,8 @@ src_configure() { ) econf "${myeconfargs[@]}" } + +src_install() { + default + systemd_dounit systemd/nbd@.service +} diff --git a/sys-block/nbd/nbd-9999.ebuild b/sys-block/nbd/nbd-9999.ebuild index fad2a1deede..732367ad897 100644 --- a/sys-block/nbd/nbd-9999.ebuild +++ b/sys-block/nbd/nbd-9999.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 +inherit systemd + DESCRIPTION="Userland client/server for kernel network block device" HOMEPAGE="http://nbd.sourceforge.net/" if [[ "${PV}" = 9999 ]] ; then @@ -58,3 +60,8 @@ src_configure() { ) econf "${myeconfargs[@]}" } + +src_install() { + default + systemd_dounit systemd/nbd@.service +}