Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

16
chat/dircproxy/DESCR Normal file
View File

@@ -0,0 +1,16 @@
dircproxy is an IRC proxy server ("bouncer") designed for people
who use IRC from lots of different workstations or clients, but wish
to remain connected and see what they missed while they were away.
You connect to IRC through dircproxy, and it keeps you connected to
the server, even after you detach your client from it. While you're
detached, it logs channel and private messages as well as important
events, and when you re-attach it'll let you know what you missed.
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

30
chat/dircproxy/Makefile Normal file
View File

@@ -0,0 +1,30 @@
# $NetBSD: Makefile,v 1.23 2013/05/31 12:39:40 wiz Exp $
DISTNAME= dircproxy-1.2.0-beta2
PKGNAME= ${DISTNAME:S/-beta/beta/}
PKGREVISION= 4
CATEGORIES= chat
MASTER_SITES= http://dircproxy.googlecode.com/files/
EXTRACT_SUFX= .tar.bz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://code.google.com/p/dircproxy/
COMMENT= Detachable internet relay chat proxy server (devel version)
GNU_CONFIGURE= YES
USE_TOOLS+= perl:run
.include "options.mk"
CONFLICTS= dircproxy<=1.1.0
REPLACE_PERL+= contrib/log.pl contrib/privmsg-log.pl
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
EGDIR= ${PREFIX}/share/examples/dircproxy
CONF_FILES= ${EGDIR:Q}/dircproxyrc.sample \
${PKG_SYSCONFDIR:Q}/dircproxyrc
RCD_SCRIPTS= dircproxy
.include "../../mk/bsd.pkg.mk"

10
chat/dircproxy/PLIST Normal file
View File

@@ -0,0 +1,10 @@
@comment $NetBSD: PLIST,v 1.6 2009/06/14 17:37:43 joerg Exp $
bin/dircproxy
bin/dircproxy-crypt
man/man1/dircproxy-crypt.1
man/man1/dircproxy.1
share/dircproxy/cronchk.sh
share/dircproxy/log.pl
share/dircproxy/privmsg-log.pl
share/examples/dircproxy/dircproxyrc.sample
share/examples/rc.d/dircproxy

8
chat/dircproxy/distinfo Normal file
View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.6 2008/06/17 12:53:54 tron Exp $
SHA1 (dircproxy-1.2.0-beta2.tar.bz) = 43ab3d1b7559fd34a315c50150eebedeb4ec48db
RMD160 (dircproxy-1.2.0-beta2.tar.bz) = 3e8bf9e11fd46caa7fd90189faf51c9e5f37d369
Size (dircproxy-1.2.0-beta2.tar.bz) = 314480 bytes
SHA1 (patch-aa) = 59870074b86f1150f904e10269c654719b506f29
SHA1 (patch-ab) = c0e8706c0f1bb7a2c981d1140d1b1deb105c601b
SHA1 (patch-ac) = ad94320d493ea50603c90cd0c1e2499716496712

View File

@@ -0,0 +1,19 @@
#!@SH@
#
# $NetBSD: dircproxy.sh,v 1.3 2008/06/17 12:53:54 tron Exp $
#
# PROVIDE: dircproxy
# REQUIRE: DAEMON
. /etc/rc.subr
name="dircproxy"
rcvar=$name
command="@PREFIX@/bin/${name}"
command_args="-f @PKG_SYSCONFDIR@/${name}rc --pid-file=/var/run/${name}.pid"
pidfile="/var/run/${name}.pid"
required_files="@PKG_SYSCONFDIR@/${name}rc"
load_rc_config $name
run_rc_command "$1"

22
chat/dircproxy/options.mk Normal file
View File

@@ -0,0 +1,22 @@
# $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

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.2 2008/06/17 12:53:54 tron Exp $
--- conf/Makefile.in.orig 2006-02-18 22:39:32.000000000 +0000
+++ conf/Makefile.in
@@ -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 = ..

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ab,v 1.2 2008/06/17 12:53:54 tron Exp $
--- src/irc_net.h.orig 2006-02-18 22:39:32.000000000 +0000
+++ src/irc_net.h
@@ -23,6 +23,10 @@
#include <arpa/inet.h>
#include <time.h>
+#ifndef INADDR_LOOPBACK
+#define INADDR_LOOPBACK inet_addr("127.0.0.1")
+#endif
+
#include "irc_prot.h"
#include "stringex.h"
#include "net.h"

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ac,v 1.2 2008/06/17 12:53:54 tron Exp $
--- 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");
} else if (!strcmp(cmsg.cmd, "DCC")
&& p->conn_class->dcc_proxy_incoming) {