Replace "dircproxy" package with with "dircproxy-devel" package and remove the later. The old version 1.0.5 is unmaintained, has a remote DoS vulnerability and is less reliable than version 1.2.0beta2. Approved by Adrian Portelli.diff -r1.138 -r1.139 pkgsrc/chat/Makefile
(tron)
@@ -1,35 +1,34 @@ | @@ -1,35 +1,34 @@ | |||
1 | # $NetBSD: Makefile,v 1.138 2008/06/16 10:39:17 adrianp Exp $ | 1 | # $NetBSD: Makefile,v 1.139 2008/06/17 12:53:54 tron Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | COMMENT= Communication programs | 4 | COMMENT= Communication programs | |
5 | 5 | |||
6 | SUBDIR+= aim | 6 | SUBDIR+= aim | |
7 | SUBDIR+= amsn | 7 | SUBDIR+= amsn | |
8 | SUBDIR+= anope | 8 | SUBDIR+= anope | |
9 | SUBDIR+= atheme | 9 | SUBDIR+= atheme | |
10 | SUBDIR+= bitchbot | 10 | SUBDIR+= bitchbot | |
11 | SUBDIR+= bitchx | 11 | SUBDIR+= bitchx | |
12 | SUBDIR+= bitlbee | 12 | SUBDIR+= bitlbee | |
13 | SUBDIR+= blackened | 13 | SUBDIR+= blackened | |
14 | SUBDIR+= bnc | 14 | SUBDIR+= bnc | |
15 | SUBDIR+= bsflite | 15 | SUBDIR+= bsflite | |
16 | SUBDIR+= centericq | 16 | SUBDIR+= centericq | |
17 | SUBDIR+= centerim | 17 | SUBDIR+= centerim | |
18 | SUBDIR+= cgiirc | 18 | SUBDIR+= cgiirc | |
19 | SUBDIR+= climm | 19 | SUBDIR+= climm | |
20 | SUBDIR+= dccserver | 20 | SUBDIR+= dccserver | |
21 | SUBDIR+= dircproxy | 21 | SUBDIR+= dircproxy | |
22 | SUBDIR+= dircproxy-devel | |||
23 | SUBDIR+= eggdrop | 22 | SUBDIR+= eggdrop | |
24 | SUBDIR+= ejabberd | 23 | SUBDIR+= ejabberd | |
25 | SUBDIR+= ekg | 24 | SUBDIR+= ekg | |
26 | SUBDIR+= emech | 25 | SUBDIR+= emech | |
27 | SUBDIR+= epic4 | 26 | SUBDIR+= epic4 | |
28 | SUBDIR+= epic4-doc | 27 | SUBDIR+= epic4-doc | |
29 | SUBDIR+= finch | 28 | SUBDIR+= finch | |
30 | SUBDIR+= fisg | 29 | SUBDIR+= fisg | |
31 | SUBDIR+= fugu | 30 | SUBDIR+= fugu | |
32 | SUBDIR+= gale | 31 | SUBDIR+= gale | |
33 | SUBDIR+= gg2 | 32 | SUBDIR+= gg2 | |
34 | SUBDIR+= gnomeicu | 33 | SUBDIR+= gnomeicu | |
35 | SUBDIR+= goofey | 34 | SUBDIR+= goofey |
@@ -1,11 +1,16 @@ | @@ -1,11 +1,16 @@ | |||
1 | dircproxy is an IRC proxy server ("bouncer") designed for people | 1 | dircproxy is an IRC proxy server ("bouncer") designed for people | |
2 | who use IRC from lots of different workstations or clients, but wish | 2 | who use IRC from lots of different workstations or clients, but wish | |
3 | to remain connected and see what they missed while they were away. | 3 | to remain connected and see what they missed while they were away. | |
4 | You connect to IRC through dircproxy, and it keeps you connected to | 4 | You connect to IRC through dircproxy, and it keeps you connected to | |
5 | the server, even after you detach your client from it. While you're | 5 | the server, even after you detach your client from it. While you're | |
6 | detached, it logs channel and private messages as well as important | 6 | detached, it logs channel and private messages as well as important | |
7 | events, and when you re-attach it'll let you know what you missed. | 7 | events, and when you re-attach it'll let you know what you missed. | |
8 | 8 | |||
9 | This can be used to give you roughly the same functionality as | 9 | This can be used to give you roughly the same functionality as | |
10 | using ircII and screen together, except you can use whatever IRC | 10 | using ircII and screen together, except you can use whatever IRC | |
11 | client you like, including X ones! | 11 | client you like, including X ones! | |
12 | ||||
13 | * THIS IS AN UNSTABLE DEVELOPMENT RELEASE OF DIRCPROXY. IT HAS HIGHER | |||
14 | * THEN USUAL RISK OF DESTROYING YOUR SYSTEM. | |||
15 | * | |||
16 | * FOR A STABLE RELEASE USE THE LATEST 1.0.x |
@@ -1,28 +1,32 @@ | @@ -1,28 +1,32 @@ | |||
1 | # $NetBSD: Makefile,v 1.15 2008/06/12 02:14:16 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.16 2008/06/17 12:53:54 tron Exp $ | |
2 | 2 | |||
3 | DISTNAME= dircproxy-1.0.5 | 3 | DISTNAME= dircproxy-1.2.0-beta2 | |
4 | PKGREVISION= 2 | 4 | PKGNAME= ${DISTNAME:S/-beta/beta/} | |
5 | PKGREVISION= 1 | |||
5 | CATEGORIES= chat | 6 | CATEGORIES= chat | |
6 | MASTER_SITES= ftp://ftp.netsplit.com/pub/dircproxy/stable/ \ | 7 | MASTER_SITES= http://dircproxy.securiweb.net/ | |
7 | http://dircproxy.securiweb.net/pub/1.0/ | 8 | EXTRACT_SUFX= .tar.bz | |
8 | 9 | |||
9 | MAINTAINER= sb125499@ohiou.edu | 10 | MAINTAINER= adrianp@NetBSD.org | |
10 | HOMEPAGE= http://dircproxy.securiweb.net/ | 11 | HOMEPAGE= http://dircproxy.securiweb.net/ | |
11 | COMMENT= Detachable internet relay chat proxy server | 12 | COMMENT= Detachable internet relay chat proxy server (devel version) | |
12 | 13 | |||
13 | PKG_DESTDIR_SUPPORT= user-destdir | 14 | PKG_DESTDIR_SUPPORT= user-destdir | |
14 | 15 | |||
15 | GNU_CONFIGURE= YES | 16 | GNU_CONFIGURE= YES | |
16 | USE_TOOLS+= perl:run | 17 | USE_TOOLS+= perl:run | |
17 | 18 | |||
18 | CONFLICTS= dircproxy-1.1.[0-9]* | 19 | .include "options.mk" | |
19 | 20 | |||
20 | REPLACE_PERL= contrib/log.pl contrib/privmsg-log.pl | 21 | CONFLICTS= dircproxy-1.[0-1].[0-9]* | |
22 | ||||
23 | REPLACE_PERL+= contrib/log.pl contrib/privmsg-log.pl | |||
21 | 24 | |||
22 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} | 25 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} | |
23 | 26 | |||
24 | EGDIR= ${PREFIX}/share/examples/dircproxy | 27 | EGDIR= ${PREFIX}/share/examples/dircproxy | |
25 | CONF_FILES= ${EGDIR}/dircproxyrc ${PKG_SYSCONFDIR}/dircproxyrc | 28 | CONF_FILES= ${EGDIR:Q}/dircproxyrc.sample \ | |
29 | ${PKG_SYSCONFDIR:Q}/dircproxyrc | |||
26 | RCD_SCRIPTS= dircproxy | 30 | RCD_SCRIPTS= dircproxy | |
27 | 31 | |||
28 | .include "../../mk/bsd.pkg.mk" | 32 | .include "../../mk/bsd.pkg.mk" |
@@ -1,12 +1,12 @@ | @@ -1,12 +1,12 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.4 2005/05/02 20:33:57 reed Exp $ | 1 | @comment $NetBSD: PLIST,v 1.5 2008/06/17 12:53:54 tron Exp $ | |
2 | bin/dircproxy | 2 | bin/dircproxy | |
3 | bin/dircproxy-crypt | 3 | bin/dircproxy-crypt | |
4 | man/man1/dircproxy-crypt.1 | 4 | man/man1/dircproxy-crypt.1 | |
5 | man/man1/dircproxy.1 | 5 | man/man1/dircproxy.1 | |
6 | share/dircproxy/cronchk.sh | 6 | share/dircproxy/cronchk.sh | |
7 | share/dircproxy/log.pl | 7 | share/dircproxy/log.pl | |
8 | share/dircproxy/privmsg-log.pl | 8 | share/dircproxy/privmsg-log.pl | |
9 | share/examples/dircproxy/dircproxyrc | 9 | share/examples/dircproxy/dircproxyrc.sample | |
10 | share/examples/rc.d/dircproxy | 10 | share/examples/rc.d/dircproxy | |
11 | @dirrm share/examples/dircproxy | 11 | @dirrm share/examples/dircproxy | |
12 | @dirrm share/dircproxy | 12 | @dirrm share/dircproxy |
@@ -1,10 +1,8 @@ | @@ -1,10 +1,8 @@ | |||
1 | $NetBSD: distinfo,v 1.5 2007/03/17 13:47:08 rillig Exp $ | 1 | $NetBSD: distinfo,v 1.6 2008/06/17 12:53:54 tron Exp $ | |
2 | 2 | |||
3 | SHA1 (dircproxy-1.0.5.tar.gz) = eaf159d2a1303f82e079940b381c0e71b9b90c28 | 3 | SHA1 (dircproxy-1.2.0-beta2.tar.bz) = 43ab3d1b7559fd34a315c50150eebedeb4ec48db | |
4 | RMD160 (dircproxy-1.0.5.tar.gz) = 8082fbe3c83b9e38eae9a2b48bf244e277b3e63b | 4 | RMD160 (dircproxy-1.2.0-beta2.tar.bz) = 3e8bf9e11fd46caa7fd90189faf51c9e5f37d369 | |
5 | Size (dircproxy-1.0.5.tar.gz) = 217965 bytes | 5 | Size (dircproxy-1.2.0-beta2.tar.bz) = 314480 bytes | |
6 | SHA1 (patch-aa) = 9c59e9f4c0cfaca7a9e000eab2a8af1b6c16329f | 6 | SHA1 (patch-aa) = 59870074b86f1150f904e10269c654719b506f29 | |
7 | SHA1 (patch-ab) = 4d2cd9dbc972e4f2f7ac20b32dc65e755796d6f0 | 7 | SHA1 (patch-ab) = c0e8706c0f1bb7a2c981d1140d1b1deb105c601b | |
8 | SHA1 (patch-ac) = 2f599b0e30c3cc2b3b801546b1df8f8ae1de2c5d | 8 | SHA1 (patch-ac) = ad94320d493ea50603c90cd0c1e2499716496712 | |
9 | SHA1 (patch-ad) = 3177586587616f9441110acf59b8751bd8dde5c3 | |||
10 | SHA1 (patch-ae) = 212e7505d26442166ff77a29c9779bed34c2f255 |
# $NetBSD: options.mk,v 1.1 2008/06/17 12:53:54 tron Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.dircproxy
PKG_SUPPORTED_OPTIONS= ssl debug
PKG_SUGGESTED_OPTIONS= ssl
.include "../../mk/bsd.options.mk"
###
### Compile with SSL support
###
.if !empty(PKG_OPTIONS:Mssl)
CONFIGURE_ARGS+= --enable-ssl
.include "../../security/openssl/buildlink3.mk"
.endif
###
### Turn on debugging
###
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug
.endif
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | #!@SH@ | 1 | #!@SH@ | |
2 | # | 2 | # | |
3 | # $NetBSD: dircproxy.sh,v 1.2 2003/11/21 23:06:12 xtraeme Exp $ | 3 | # $NetBSD: dircproxy.sh,v 1.3 2008/06/17 12:53:54 tron Exp $ | |
4 | # | 4 | # | |
5 | 5 | |||
6 | # PROVIDE: dircproxy | 6 | # PROVIDE: dircproxy | |
7 | # REQUIRE: DAEMON | 7 | # REQUIRE: DAEMON | |
8 | 8 | |||
9 | . /etc/rc.subr | 9 | . /etc/rc.subr | |
10 | 10 | |||
11 | name="dircproxy" | 11 | name="dircproxy" | |
12 | rcvar=$name | 12 | rcvar=$name | |
13 | command="@PREFIX@/bin/${name}" | 13 | command="@PREFIX@/bin/${name}" | |
14 | command_args="-f @PKG_SYSCONFDIR@/${name}rc --pid-file=/var/run/${name}.pid" | 14 | command_args="-f @PKG_SYSCONFDIR@/${name}rc --pid-file=/var/run/${name}.pid" | |
15 | pidfile="/var/run/${name}.pid" | 15 | pidfile="/var/run/${name}.pid" | |
16 | required_files="@PKG_SYSCONFDIR@/${name}rc" | 16 | required_files="@PKG_SYSCONFDIR@/${name}rc" |
@@ -1,13 +1,13 @@ | @@ -1,13 +1,13 @@ | |||
1 | $NetBSD: patch-aa,v 1.1 2003/06/02 15:20:08 jmmv Exp $ | 1 | $NetBSD: patch-aa,v 1.2 2008/06/17 12:53:54 tron Exp $ | |
2 | 2 | |||
3 | --- conf/Makefile.in.orig 2002-11-21 15:19:04.000000000 +0100 | 3 | --- conf/Makefile.in.orig 2006-02-18 22:39:32.000000000 +0000 | |
4 | +++ conf/Makefile.in | 4 | +++ conf/Makefile.in | |
5 | @@ -34,7 +34,7 @@ oldincludedir = /usr/include | 5 | @@ -17,7 +17,7 @@ | |
6 | 6 | srcdir = @srcdir@ | ||
7 | DESTDIR = | 7 | top_srcdir = @top_srcdir@ | |
8 | 8 | VPATH = @srcdir@ | ||
9 | -pkgdatadir = $(datadir)/@PACKAGE@ | 9 | -pkgdatadir = $(datadir)/@PACKAGE@ | |
10 | +pkgdatadir = $(datadir)/examples/@PACKAGE@ | 10 | +pkgdatadir = $(datadir)/examples/@PACKAGE@ | |
11 | pkglibdir = $(libdir)/@PACKAGE@ | 11 | pkglibdir = $(libdir)/@PACKAGE@ | |
12 | pkgincludedir = $(includedir)/@PACKAGE@ | 12 | pkgincludedir = $(includedir)/@PACKAGE@ | |
13 | 13 | top_builddir = .. |
@@ -1,15 +1,15 @@ | @@ -1,15 +1,15 @@ | |||
1 | $NetBSD: patch-ab,v 1.1 2005/03/10 13:31:05 tv Exp $ | 1 | $NetBSD: patch-ab,v 1.2 2008/06/17 12:53:54 tron Exp $ | |
2 | 2 | |||
3 | --- src/irc_net.h.orig 2002-02-06 05:07:42.000000000 -0500 | 3 | --- src/irc_net.h.orig 2006-02-18 22:39:32.000000000 +0000 | |
4 | +++ src/irc_net.h | 4 | +++ src/irc_net.h | |
5 | @@ -21,6 +21,10 @@ | 5 | @@ -23,6 +23,10 @@ | |
6 | #include <arpa/inet.h> | 6 | #include <arpa/inet.h> | |
7 | #include <time.h> | 7 | #include <time.h> | |
8 | 8 | |||
9 | +#ifndef INADDR_LOOPBACK | 9 | +#ifndef INADDR_LOOPBACK | |
10 | +#define INADDR_LOOPBACK inet_addr("127.0.0.1") | 10 | +#define INADDR_LOOPBACK inet_addr("127.0.0.1") | |
11 | +#endif | 11 | +#endif | |
12 | + | 12 | + | |
13 | #include "irc_prot.h" | 13 | #include "irc_prot.h" | |
14 | #include "stringex.h" | 14 | #include "stringex.h" | |
15 | 15 | #include "net.h" |
@@ -1,15 +1,13 @@ | @@ -1,15 +1,13 @@ | |||
1 | $NetBSD: patch-ac,v 1.1 2007/03/17 13:47:08 rillig Exp $ | 1 | $NetBSD: patch-ac,v 1.2 2008/06/17 12:53:54 tron Exp $ | |
2 | 2 | |||
3 | The ?: operator returns an rvalue, not an lvalue. | 3 | --- src/irc_server.c.orig 2006-10-07 22:07:08.000000000 +0100 | |
4 | 4 | +++ src/irc_server.c | ||
5 | --- src/dcc_net.c.orig 2001-12-21 21:15:55.000000000 +0100 | 5 | @@ -1155,7 +1155,7 @@ static int _ircserver_gotmsg(struct ircp | |
6 | +++ src/dcc_net.c 2007-03-17 14:44:21.000000000 +0100 | 6 | ||
7 | @@ -364,7 +364,7 @@ int dccnet_expunge_proxies(void) { | 7 | if (!strcmp(cmsg.cmd, "ACTION")) { | |
8 | n = p->next; | 8 | irclog_log(p, IRC_LOG_ACTION, logdest, msg.src.orig, | |
9 | _dccnet_free(p); | 9 | - "%s", cmsg.paramstarts[0]); | |
10 | + "%s", (cmsg.paramstarts != NULL) ? cmsg.paramstarts[0]: "none"); | |||
10 | 11 | |||
11 | - p = (l ? l->next : proxies) = n; | 12 | } else if (!strcmp(cmsg.cmd, "DCC") | |
12 | + p = *(l ? &(l->next) : &(proxies)) = n; | 13 | && p->conn_class->dcc_proxy_incoming) { | |
13 | } else { | |||
14 | l = p; | |||
15 | p = p->next; |