Tue Jun 17 12:53:55 2008 UTC ()
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.


(tron)
diff -r1.138 -r1.139 pkgsrc/chat/Makefile
diff -r1.1 -r1.2 pkgsrc/chat/dircproxy/DESCR
diff -r1.15 -r1.16 pkgsrc/chat/dircproxy/Makefile
diff -r1.4 -r1.5 pkgsrc/chat/dircproxy/PLIST
diff -r1.5 -r1.6 pkgsrc/chat/dircproxy/distinfo
diff -r0 -r1.1 pkgsrc/chat/dircproxy/options.mk
diff -r1.1.1.1 -r0 pkgsrc/chat/dircproxy-devel/DESCR
diff -r1.12 -r0 pkgsrc/chat/dircproxy-devel/Makefile
diff -r1.3 -r0 pkgsrc/chat/dircproxy-devel/PLIST
diff -r1.7 -r0 pkgsrc/chat/dircproxy-devel/distinfo
diff -r1.1 -r0 pkgsrc/chat/dircproxy-devel/options.mk
diff -r1.1.1.1 -r0 pkgsrc/chat/dircproxy-devel/files/dircproxy.sh
diff -r1.2 -r0 pkgsrc/chat/dircproxy-devel/patches/patch-aa
diff -r1.2 -r0 pkgsrc/chat/dircproxy-devel/patches/patch-ab
diff -r1.1 -r0 pkgsrc/chat/dircproxy-devel/patches/patch-ag
diff -r1.2 -r1.3 pkgsrc/chat/dircproxy/files/dircproxy.sh
diff -r1.1 -r1.2 pkgsrc/chat/dircproxy/patches/patch-aa
diff -r1.1 -r1.2 pkgsrc/chat/dircproxy/patches/patch-ab
diff -r1.1 -r1.2 pkgsrc/chat/dircproxy/patches/patch-ac
diff -r1.1 -r0 pkgsrc/chat/dircproxy/patches/patch-ad
diff -r1.1 -r0 pkgsrc/chat/dircproxy/patches/patch-ae

cvs diff -r1.138 -r1.139 pkgsrc/chat/Makefile (expand / switch to context diff)
--- pkgsrc/chat/Makefile 2008/06/16 10:39:17 1.138
+++ pkgsrc/chat/Makefile 2008/06/17 12:53:54 1.139
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.138 2008/06/16 10:39:17 adrianp Exp $
+# $NetBSD: Makefile,v 1.139 2008/06/17 12:53:54 tron Exp $
 #
 
 COMMENT=	Communication programs
@@ -19,7 +19,6 @@
 SUBDIR+=	climm
 SUBDIR+=	dccserver
 SUBDIR+=	dircproxy
-SUBDIR+=	dircproxy-devel
 SUBDIR+=	eggdrop
 SUBDIR+=	ejabberd
 SUBDIR+=	ekg

cvs diff -r1.1 -r1.2 pkgsrc/chat/dircproxy/Attic/DESCR (expand / switch to context diff)
--- pkgsrc/chat/dircproxy/Attic/DESCR 2001/10/31 20:06:20 1.1
+++ pkgsrc/chat/dircproxy/Attic/DESCR 2008/06/17 12:53:54 1.2
@@ -9,3 +9,8 @@
 This can be used to give you roughly the same functionality as
 using ircII and screen together, except you can use whatever IRC
 client you like, including X ones!
+
+* THIS IS AN UNSTABLE DEVELOPMENT RELEASE OF DIRCPROXY.  IT HAS HIGHER
+* THEN USUAL RISK OF DESTROYING YOUR SYSTEM.
+*
+* FOR A STABLE RELEASE USE THE LATEST 1.0.x

cvs diff -r1.15 -r1.16 pkgsrc/chat/dircproxy/Attic/Makefile (expand / switch to context diff)
--- pkgsrc/chat/dircproxy/Attic/Makefile 2008/06/12 02:14:16 1.15
+++ pkgsrc/chat/dircproxy/Attic/Makefile 2008/06/17 12:53:54 1.16
@@ -1,28 +1,32 @@
-# $NetBSD: Makefile,v 1.15 2008/06/12 02:14:16 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2008/06/17 12:53:54 tron Exp $
 
-DISTNAME=	dircproxy-1.0.5
-PKGREVISION=	2
+DISTNAME=	dircproxy-1.2.0-beta2
+PKGNAME=	${DISTNAME:S/-beta/beta/}
+PKGREVISION=	1
 CATEGORIES=	chat
-MASTER_SITES=	ftp://ftp.netsplit.com/pub/dircproxy/stable/ \
-		http://dircproxy.securiweb.net/pub/1.0/
+MASTER_SITES=	http://dircproxy.securiweb.net/
+EXTRACT_SUFX=	.tar.bz
 
-MAINTAINER=	sb125499@ohiou.edu
+MAINTAINER=	adrianp@NetBSD.org
 HOMEPAGE=	http://dircproxy.securiweb.net/
-COMMENT=	Detachable internet relay chat proxy server
+COMMENT=	Detachable internet relay chat proxy server (devel version)
 
 PKG_DESTDIR_SUPPORT=	user-destdir
 
 GNU_CONFIGURE=		YES
 USE_TOOLS+=		perl:run
 
