summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-irc/irssi-init/ChangeLog7
-rw-r--r--net-irc/irssi-init/Manifest4
-rw-r--r--net-irc/irssi-init/files/0.2/conf.d6
-rwxr-xr-xnet-irc/irssi-init/files/0.2/init.d16
-rw-r--r--net-irc/irssi-init/irssi-init-0.2.ebuild20
5 files changed, 53 insertions, 0 deletions
diff --git a/net-irc/irssi-init/ChangeLog b/net-irc/irssi-init/ChangeLog
new file mode 100644
index 0000000..52347f3
--- /dev/null
+++ b/net-irc/irssi-init/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for net-irc/irssi-init
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 09 Feb 2008; Petteri Räty <betelgeuse@gentoo.org> ++, ++, ++, ++:
+ Add version with unicode handling support.
+
diff --git a/net-irc/irssi-init/Manifest b/net-irc/irssi-init/Manifest
index d797c94..2b0cd48 100644
--- a/net-irc/irssi-init/Manifest
+++ b/net-irc/irssi-init/Manifest
@@ -1,3 +1,7 @@
AUX 0.1/conf.d 91 RMD160 962c0d8bbff177ef08fc4fd49314d21479000344 SHA1 5db8d5c52be3dabd794b42247f78b7c022409262 SHA256 a4f58fd066dc8951e653ca49ba57e4cf440a8c0e804ab75781c1adccfbae1664
AUX 0.1/init.d 238 RMD160 72410f83fd5cc6c7982589646dbecb59d97106dd SHA1 e393dd65da0b21ef142a58d5a932bcb6f4787412 SHA256 a7832990e9059251c3409b34a3c9bd5372e82fbee6c59f78e1f53a789ce4e0d5
+AUX 0.2/conf.d 158 RMD160 d0819b833e9af8e82197ebd83a6367354198f4f5 SHA1 d0f029a894f263a68f80d0ff96c5725bd09ca3ba SHA256 26388fe5da4cbe2b642ee4af3f16fe604cff38d7920f5e2f13219e1a2f664ff4
+AUX 0.2/init.d 306 RMD160 a805e9731b656a5448fbb9447fe3d02b447071f2 SHA1 7283289f7f62356ee990752932a977f8c2df73b8 SHA256 b93d442cfc776c9ca98169bb7c448bd1b27f194def7cf32d9558599d2b888e43
EBUILD irssi-init-0.1.ebuild 384 RMD160 30444363353927d1ddb9cb6309bad6adea881c9d SHA1 78eb213b821b6752a452b0d0e6209636b4d1b748 SHA256 26c1b5300ac99e92e876ea688f02c3c8841225fc0d05d5b1a5640fba82039df0
+EBUILD irssi-init-0.2.ebuild 384 RMD160 30444363353927d1ddb9cb6309bad6adea881c9d SHA1 78eb213b821b6752a452b0d0e6209636b4d1b748 SHA256 26c1b5300ac99e92e876ea688f02c3c8841225fc0d05d5b1a5640fba82039df0
+MISC ChangeLog 234 RMD160 66066ad8c6c828743cfae21df4d095e4975984d3 SHA1 779ec8dbaaf514a0e240113775c6516f24e65779 SHA256 cb94dff11ddb5ef9ba980a22283b88c1cbf93b76edda60ef81e37dd6d52f914c
diff --git a/net-irc/irssi-init/files/0.2/conf.d b/net-irc/irssi-init/files/0.2/conf.d
new file mode 100644
index 0000000..e9e0494
--- /dev/null
+++ b/net-irc/irssi-init/files/0.2/conf.d
@@ -0,0 +1,6 @@
+# List all the users you want to start a screen session with irssi
+# here.
+
+IRSSI_USERS=""
+
+# Use UNICODE in rc.conf to toggle whether -u is passed to screen
diff --git a/net-irc/irssi-init/files/0.2/init.d b/net-irc/irssi-init/files/0.2/init.d
new file mode 100755
index 0000000..96742bf
--- /dev/null
+++ b/net-irc/irssi-init/files/0.2/init.d
@@ -0,0 +1,16 @@
+#!/sbin/runscript
+
+depend() {
+ use net
+}
+
+start() {
+ local uni
+ [ "${unicode:-${UNICODE}}" = YES ] && uni=U
+ for user in ${IRSSI_USERS}; do
+ ebegin "Starting irssi session for ${user}"
+ einfo /bin/su - ${user} -c "screen -${uni}dmS irssi -- irssi"
+ eend $? "Failed to start irssi for ${user}"
+ done
+}
+
diff --git a/net-irc/irssi-init/irssi-init-0.2.ebuild b/net-irc/irssi-init/irssi-init-0.2.ebuild
new file mode 100644
index 0000000..4f4c3bf
--- /dev/null
+++ b/net-irc/irssi-init/irssi-init-0.2.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+DESCRIPTION="Init script for irssi"
+HOMEPAGE="http://a.bo.cx/ebuilds/net-irc/irssi-init"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE=""
+
+DEPEND=""
+
+src_install() {
+ newconfd ${FILESDIR}/${PV}/conf.d irssi
+ newinitd ${FILESDIR}/${PV}/init.d irssi
+}