Change Pid dir and add system d support

Package-Manager: portage-2.2.7
RepoMan-Options: --force
This commit is contained in:
Mario Fetka 2014-01-18 09:25:06 +01:00
parent 49617bda4d
commit 6087b6a67c
6 changed files with 32 additions and 11 deletions

View File

@ -1,11 +1,14 @@
# ChangeLog for net-fs/mars-nwe
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
18 Jan 2014; Mario Fetka <mario.fetka@gmail.com> +files/mars-nwe.service,
+files/mars-nwe.tmpfilesd, files/mars-nwe.initd, mars-nwe-0.99_p23.ebuild:
Change Pid dir and add system d support
28 Oct 2012; Mario Fetka <mario.fetka@gmail.com> mars-nwe-0.99_p22.ebuild,
+files/mars-nwe.initd:
Add init script
19 Nov 2011; Mario Fetka <mario.fetka@gmail.com> +metadata.xml:
initial commit

View File

@ -1,5 +1,7 @@
AUX mars-nwe.initd 487 SHA256 9a26a3a0e862ab1d5964fc01ca7ee181b4c4971ae283a827f151f4c98ddc62cf SHA512 906852e7921fcdedeecd743bcc9663790035bb46b5d27f1c3b98f3c3b0a0381f0b0f293039b3a5aa3c1e001ee0f69c607aba7ebc5a21c5d04e0465812b8f0930 WHIRLPOOL 4b2f74ef7d117e36898cb6480b6e371313d67153c7dd008f86ae24ec0a60ae2262a4f096caeb6640b2942c193a76b9aebde203f37a8d900473555c8d64d452c0
AUX mars-nwe.initd 479 SHA256 12ef3cb65e057b1ed0ba2bd4eabe6d088edf17506b6611376b101a653214b90e SHA512 9da045d7d50f0fca58531eac886eb9aad7bcb09d8c76b9268158f7db68e1c9c008c152708a9413d1df5d1b5fdf676b84d9732f194ae65a4ba5d7db79e9678e09 WHIRLPOOL 3582df5351c1eee66c627f680076acbc665f81a68c41dcdf32f453d50dac4d03bac1a5f9d69183f05d9cc29df3ad84ba0fb0fef63c4bc7b3e83d47838436415e
AUX mars-nwe.service 193 SHA256 ec9eb4d3c4b61ebec9971376321cd8dc03906790685da0fe639cd084c53f1811 SHA512 6d802c9d52e7f42e4d53e28d565f7b76d5358f8b48e5639fdafe59b56c5c274eeeef2d23d40a92fc99155e2250395642b5d9db098a0425493cb3b32456377c43 WHIRLPOOL d534742a0dfb135de66f89c1001430c239c9795e8677e17baab820094d5d4683361a2bf47f09c35cbb8f3ed2ac51d569d0aaffd28d028e89049385a3662c3b46
AUX mars-nwe.tmpfilesd 32 SHA256 37eed383615312a124523cebcf937d9531f3ab72e3257382dc12f9a97a4642a0 SHA512 6bb08d4c373ed950c159a5adcf33fe75ecfb2445aa1046d488f3c98e1378520be8ab633eed627f6e706b003238482e2c30063ddfacf253119e73893ff22402e3 WHIRLPOOL 600149e6564b37fa3a4cd3204d19a3f239064b86e98459759e88b43d9c49a1f0d8c9160a3d7520cc4b2fe6315260d2928dfc5a01c820d1fff77cdf1c3452309b
DIST mars_nwe-0.99.pl23.tar.bz2 369194 SHA256 281aba1f505b9aca6d83382a41482af2ce4fe2607f0f6986067d83928ebdc5a8 SHA512 24cf78ea0091bc9414f27ac77cfa535fe611badc013f343766b88e12cc5afc2e1ae595d423ea4ec7bfb4255dd8a3f81247dcfab515044152861ea2f46380fd2d WHIRLPOOL 6e5d2684448a8cf801c5c23b30921667fc7d35914de89c1ddfdb934414812efbdc9f6b968b6bb6f7ef7a7d007de25408b141bbbd2aedecd909a71657d6701da7
EBUILD mars-nwe-0.99_p23.ebuild 854 SHA256 285241631e43d6844a3b00ac82a25262c99d4d21d00438870fdfe4f9e93caef0 SHA512 52bc953cdf8958111a0f888c262eccf4b6dd2b1c7f15719f87d2d20bc511b527b900d8baddf195089afd5cc9f488ad54e075fd66a535deb4de6aac96cc752a5b WHIRLPOOL b6b3616adc9068987d5957b5dde6d421cef63e5cd6c71d64867ccf511a084f5b0cf28d446eafdd5456eb172f1f636185b3bc665a85690d51bad6d72b63689146
MISC ChangeLog 321 SHA256 28ac953f7a08e66e8ecbb698e4aed0235083fff25ff8d24786c0a86aa162ee5e SHA512 d42b34d195b679d8a93c0eb8c4c2c9f227dd84f9589996af9a60a25a3e1758c9d4aa4caf2b1d51ba5680bed697ec632c47214f8379a500b093d579173be4ef3b WHIRLPOOL 0df70e5e3336da93df8bf9fc5a3c4224ce8c5551ac8310d4cc354887e9864fa731a6586b3f0bde33704d0842e35e80e470813cd8d9b7f64af8ba1f527c63c694
EBUILD mars-nwe-0.99_p23.ebuild 1019 SHA256 7395e7e648f5b9a931b303e2c757de4f4921250e38b7431f9fd1e3b64484b06b SHA512 c63ad983b44369bef9e03c1e04bc1e1f190ea45e132bb3c24b11c319905da2c2e1bb22e9f8891df8b85de31e4056a85780012c6213d00a14448ff28a96f76547 WHIRLPOOL 36b59b3ea9e828a47e460aa711ccf51a9cc585f0aab1d63ebcb4eaac1e0f057dbd77dd078d2c4dc50192b6d1a8e5736829b8ee4dfde8867f079183a56cc1d465
MISC ChangeLog 516 SHA256 69e8b4a32477f049dad906fd4002bc5200c03042913462e0f35f1e1265fbe41e SHA512 f4b18b384627a69e744c7e7a6df0ace492925ec48a7ec5a842a88bad297062e3c56c5fec7930222b86c2f3d83d84c37a2ccdb2f0bb0bef161a393d0e22b7b9a9 WHIRLPOOL 9e8438bc919731a6c93ae60221e10c60123be3302652ae3cd8b169e503f6c024973b47cdaf7106b61421faa3592300c45a2630ba12d8d221c5b1d5fe6d97d901
MISC metadata.xml 205 SHA256 9fdfc9c91107d94feb8416adc2cec7734fa27084bff83ea859938b3216e028bc SHA512 ef3a39d2cd131cd29451ec2d009484e89b60e8cbeed5fc0f5f899cebb0c5f9867682ce603982e4de32004493944c6ff99a4c797e7ef2441d6049e5a616143a8b WHIRLPOOL 779e2cb116b19389f70acc6d49694358619116f9849f3b8e46f00df4e39b4476424b20990b9dabb4ba16605d1894d6b820eaeb930401d825265bfdca27f6fb96

