aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-05-29 19:54:49 +0800
committermiwi <miwi@FreeBSD.org>2009-05-29 19:54:49 +0800
commit592fa7a516148c3a65b40af21c67e4dc1ec1e1c2 (patch)
treedd9e1d426982670bc9c0f391cbbf38fac6a87fe0 /irc
parent0dc9f29ff6b92f9d9c3fb660c98014c88a3608ed (diff)
downloadfreebsd-ports-gnome-592fa7a516148c3a65b40af21c67e4dc1ec1e1c2.tar.gz
freebsd-ports-gnome-592fa7a516148c3a65b40af21c67e4dc1ec1e1c2.tar.zst
freebsd-ports-gnome-592fa7a516148c3a65b40af21c67e4dc1ec1e1c2.zip
irc2dc provides intercomunication between users of DC++ hub and IRC channel
For now it works just like simple bot, that transfers public messages from one side to other. WWW: http://sourceforge.net/projects/irc2dc/ PR: ports/134983 Submitted by: Maxim Ignatenko
Diffstat (limited to 'irc')
-rw-r--r--irc/Makefile1
-rw-r--r--irc/irc2dc/Makefile24
-rw-r--r--irc/irc2dc/distinfo3
-rw-r--r--irc/irc2dc/files/irc2dc.in16
-rw-r--r--irc/irc2dc/files/patch-src__irc2dc.conf.dist9
-rw-r--r--irc/irc2dc/pkg-descr5
6 files changed, 58 insertions, 0 deletions
diff --git a/irc/Makefile b/irc/Makefile
index 01f3ce85a954..c4cae22cbae8 100644
--- a/irc/Makefile
+++ b/irc/Makefile
@@ -38,6 +38,7 @@
SUBDIR += inspircd
SUBDIR += insub
SUBDIR += irc
+ SUBDIR += irc2dc
SUBDIR += ircII
SUBDIR += ircd-hybrid
SUBDIR += ircd-hybrid-ru
diff --git a/irc/irc2dc/Makefile b/irc/irc2dc/Makefile
new file mode 100644
index 000000000000..e8c63df412fa
--- /dev/null
+++ b/irc/irc2dc/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: irc2dc
+# Date created: 24 May 2009
+# Whom: Maxim Ignatenko
+#
+# $FreeBSD$
+#
+
+PORTNAME= irc2dc
+PORTVERSION= 0.1
+CATEGORIES= irc net-p2p
+MASTER_SITES= SF
+
+MAINTAINER= gelraen.ua@gmail.com
+COMMENT= Provides intercomunication between DC++ hub and IRC channel
+
+USE_BZIP2= yes
+HAS_CONFIGURE= yes
+
+USE_RC_SUBR= irc2dc
+
+PLIST_FILES= bin/irc2dc \
+ etc/irc2dc.conf.dist
+
+.include <bsd.port.mk>
diff --git a/irc/irc2dc/distinfo b/irc/irc2dc/distinfo
new file mode 100644
index 000000000000..633e6f1bc77d
--- /dev/null
+++ b/irc/irc2dc/distinfo
@@ -0,0 +1,3 @@
+MD5 (irc2dc-0.1.tar.bz2) = 20dd7da37b62a71e21bf8de93cf75b19
+SHA256 (irc2dc-0.1.tar.bz2) = 9c1cc03937ccdcbb0629ac2cc996ec0c673b151b6cbcb74b7b5315f6d09721f7
+SIZE (irc2dc-0.1.tar.bz2) = 223700
diff --git a/irc/irc2dc/files/irc2dc.in b/irc/irc2dc/files/irc2dc.in
new file mode 100644
index 000000000000..8723dea3e4e6
--- /dev/null
+++ b/irc/irc2dc/files/irc2dc.in
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# PROVIDE: irc2dc
+# REQUIRE: DAEMON NETWORKING
+
+. /etc/rc.subr
+
+name="irc2dc"
+rcvar=`set_rcvar`
+load_rc_config $name
+command="%%PREFIX%%/bin/irc2dc"
+pidfile="/var/run/irc2dc.pid"
+
+required_files="%%PREFIX%%/etc/irc2dc.conf"
+
+run_rc_command $@
diff --git a/irc/irc2dc/files/patch-src__irc2dc.conf.dist b/irc/irc2dc/files/patch-src__irc2dc.conf.dist
new file mode 100644
index 000000000000..4d6fd436dca7
--- /dev/null
+++ b/irc/irc2dc/files/patch-src__irc2dc.conf.dist
@@ -0,0 +1,9 @@
+--- src/irc2dc.conf.dist.orig 2009-05-27 13:19:31.000000000 +0300
++++ src/irc2dc.conf.dist 2009-05-27 13:50:09.000000000 +0300
+@@ -39,3 +39,6 @@
+ ; notices - 8
+ ; state - 16
+ ; commands - 32
++pidfile=/var/run/irc2dc.pid ; don't forget to update rc-script after change
++use_syslog=1
++
diff --git a/irc/irc2dc/pkg-descr b/irc/irc2dc/pkg-descr
new file mode 100644
index 000000000000..e149898b8515
--- /dev/null
+++ b/irc/irc2dc/pkg-descr
@@ -0,0 +1,5 @@
+irc2dc provides intercomunication between users of DC++ hub and IRC channel
+For now it works just like simple bot, that transfers public messages from
+one side to other.
+
+WWW: http://sourceforge.net/projects/irc2dc/