-CONFLICTS=		dircproxy-1.1.[0-9]*
+.include "options.mk"
 
-REPLACE_PERL=		contrib/log.pl contrib/privmsg-log.pl
+CONFLICTS=		dircproxy-1.[0-1].[0-9]*
 
+REPLACE_PERL+=		contrib/log.pl contrib/privmsg-log.pl
+
 CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR:Q}
 
 EGDIR=			${PREFIX}/share/examples/dircproxy
-CONF_FILES=		${EGDIR}/dircproxyrc ${PKG_SYSCONFDIR}/dircproxyrc
+CONF_FILES=		${EGDIR:Q}/dircproxyrc.sample \
+			${PKG_SYSCONFDIR:Q}/dircproxyrc
 RCD_SCRIPTS=		dircproxy
 
 .include "../../mk/bsd.pkg.mk"

cvs diff -r1.4 -r1.5 pkgsrc/chat/dircproxy/Attic/PLIST (expand / switch to context diff)
--- pkgsrc/chat/dircproxy/Attic/PLIST 2005/05/02 20:33:57 1.4
+++ pkgsrc/chat/dircproxy/Attic/PLIST 2008/06/17 12:53:54 1.5
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2005/05/02 20:33:57 reed Exp $
+@comment $NetBSD: PLIST,v 1.5 2008/06/17 12:53:54 tron Exp $
 bin/dircproxy
 bin/dircproxy-crypt
 man/man1/dircproxy-crypt.1
@@ -6,7 +6,7 @@
 share/dircproxy/cronchk.sh
 share/dircproxy/log.pl
 share/dircproxy/privmsg-log.pl
-share/examples/dircproxy/dircproxyrc
+share/examples/dircproxy/dircproxyrc.sample
 share/examples/rc.d/dircproxy
 @dirrm share/examples/dircproxy
 @dirrm share/dircproxy

cvs diff -r1.5 -r1.6 pkgsrc/chat/dircproxy/Attic/distinfo (expand / switch to context diff)
--- pkgsrc/chat/dircproxy/Attic/distinfo 2007/03/17 13:47:08 1.5
+++ pkgsrc/chat/dircproxy/Attic/distinfo 2008/06/17 12:53:54 1.6
@@ -1,10 +1,8 @@
-$NetBSD: distinfo,v 1.5 2007/03/17 13:47:08 rillig Exp $
+$NetBSD: distinfo,v 1.6 2008/06/17 12:53:54 tron Exp $
 
-SHA1 (dircproxy-1.0.5.tar.gz) = eaf159d2a1303f82e079940b381c0e71b9b90c28
+SHA1 (dircproxy-1.2.0-beta2.tar.bz) = 43ab3d1b7559fd34a315c50150eebedeb4ec48db
-RMD160 (dircproxy-1.0.5.tar.gz) = 8082fbe3c83b9e38eae9a2b48bf244e277b3e63b
+RMD160 (dircproxy-1.2.0-beta2.tar.bz) = 3e8bf9e11fd46caa7fd90189faf51c9e5f37d369
-Size (dircproxy-1.0.5.tar.gz) = 217965 bytes
+Size (dircproxy-1.2.0-beta2.tar.bz) = 314480 bytes
-SHA1 (patch-aa) = 9c59e9f4c0cfaca7a9e000eab2a8af1b6c16329f
+SHA1 (patch-aa) = 59870074b86f1150f904e10269c654719b506f29
-SHA1 (patch-ab) = 4d2cd9dbc972e4f2f7ac20b32dc65e755796d6f0
+SHA1 (patch-ab) = c0e8706c0f1bb7a2c981d1140d1b1deb105c601b
-SHA1 (patch-ac) = 2f599b0e30c3cc2b3b801546b1df8f8ae1de2c5d
+SHA1 (patch-ac) = ad94320d493ea50603c90cd0c1e2499716496712
-SHA1 (patch-ad) = 3177586587616f9441110acf59b8751bd8dde5c3
-SHA1 (patch-ae) = 212e7505d26442166ff77a29c9779bed34c2f255

File Added: pkgsrc/chat/dircproxy/Attic/options.mk
# $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

File Deleted: pkgsrc/chat/dircproxy-devel/Attic/DESCR

File Deleted: pkgsrc/chat/dircproxy-devel/Attic/Makefile

File Deleted: pkgsrc/chat/dircproxy-devel/Attic/PLIST

File Deleted: pkgsrc/chat/dircproxy-devel/Attic/distinfo

File Deleted: pkgsrc/chat/dircproxy-devel/Attic/options.mk

File Deleted: pkgsrc/chat/dircproxy-devel/files/Attic/dircproxy.sh

File Deleted: pkgsrc/chat/dircproxy-devel/patches/Attic/patch-aa

File Deleted: pkgsrc/chat/dircproxy-devel/patches/Attic/patch-ab

File Deleted: pkgsrc/chat/dircproxy-devel/patches/Attic/patch-ag