View File

@ -1,5 +1,5 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@ -9,12 +9,12 @@ depend() {
start() {
ebegin "Starting Martin Stovers NetWare-Emulator"
eval start-stop-daemon --start --quiet --exec /usr/sbin/nwserv --pidfile /var/run/mars_nwe/nwserv.pid
eval start-stop-daemon --start --quiet --exec /usr/sbin/nwserv --pidfile /run/mars_nwe/nwserv.pid
eend $?
}
stop() {
ebegin "Stopping Martin Stovers NetWare-Emulator"
start-stop-daemon --stop --quiet --pidfile /var/run/mars_nwe/nwserv.pid
start-stop-daemon --stop --quiet --pidfile /run/mars_nwe/nwserv.pid
eend $?
}

View File

@ -0,0 +1,11 @@
[Unit]
Description=Martin Stover Netware Emulator
After=network.target
[Service]
Type=forking
PIDFile=/run/mars_nwe/nwserv.pid
ExecStart=/usr/sbin/nwserv
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1 @@
d /run/mars_nwe 710 root root

View File

@ -1,4 +1,4 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@ -6,7 +6,7 @@ EAPI=2
MY_PV=${PV/_p/.pl}
inherit cmake-utils
inherit systemd cmake-utils
DESCRIPTION="MARtin Stovers NetWare-Emulator"
HOMEPAGE="http://www.compu-art.de/mars_nwe/"
@ -26,7 +26,8 @@ S="${WORKDIR}/mars_nwe-${MY_PV}"
src_configure() {
local mycmakeargs=(
"-DCMAKE_INSTALL_SYSCONFDIR=/etc")
"-DCMAKE_INSTALL_SYSCONFDIR=/etc"
"-MARS_NWE_PID_DIR=/run/mars_nwe" )
cmake-utils_src_configure
}
@ -40,5 +41,8 @@ src_install() {
cmake-utils_src_install
newinitd "${FILESDIR}"/mars-nwe.initd mars-nwe
systemd_dounit "${FILESDIR}"/mars-nwe.service
systemd_newtmpfilesd "${FILESDIR}"/mars-nwe.tmpfilesd mars-nwe.conf
}