summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/aim-transport')
-rw-r--r--net-im/aim-transport/ChangeLog9
-rw-r--r--net-im/aim-transport/Manifest15
-rw-r--r--net-im/aim-transport/aim-transport-20040131-r1.ebuild57
-rw-r--r--net-im/aim-transport/files/aim-transport.init23
-rw-r--r--net-im/aim-transport/files/aimtrans.xml1
-rw-r--r--net-im/aim-transport/files/digest-aim-transport-20040131-r11
6 files changed, 99 insertions, 7 deletions
diff --git a/net-im/aim-transport/ChangeLog b/net-im/aim-transport/ChangeLog
index 416cd58f969f..fed8b7a34009 100644
--- a/net-im/aim-transport/ChangeLog
+++ b/net-im/aim-transport/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-im/aim-transport
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/aim-transport/ChangeLog,v 1.7 2004/03/28 07:19:09 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/aim-transport/ChangeLog,v 1.8 2004/04/08 02:06:34 humpback Exp $
+
+*aim-transport-20040131-r1 (08 Apr 2004)
+
+ 08 Apr 2004; Gustavo Felisberto <humpback@gentoo.org>;
+ aim-transport-20040131-r1.ebuild, files/aim-transport.init,
+ files/aimtrans.xml:
+ Adding version 20040131-r1 and it's init script, helps fix bug 43851.
27 Mar 2004; Jason Wever <weeve@gentoo.org> aim-transport-20040131.ebuild:
Added ~sparc keyword.
diff --git a/net-im/aim-transport/Manifest b/net-im/aim-transport/Manifest
index 11f5c6e8c0d3..6a2766ee1f96 100644
--- a/net-im/aim-transport/Manifest
+++ b/net-im/aim-transport/Manifest
@@ -1,9 +1,12 @@
-MD5 183bcbc44f4708bdd803e48b5cfc9609 ChangeLog 1305
-MD5 cd87a82b9118f67f4fb490065d95b7be aim-transport-20030314.ebuild 1027
+MD5 1fc5a3037986878b57e25e977e36656c aim-transport-20040131-r1.ebuild 1348
MD5 53032f4ed0c86bd961d5f7e3312d7af5 aim-transport-20040131.ebuild 1148
MD5 6816c17429d2b0f735ff6f1e5872b2a1 metadata.xml 333
-MD5 fc71050bb7266ee2b89046dd30db8815 files/README.Gentoo 1460
-MD5 d34af520e9b92e7356fe2c12d1943f80 files/aimtrans.patch 419
-MD5 0efa23fb795fdfb0821780e240e70dcd files/aimtrans.xml 562
-MD5 193bbcb324db7289d0f87c18d1fe4d32 files/digest-aim-transport-20030314 81
+MD5 183bcbc44f4708bdd803e48b5cfc9609 ChangeLog 1305
+MD5 cd87a82b9118f67f4fb490065d95b7be aim-transport-20030314.ebuild 1027
MD5 cb628e08c87e98dfc8d017367231953c files/digest-aim-transport-20040131 81
+MD5 cb628e08c87e98dfc8d017367231953c files/digest-aim-transport-20040131-r1 81
+MD5 193bbcb324db7289d0f87c18d1fe4d32 files/digest-aim-transport-20030314 81
+MD5 d760ae12ea46b20acd4327c40b35a9fb files/aimtrans.xml 607
+MD5 d34af520e9b92e7356fe2c12d1943f80 files/aimtrans.patch 419
+MD5 fc71050bb7266ee2b89046dd30db8815 files/README.Gentoo 1460
+MD5 3109e7b870701380fd5f3a8d6d2b3f1c files/aim-transport.init 422
diff --git a/net-im/aim-transport/aim-transport-20040131-r1.ebuild b/net-im/aim-transport/aim-transport-20040131-r1.ebuild
new file mode 100644
index 000000000000..d87cddb201bf
--- /dev/null
+++ b/net-im/aim-transport/aim-transport-20040131-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/aim-transport/aim-transport-20040131-r1.ebuild,v 1.1 2004/04/08 02:06:34 humpback Exp $
+
+MY_PN="${PN}-stable"
+S="${WORKDIR}/${MY_PN}-${PV}"
+DESCRIPTION="AOL Instant Messaging transport for jabberd"
+
+HOMEPAGE="http://aim-transport.jabberstudio.org/"
+
+SRC_URI="http://aim-transport.jabberstudio.org/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+
+SLOT="0"
+
+KEYWORDS="~x86"
+
+IUSE=""
+
+DEPEND=">=net-im/jabberd-1.4.3-r3"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/aimtrans.patch
+}
+
+src_compile() {
+ einfo
+ einfo "Please ignore any errors/warnings"
+ einfo
+ automake
+ libtoolize --force
+ aclocal
+ autoconf
+ ./configure --with-jabberd=/usr/include/jabberd || die "./configure failed"
+ emake || die
+}
+
+src_install() {
+ dodir /etc/jabber /usr/lib/jabberd
+ insinto /usr/lib/jabberd
+ doins src/aimtrans.so
+ insinto /etc/jabber
+ doins ${FILESDIR}/aimtrans.xml
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/aim-transport.init aim-transport
+ dodoc README ${FILESDIR}/README.Gentoo TODO aim.xml
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Please read /usr/share/doc/${P}/README.Gentoo.gz"
+ einfo "And please notice that now msn-transport comes with a init.d script"
+ einfo "dont forget to add it to your runlevel."
+ einfo
+}
diff --git a/net-im/aim-transport/files/aim-transport.init b/net-im/aim-transport/files/aim-transport.init
new file mode 100644
index 000000000000..31b1bab850f5
--- /dev/null
+++ b/net-im/aim-transport/files/aim-transport.init
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+
+depend() {
+ need net
+ use jabber-server
+}
+
+start() {
+ ebegin "Starting AIM Jabber Transport"
+ jabberd -B -c /etc/jabber/aimtrans.xml -H /var/spool/jabber >/dev/null 2>&1
+ eend $?
+}
+
+stop() {
+ ebegin "Stoping AIM Jabber Transport"
+ kill `cat /var/log/jabber/aim.pid`
+ sleep 2
+ if ( -f /var/log/jabber/aim.pid ); then
+ kill -9 `cat /var/log/jabber/aim.pid`
+ rm -f /var/log/jabber/aim.pid
+ fi
+ eend $?
+}
diff --git a/net-im/aim-transport/files/aimtrans.xml b/net-im/aim-transport/files/aimtrans.xml
index 76e13f549cff..b071896e6d1e 100644
--- a/net-im/aim-transport/files/aimtrans.xml
+++ b/net-im/aim-transport/files/aimtrans.xml
@@ -22,4 +22,5 @@
</aimtrans>
</service>
+ <pidfile>/var/log/jabber/aim.pid</pidfile>
</jabber>
diff --git a/net-im/aim-transport/files/digest-aim-transport-20040131-r1 b/net-im/aim-transport/files/digest-aim-transport-20040131-r1
new file mode 100644
index 000000000000..42ff7a1dd8c5
--- /dev/null
+++ b/net-im/aim-transport/files/digest-aim-transport-20040131-r1
@@ -0,0 +1 @@
+MD5 2688a1f00284122d8f6e04309e75032f aim-transport-stable-20040131.tar.gz 245641