diff options
author | randomdan <randomdan@localhost> | 2014-07-30 13:25:37 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2014-07-30 13:25:37 +0000 |
commit | 09fcd3e48f4fd92d831ff260e5aa765265304b45 (patch) | |
tree | a5ff9c3b2dbe01a57c8ab8b34b709c3909bd5773 /dev-db | |
parent | Add 1.7 JDK (diff) | |
download | portage-09fcd3e48f4fd92d831ff260e5aa765265304b45.tar.bz2 portage-09fcd3e48f4fd92d831ff260e5aa765265304b45.tar.xz portage-09fcd3e48f4fd92d831ff260e5aa765265304b45.zip |
Add systemd support
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/marklogic/Manifest | 2 | ||||
-rw-r--r-- | dev-db/marklogic/files/marklogic.service | 11 | ||||
-rw-r--r-- | dev-db/marklogic/marklogic-5.0-r2.ebuild | 33 |
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-db/marklogic/Manifest b/dev-db/marklogic/Manifest index c25e956..545ee7e 100644 --- a/dev-db/marklogic/Manifest +++ b/dev-db/marklogic/Manifest @@ -1,3 +1,5 @@ AUX init 383 SHA256 bab458eee5823c4adcae27b07983dd3761dba90ac5b1e750ebedce9305a140a9 SHA512 599e1965a184c6737d1541e0445dbfbd8119c47618e8999ec72403a53f4a9ce8dae3eab003096ba3f343b5277c519901f63e510ef377f25ed8510a6ddd126059 WHIRLPOOL e2403193927fde09fd3292d04dace64b4262e2de08bb4500b8aba63bbe05673eb751dec37ce5e2720915dca039bae0f118ff888dd57e7f60ff1838e463e6f47f +AUX marklogic.service 158 SHA256 f39a70280528ff3534f810a45fada1f501367ab6df40bb2cf69513535685eca8 SHA512 484a79e2482605cc6b43aeecbb067cf298f1e5175f23ae2087205890b3e54979669a20410d5edeccde2c6a8d11ca551da21edb980f4be3fde9583f5097ea1e69 WHIRLPOOL f0cc492a5c4d49dd9859307217bc05b8214600bdc7317f9a27a6a9361f0060b8267da5cabeb5a08951a2bc5c8cb3cddc13c4430c0bdd0eed1bbfaa7fb60ae9c0 DIST MarkLogic-5.0-5.x86_64.rpm 122927826 SHA256 2c8f5fe84a8c68f2c8b195082a0d2966314b5027932e169ae5c36f89a6dc2f78 SHA512 5bd95aed956482e80cb9390995bdf31c84886a9d29891368de826ca6fd98a76c61dd8ad7291e398c729be36a1707fb0b2c2dd0d536c1f2fe6a0cb1052722dd6a WHIRLPOOL d2ae8305e7902d0273ff1e25c8a5185d6ce6ce3d5a8650ebd8e7d2d9f6d185dfd3a9064da4f8cea0a3d08faf9e2f725009cda0c390e576b067e36fd484749075 EBUILD marklogic-5.0-r1.ebuild 677 SHA256 c449affcafaa4d5b1024b196ec6850ff57b6496a27f2d9eab17194d7c5cb9028 SHA512 eb16fe281c179a681292e923c5a3c53270e005abd8601cb18452d5eb537d7a4df2ea9ca050fa51313f7b8b9e5d7785b62d754b824622ab39d43111a8097d487c WHIRLPOOL 640b25c2645c4d39abd2ea188387003e55a22a0b47b5733170e0c5f9284c2ec7429997de797ae3481a266e9c2b6a438132763e4269f4aa1f573422bcabee5fd6 +EBUILD marklogic-5.0-r2.ebuild 766 SHA256 0bfe8ab5500e9dd84908909734a01b635d69eba0bd812be6dd6aa4efe7f10f0a SHA512 d5f80833e6dede237c29d44e7f4ad8b6c222bfa267e1527c6e58322f0e35fa4b8dad03fc0b59384a450030c183ebb212d633cfa75f19e0939742a3466a0cef2f WHIRLPOOL f4cfa133adde617f8d9eb4b37606c7b9947362edebc4cdb09f69b7ebce4fbb7c8f4f9fd33781c34cbdcadcf45ce2ed876b0c835bcbc7e4529a957f81719b6277 diff --git a/dev-db/marklogic/files/marklogic.service b/dev-db/marklogic/files/marklogic.service new file mode 100644 index 0000000..794da3d --- /dev/null +++ b/dev-db/marklogic/files/marklogic.service @@ -0,0 +1,11 @@ +[Unit] +Description=MarkLogic + +[Service] +Type=forking +ExecStart=/opt/MarkLogic/bin/MarkLogic +PIDFile=/run/MarkLogic.pid + +[Install] +WantedBy=multi-user.target + diff --git a/dev-db/marklogic/marklogic-5.0-r2.ebuild b/dev-db/marklogic/marklogic-5.0-r2.ebuild new file mode 100644 index 0000000..b6b154a --- /dev/null +++ b/dev-db/marklogic/marklogic-5.0-r2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +DESCRIPTION="MarkLogic" +HOMEPAGE="http://www.marklogic.com/" +SRC_URI="http://developer.marklogic.com/download/binaries/5.0/MarkLogic-5.0-5.x86_64.rpm" +S="${WORKDIR}/MarkLogic-5.0-5.x86_64" + +LICENSE="marklogic" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="app-arch/rpm" +RDEPEND="${DEPEND}" + +src_unpack() { + cd ${WORKDIR} + rpmunpack ${DISTDIR}/MarkLogic-5.0-5.x86_64.rpm || die "Unpack failed" +} + +src_install() { + mkdir -p ${D}/var/opt/MarkLogic + cp -a ${S}/opt ${D} || die "Install failed" + + exeinto /etc/init.d + newexe ${FILESDIR}/init marklogic + insinto /usr/lib/systemd/system + newins ${FILESDIR}/marklogic.service marklogic.service +} |