summaryrefslogtreecommitdiff
path: root/chat/ctrlproxy
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2009-01-04 01:05:46 +0000
committeradrianp <adrianp@pkgsrc.org>2009-01-04 01:05:46 +0000
commitd348754d184781c2b2069d48f3fa8452fced4ea0 (patch)
tree8de6fbcd1b8b94b27f5752c86c2d6d90aed2f24e /chat/ctrlproxy
parent6f9ef9f69b93414efa537c1226c8d081a6b11bde (diff)
downloadpkgsrc-d348754d184781c2b2069d48f3fa8452fced4ea0.tar.gz
CtrlProxy runs on a computer with a 24/7 internet connection and allows you
to transparently connect to IRC from anywhere on the world to your nick. It connects to one or more IRC servers and then allows you to connect to it with any number of clients, providing access to these servers. This is very useful if you don't want to leave IRC but still want to be able to use it from home, school or work.
Diffstat (limited to 'chat/ctrlproxy')
-rw-r--r--chat/ctrlproxy/DESCR6
-rw-r--r--chat/ctrlproxy/Makefile38
-rw-r--r--chat/ctrlproxy/PLIST39
-rw-r--r--chat/ctrlproxy/distinfo6
-rw-r--r--chat/ctrlproxy/options.mk14
-rw-r--r--chat/ctrlproxy/patches/patch-aa19
6 files changed, 122 insertions, 0 deletions
diff --git a/chat/ctrlproxy/DESCR b/chat/ctrlproxy/DESCR
new file mode 100644
index 00000000000..570839d0630
--- /dev/null
+++ b/chat/ctrlproxy/DESCR
@@ -0,0 +1,6 @@
+CtrlProxy runs on a computer with a 24/7 internet connection and allows you
+to transparently connect to IRC from anywhere on the world to your nick. It
+connects to one or more IRC servers and then allows you to connect to it
+with any number of clients, providing access to these servers. This is very
+useful if you don't want to leave IRC but still want to be able to use it
+from home, school or work.
diff --git a/chat/ctrlproxy/Makefile b/chat/ctrlproxy/Makefile
new file mode 100644
index 00000000000..6fc3b0031ec
--- /dev/null
+++ b/chat/ctrlproxy/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/04 01:05:46 adrianp Exp $
+#
+
+DISTNAME= ctrlproxy-3.0.8
+CATEGORIES= chat
+MASTER_SITES= http://www.ctrlproxy.org/releases/
+
+MAINTAINER= adrianp@NetBSD.org
+HOMEPAGE= http://www.ctrlproxy.org/
+COMMENT= Detachable internet relay chat proxy server
+
+USE_PKGLOCALEDIR= yes
+USE_TOOLS+= pkg-config gmake
+GNU_CONFIGURE= yes
+PKG_SYSCONFSUBDIR= ctrlproxy
+
+CONF_FILES= ${PREFIX}/share/examples/ctrlproxy/motd \
+ ${PKG_SYSCONFDIR}/motd
+CONF_FILES+= ${PREFIX}/share/examples/ctrlproxy/config.default \
+ ${PKG_SYSCONFDIR}/config
+
+PKGCONFIG_OVERRIDE+= ctrlproxy.pc.in
+
+.include "options.mk"
+
+post-install:
+ cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE} install
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ctrlproxy/README
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ctrlproxy
+ ${INSTALL_DATA} ${WRKSRC}/motd \
+ ${PREFIX}/share/examples/ctrlproxy/motd
+ ${INSTALL_DATA} ${WRKSRC}/config.default \
+ ${PREFIX}/share/examples/ctrlproxy/config.default
+ ${INSTALL_DATA} ${WRKSRC}/config.example \
+ ${PREFIX}/share/examples/ctrlproxy/config.example
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/chat/ctrlproxy/PLIST b/chat/ctrlproxy/PLIST
new file mode 100644
index 00000000000..16320083f84
--- /dev/null
+++ b/chat/ctrlproxy/PLIST
@@ -0,0 +1,39 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/04 01:05:46 adrianp Exp $
+bin/ctrlproxy
+include/ctrlproxy-3.0/admin.h
+include/ctrlproxy-3.0/cache.h
+include/ctrlproxy-3.0/client.h
+include/ctrlproxy-3.0/connection.h
+include/ctrlproxy-3.0/ctcp.h
+include/ctrlproxy-3.0/ctrlproxy.h
+include/ctrlproxy-3.0/hooks.h
+include/ctrlproxy-3.0/irc.h
+include/ctrlproxy-3.0/isupport.h
+include/ctrlproxy-3.0/line.h
+include/ctrlproxy-3.0/linestack.h
+include/ctrlproxy-3.0/listener.h
+include/ctrlproxy-3.0/log.h
+include/ctrlproxy-3.0/log_support.h
+include/ctrlproxy-3.0/repl.h
+include/ctrlproxy-3.0/settings.h
+include/ctrlproxy-3.0/ssl.h
+include/ctrlproxy-3.0/state.h
+include/ctrlproxy-3.0/util.h
+include/ctrlproxy-3.0/url.h
+lib/pkgconfig/ctrlproxy.pc
+man/man1/ctrlproxy-admin.1
+man/man1/ctrlproxy.1
+man/man5/ctrlproxy_config.5
+man/man8/ctrlproxyd.8
+sbin/ctrlproxyd
+share/ctrlproxy/help
+share/doc/ctrlproxy/README
+share/doc/ctrlproxy/user-guide.html
+share/examples/ctrlproxy/config.default
+share/examples/ctrlproxy/config.example
+share/examples/ctrlproxy/motd
+@dirrm share/ctrlproxy
+@dirrm share/examples/ctrlproxy
+@dirrm include/ctrlproxy-3.0
+@dirrm share/ctrlproxy
+@dirrm share/doc/ctrlproxy
diff --git a/chat/ctrlproxy/distinfo b/chat/ctrlproxy/distinfo
new file mode 100644
index 00000000000..4d6ed12ddb5
--- /dev/null
+++ b/chat/ctrlproxy/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/04 01:05:46 adrianp Exp $
+
+SHA1 (ctrlproxy-3.0.8.tar.gz) = 4999ba32e2f8eed95c0f30bebc0d72ae55cf76aa
+RMD160 (ctrlproxy-3.0.8.tar.gz) = f2dcf9a16172f9a2f8e34d0987e2be87d35c7607
+Size (ctrlproxy-3.0.8.tar.gz) = 277083 bytes
+SHA1 (patch-aa) = c21ee7933b80e30db19b79afaa8d6b6186f04017
diff --git a/chat/ctrlproxy/options.mk b/chat/ctrlproxy/options.mk
new file mode 100644
index 00000000000..0d3218cf8c9
--- /dev/null
+++ b/chat/ctrlproxy/options.mk
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1.1.1 2009/01/04 01:05:46 adrianp Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.ctrlproxy
+
+PKG_SUPPORTED_OPTIONS= ssl
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Build in SSL support via gnutls
+###
+.if !empty(PKG_OPTIONS:Mssl)
+.include "../../security/gnutls/buildlink3.mk"
+.endif
diff --git a/chat/ctrlproxy/patches/patch-aa b/chat/ctrlproxy/patches/patch-aa
new file mode 100644
index 00000000000..46a0799563b
--- /dev/null
+++ b/chat/ctrlproxy/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/01/04 01:05:46 adrianp Exp $
+
+--- Makefile.orig 2008-12-06 17:36:33.000000000 +0000
++++ Makefile
+@@ -190,10 +190,10 @@ uninstall-data::
+ -rmdir $(DESTDIR)$(sysconfdir)
+
+ install-data:
+- $(INSTALL) -d $(DESTDIR)$(sysconfdir)
+- $(INSTALL) -d $(DESTDIR)$(DEFAULT_CONFIG_DIR)
+- $(INSTALL) -m 0644 motd $(DESTDIR)$(DEFAULT_CONFIG_DIR)
+- $(INSTALL) -m 0644 config.default $(DESTDIR)$(DEFAULT_CONFIG_DIR)/config
++ #$(INSTALL) -d $(DESTDIR)$(sysconfdir)
++ #$(INSTALL) -d $(DESTDIR)$(DEFAULT_CONFIG_DIR)
++ #$(INSTALL) -m 0644 motd $(DESTDIR)$(DEFAULT_CONFIG_DIR)
++ #$(INSTALL) -m 0644 config.default $(DESTDIR)$(DEFAULT_CONFIG_DIR)/config
+
+ install-pkgconfig:
+ $(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig