summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2010-04-17 23:14:56 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2010-04-17 23:14:56 +0000
commit62ed0f5e09ef9c57babf762f20873ba50fc7b32d (patch)
tree214d483fd122f56c5140439735919a00dae18532
parentVersion bump. (diff)
downloadgentoo-2-62ed0f5e09ef9c57babf762f20873ba50fc7b32d.tar.gz
gentoo-2-62ed0f5e09ef9c57babf762f20873ba50fc7b32d.tar.bz2
gentoo-2-62ed0f5e09ef9c57babf762f20873ba50fc7b32d.zip
Version bump.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
-rw-r--r--net-im/gg-transport/ChangeLog10
-rw-r--r--net-im/gg-transport/files/jggtrans-2.2.420
-rw-r--r--net-im/gg-transport/gg-transport-2.2.4.ebuild47
3 files changed, 75 insertions, 2 deletions
diff --git a/net-im/gg-transport/ChangeLog b/net-im/gg-transport/ChangeLog
index 89abb885f14f..e568008d13f2 100644
--- a/net-im/gg-transport/ChangeLog
+++ b/net-im/gg-transport/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-im/gg-transport
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/gg-transport/ChangeLog,v 1.15 2008/05/12 08:44:55 nelchael Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/gg-transport/ChangeLog,v 1.16 2010/04/17 23:14:56 nelchael Exp $
+
+*gg-transport-2.2.4 (17 Apr 2010)
+
+ 17 Apr 2010; Krzysztof Pawlik <nelchael@gentoo.org> +files/jggtrans-2.2.4,
+ +gg-transport-2.2.4.ebuild:
+ Version bump.
12 May 2008; Krzysiek Pawlik <nelchael@gentoo.org>
gg-transport-2.2.2-r1.ebuild:
diff --git a/net-im/gg-transport/files/jggtrans-2.2.4 b/net-im/gg-transport/files/jggtrans-2.2.4
new file mode 100644
index 000000000000..224a30b376e6
--- /dev/null
+++ b/net-im/gg-transport/files/jggtrans-2.2.4
@@ -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.4,v 1.1 2010/04/17 23:14:56 nelchael Exp $
+
+depend() {
+ after 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.4.ebuild b/net-im/gg-transport/gg-transport-2.2.4.ebuild
new file mode 100644
index 000000000000..c84fec407e62
--- /dev/null
+++ b/net-im/gg-transport/gg-transport-2.2.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/gg-transport/gg-transport-2.2.4.ebuild,v 1.1 2010/04/17 23:14:56 nelchael Exp $
+
+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="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=net-im/jabber-base-0.01
+ >=dev-libs/glib-2.6.4
+ net-dns/libidn
+ >=net-libs/libgadu-1.9.0_rc3"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S="${WORKDIR}/jggtrans-${PV}"
+
+src_install() {
+
+ make DESTDIR="${D}" install || die "install failed"
+
+ keepdir /var/spool/jabber/gg
+ keepdir /var/run/jabber
+ keepdir /var/log/jabber
+ fowners jabber:jabber /var/spool/jabber/gg
+ fowners jabber:jabber /var/run/jabber
+ fowners jabber:jabber /var/log/jabber
+
+ 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
+
+}