diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-irc/irc-server/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-irc/irc-server/files')
-rw-r--r-- | net-irc/irc-server/files/2.10.3_p3-gentoo.patch | 11 | ||||
-rw-r--r-- | net-irc/irc-server/files/ircd.confd | 10 | ||||
-rw-r--r-- | net-irc/irc-server/files/ircd.rc | 31 |
3 files changed, 52 insertions, 0 deletions
diff --git a/net-irc/irc-server/files/2.10.3_p3-gentoo.patch b/net-irc/irc-server/files/2.10.3_p3-gentoo.patch new file mode 100644 index 000000000000..36f558a70470 --- /dev/null +++ b/net-irc/irc-server/files/2.10.3_p3-gentoo.patch @@ -0,0 +1,11 @@ +diff -ur irc2.10.3p3.orig/contrib/tkserv/tkserv.c irc2.10.3p3/contrib/tkserv/tkserv.c +--- irc2.10.3p3.orig/contrib/tkserv/tkserv.c 2001-03-09 07:55:38.000000000 -0600 ++++ irc2.10.3p3/contrib/tkserv/tkserv.c 2004-06-08 00:14:33.648900488 -0500 +@@ -549,6 +549,7 @@ + case -1: + sendto_user("You are not allowed to tkline \"%s\".", host); break; + default: ++ break; + } + + retv = retv < 0 ? 0 : retv; /* errors do not allow authorization */ diff --git a/net-irc/irc-server/files/ircd.confd b/net-irc/irc-server/files/ircd.confd new file mode 100644 index 000000000000..19766668e76c --- /dev/null +++ b/net-irc/irc-server/files/ircd.confd @@ -0,0 +1,10 @@ +# /etc/conf.d/ircd: configuration for /etc/init.d/ircd + +# User account to run ircd as. + +#IRCD_USER="ircd" + +# Put any additional options for ircd here. +# See ircd(8) for more information. + +#IRCD_OPTS="" diff --git a/net-irc/irc-server/files/ircd.rc b/net-irc/irc-server/files/ircd.rc new file mode 100644 index 000000000000..e04802308a8c --- /dev/null +++ b/net-irc/irc-server/files/ircd.rc @@ -0,0 +1,31 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + use net +} + +IRCD_USER=${IRCD_USER:-ircd} + +checkconfig() { + if [ ! -e /etc/ircd/ircd.conf ] ; then + eerror "You need to create /etc/ircd/ircd.conf first." + eerror "An example can be found in /etc/ircd/ircd.conf.example" + return 1 + fi +} + +start() { + checkconfig || return $? + ebegin "Starting ircd" + start-stop-daemon --start --quiet --chuid "${IRCD_USER}" --exec /usr/sbin/ircd -- ${IRCD_OPTS} + eend $? +} + +stop() { + ebegin "Stopping ircd" + start-stop-daemon --stop --quiet --pidfile /var/run/ircd/ircd.pid + eend $? +} |