summaryrefslogtreecommitdiff
path: root/chat/dircproxy-devel
diff options
context:
space:
mode:
authoradrianp <adrianp>2005-04-03 14:18:01 +0000
committeradrianp <adrianp>2005-04-03 14:18:01 +0000
commit392d4e35c1fb5d48e900aefbdbc434661bf32351 (patch)
tree0f8862e5ecc0692558273020e9a07d1e0d653128 /chat/dircproxy-devel
parentb683000b40fcaa1e1319d95addbccabb4653eacf (diff)
downloadpkgsrc-392d4e35c1fb5d48e900aefbdbc434661bf32351.tar.gz
- 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
Diffstat (limited to 'chat/dircproxy-devel')
-rw-r--r--chat/dircproxy-devel/DESCR16
-rw-r--r--chat/dircproxy-devel/Makefile26
-rw-r--r--chat/dircproxy-devel/PLIST11
-rw-r--r--chat/dircproxy-devel/distinfo7
-rw-r--r--chat/dircproxy-devel/files/dircproxy.sh19
-rw-r--r--chat/dircproxy-devel/patches/patch-aa13
-rw-r--r--chat/dircproxy-devel/patches/patch-ab15
7 files changed, 107 insertions, 0 deletions
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 <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"
+