summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2009-01-26 01:23:53 +0000
committerThomas Sachau <tommy@gentoo.org>2009-01-26 01:23:53 +0000
commit1710b32fcfafc4165e68c5f2f8f60de7da115a26 (patch)
tree7c13c2b5ab3b09fd78bcea750a4fb8f9efc31850 /net-p2p
parentnet-misc/iplist: New Ebuild for bug 256001, thanks to Christian, Jeremy and T... (diff)
downloadsunrise-reviewed-1710b32fcfafc4165e68c5f2f8f60de7da115a26.tar.gz
sunrise-reviewed-1710b32fcfafc4165e68c5f2f8f60de7da115a26.tar.bz2
sunrise-reviewed-1710b32fcfafc4165e68c5f2f8f60de7da115a26.zip
net-p2p/fms: Fix initscript
svn path=/sunrise/; revision=7799
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/fms/ChangeLog3
-rw-r--r--net-p2p/fms/Manifest4
-rw-r--r--[-rwxr-xr-x]net-p2p/fms/files/fms13
3 files changed, 12 insertions, 8 deletions
diff --git a/net-p2p/fms/ChangeLog b/net-p2p/fms/ChangeLog
index 190307e5f..79b6ebd70 100644
--- a/net-p2p/fms/ChangeLog
+++ b/net-p2p/fms/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 26 Jan 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> ,files/fms:
+ Fix initscript
+
24 Jan 2009; Dennis Nezic <dennisn@dennisn.dyndns.org> -fms-0.3.28.ebuild,
-files/fms-0.3.28-glibc-2.9.patch, +fms-0.3.29.ebuild,
-files/gcc-4.4-include.patch, files/fms:
diff --git a/net-p2p/fms/Manifest b/net-p2p/fms/Manifest
index b08257056..c74622f91 100644
--- a/net-p2p/fms/Manifest
+++ b/net-p2p/fms/Manifest
@@ -1,5 +1,5 @@
-AUX fms 386 RMD160 b1f11af7fcc13eb1d98faca9c66599c714dc44a9 SHA1 d2312fb8d2279bc2ecc03f9cba91cd14a4f772eb SHA256 d37ae607c69296ba3e840db1d70bcd81b1ed966a08680e57877227022211369a
+AUX fms 364 RMD160 e26cd05d94a2ac3090cf606d69dadb5b8681b7e1 SHA1 dd684d2905d293391e5c795e3355a19326e128c9 SHA256 63ec403214b71c8a8bd7533a67ad408208ad58f81c45d08a973144dbfec92b4c
DIST fms-src-0.3.29.zip 1280846 RMD160 9e06f5ec10786a70c152bb2f0e8b3d60b4e6fd22 SHA1 13dcdd55184983ef9de571f32b7626ad0cd122a5 SHA256 282d226d0f2af5aba64b7a5b57eeecd1bf50dd62772258cc7dfbe18aae4a3124
EBUILD fms-0.3.29.ebuild 1407 RMD160 c9fc1c336847bb3fcebb37281fea208a77a57a79 SHA1 b338fc027f9a50efb81cf3a810fddbfaaed7765b SHA256 9f256fbc7240ed496caa2d16e5ff4f38749a4b2559a77de091800b5f1041a786
-MISC ChangeLog 1069 RMD160 4af591e97ca8e79dab4827e22de1570be1b2a7d6 SHA1 8a630551b699f13fa907e8fa3cef6a495a32e11d SHA256 3365cf1db28421370a90e9729f78f267916b98bf64b952d4858549c0e227dc54
+MISC ChangeLog 1158 RMD160 e1845c86ca3dcac357e05224f3e80bedec7bdb97 SHA1 1e73cbc82b1b4f9a685bda6153b7e5faf206e0af SHA256 9d9e52f9aacc1f4aef801f4a5c51806e051c3dc999188e8831d63aafdde684e1
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/net-p2p/fms/files/fms b/net-p2p/fms/files/fms
index 944417884..aad172d75 100755..100644
--- a/net-p2p/fms/files/fms
+++ b/net-p2p/fms/files/fms
@@ -4,13 +4,14 @@
# $Header: $
start() {
- if [ "`ps -ef | grep 'fms --daemon'`" ]; then
- eerror "FMS appears to still be running."
- return 1
+ if pidof fms >/dev/null; then
+ eerror "FMS already running"
+ eend 1
+ else
+ cd /var/freenet/fms
+ su -s /bin/sh -c "./fms --daemon" freenet
+ eend $?
fi
- cd /var/freenet/fms
- su -s /bin/sh -c "./fms --daemon" freenet
- eend $?
}
stop() {