+++ /dev/null
---- 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 $@
+++ /dev/null
-diff -Nur ircservices-5.0.53.orig/configure ircservices-5.0.53/configure
---- ircservices-5.0.53.orig/configure 2005-02-21 14:07:37.000000000 +0100
-+++ ircservices-5.0.53/configure 2005-08-11 00:01:28.196549494 +0200
-@@ -1395,9 +1395,9 @@
- fi
- if [ "$OK" ] ; then
- if [ "x`uname -s`" = "xOSF1" ] ; then
-- CC_SHARED="$CC -shared -Wl,-expect_unresolved"
-+ CC_SHARED="$CC -shared -Wl,-expect_unresolved -fPIC"
- else
-- CC_SHARED="$CC -shared"
-+ CC_SHARED="$CC -shared -fPIC"
- fi
- if run $CC_SHARED $CC_FLAGS $CC_LIBS $CONFTMP/test-lib.c -o $CONFTMP/test-lib.so ; then
- log "-shared works"
+++ /dev/null
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Id$
-
-# Se this to true to have ircservices depend on a local ircd to be up
-LOCALIRCD="false"
+++ /dev/null
-#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Id$
-
-depend() {
- if [[ ${LOCALIRCD} = true ]]
- then
- need net ircd
- else
- need net
- use ircd
- fi
-}
-
-start() {
- ebegin "Starting IRC Services"
- start-stop-daemon --start --quiet --user ircservices --exec /usr/bin/ircservices -- \
- -dir=/var/lib/ircservices \
- -log=/var/log/ircservices/ircservices.log \
- &>/dev/null
- eend $?
-}
-
-stop() {
- ebegin "Stopping IRC Services"
- start-stop-daemon --stop --quiet --pidfile /var/lib/ircservices/ircservices.pid
- eend $?
- rm -f /var/lib/ircservices/ircservices.pid
-}