summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-10-04 14:48:27 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-10-04 14:48:27 +0000
commit9a198ec11b96ec00d65c557626e0f14688ebffa4 (patch)
tree907ffc7999654b6ef5ff8c0f1aa1f6cc7265bf25 /net-im/gg-transport
parentstable on amd64 (diff)
downloadgentoo-2-9a198ec11b96ec00d65c557626e0f14688ebffa4.tar.gz
gentoo-2-9a198ec11b96ec00d65c557626e0f14688ebffa4.tar.bz2
gentoo-2-9a198ec11b96ec00d65c557626e0f14688ebffa4.zip
Updated ebuild to fix several bugs about default config.
(Portage version: 2.1.2_pre2-r2)
Diffstat (limited to 'net-im/gg-transport')
-rw-r--r--net-im/gg-transport/ChangeLog10
-rw-r--r--net-im/gg-transport/files/digest-gg-transport-2.2.2-r13
-rw-r--r--net-im/gg-transport/files/jggtrans-2.2.2-r120
-rw-r--r--net-im/gg-transport/gg-transport-2.2.2-r1.ebuild40
4 files changed, 72 insertions, 1 deletions
diff --git a/net-im/gg-transport/ChangeLog b/net-im/gg-transport/ChangeLog
index 87e80d5f95d1..b5dd60258e76 100644
--- a/net-im/gg-transport/ChangeLog
+++ b/net-im/gg-transport/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-im/gg-transport
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/gg-transport/ChangeLog,v 1.6 2006/09/20 09:28:40 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/gg-transport/ChangeLog,v 1.7 2006/10/04 14:48:27 nelchael Exp $
+
+*gg-transport-2.2.2-r1 (04 Oct 2006)
+
+ 04 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ -files/jggtrans-2.2.1-r1, -files/jggtrans-2.2.2, +files/jggtrans-2.2.2-r1,
+ -gg-transport-2.2.1-r1.ebuild, -gg-transport-2.2.2.ebuild,
+ +gg-transport-2.2.2-r1.ebuild:
+ Updated ebuild to fix several bugs about default config.
*gg-transport-2.2.2 (20 Sep 2006)
diff --git a/net-im/gg-transport/files/digest-gg-transport-2.2.2-r1 b/net-im/gg-transport/files/digest-gg-transport-2.2.2-r1
new file mode 100644
index 000000000000..51635da2d04e
--- /dev/null
+++ b/net-im/gg-transport/files/digest-gg-transport-2.2.2-r1
@@ -0,0 +1,3 @@
+MD5 70bbec4e9c438cda6b7379ccfc63492f jggtrans-2.2.2.tar.gz 1176462
+RMD160 5e43d51ed600f09aba3b47c90d4226770f3b4cc0 jggtrans-2.2.2.tar.gz 1176462
+SHA256 00a4956ec2aaf22eacb28b8af2ab0742caa3deffbd895ce86bcd76b6f604a007 jggtrans-2.2.2.tar.gz 1176462
diff --git a/net-im/gg-transport/files/jggtrans-2.2.2-r1 b/net-im/gg-transport/files/jggtrans-2.2.2-r1
new file mode 100644
index 000000000000..8d05a74cb0e2
--- /dev/null
+++ b/net-im/gg-transport/files/jggtrans-2.2.2-r1
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/gg-transport/files/jggtrans-2.2.2-r1,v 1.1 2006/10/04 14:48:27 nelchael Exp $
+
+depend() {
+ need net jabber-server
+}
+
+start() {
+ ebegin "Starting Jabber GG Transport"
+ start-stop-daemon --start --user jabber --group jabber --exec /usr/sbin/jggtrans -- -u jabber -g jabber /etc/jabber/jggtrans.xml
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Jabber GG Transport"
+ start-stop-daemon --stop --pidfile /var/run/jabber/jggtrans.pid
+ eend $?
+}
diff --git a/net-im/gg-transport/gg-transport-2.2.2-r1.ebuild b/net-im/gg-transport/gg-transport-2.2.2-r1.ebuild
new file mode 100644
index 000000000000..63aff7439aac
--- /dev/null
+++ b/net-im/gg-transport/gg-transport-2.2.2-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header $
+
+DESCRIPTION="Gadu-Gadu transport for Jabber"
+HOMEPAGE="http://jggtrans.jajcus.net/"
+SRC_URI="http://jggtrans.jajcus.net/downloads/jggtrans-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="net-im/jabberd
+ >=dev-libs/glib-2.6.4
+ net-dns/libidn"
+
+S="${WORKDIR}/jggtrans-${PV}"
+
+src_install() {
+
+ make DESTDIR="${D}" install || die "install failed"
+
+ keepdir /var/spool/jabber/gg/
+ fowners jabber:jabber /var/spool/jabber/gg
+
+ newinitd ${FILESDIR}/jggtrans-${PVR} jggtrans
+
+ insinto /etc/jabber
+ doins jggtrans.xml
+
+ sed -i \
+ -e 's,/var/lib/jabber/spool/gg.localhost/,/var/spool/jabber/gg/,' \
+ -e 's,/var/lib/jabber/ggtrans.pid,/var/run/jabber/jggtrans.pid,' \
+ -e 's,/tmp/ggtrans.log,/var/log/jabber/jggtrans.log,' \
+ "${D}/etc/jabber/jggtrans.xml"
+
+ dodoc AUTHORS ChangeLog README README.Pl NEWS
+
+}