net-irc/ircservices: remove unused patches/files
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Sun, 22 Jan 2017 08:49:41 +0000 (09:49 +0100)
committerMichael Palimaka <kensington@gentoo.org>
Sun, 22 Jan 2017 16:19:57 +0000 (03:19 +1100)
net-irc/ircservices/files/5.0.37-fPIC.patch [deleted file]
net-irc/ircservices/files/5.0.53-fPIC-configure.patch [deleted file]
net-irc/ircservices/files/ircservices.conf.d [deleted file]
net-irc/ircservices/files/ircservices.init.d [deleted file]

diff --git a/net-irc/ircservices/files/5.0.37-fPIC.patch b/net-irc/ircservices/files/5.0.37-fPIC.patch
deleted file mode 100644 (file)
index 9e201fc..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
---- 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/5.0.53-fPIC-configure.patch b/net-irc/ircservices/files/5.0.53-fPIC-configure.patch
deleted file mode 100644 (file)
index 66870d9..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-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"
diff --git a/net-irc/ircservices/files/ircservices.conf.d b/net-irc/ircservices/files/ircservices.conf.d
deleted file mode 100644 (file)
index ee6b45b..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-# 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"
diff --git a/net-irc/ircservices/files/ircservices.init.d b/net-irc/ircservices/files/ircservices.init.d
deleted file mode 100644 (file)
index 97443b6..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/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
-}