diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-04 21:04:05 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-04 21:04:05 +0000 |
commit | f0f9ea270949a458444b6a38aec91a908466e680 (patch) | |
tree | 961770731f21d66979c27374342a359cdedf2642 | |
parent | Modern Pressnet (diff) | |
download | portage-f0f9ea270949a458444b6a38aec91a908466e680.tar.bz2 portage-f0f9ea270949a458444b6a38aec91a908466e680.tar.xz portage-f0f9ea270949a458444b6a38aec91a908466e680.zip |
systemd-unit eclass and drbd service
-rw-r--r-- | eclass/systemd-unit.eclass | 31 | ||||
-rw-r--r-- | sys-apps/drbd-service/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/drbd-service/drbd-service-1.ebuild | 9 |
3 files changed, 42 insertions, 0 deletions
diff --git a/eclass/systemd-unit.eclass b/eclass/systemd-unit.eclass new file mode 100644 index 0000000..d3e1e60 --- /dev/null +++ b/eclass/systemd-unit.eclass @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# +# Original Author: randomdan +# Purpose: systemd-unit files +# + +inherit "systemd" +DESCRIPTION="${PN}" +HOMEPAGE="http://git.randomdan.homeip.net/cgit.cgi/util/tree/systemd-units" +SRC_URI="http://git.randomdan.homeip.net/cgit.cgi/util/plain/systemd-units/${PN/-/.}?id=${P} -> ${PN/-/.}" +RESTRICT="mirror" + +LICENSE="gpl" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="" + +src_unpack() +{ + mkdir ${S} + cp ${DISTDIR}/${A} ${S} +} + +src_install() +{ + systemd_dounit ${S}/${A} +} + diff --git a/sys-apps/drbd-service/Manifest b/sys-apps/drbd-service/Manifest new file mode 100644 index 0000000..3392f04 --- /dev/null +++ b/sys-apps/drbd-service/Manifest @@ -0,0 +1,2 @@ +DIST drbd.service 336 SHA256 908af12661bebab74d5ac090b92d49827ec78f697c9ecb2073e75432566f7ee5 SHA512 717b5853cba166a61c53f8a2db71e8863513302a91cfd404e609d538adfd2bae0fe81fcd7ffa8bac0379d85614e3cc026917383de94ec9138911d4c308d9d418 WHIRLPOOL 3a20bcc76db9a690ddfa2880a1341e0b1e6536b67fad20906cabbf393fae5e77ed033052d75df96e13b58ba32b123f58b54ba5c5480d97c969170ef7e5d0fad2 +EBUILD drbd-service-1.ebuild 167 SHA256 dc95afb02eda4e25fc3a65ace6fdf5ec2de8da829c7714877a189d009fb07cf7 SHA512 e331b5066cc77f304af0f158309ffe4cae0d1f9c7fb317a34c04ac0a207ece35237d4d550268ba50bcab63fde5746bca03a0cc238ee557477d2635cefc47082a WHIRLPOOL 4724d31b36bc80b0c095906fd6efd3546683a9afdec25a1a0dbd66fcdfa9d13d5d3064e6008a8b84d8a777d4b89ce7a3831b8d6f5f179e1735dffc3d25deac26 diff --git a/sys-apps/drbd-service/drbd-service-1.ebuild b/sys-apps/drbd-service/drbd-service-1.ebuild new file mode 100644 index 0000000..7716fe4 --- /dev/null +++ b/sys-apps/drbd-service/drbd-service-1.ebuild @@ -0,0 +1,9 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit "systemd-unit" + +DEPEND="" +RDEPEND="" |