[Lunar-commits] r14981 - in moonbase/trunk/chat: . Ultimate Ultimate/init.d
Stefan Wold
ratler at lunar-linux.org
Tue May 24 12:45:32 UTC 2005
Author: ratler
Date: 2005-05-24 12:45:30 +0000 (Tue, 24 May 2005)
New Revision: 14981
Added:
moonbase/trunk/chat/Ultimate/
moonbase/trunk/chat/Ultimate/BUILD
moonbase/trunk/chat/Ultimate/CONFIGURE
moonbase/trunk/chat/Ultimate/CONFLICTS
moonbase/trunk/chat/Ultimate/DEPENDS
moonbase/trunk/chat/Ultimate/DETAILS
moonbase/trunk/chat/Ultimate/init.d/
moonbase/trunk/chat/Ultimate/init.d/ircd
Log:
Original module contributed by wdp. Several changes made to better work for lunar environment.
Added: moonbase/trunk/chat/Ultimate/BUILD
===================================================================
--- moonbase/trunk/chat/Ultimate/BUILD 2005-05-24 11:12:04 UTC (rev 14980)
+++ moonbase/trunk/chat/Ultimate/BUILD 2005-05-24 12:45:30 UTC (rev 14981)
@@ -0,0 +1,48 @@
+(
+
+ add_priv_user ultimate:ultimate "-m -s /bin/sh -d /var/lib/ultimateircd" &&
+
+ if [ "$IPV6" == "y" ]; then
+ OPTS="$OPTS --enable-ipv6"
+ fi
+ if [ "$Acebot" == "y" ]; then
+ OPTS="$OPTS --enable-acebot-rejection"
+ fi
+ if [ "$Chinese" == "y" ]; then
+ OPTS="$OPTS --enable-chinese-nick"
+ fi
+ if [ "$Crypt" == "y" ]; then
+ OPTS="$OPTS --disable-crypted-oper-password"
+ fi
+ if [ "$Chanops" == "y" ]; then
+ OPTS="$OPTS --disable-no-chanops-when-split"
+ fi
+
+ # We don't need the lame default start/stop/rehash scripts
+ sedit "/^SCRIPTS/ s;=.*;=;" tools/Makefile.in &&
+
+ # Ugly fix for retarded write_pid function
+ sedit "/ircsprint.*getpid/ s:%5d:%d:" src/s_bsd.c &&
+
+ # Fix some paths that are oddly harcoded
+ sedit "/^#define.*ETCPATH/ s;IRCD_PREFIX.*;\"/etc/ultimateircd\";" include/config.h &&
+ sedit "/^#define.*LOGPATH/ s;IRCD_PREFIX.*;\"/var/log/ultimateircd\";" include/config.h &&
+ sedit "/^#define.*PPATH/ s;ETCPATH.*;\"/var/run/ircd.pid\";" include/config.h &&
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc/ultimateircd \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var/lib/ultimateircd \
+ --with-maxclients=1024 \
+ $OPTS &&
+ make &&
+ prepare_install &&
+ make install &&
+
+ # Rename mkpasswd
+ mv -f /usr/bin/mkpasswd /usr/bin/ultimatemkpasswd &&
+ chown -R ultimate:ultimate /var/lib/ultimateircd &&
+ ln -sf /var/lib/ultimateircd/logs /var/log/ultimateircd
+
+) > $C_FIFO 2>&1
Added: moonbase/trunk/chat/Ultimate/CONFIGURE
===================================================================
--- moonbase/trunk/chat/Ultimate/CONFIGURE 2005-05-24 11:12:04 UTC (rev 14980)
+++ moonbase/trunk/chat/Ultimate/CONFIGURE 2005-05-24 12:45:30 UTC (rev 14981)
@@ -0,0 +1,5 @@
+mquery IPV6 "Enable IPV6 support (Experimental)?" n
+mquery Acebot "Enable protection against ACEBOT type drones" y
+mquery Chinese "Enable Chinese nickname support. (Experimental)" n
+mquery Crypt "Disable encrypted OLine passwords (Discouraged)" n
+mquery Chanops "Disable no chanops when split code. Usefull mainly for standalone servers" n
Added: moonbase/trunk/chat/Ultimate/CONFLICTS
===================================================================
--- moonbase/trunk/chat/Ultimate/CONFLICTS 2005-05-24 11:12:04 UTC (rev 14980)
+++ moonbase/trunk/chat/Ultimate/CONFLICTS 2005-05-24 12:45:30 UTC (rev 14981)
@@ -0,0 +1,2 @@
+conflicts ircd &&
+conflicts dancer-ircd
Added: moonbase/trunk/chat/Ultimate/DEPENDS
===================================================================
--- moonbase/trunk/chat/Ultimate/DEPENDS 2005-05-24 11:12:04 UTC (rev 14980)
+++ moonbase/trunk/chat/Ultimate/DEPENDS 2005-05-24 12:45:30 UTC (rev 14981)
@@ -0,0 +1 @@
+optional_depends "openssl" "--enable-openssl" "" "for OpenSSL support"
Added: moonbase/trunk/chat/Ultimate/DETAILS
===================================================================
--- moonbase/trunk/chat/Ultimate/DETAILS 2005-05-24 11:12:04 UTC (rev 14980)
+++ moonbase/trunk/chat/Ultimate/DETAILS 2005-05-24 12:45:30 UTC (rev 14981)
@@ -0,0 +1,13 @@
+ MODULE=Ultimate
+ VERSION=3.0.1
+ SOURCE=$MODULE$VERSION.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE$VERSION
+ SOURCE_URL=$SFORGE_URL/ultimate/
+ SOURCE_VFY=sha1:9d73b8afd1d9c9db59d5eac83c33e3098b1f7e0e
+ WEB_SITE=http://www.shadow-realm.org
+ ENTERED=20050524
+ UPDATED=20050524
+ SHORT="Ultimate IRCD"
+cat <<EOF
+Ultimate IRCD
+EOF
Added: moonbase/trunk/chat/Ultimate/init.d/ircd
===================================================================
--- moonbase/trunk/chat/Ultimate/init.d/ircd 2005-05-24 11:12:04 UTC (rev 14980)
+++ moonbase/trunk/chat/Ultimate/init.d/ircd 2005-05-24 12:45:30 UTC (rev 14981)
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+# ircd - Ultimate IRCd
+#
+# chkconfig: 345 80 20
+# description: Ultimate IRC daemon
+# processname: ircd
+# config: /etc/ultimateircd/ircd.conf
+# runas: ultimate
+# pidfile: /var/run/ircd.pid
+
+# Change directory before starting or entropy will fail
+cd /var/lib/ultimateircd
+
+. /lib/lsb/init-functions
More information about the Lunar-commits
mailing list