[Lunar-commits] r24938 - in moonbase/trunk/zbeta: . ratbox-services

Auke Kok sofar at lunar-linux.org
Thu Jun 21 02:49:51 CEST 2007


Author: sofar
Date: 2007-06-21 02:49:51 +0200 (Thu, 21 Jun 2007)
New Revision: 24938

Added:
   moonbase/trunk/zbeta/ratbox-services/
   moonbase/trunk/zbeta/ratbox-services/BUILD
   moonbase/trunk/zbeta/ratbox-services/CONFIGURE
   moonbase/trunk/zbeta/ratbox-services/DEPENDS
   moonbase/trunk/zbeta/ratbox-services/DETAILS
Log:
Services package for use with ircd-ratbox

From:  stelzy at gmail.com


Added: moonbase/trunk/zbeta/ratbox-services/BUILD
===================================================================
--- moonbase/trunk/zbeta/ratbox-services/BUILD	                        (rev 0)
+++ moonbase/trunk/zbeta/ratbox-services/BUILD	2007-06-21 00:49:51 UTC (rev 24938)
@@ -0,0 +1,18 @@
+(
+
+  mv doc/example.conf doc/example.services.conf  &&
+
+  sedit "s:example.conf:example.services.conf:" Makefile.in  &&
+
+  OPTS="$OPTS --prefix=/opt/lunar/ratbox \
+	      --sysconfdir=/etc/ratbox \
+	      --with-logdir=/var/log/ratbox \
+	      --with-rundir=/var/run \
+	      --with-nicklen=18 \
+	      --with-topiclen=360 \
+	      --with-userreglen=18 \
+	      --enable-sqlite3=/usr"  &&
+
+  default_build
+
+) > $C_FIFO 2>&1

Added: moonbase/trunk/zbeta/ratbox-services/CONFIGURE
===================================================================
--- moonbase/trunk/zbeta/ratbox-services/CONFIGURE	                        (rev 0)
+++ moonbase/trunk/zbeta/ratbox-services/CONFIGURE	2007-06-21 00:49:51 UTC (rev 24938)
@@ -0,0 +1,46 @@
+if ! grep -q CONFIGURED $MODULE_CONFIG; then
+
+  if query "Disable Nickname Service?" n; then
+    OPTS="$OPTS --disable-nickserv"
+  fi
+
+  if query "Disable Channel Service?" n; then
+    OPTS="$OPTS --disable-chanserv"
+  fi
+
+  if query "Disable User Service?" n; then
+    OPTS="$OPTS --disable-userserv"
+  fi
+
+  if query "Disable Oper Service?" n; then
+    OPTS="$OPTS --disable-operserv"
+  fi
+
+  if query "Disable List Service?" n; then
+    OPTS="$OPTS --disable-alis"
+  fi
+
+  if query "Disable Jupe Service?" n; then
+    OPTS="$OPTS --disable-jupeserv"
+  fi
+
+  if query "Disable Operbot Service?" n; then
+    OPTS="$OPTS --disable-operbot"
+  fi
+
+  if query "Disable global messaging service?" n; then
+    OPTS="$OPTS --disable-global"
+  fi
+
+  if query "Disable ban service?" n; then
+    OPTS="$OPTS --disable-banserv"
+  fi
+
+  if query "Disable command watching service?" n; then
+    OPTS="$OPTS --disable-watchserv"
+  fi
+
+  echo 'CONFIGURED="y"' >> $MODULE_CONFIG
+  echo 'OPTS='\"$OPTS\" >> $MODULE_CONFIG
+
+fi

Added: moonbase/trunk/zbeta/ratbox-services/DEPENDS
===================================================================
--- moonbase/trunk/zbeta/ratbox-services/DEPENDS	                        (rev 0)
+++ moonbase/trunk/zbeta/ratbox-services/DEPENDS	2007-06-21 00:49:51 UTC (rev 24938)
@@ -0,0 +1,11 @@
+depends sqlite
+
+optional_depends "mysql" \
+		 "--enable-mysql=/usr" \
+		 "" \
+		 "Enable MySQL backend"
+
+optional_depends "postgresql" \
+		 "--enable-pgsql=/usr" \
+		 "" \
+		 "Enable PostgreSQL backend"

Added: moonbase/trunk/zbeta/ratbox-services/DETAILS
===================================================================
--- moonbase/trunk/zbeta/ratbox-services/DETAILS	                        (rev 0)
+++ moonbase/trunk/zbeta/ratbox-services/DETAILS	2007-06-21 00:49:51 UTC (rev 24938)
@@ -0,0 +1,19 @@
+          MODULE=ratbox-services
+         VERSION=1.1.1
+	WEB_SITE=http://services.ircd-ratbox.org/
+          SOURCE=$MODULE-$VERSION.tgz
+   SOURCE_URL[0]=$WEB_SITE/download
+   SOURCE_URL[1]=ftp://ftp.demon.co.uk/pub/mirrors/ircd-ratbox/$MODULE
+   SOURCE_URL[2]=ftp://ftp.ircd-ratbox.org/pub/ircd-ratbox/$MODULE
+      SOURCE_VFY=sha1:656fa0e2f051e88a732fc7d4d62cfdd0c2af071e
+         ENTERED=20070620
+         UPDATED=20070620
+           SHORT="Services package for use with ircd-ratbox"
+
+cat << EOF
+It is highly configurable, with nearly all options being set
+in a config that can be rehashed rather than set at compile time.
+It also uses the SQLite database backend, which works as a database
+interface to a normal file, meaning no seperate database software
+must be running.
+EOF



More information about the Lunar-commits mailing list