summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-im/bitlbee/files
downloadgentoo-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-im/bitlbee/files')
-rw-r--r--net-im/bitlbee/files/bitlbee-3.2.1-configure.patch17
-rw-r--r--net-im/bitlbee/files/bitlbee.confd2
-rw-r--r--net-im/bitlbee/files/bitlbee.confd-r18
-rw-r--r--net-im/bitlbee/files/bitlbee.initd28
-rw-r--r--net-im/bitlbee/files/bitlbee.initd-r131
5 files changed, 86 insertions, 0 deletions
diff --git a/net-im/bitlbee/files/bitlbee-3.2.1-configure.patch b/net-im/bitlbee/files/bitlbee-3.2.1-configure.patch
new file mode 100644
index 000000000000..5bde108af32c
--- /dev/null
+++ b/net-im/bitlbee/files/bitlbee-3.2.1-configure.patch
@@ -0,0 +1,17 @@
+--- bitlbee-3.0.6/configure
++++ bitlbee-3.0.6/configure
+@@ -612,14 +612,6 @@
+ fi
+ fi
+
+-case "$CC" in
+-*gcc* )
+- echo CFLAGS+=-MMD -MF .depend/\$@.d >> Makefile.settings
+- for i in . lib tests protocols protocols/*/; do
+- mkdir -p $i/.depend
+- done
+-esac
+-
+ if [ "$msn" = 0 ]; then
+ echo '#undef WITH_MSN' >> config.h
+ else
diff --git a/net-im/bitlbee/files/bitlbee.confd b/net-im/bitlbee/files/bitlbee.confd
new file mode 100644
index 000000000000..c4003ce43515
--- /dev/null
+++ b/net-im/bitlbee/files/bitlbee.confd
@@ -0,0 +1,2 @@
+#Bitlbee options (see /usr/sbin/bitlbee -h)
+BITLBEE_OPTS="-F"
diff --git a/net-im/bitlbee/files/bitlbee.confd-r1 b/net-im/bitlbee/files/bitlbee.confd-r1
new file mode 100644
index 000000000000..d581222f9fb9
--- /dev/null
+++ b/net-im/bitlbee/files/bitlbee.confd-r1
@@ -0,0 +1,8 @@
+# Bitlbee options (see /usr/sbin/bitlbee -h)
+BITLBEE_OPTS="-F"
+
+# By default, the bitlbee init script will attempt to stop
+# all bitlbee-owned processes, including per-client forks.
+# Setting this to "no" tells the init script to only
+# stop the main bitlbee process.
+BITLBEE_STOP_ALL="yes"
diff --git a/net-im/bitlbee/files/bitlbee.initd b/net-im/bitlbee/files/bitlbee.initd
new file mode 100644
index 000000000000..3f4147799d6e
--- /dev/null
+++ b/net-im/bitlbee/files/bitlbee.initd
@@ -0,0 +1,28 @@
+#!/sbin/runscript
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2 or
+# later
+# $Id$
+
+DAEMON=/usr/sbin/bitlbee
+PIDFILE=/var/run/bitlbee/bitlbee.pid
+
+depend() {
+ need logger net
+}
+
+start () {
+ ebegin "Starting bitlbee"
+ checkpath -d -m 0755 -o bitlbee:bitlbee `dirname ${PIDFILE}`
+ start-stop-daemon --start --quiet \
+ -u bitlbee:bitlbee --exec ${DAEMON} -- -P ${PIDFILE} \
+ ${BITLBEE_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping bitlbee"
+ start-stop-daemon --stop --quiet --pidfile ${PIDFILE}
+ eend $?
+}
+
diff --git a/net-im/bitlbee/files/bitlbee.initd-r1 b/net-im/bitlbee/files/bitlbee.initd-r1
new file mode 100644
index 000000000000..f2c79841fde9
--- /dev/null
+++ b/net-im/bitlbee/files/bitlbee.initd-r1
@@ -0,0 +1,31 @@
+#!/sbin/runscript
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2 or
+# later
+# $Id$
+
+DAEMON=/usr/sbin/bitlbee
+PIDFILE=/var/run/bitlbee/bitlbee.pid
+
+depend() {
+ need logger net
+}
+
+start () {
+ ebegin "Starting bitlbee"
+ checkpath -d -m 0755 -o bitlbee:bitlbee $(dirname ${PIDFILE})
+ start-stop-daemon --start --quiet \
+ -u bitlbee:bitlbee --exec ${DAEMON} --pidfile ${PIDFILE} \
+ -- -P ${PIDFILE} ${BITLBEE_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping bitlbee"
+ local pidfile=
+ yesno ${BITLBEE_STOP_ALL:-YES} ||
+ pidfile="--pidfile ${PIDFILE}"
+ start-stop-daemon --stop --quiet ${pidfile} -u bitlbee:bitlbee
+ eend $?
+}
+