Add init script

(Portage version: 2.2.0_alpha123/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
This commit is contained in:
Mario Fetka 2012-10-28 06:37:00 +01:00
parent 050cd70c45
commit a17f139b9f
4 changed files with 37 additions and 9 deletions

View File

@ -1,7 +1,11 @@
# ChangeLog for net-fs/mars-nwe # ChangeLog for net-fs/mars-nwe
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
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: 19 Nov 2011; Mario Fetka <mario.fetka@gmail.com> +metadata.xml:
initial commit initial commit

View File

@ -1,4 +1,5 @@
DIST mars_nwe-0.99.pl22.tar.bz2 387764 RMD160 fdc88f5570b7f7e56088c13a5e3aa3f0671aae1f SHA1 f1b14852fa67b63e6664f2316838247d850884b9 SHA256 ecd4a78883992c84d901bbfa0765eb2c2408d1664aabadc23e7bacdb6db1b696 AUX mars-nwe.initd 487 SHA256 9a26a3a0e862ab1d5964fc01ca7ee181b4c4971ae283a827f151f4c98ddc62cf SHA512 906852e7921fcdedeecd743bcc9663790035bb46b5d27f1c3b98f3c3b0a0381f0b0f293039b3a5aa3c1e001ee0f69c607aba7ebc5a21c5d04e0465812b8f0930 WHIRLPOOL 4b2f74ef7d117e36898cb6480b6e371313d67153c7dd008f86ae24ec0a60ae2262a4f096caeb6640b2942c193a76b9aebde203f37a8d900473555c8d64d452c0
EBUILD mars-nwe-0.99_p22.ebuild 767 RMD160 538bd3c9c82628de1914ed9684c21326cd3fd273 SHA1 568240236e549f489380f1840417ee355d0e3dca SHA256 0af86d01310ba42ca658153b8c5f49e3290d2505accc9997c1a72190a318fb90 DIST mars_nwe-0.99.pl22.tar.bz2 387764 SHA256 ecd4a78883992c84d901bbfa0765eb2c2408d1664aabadc23e7bacdb6db1b696 SHA512 60e93209171e175998e33715cc95595ff5d669e6fee652d3420fa6cbfc3b74df37f661a648e4be971a379c6f6f092754583a93a4d062c953362193cfa289f558 WHIRLPOOL bfa0afb9b170712ed793b617acf8b693724e3cba4909cb24df315a42a344af09fca05d1894af55dc686c6dc63f17926711bced242a73b20b8d91cddc66e84364
MISC ChangeLog 200 RMD160 06f6f9f25976a37e52ec0c41621509c7075d7c8e SHA1 71dcaad38d06337510f96b9e06237a12aaced788 SHA256 09438a4dc4999847a9fc7558108fc91090dcd531560afc1960ee059f7587e8c5 EBUILD mars-nwe-0.99_p22.ebuild 854 SHA256 285241631e43d6844a3b00ac82a25262c99d4d21d00438870fdfe4f9e93caef0 SHA512 52bc953cdf8958111a0f888c262eccf4b6dd2b1c7f15719f87d2d20bc511b527b900d8baddf195089afd5cc9f488ad54e075fd66a535deb4de6aac96cc752a5b WHIRLPOOL b6b3616adc9068987d5957b5dde6d421cef63e5cd6c71d64867ccf511a084f5b0cf28d446eafdd5456eb172f1f636185b3bc665a85690d51bad6d72b63689146
MISC metadata.xml 205 RMD160 f85e91d792c694cb3e45fac26295dba0e6e43786 SHA1 3f13c3b49579342e2308323aa3dda2f43dd94c23 SHA256 9fdfc9c91107d94feb8416adc2cec7734fa27084bff83ea859938b3216e028bc MISC ChangeLog 321 SHA256 28ac953f7a08e66e8ecbb698e4aed0235083fff25ff8d24786c0a86aa162ee5e SHA512 d42b34d195b679d8a93c0eb8c4c2c9f227dd84f9589996af9a60a25a3e1758c9d4aa4caf2b1d51ba5680bed697ec632c47214f8379a500b093d579173be4ef3b WHIRLPOOL 0df70e5e3336da93df8bf9fc5a3c4224ce8c5551ac8310d4cc354887e9864fa731a6586b3f0bde33704d0842e35e80e470813cd8d9b7f64af8ba1f527c63c694
MISC metadata.xml 205 SHA256 9fdfc9c91107d94feb8416adc2cec7734fa27084bff83ea859938b3216e028bc SHA512 ef3a39d2cd131cd29451ec2d009484e89b60e8cbeed5fc0f5f899cebb0c5f9867682ce603982e4de32004493944c6ff99a4c797e7ef2441d6049e5a616143a8b WHIRLPOOL 779e2cb116b19389f70acc6d49694358619116f9849f3b8e46f00df4e39b4476424b20990b9dabb4ba16605d1894d6b820eaeb930401d825265bfdca27f6fb96

View File

@ -0,0 +1,20 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
depend() {
need net ipx
}
start() {
ebegin "Starting Martin Stovers NetWare-Emulator"
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 /var/run/mars_nwe/nwserv.pid
eend $?
}

View File

@ -1,4 +1,4 @@
# Copyright 1999-2011 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: $ # $Header: $
@ -14,11 +14,12 @@ SRC_URI="http://ftp.disconnected-by-peer.at/ncpfs/mars_nwe-${MY_PV}.tar.bz2"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~x86" KEYWORDS="~amd64 ~arm ~x86"
IUSE="" IUSE=""
RDEPEND="sys-libs/glibc RDEPEND="sys-libs/glibc
sys-libs/gdbm" sys-libs/gdbm
|| ( net-fs/ncpfs net-misc/ipx-utils )"
DEPEND="${RDEPEND}" DEPEND="${RDEPEND}"
S="${WORKDIR}/mars_nwe-${MY_PV}" S="${WORKDIR}/mars_nwe-${MY_PV}"
@ -36,6 +37,8 @@ src_install() {
keepdir /var/log/mars_nwe/ keepdir /var/log/mars_nwe/
keepdir /var/spool/mars_nwe/ keepdir /var/spool/mars_nwe/
cmake-utils_src_install cmake-utils_src_install
newinitd "${FILESDIR}"/mars-nwe.initd mars-nwe
} }