Gentoo Archives: gentoo-commits

From: "Bjarke Istrup Pedersen (gurligebis)" <gurligebis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-irc/psybnc/files: psybnc-oidentd.initd oidentd.conf.psybnc psybnc-2.3.2.9-oidentd.patch
Date: Sun, 14 Dec 2008 18:23:17
Message-Id: E1LBvcY-000158-Jy@stork.gentoo.org
1 gurligebis 08/12/14 18:23:14
2
3 Added: psybnc-oidentd.initd oidentd.conf.psybnc
4 psybnc-2.3.2.9-oidentd.patch
5 Log:
6 Bumping to 2.3.2.9, fixing both #172650 and #246596
7 (Portage version: 2.2_rc17/cvs/Linux 2.6.28-rc8 i686)
8
9 Revision Changes Path
10 1.1 net-irc/psybnc/files/psybnc-oidentd.initd
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/psybnc/files/psybnc-oidentd.initd?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/psybnc/files/psybnc-oidentd.initd?rev=1.1&content-type=text/plain
14
15 Index: psybnc-oidentd.initd
16 ===================================================================
17 #!/sbin/runscript
18 # Copyright 1999-2007 Gentoo Foundation
19 # Distributed under the terms of the GNU General Public License v2
20 # $Header: /var/cvsroot/gentoo-x86/net-irc/psybnc/files/psybnc-oidentd.initd,v 1.1 2008/12/14 18:23:14 gurligebis Exp $
21
22 depend() {
23 need net oidentd
24 }
25
26 check_config() {
27 if [[ ! -f ${PSYBNC_CONFIG} ]]
28 then
29 eerror "Please set \$PSYBNC_CONFIG in /etc/conf.d/psybnc!"
30 return 1
31 fi
32
33 if [[ ! -d "${PSYBNC_HOME}" ]]
34 then
35 eerror "Please set \$PSYBNC_HOME in /etc/conf.d/psybnc!"
36 return 1
37 fi
38
39 if [[ -z "${PSYBNC_USER}" ]]
40 then
41 eerror "Please set \$PSYBNC_USER in /etc/conf.d/psybnc!"
42 return 1
43 fi
44 }
45
46 start() {
47 check_config || return 1
48 ebegin "Starting psyBNC"
49 start-stop-daemon --start --quiet --chuid "${PSYBNC_USER}" --chdir "${PSYBNC_HOME}" -e HOME="${PSYBNC_HOME}" --exec /usr/bin/psybnc -- "${PSYBNC_CONFIG}" &>/dev/null
50 eend $?
51 }
52
53 stop() {
54 check_config || return 1
55 ebegin "Stopping psyBNC"
56 start-stop-daemon --stop --quiet --pidfile "${PSYBNC_HOME}"/psybnc.pid --signal 9
57 eend $?
58 }
59
60
61
62 1.1 net-irc/psybnc/files/oidentd.conf.psybnc
63
64 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/psybnc/files/oidentd.conf.psybnc?rev=1.1&view=markup
65 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/psybnc/files/oidentd.conf.psybnc?rev=1.1&content-type=text/plain
66
67 Index: oidentd.conf.psybnc
68 ===================================================================
69 user psybnc {
70 default {
71 allow spoof
72 allow spoof_all
73 allow spoof_privport
74 }
75 }
76
77
78
79 1.1 net-irc/psybnc/files/psybnc-2.3.2.9-oidentd.patch
80
81 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/psybnc/files/psybnc-2.3.2.9-oidentd.patch?rev=1.1&view=markup
82 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/psybnc/files/psybnc-2.3.2.9-oidentd.patch?rev=1.1&content-type=text/plain
83
84 Index: psybnc-2.3.2.9-oidentd.patch
85 ===================================================================
86 --- config.h.orig 2008-12-14 20:02:57.000000000 +0000
87 +++ config.h 2008-12-14 20:03:35.000000000 +0000
88 @@ -14,6 +14,10 @@
89
90 #define TRANSLATE
91
92 +/* Support oIdentd */
93 +
94 +#define OIDENTD
95 +
96 /* Allow internal network */
97
98 #define INTNET