cvs diff -r1.2 -r1.3 pkgsrc/chat/dircproxy/files/Attic/dircproxy.sh (expand / switch to context diff)
--- pkgsrc/chat/dircproxy/files/Attic/dircproxy.sh 2003/11/21 23:06:12 1.2
+++ pkgsrc/chat/dircproxy/files/Attic/dircproxy.sh 2008/06/17 12:53:54 1.3
@@ -1,6 +1,6 @@
 #!@SH@
 #
-# $NetBSD: dircproxy.sh,v 1.2 2003/11/21 23:06:12 xtraeme Exp $
+# $NetBSD: dircproxy.sh,v 1.3 2008/06/17 12:53:54 tron Exp $
 #
 
 # PROVIDE: dircproxy

cvs diff -r1.1 -r1.2 pkgsrc/chat/dircproxy/patches/Attic/patch-aa (expand / switch to context diff)
--- pkgsrc/chat/dircproxy/patches/Attic/patch-aa 2003/06/02 15:20:08 1.1
+++ pkgsrc/chat/dircproxy/patches/Attic/patch-aa 2008/06/17 12:53:54 1.2
@@ -1,13 +1,13 @@
-$NetBSD: patch-aa,v 1.1 2003/06/02 15:20:08 jmmv Exp $
+$NetBSD: patch-aa,v 1.2 2008/06/17 12:53:54 tron Exp $
 
---- conf/Makefile.in.orig	2002-11-21 15:19:04.000000000 +0100
+--- conf/Makefile.in.orig	2006-02-18 22:39:32.000000000 +0000
 +++ conf/Makefile.in
-@@ -34,7 +34,7 @@ oldincludedir = /usr/include
- 
- DESTDIR =
- 
+@@ -17,7 +17,7 @@
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
 -pkgdatadir = $(datadir)/@PACKAGE@
 +pkgdatadir = $(datadir)/examples/@PACKAGE@
  pkglibdir = $(libdir)/@PACKAGE@
  pkgincludedir = $(includedir)/@PACKAGE@
- 
+ top_builddir = ..

cvs diff -r1.1 -r1.2 pkgsrc/chat/dircproxy/patches/Attic/patch-ab (expand / switch to context diff)
--- pkgsrc/chat/dircproxy/patches/Attic/patch-ab 2005/03/10 13:31:05 1.1
+++ pkgsrc/chat/dircproxy/patches/Attic/patch-ab 2008/06/17 12:53:54 1.2
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.1 2005/03/10 13:31:05 tv Exp $
+$NetBSD: patch-ab,v 1.2 2008/06/17 12:53:54 tron Exp $
 
---- src/irc_net.h.orig	2002-02-06 05:07:42.000000000 -0500
+--- src/irc_net.h.orig	2006-02-18 22:39:32.000000000 +0000
 +++ src/irc_net.h
-@@ -21,6 +21,10 @@
+@@ -23,6 +23,10 @@
  #include <arpa/inet.h>
  #include <time.h>
  
@@ -12,4 +12,4 @@
 +
  #include "irc_prot.h"
  #include "stringex.h"
- 
+ #include "net.h"

cvs diff -r1.1 -r1.2 pkgsrc/chat/dircproxy/patches/Attic/patch-ac (expand / switch to context diff)
--- pkgsrc/chat/dircproxy/patches/Attic/patch-ac 2007/03/17 13:47:08 1.1
+++ pkgsrc/chat/dircproxy/patches/Attic/patch-ac 2008/06/17 12:53:54 1.2
@@ -1,15 +1,13 @@
-$NetBSD: patch-ac,v 1.1 2007/03/17 13:47:08 rillig Exp $
+$NetBSD: patch-ac,v 1.2 2008/06/17 12:53:54 tron Exp $
 
-The ?: operator returns an rvalue, not an lvalue.
-
---- src/dcc_net.c.orig	2001-12-21 21:15:55.000000000 +0100
-+++ src/dcc_net.c	2007-03-17 14:44:21.000000000 +0100
-@@ -364,7 +364,7 @@ int dccnet_expunge_proxies(void) {
-       n = p->next;
-       _dccnet_free(p);
+--- src/irc_server.c.orig	2006-10-07 22:07:08.000000000 +0100
++++ src/irc_server.c
+@@ -1155,7 +1155,7 @@ static int _ircserver_gotmsg(struct ircp
+       
+         if (!strcmp(cmsg.cmd, "ACTION")) {
+           irclog_log(p, IRC_LOG_ACTION, logdest, msg.src.orig,
+-                     "%s", cmsg.paramstarts[0]);
++                     "%s", (cmsg.paramstarts != NULL) ?  cmsg.paramstarts[0]: "none");
  
--      p = (l ? l->next : proxies) = n;
+         } else if (!strcmp(cmsg.cmd, "DCC")
-+      p = *(l ? &(l->next) : &(proxies)) = n;
+                    && p->conn_class->dcc_proxy_incoming) {
-     } else {
-       l = p;
-       p = p->next;

File Deleted: pkgsrc/chat/dircproxy/patches/Attic/patch-ad

File Deleted: pkgsrc/chat/dircproxy/patches/Attic/patch-ae