Gentoo Archives: gentoo-commits

From: "Richard Farina (zerochaos)" <zerochaos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/metasploit/files: msfrpcd-4.4-initd msfrpcd-4.4-conf
Date: Fri, 24 Aug 2012 02:28:35
Message-Id: 20120824022818.6FB302050A@flycatcher.gentoo.org
1 zerochaos 12/08/24 02:28:18
2
3 Added: msfrpcd-4.4-initd msfrpcd-4.4-conf
4 Log:
5 bump and take over maintainership, many things may change soon
6
7 (Portage version: 2.1.11.11/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 net-analyzer/metasploit/files/msfrpcd-4.4-initd
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/files/msfrpcd-4.4-initd?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/files/msfrpcd-4.4-initd?rev=1.1&content-type=text/plain
14
15 Index: msfrpcd-4.4-initd
16 ===================================================================
17 #!/sbin/runscript
18 # Copyright 1999-2012 Gentoo Foundation
19 # Distributed under the terms of the GNU General Public License v2
20 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/files/msfrpcd-4.4-initd,v 1.1 2012/08/24 02:28:18 zerochaos Exp $
21
22 VERSION=4.3
23 PIDFILE=/var/run/msfrpcd${VERSION}.pid
24
25 start() {
26 ebegin "Starting msfrpcd${VERSION}"
27 start-stop-daemon --start --quiet --background \
28 --exec /usr/lib/metasploit${VERSION}/msfrpcd \
29 --pidfile ${PIDFILE} \
30 --make-pidfile -- -f ${MSF_OPTS}
31 eend $?
32 }
33
34 stop() {
35 ebegin "Stopping msfrpcd${VERSION}"
36 start-stop-daemon --stop --quiet -s 9 --pidfile ${PIDFILE}
37 eend $?
38 }
39
40
41
42 1.1 net-analyzer/metasploit/files/msfrpcd-4.4-conf
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/files/msfrpcd-4.4-conf?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/files/msfrpcd-4.4-conf?rev=1.1&content-type=text/plain
46
47 Index: msfrpcd-4.4-conf
48 ===================================================================
49 # Config file for /etc/init.d/msfrpcd
50
51 # msfrpcd -h for more info
52
53 # Bind to the following IP instead of 0.0.0.0
54 MSF_OPTS="-a 127.0.0.1"
55
56 # Bind to the following TCP port instead of default 55553
57 #MSF_OPTS="${MSF_OPTS} -p 55553"
58
59 # Specify the username to access msfrpcd
60 MSF_OPTS="${MSF_OPTS} -U msf"
61
62 # Specify the password to access msfrpcd
63 MSF_OPTS="${MSF_OPTS} -P secret"
64
65 # Server type, [Basic|Web]
66 #MSF_OPTS="${MSF_OPTS} -t Basic"
67
68 # URI for Web server
69 #MSF_OPTS="${MSF_OPTS} -u "
70
71 # Disable SSL on the XMLRPC socket
72 # JAVA GUI doesn't support SSL as of Nov 6, 2010
73 MSF_OPTS="${MSF_OPTS} -S"