summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2004-08-14 22:55:05 +0000
committerSven Wegener <swegener@gentoo.org>2004-08-14 22:55:05 +0000
commitad93f39464b90ee929b45642e5959121b7f0b863 (patch)
tree7c146ee719c4e623cda62f82ed584fec424f561d /net-irc/ircservices
parentFix optimisation flags and don't run autoconf, its not needed (diff)
downloadhistorical-ad93f39464b90ee929b45642e5959121b7f0b863.tar.gz
historical-ad93f39464b90ee929b45642e5959121b7f0b863.tar.bz2
historical-ad93f39464b90ee929b45642e5959121b7f0b863.zip
Made the dependency on a local ircd to be up optional via /etc/conf.d/ircservices.
Diffstat (limited to 'net-irc/ircservices')
-rw-r--r--net-irc/ircservices/ChangeLog7
-rw-r--r--net-irc/ircservices/Manifest13
-rw-r--r--net-irc/ircservices/files/ircservices.conf.d6
-rw-r--r--net-irc/ircservices/files/ircservices.init.d11
-rw-r--r--net-irc/ircservices/ircservices-5.0.37.ebuild4
5 files changed, 30 insertions, 11 deletions
diff --git a/net-irc/ircservices/ChangeLog b/net-irc/ircservices/ChangeLog
index fb900478a442..3d91bf5e5d5f 100644
--- a/net-irc/ircservices/ChangeLog
+++ b/net-irc/ircservices/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-irc/ircservices
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ChangeLog,v 1.2 2004/08/14 22:35:49 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ChangeLog,v 1.3 2004/08/14 22:55:05 swegener Exp $
+
+ 15 Aug 2004; Sven Wegener <swegener@gentoo.org> +files/ircservices.conf.d,
+ files/ircservices.init.d, ircservices-5.0.37.ebuild:
+ Made the dependency on a local ircd to be up optional via
+ /etc/conf.d/ircservices.
15 Aug 2004; Sven Wegener <swegener@gentoo.org> files/ircservices.init.d:
Fixed init script.
diff --git a/net-irc/ircservices/Manifest b/net-irc/ircservices/Manifest
index a1efc9c6c317..b95dd6bf9e9b 100644
--- a/net-irc/ircservices/Manifest
+++ b/net-irc/ircservices/Manifest
@@ -1,16 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 fa0bab16bd0af9f3003c611787c22219 ircservices-5.0.37.ebuild 2293
+MD5 f81a8a97a2fee53b5672cfffef7e12a5 ircservices-5.0.37.ebuild 2365
MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160
-MD5 dfbe6314aff9ca0ec8e0e7de87088201 ChangeLog 537
-MD5 ee4285b07b8b9a8a083b7aea941b0fdf files/ircservices.init.d 636
+MD5 fbb84fe1a5aa9c7ed8266d49c09153e6 ChangeLog 757
+MD5 d9efecafab50b58223b6a7bb30f6949e files/ircservices.init.d 700
MD5 96e095ebc3d215946583a75e1e3bef1c files/digest-ircservices-5.0.37 71
MD5 0dc39b8e38a74a2fca213bf4e2f63d3e files/5.0.37-fPIC.patch 1172
+MD5 a1156d386ac4d997cc89a9ef7ea1cc57 files/ircservices.conf.d 327
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
-iD8DBQFBHpQnI1lqEGTUzyQRAtotAJ43cEBjNCVxHcVDwVW434WyIYTFTgCggKTY
-MgNs/0Kk6KEykkvAJgVkL1o=
-=LizK
+iD8DBQFBHpiaI1lqEGTUzyQRAtc9AJ9jcVBnaQ98UALWVv0YWtiFzkpyMwCgtsmp
+yARhou5HnkdKVs/1TFVeaVE=
+=ePr0
-----END PGP SIGNATURE-----
diff --git a/net-irc/ircservices/files/ircservices.conf.d b/net-irc/ircservices/files/ircservices.conf.d
new file mode 100644
index 000000000000..ee9a22073b06
--- /dev/null
+++ b/net-irc/ircservices/files/ircservices.conf.d
@@ -0,0 +1,6 @@
+# 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.conf.d,v 1.1 2004/08/14 22:55:05 swegener Exp $
+
+# 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
index d8ff3deaf169..e9af8179c025 100644
--- a/net-irc/ircservices/files/ircservices.init.d
+++ b/net-irc/ircservices/files/ircservices.init.d
@@ -1,11 +1,16 @@
#!/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.2 2004/08/14 22:35:49 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/files/ircservices.init.d,v 1.3 2004/08/14 22:55:05 swegener Exp $
depend() {
- need net
- use ircd
+ if [ "${LOCALIRCD}" = true ]
+ then
+ need net ircd
+ else
+ need net
+ use ircd
+ fi
}
start() {
diff --git a/net-irc/ircservices/ircservices-5.0.37.ebuild b/net-irc/ircservices/ircservices-5.0.37.ebuild
index bdff3780b6cb..7f5fa8f323d8 100644
--- a/net-irc/ircservices/ircservices-5.0.37.ebuild
+++ b/net-irc/ircservices/ircservices-5.0.37.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ircservices-5.0.37.ebuild,v 1.1 2004/08/14 21:38:26 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ircservices-5.0.37.ebuild,v 1.2 2004/08/14 22:55:05 swegener Exp $
inherit eutils fixheadtails flag-o-matic
@@ -71,6 +71,8 @@ src_install() {
exeinto /etc/init.d
newexe ${FILESDIR}/ircservices.init.d ircservices
+ insinto /etc/conf.d
+ newins ${FILESDIR}/ircservices.conf.d ircservices
doman docs/ircservices.8
newman docs/convert-db.8 ircservices-convert-db.8