aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
Diffstat (limited to 'irc')
-rw-r--r--irc/Makefile1
-rw-r--r--irc/svrx/Makefile53
-rw-r--r--irc/svrx/distinfo1
-rw-r--r--irc/svrx/files/patch-aa25
-rw-r--r--irc/svrx/files/patch-ab11
-rw-r--r--irc/svrx/pkg-descr17
-rw-r--r--irc/svrx/pkg-plist12
7 files changed, 120 insertions, 0 deletions
diff --git a/irc/Makefile b/irc/Makefile
index 046051d97767..8f8f474e1b1b 100644
--- a/irc/Makefile
+++ b/irc/Makefile
@@ -71,6 +71,7 @@
SUBDIR += sirc
SUBDIR += sircd
SUBDIR += slirc
+ SUBDIR += svrx
SUBDIR += tirc
SUBDIR += tircproxy
SUBDIR += tkirc
diff --git a/irc/svrx/Makefile b/irc/svrx/Makefile
new file mode 100644
index 000000000000..b2983273c3ba
--- /dev/null
+++ b/irc/svrx/Makefile
@@ -0,0 +1,53 @@
+# New ports collection makefile for: srvx
+# Date created: 2003-11-28
+# Whom: Walter Venable <weaseal@hotmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= srvx
+PORTVERSION= 1.2
+CATEGORIES= irc net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= srvx
+
+MAINTAINER= weaseal@hotmail.com
+COMMENT= Srvx IRC services
+
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS+= --enable-debug
+.endif
+
+.if defined(WITH_PROTOCOL_BAHAMUT)
+CONFIGURE_ARGS+= --with-protocol=bahamut
+.endif
+
+.include <bsd.port.pre.mk>
+
+pre-fetch:
+ @ ${ECHO} ""
+ @ ${ECHO} "--------------------------------------------------------------------------------"
+ @ ${ECHO} ""
+ @ ${ECHO} "The following build options are availabe:"
+ @ ${ECHO} ""
+ @ ${ECHO} " WITH_PROTOCOL_BAHAMUT=yes Enables Bahamut protocol"
+ @ ${ECHO} " (P10 is default)."
+ @ ${ECHO} ""
+ @ ${ECHO} " WITH_DEBUG=yes Enables debug mode."
+ @ ${ECHO} ""
+ @ ${ECHO} "--------------------------------------------------------------------------------"
+ @ ${ECHO} ""
+
+post-install:
+ @ ${ECHO} ""
+ @ ${ECHO} " When you 'make deinstall', any files generated by ${PORTNAME} (logs, etc)"
+ @ ${ECHO} " will remain in ${PREFIX}/etc/. These files must be removed"
+ @ ${ECHO} " manually."
+ @ ${ECHO} ""
+ @ ${ECHO} " ${PORTNAME} .help files are located in ${DOCSDIR}."
+ @ ${ECHO} ""
+
+.include <bsd.port.post.mk>
diff --git a/irc/svrx/distinfo b/irc/svrx/distinfo
new file mode 100644
index 000000000000..8498f4d4d19c
--- /dev/null
+++ b/irc/svrx/distinfo
@@ -0,0 +1 @@
+MD5 (srvx-1.2.tar.gz) = c4fe1b050bdc42cbb45397e40f767143
diff --git a/irc/svrx/files/patch-aa b/irc/svrx/files/patch-aa
new file mode 100644
index 000000000000..b1c049dc0b7b
--- /dev/null
+++ b/irc/svrx/files/patch-aa
@@ -0,0 +1,25 @@
+--- Makefile.in Sun Oct 12 22:37:15 2003
++++ Makefile.in Sun Nov 30 04:31:56 2003
+@@ -519,12 +519,17 @@
+
+ install-exec-local:
+ $(INSTALL) -d -m 755 $(prefix)
+- $(INSTALL) -m 744 ./src/srvx $(prefix)
+- $(INSTALL) -m 644 $(srcdir)/src/*.help $(prefix)
+- $(INSTALL) -m 600 $(srcdir)/srvx.conf.example $(prefix)
+- $(INSTALL) -m 644 $(srcdir)/sockcheck.conf.example $(prefix)
++ $(INSTALL) -d -m 755 $(prefix)/etc
++ $(INSTALL) -d -m 755 $(prefix)/share
++ $(INSTALL) -d -m 755 $(prefix)/share/doc
++ $(INSTALL) -d -m 755 $(prefix)/share/doc/srvx
++ $(INSTALL) -d -m 755 $(prefix)/bin
++ $(INSTALL) -m 744 ./src/srvx $(prefix)/bin/srvx
++ $(INSTALL) -m 644 $(srcdir)/src/*.help $(prefix)/share/doc/srvx/
++ $(INSTALL) -m 600 $(srcdir)/srvx.conf.example $(prefix)/etc/
++ $(INSTALL) -m 644 $(srcdir)/sockcheck.conf.example $(prefix)/etc/
+ @echo
+- @echo srvx-$(VERSION) has been installed to $(prefix)
++ @echo srvx-$(VERSION) has been installed to $(prefix)/bin
+ @echo Remember to edit srvx.conf.example and sockcheck.conf.example
+ @echo And of course, ./srvx --help before starting.
+ @echo
diff --git a/irc/svrx/files/patch-ab b/irc/svrx/files/patch-ab
new file mode 100644
index 000000000000..4a52ec7280f6
--- /dev/null
+++ b/irc/svrx/files/patch-ab
@@ -0,0 +1,11 @@
+--- src/main.c Mon Sep 1 10:50:28 2003
++++ src/main.c Sun Nov 30 03:17:29 2003
+@@ -65,7 +65,7 @@
+
+ int quit_services, max_cycles;
+
+-char *services_config = "srvx.conf";
++char *services_config = "../etc/srvx.conf";
+
+ char **services_argv;
+ int services_argc;
diff --git a/irc/svrx/pkg-descr b/irc/svrx/pkg-descr
new file mode 100644
index 000000000000..b8a4304972bf
--- /dev/null
+++ b/irc/svrx/pkg-descr
@@ -0,0 +1,17 @@
+srvx is a set of IRC services for ircu P10 protocol networks; it
+is developed by a team of programmers affiliated with the GamesNET
+IRC Network. srvx is designed to be a fast, extensible, scalable
+and reliable provider of NickServ, ChanServ, HelpServ, OperServ,
+and Global services as well as advanced proxy detection.
+
+srvx is open source software; the source is available for download under
+the terms and conditions of the GNU General Public License, commonly known
+as the GNU GPL.
+
+The authors can be contacted via irc on irc.gamesnet.net in channel #srvx.
+Note that only one of the many authors is listed below, see website for a
+full list.
+
+Author: "Entrope" <entrope@users.sourceforge.net>
+WWW: http://www.srvx.net
+
diff --git a/irc/svrx/pkg-plist b/irc/svrx/pkg-plist
new file mode 100644
index 000000000000..71da6b738780
--- /dev/null
+++ b/irc/svrx/pkg-plist
@@ -0,0 +1,12 @@
+bin/srvx
+etc/srvx.conf.example
+etc/sockcheck.conf.example
+%%DOCSDIR%%/chanserv.help
+%%DOCSDIR%%/global.help
+%%DOCSDIR%%/helpserv.help
+%%DOCSDIR%%/modcmd.help
+%%DOCSDIR%%/nickserv.help
+%%DOCSDIR%%/opserv.help
+%%DOCSDIR%%/saxdb.help
+%%DOCSDIR%%/sendmail.help
+%%DOCSDIR%%/sockcheck.help