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