From 34a0a383b63ebacd08128f9ce3ce409373be2194 Mon Sep 17 00:00:00 2001 From: adrianp Date: Sun, 3 Apr 2005 14:18:01 +0000 Subject: - Import of the 1.1.x dircproxy devel branch 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 --- chat/dircproxy-devel/DESCR | 16 ++++++++++++++++ chat/dircproxy-devel/Makefile | 26 ++++++++++++++++++++++++++ chat/dircproxy-devel/PLIST | 11 +++++++++++ chat/dircproxy-devel/distinfo | 7 +++++++ chat/dircproxy-devel/files/dircproxy.sh | 19 +++++++++++++++++++ chat/dircproxy-devel/patches/patch-aa | 13 +++++++++++++ chat/dircproxy-devel/patches/patch-ab | 15 +++++++++++++++ 7 files changed, 107 insertions(+) create mode 100644 chat/dircproxy-devel/DESCR create mode 100644 chat/dircproxy-devel/Makefile create mode 100644 chat/dircproxy-devel/PLIST create mode 100644 chat/dircproxy-devel/distinfo create mode 100644 chat/dircproxy-devel/files/dircproxy.sh create mode 100644 chat/dircproxy-devel/patches/patch-aa create mode 100644 chat/dircproxy-devel/patches/patch-ab (limited to 'chat') diff --git a/chat/dircproxy-devel/DESCR b/chat/dircproxy-devel/DESCR new file mode 100644 index 00000000000..9e04678d92f --- /dev/null +++ b/chat/dircproxy-devel/DESCR @@ -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 diff --git a/chat/dircproxy-devel/Makefile b/chat/dircproxy-devel/Makefile new file mode 100644 index 00000000000..c125ee9166e --- /dev/null +++ b/chat/dircproxy-devel/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/04/03 14:18:02 adrianp Exp $ + +DISTNAME= dircproxy-1.1.0 +CATEGORIES= chat +MASTER_SITES= http://www.securiweb.net/pub/oss/dircproxy/1.1/ + +MAINTAINER= adrianp@NetBSD.org +HOMEPAGE= http://dircproxy.securiweb.net/ +COMMENT= Detachable internet relay chat proxy server + +GNU_CONFIGURE= YES +USE_BUILDLINK3= YES +USE_PERL5= YES +USE_PKGINSTALL= YES + +CONFLICTS= dircproxy-1.0.[0-9]* + +REPLACE_PERL= contrib/log.pl contrib/privmsg-log.pl + +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} + +EGDIR= ${PREFIX}/share/examples/dircproxy +CONF_FILES= ${EGDIR}/dircproxyrc ${PKG_SYSCONFDIR}/dircproxyrc +RCD_SCRIPTS= dircproxy + +.include "../../mk/bsd.pkg.mk" diff --git a/chat/dircproxy-devel/PLIST b/chat/dircproxy-devel/PLIST new file mode 100644 index 00000000000..77c2ae564fc --- /dev/null +++ b/chat/dircproxy-devel/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/04/03 14:18:01 adrianp 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 +@dirrm share/examples/dircproxy +@dirrm share/dircproxy diff --git a/chat/dircproxy-devel/distinfo b/chat/dircproxy-devel/distinfo new file mode 100644 index 00000000000..3f28c75015f --- /dev/null +++ b/chat/dircproxy-devel/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/04/03 14:18:01 adrianp Exp $ + +SHA1 (dircproxy-1.1.0.tar.gz) = a967a542c4c6063e8f977276b68deb6692c9d150 +RMD160 (dircproxy-1.1.0.tar.gz) = 7c7f622a4b67854e608a68191a0537fc83b94045 +Size (dircproxy-1.1.0.tar.gz) = 250060 bytes +SHA1 (patch-aa) = c5dc0f01db56074c40c4986ed3bdc666b8fc9ecc +SHA1 (patch-ab) = 4d2cd9dbc972e4f2f7ac20b32dc65e755796d6f0 diff --git a/chat/dircproxy-devel/files/dircproxy.sh b/chat/dircproxy-devel/files/dircproxy.sh new file mode 100644 index 00000000000..3edaf6d9d3d --- /dev/null +++ b/chat/dircproxy-devel/files/dircproxy.sh @@ -0,0 +1,19 @@ +#!@SH@ +# +# $NetBSD: dircproxy.sh,v 1.1.1.1 2005/04/03 14:18:02 adrianp 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" diff --git a/chat/dircproxy-devel/patches/patch-aa b/chat/dircproxy-devel/patches/patch-aa new file mode 100644 index 00000000000..cfcba4a19eb --- /dev/null +++ b/chat/dircproxy-devel/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/04/03 14:18:02 adrianp Exp $ + +--- conf/Makefile.in 2002-08-18 02:41:15.000000000 +0100 ++++ conf/Makefile.in.orig +@@ -33,7 +33,7 @@ infodir = @infodir@ + mandir = @mandir@ + includedir = @includedir@ + oldincludedir = /usr/include +-pkgdatadir = $(datadir)/@PACKAGE@ ++pkgdatadir = $(datadir)/examples/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ + pkgincludedir = $(includedir)/@PACKAGE@ + top_builddir = .. diff --git a/chat/dircproxy-devel/patches/patch-ab b/chat/dircproxy-devel/patches/patch-ab new file mode 100644 index 00000000000..0a7073317b1 --- /dev/null +++ b/chat/dircproxy-devel/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/04/03 14:18:02 adrianp Exp $ + +--- src/irc_net.h.orig 2002-02-06 05:07:42.000000000 -0500 ++++ src/irc_net.h +@@ -21,6 +21,10 @@ + #include + #include + ++#ifndef INADDR_LOOPBACK ++#define INADDR_LOOPBACK inet_addr("127.0.0.1") ++#endif ++ + #include "irc_prot.h" + #include "stringex.h" + -- cgit v1.2.3