Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/metasploit/files: msfrpcd-4.3-initd msfrpcd-4.3-conf
Date: Wed, 02 May 2012 04:43:11
Message-Id: 20120502044258.3D0042004B@flycatcher.gentoo.org
1 patrick 12/05/02 04:42:58
2
3 Added: msfrpcd-4.3-initd msfrpcd-4.3-conf
4 Log:
5 Bump, drop ppc keyword until msgpack is keyworded
6
7 (Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 net-analyzer/metasploit/files/msfrpcd-4.3-initd
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/files/msfrpcd-4.3-initd?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/files/msfrpcd-4.3-initd?rev=1.1&content-type=text/plain
14
15 Index: msfrpcd-4.3-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.3-initd,v 1.1 2012/05/02 04:42:58 patrick Exp $
21
22 VERSION=4.2
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.3-conf
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/files/msfrpcd-4.3-conf?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/files/msfrpcd-4.3-conf?rev=1.1&content-type=text/plain
46
47 Index: msfrpcd-4.3-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"