diff options
Diffstat (limited to 'net-irc/ircservices/files')
-rw-r--r-- | net-irc/ircservices/files/5.0.37-fPIC.patch | 23 | ||||
-rw-r--r-- | net-irc/ircservices/files/digest-ircservices-5.0.37 | 1 | ||||
-rw-r--r-- | net-irc/ircservices/files/ircservices.init.d | 25 |
3 files changed, 49 insertions, 0 deletions
diff --git a/net-irc/ircservices/files/5.0.37-fPIC.patch b/net-irc/ircservices/files/5.0.37-fPIC.patch new file mode 100644 index 000000000000..9e201fce1105 --- /dev/null +++ b/net-irc/ircservices/files/5.0.37-fPIC.patch @@ -0,0 +1,23 @@ +--- ircservices-5.0.37/modules/Makerules 2004-08-14 22:59:07.290105488 +0200 ++++ ircservices-5.0.37-fPIC/modules/Makerules 2004-08-14 22:59:30.496577568 +0200 +@@ -164,7 +164,7 @@ + $(TARGET).o: .compiled-$(TARGET).o FRC + @echo >/dev/null + .compiled-$(TARGET).o: $(TARGET).c $(DEPS) $(INCLUDES2) +- cd $(TOPDIR) && $(CC) $(CFLAGS) -I. -c modules/$(DIRNAME)/$< -o modules/$(DIRNAME)/$(TARGET).o ++ cd $(TOPDIR) && $(CC) $(CFLAGS) -fPIC -I. -c modules/$(DIRNAME)/$< -o modules/$(DIRNAME)/$(TARGET).o + @rm -f $@ + @ln -s $(TARGET).o $@ + +--- ircservices-5.0.37/modules/protocol/Makefile 2004-08-14 23:05:00.399424712 +0200 ++++ ircservices-5.0.37-fPIC/modules/protocol/Makefile 2004-08-14 23:05:09.366061576 +0200 +@@ -72,7 +72,7 @@ + ########################################################################### + + sjoin-bahamut.o: sjoin.c $(DEPS) $(INCLUDES-sjoin.o) +- $(CC) $(CFLAGS) -DBAHAMUT_HACK -I$(TOPDIR) -c sjoin.c -o $@ ++ $(CC) $(CFLAGS) -fPIC -DBAHAMUT_HACK -I$(TOPDIR) -c sjoin.c -o $@ + + sjoin-unreal.o: sjoin.c $(DEPS) $(INCLUDES-sjoin.o) +- $(CC) $(CFLAGS) -DUNREAL_HACK -I$(TOPDIR) -c sjoin.c -o $@ ++ $(CC) $(CFLAGS) -fPIC -DUNREAL_HACK -I$(TOPDIR) -c sjoin.c -o $@ diff --git a/net-irc/ircservices/files/digest-ircservices-5.0.37 b/net-irc/ircservices/files/digest-ircservices-5.0.37 new file mode 100644 index 000000000000..d02ebaccb52d --- /dev/null +++ b/net-irc/ircservices/files/digest-ircservices-5.0.37 @@ -0,0 +1 @@ +MD5 a653dfb1b80e8cc71ced042686656983 ircservices-5.0.37.tar.gz 1090985 diff --git a/net-irc/ircservices/files/ircservices.init.d b/net-irc/ircservices/files/ircservices.init.d new file mode 100644 index 000000000000..5e19f2a7f27f --- /dev/null +++ b/net-irc/ircservices/files/ircservices.init.d @@ -0,0 +1,25 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/files/ircservices.init.d,v 1.1 2004/08/14 21:38:26 swegener Exp $ + +depend() { + need net + use ircd +} + +start() { + ebegin "Starting IRC Services" + /usr/bin/ircservices \ + -dir=/var/lib/ircservices \ + -log=/var/log/ircservices/ircservices.log \ + &>/dev/null + eend $? +} + +stop() { + ebegin "Stopping IRC Services" + kill <$(/var/lib/ircservices/ircservices.pid) + eend $? + rm -f /var/lib/ircservices/ircservices.pid +} |