Correct piddir usage

Package-Manager: portage-2.2.7
RepoMan-Options: --force
This commit is contained in:
Mario Fetka 2014-01-18 09:31:04 +01:00
parent 6087b6a67c
commit b37d7af2b4
6 changed files with 14 additions and 11 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
18 Jan 2014; Mario Fetka <mario.fetka@gmail.com> files/mars-nwe.initd,
files/mars-nwe.service, files/mars-nwe.tmpfilesd, mars-nwe-0.99_p23.ebuild:
Correct piddir usage
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

View File

@ -1,7 +1,7 @@
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
AUX mars-nwe.initd 487 SHA256 508524baa14e74b96368e8cc5da6f5704d5547144789f4b03ae2d4e445ba77ea SHA512 ecf2f3c4da4b8be386b67c48f136db3f273d1e93b53e903bc3d3dd558ac639ea80f724d6547fc9b36849cce6c11879eddbd0a01282c89b51537431d900f239c7 WHIRLPOOL 87a9f4c4ac32dc08b4d2a4f77cd8a07e32016e3aeac3870396b3701b3ce0692503a3b420060254846ae3afdebea405f529930b891ce22667e418dd986dd02c35
AUX mars-nwe.service 197 SHA256 c7ee6a0a535ed5de71f9b8fb5093700fa3cdcc1f8200f94eda024b9f0eb15ad4 SHA512 c76956fb78fa71b94f228e41406090163d4358342267e716aa90cb6d739f5267028673bef25340c7a1597bac80a7d793e8891a173880853c3c632e59402defa9 WHIRLPOOL 30efa05b3a5cec5a155bce15785f9f8cea323fcf90747072b3a541f8d5a6b4feb059342f2dae154a28a54c650f472538ce63cef6807b5ecb5bd403f310a89fce
AUX mars-nwe.tmpfilesd 36 SHA256 cebf1badbbb48848db7a239c0fcc7a62a4f8447886a9fa2c40234d099d3759cc SHA512 d2deb761f0b859a317798a46c512ef431bc71c55dc903980f1a10ad19e86f6e76cc7a37b2b38122e8c362c6fd182d247caa965599025383144c0a373f67f922b WHIRLPOOL 5d8491e20ddf2187c1d2d1d91ab09dc7771321ee6e64f7452e4cf28089b9c4c79045353162d287675ddb67f4f2eb675b9f6c23a14bb6561fb73c384bc3a0bfad
DIST mars_nwe-0.99.pl23.tar.bz2 369194 SHA256 281aba1f505b9aca6d83382a41482af2ce4fe2607f0f6986067d83928ebdc5a8 SHA512 24cf78ea0091bc9414f27ac77cfa535fe611badc013f343766b88e12cc5afc2e1ae595d423ea4ec7bfb4255dd8a3f81247dcfab515044152861ea2f46380fd2d WHIRLPOOL 6e5d2684448a8cf801c5c23b30921667fc7d35914de89c1ddfdb934414812efbdc9f6b968b6bb6f7ef7a7d007de25408b141bbbd2aedecd909a71657d6701da7
EBUILD mars-nwe-0.99_p23.ebuild 1019 SHA256 7395e7e648f5b9a931b303e2c757de4f4921250e38b7431f9fd1e3b64484b06b SHA512 c63ad983b44369bef9e03c1e04bc1e1f190ea45e132bb3c24b11c319905da2c2e1bb22e9f8891df8b85de31e4056a85780012c6213d00a14448ff28a96f76547 WHIRLPOOL 36b59b3ea9e828a47e460aa711ccf51a9cc585f0aab1d63ebcb4eaac1e0f057dbd77dd078d2c4dc50192b6d1a8e5736829b8ee4dfde8867f079183a56cc1d465
MISC ChangeLog 516 SHA256 69e8b4a32477f049dad906fd4002bc5200c03042913462e0f35f1e1265fbe41e SHA512 f4b18b384627a69e744c7e7a6df0ace492925ec48a7ec5a842a88bad297062e3c56c5fec7930222b86c2f3d83d84c37a2ccdb2f0bb0bef161a393d0e22b7b9a9 WHIRLPOOL 9e8438bc919731a6c93ae60221e10c60123be3302652ae3cd8b169e503f6c024973b47cdaf7106b61421faa3592300c45a2630ba12d8d221c5b1d5fe6d97d901
EBUILD mars-nwe-0.99_p23.ebuild 980 SHA256 0019d2b5cb2504bb7fc8391c4e73cb71bd1775948717b410c573269cac364611 SHA512 c8bce8c41a3e42a900fdac47390b1e3f6d9eea0ac439e656cf7e583d374a44b098e91dee417f134cd044cd8a4688222d3cde984c809963f8f3b6bb17aa8d9742 WHIRLPOOL d3cfe0b28058dedba70bf1a671790e09e0cd0dab19f1f797e781177b8b18edc9c32c08d55e1191bc9b3eec7620c8f626f51b3f77c359e5140359534bc6ca4437
MISC ChangeLog 691 SHA256 dbab82fec36198c0e4ecf46ffc4a81ad6e549c0c44bd4d79e650dbfebecd2f6b SHA512 f7810e5eea3222ad8c308f53663da3e078becf7f12b0091ff95f8ac03190fa3757eefad242e1e066459754eae938de159adbc1fc720261992a556996db66072e WHIRLPOOL 267c93786337ed0a869c83292be39b231f92225959d703382da7b1b65d00b89912129b4e190bb0d2e23780a61b15a78c4f13ddd6487e313241f619f8ec033141
MISC metadata.xml 205 SHA256 9fdfc9c91107d94feb8416adc2cec7734fa27084bff83ea859938b3216e028bc SHA512 ef3a39d2cd131cd29451ec2d009484e89b60e8cbeed5fc0f5f899cebb0c5f9867682ce603982e4de32004493944c6ff99a4c797e7ef2441d6049e5a616143a8b WHIRLPOOL 779e2cb116b19389f70acc6d49694358619116f9849f3b8e46f00df4e39b4476424b20990b9dabb4ba16605d1894d6b820eaeb930401d825265bfdca27f6fb96

View File

@ -9,12 +9,12 @@ depend() {
start() {
ebegin "Starting Martin Stovers NetWare-Emulator"
eval start-stop-daemon --start --quiet --exec /usr/sbin/nwserv --pidfile /run/mars_nwe/nwserv.pid
eval start-stop-daemon --start --quiet --exec /usr/sbin/nwserv --pidfile /var/run/mars_nwe/nwserv.pid
eend $?
}
stop() {
ebegin "Stopping Martin Stovers NetWare-Emulator"
start-stop-daemon --stop --quiet --pidfile /run/mars_nwe/nwserv.pid
start-stop-daemon --stop --quiet --pidfile /var/run/mars_nwe/nwserv.pid
eend $?
}

View File

@ -4,7 +4,7 @@ After=network.target
[Service]
Type=forking
PIDFile=/run/mars_nwe/nwserv.pid
PIDFile=/var/run/mars_nwe/nwserv.pid
ExecStart=/usr/sbin/nwserv
[Install]

View File

@ -1 +1 @@
d /run/mars_nwe 710 root root
d /var/run/mars_nwe 710 root root

View File

@ -26,8 +26,7 @@ S="${WORKDIR}/mars_nwe-${MY_PV}"
src_configure() {
local mycmakeargs=(
"-DCMAKE_INSTALL_SYSCONFDIR=/etc"
"-MARS_NWE_PID_DIR=/run/mars_nwe" )
"-DCMAKE_INSTALL_SYSCONFDIR=/etc" )
cmake-utils_src_configure
}