summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-07-23 12:07:54 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-07-23 12:07:54 +0000
commit2822e96ea638e7f649ddb4aee5fc446eb5725904 (patch)
tree17b6a68428a6683ace3dd5db2fa4a2cc3454c44e /net-p2p
parentalpha/ia64/x86 stable wrt security #185737 (diff)
downloadhistorical-2822e96ea638e7f649ddb4aee5fc446eb5725904.tar.gz
historical-2822e96ea638e7f649ddb4aee5fc446eb5725904.tar.bz2
historical-2822e96ea638e7f649ddb4aee5fc446eb5725904.zip
Fix init script, bug #183368, thanks to David Maus <maus.david at gmx dot de>
Package-Manager: portage-2.1.3_rc9
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/amule/ChangeLog5
-rw-r--r--net-p2p/amule/Manifest16
-rw-r--r--net-p2p/amule/files/amuled.initd7
3 files changed, 16 insertions, 12 deletions
diff --git a/net-p2p/amule/ChangeLog b/net-p2p/amule/ChangeLog
index 1fcc2e86c7e4..afffccc0cd6d 100644
--- a/net-p2p/amule/ChangeLog
+++ b/net-p2p/amule/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-p2p/amule
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/ChangeLog,v 1.91 2007/05/14 18:52:15 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/ChangeLog,v 1.92 2007/07/23 12:07:54 armin76 Exp $
+
+ 23 Jul 2007; Raúl Porcel <armin76@gentoo.org> files/amuled.initd:
+ Fix init script, bug #183368, thanks to David Maus <maus.david at gmx dot de>
14 May 2007; Raúl Porcel <armin76@gentoo.org> -amule-2.0.3-r4.ebuild,
amule-2.1.3.ebuild:
diff --git a/net-p2p/amule/Manifest b/net-p2p/amule/Manifest
index a05cf827938e..bcfb82173b08 100644
--- a/net-p2p/amule/Manifest
+++ b/net-p2p/amule/Manifest
@@ -2,10 +2,10 @@ AUX amuled.confd 409 RMD160 0e31c5aaa42c4ee2b6dfcd00afcde3b48b2d4299 SHA1 b58729
MD5 6cfdc1b9b4a65d47e9047a8fed427889 files/amuled.confd 409
RMD160 0e31c5aaa42c4ee2b6dfcd00afcde3b48b2d4299 files/amuled.confd 409
SHA256 7af480fd6dd325ad66b37464417d4d89015a52722961d44da2e3f7990ac4959a files/amuled.confd 409
-AUX amuled.initd 1162 RMD160 0874caa90c27dbe8d1a47fe58451f97b0e63e82e SHA1 289d15bf6709913272ed9f5c5a98d2ae05b390d1 SHA256 5f284b4cae4a4ba2bd05a50131d281de9a4720f05951106686682e18d681a70d
-MD5 e8850899208304f14c6df60af07301f9 files/amuled.initd 1162
-RMD160 0874caa90c27dbe8d1a47fe58451f97b0e63e82e files/amuled.initd 1162
-SHA256 5f284b4cae4a4ba2bd05a50131d281de9a4720f05951106686682e18d681a70d files/amuled.initd 1162
+AUX amuled.initd 1204 RMD160 d17d6b709f8b7eb91132804fa8a420b5f9499d14 SHA1 936566e113bb91cbc7cfe6803bf7b1d76b8cbadb SHA256 af51a7d148368b2ed3b9cc289e0831c95348dbda9b331360a5635af31b81ed7a
+MD5 1304a4a2147eadceb2e499f3474f9a49 files/amuled.initd 1204
+RMD160 d17d6b709f8b7eb91132804fa8a420b5f9499d14 files/amuled.initd 1204
+SHA256 af51a7d148368b2ed3b9cc289e0831c95348dbda9b331360a5635af31b81ed7a files/amuled.initd 1204
AUX amuleweb.confd 758 RMD160 aa7565de986afd065b7715a196fffeb30394dd03 SHA1 a03edf4222ffb34ae5adf78619ebb09ad3a25d38 SHA256 f201d4ffd6cae939776d625105a0c53586cd831f2de983913e2dd61f7c932052
MD5 a10ba0e3eace37231ef0aab8a91d312c files/amuleweb.confd 758
RMD160 aa7565de986afd065b7715a196fffeb30394dd03 files/amuleweb.confd 758
@@ -24,10 +24,10 @@ EBUILD amule-2.2.0_pre20070422.ebuild 2947 RMD160 ad7f0effd33a14e3c41a4c8d00c607
MD5 e0f9baa3719ee8a1fd5701aa886c7a83 amule-2.2.0_pre20070422.ebuild 2947
RMD160 ad7f0effd33a14e3c41a4c8d00c60717c0f89303 amule-2.2.0_pre20070422.ebuild 2947
SHA256 ca58322c66c31100148f60bb8dc50fc34ed40a57142b8f57dfcc9f5ade8bdb3b amule-2.2.0_pre20070422.ebuild 2947
-MISC ChangeLog 12917 RMD160 35fedd5cc4461417cb2a1ee003ca22cb782731a3 SHA1 2f84e9349fa1e6506593a5717a1628014362c77c SHA256 857b9d2897aae15031403db36ebc068c98dd550fd54d646a17692134edd59fab
-MD5 9312e631fa072b914d6165cfd69115be ChangeLog 12917
-RMD160 35fedd5cc4461417cb2a1ee003ca22cb782731a3 ChangeLog 12917
-SHA256 857b9d2897aae15031403db36ebc068c98dd550fd54d646a17692134edd59fab ChangeLog 12917
+MISC ChangeLog 13067 RMD160 bd1991845f5ab74cc4ec3ad1e2936556e04b0da7 SHA1 4edde270268455afb8994a7c3763d7ca368920ed SHA256 7d28f2a58a6adac0526cfdf310c415ae5c5b8101ad0041ae9b27d6607798f278
+MD5 1e75cdfbffb97db93bee3aea5fa52655 ChangeLog 13067
+RMD160 bd1991845f5ab74cc4ec3ad1e2936556e04b0da7 ChangeLog 13067
+SHA256 7d28f2a58a6adac0526cfdf310c415ae5c5b8101ad0041ae9b27d6607798f278 ChangeLog 13067
MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f
MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd metadata.xml 160
diff --git a/net-p2p/amule/files/amuled.initd b/net-p2p/amule/files/amuled.initd
index 0a8da7064f9e..3eae51191a26 100644
--- a/net-p2p/amule/files/amuled.initd
+++ b/net-p2p/amule/files/amuled.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/files/amuled.initd,v 1.3 2007/03/22 16:44:09 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/files/amuled.initd,v 1.4 2007/07/23 12:07:54 armin76 Exp $
depend() {
need net
@@ -17,8 +17,9 @@ start() {
eerror "An instance of aMule webserver is already running"
return 1
fi
-
- rm /var/run/amuled.pid
+ if [ -e /var/run/amuled.pid ]; then
+ rm /var/run/amuled.pid
+ fi
ebegin "Starting aMule Daemon"
env HOME="${AMULEHOME}" start-stop-daemon --start \