diff options
author | Jon Hood <squinky86@gentoo.org> | 2004-06-15 19:06:30 +0000 |
---|---|---|
committer | Jon Hood <squinky86@gentoo.org> | 2004-06-15 19:06:30 +0000 |
commit | ae5938a7cddab8c71469aab1747644d53655a9db (patch) | |
tree | a768c859c8b34fc20b7f85e0cf0acebf8172d3f9 /net-im/reaim | |
parent | Marked stable on x86 (diff) | |
download | historical-ae5938a7cddab8c71469aab1747644d53655a9db.tar.gz historical-ae5938a7cddab8c71469aab1747644d53655a9db.tar.bz2 historical-ae5938a7cddab8c71469aab1747644d53655a9db.zip |
Initial commit. Closes #53349.
Diffstat (limited to 'net-im/reaim')
-rw-r--r-- | net-im/reaim/ChangeLog | 11 | ||||
-rw-r--r-- | net-im/reaim/Manifest | 5 | ||||
-rw-r--r-- | net-im/reaim/files/digest-reaim-0.8 | 1 | ||||
-rw-r--r-- | net-im/reaim/files/reaim | 22 | ||||
-rw-r--r-- | net-im/reaim/metadata.xml | 9 | ||||
-rw-r--r-- | net-im/reaim/reaim-0.8.ebuild | 46 |
6 files changed, 94 insertions, 0 deletions
diff --git a/net-im/reaim/ChangeLog b/net-im/reaim/ChangeLog new file mode 100644 index 000000000000..9f19248667f2 --- /dev/null +++ b/net-im/reaim/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-im/reaim +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/reaim/ChangeLog,v 1.1 2004/06/15 19:06:27 squinky86 Exp $ + +*reaim-0.8 (15 Jun 2004) + + 15 Jun 2004; Jon Hood <squinky86@gentoo.org> +metadata.xml, +files/reaim, + +reaim-0.8.ebuild: + Initial commit. Thanks to David Brigada <brigad@rpi.edu> for the package. + Closes #53349 + diff --git a/net-im/reaim/Manifest b/net-im/reaim/Manifest new file mode 100644 index 000000000000..a606c7e16c84 --- /dev/null +++ b/net-im/reaim/Manifest @@ -0,0 +1,5 @@ +MD5 7aab4db9961751ca4f6eec46793171fb ChangeLog 424 +MD5 3826fd7937fcbe625453993edadef54e metadata.xml 252 +MD5 2745dda336841b207b9f385e9fc50c7a reaim-0.8.ebuild 1101 +MD5 164f0dd3682a82153e47b3062d1be126 files/reaim 650 +MD5 372069ab973b54975747056254e1e10e files/digest-reaim-0.8 60 diff --git a/net-im/reaim/files/digest-reaim-0.8 b/net-im/reaim/files/digest-reaim-0.8 new file mode 100644 index 000000000000..d7be55fef027 --- /dev/null +++ b/net-im/reaim/files/digest-reaim-0.8 @@ -0,0 +1 @@ +MD5 647d2ab72ec454f89294accfb3182c09 reaim-0.8.tar.gz 39944 diff --git a/net-im/reaim/files/reaim b/net-im/reaim/files/reaim new file mode 100644 index 000000000000..81b6e8989cfb --- /dev/null +++ b/net-im/reaim/files/reaim @@ -0,0 +1,22 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/reaim/files/reaim,v 1.1 2004/06/15 19:06:30 squinky86 Exp $ + +depend() { + need net iptables +} + +start() { + ebegin "Starting reaim" + iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 5190 -j REDIRECT --to-ports 5190 + start-stop-daemon --start --quiet --exec /usr/sbin/reaim + eend $? +} + +stop() { + ebegin "Stopping reaim" + iptables -t nat -D PREROUTING -i eth0 -p tcp --dport 5190 -j REDIRECT --to-ports 5190 + start-stop-daemon --stop --quiet --exec /usr/sbin/reaim + eend $? +} diff --git a/net-im/reaim/metadata.xml b/net-im/reaim/metadata.xml new file mode 100644 index 000000000000..4f94b1850911 --- /dev/null +++ b/net-im/reaim/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-im</herd> +<maintainer> + <email>squinky86@gentoo.org</email> + <name>Jon Hood</name> +</maintainer> +</pkgmetadata> diff --git a/net-im/reaim/reaim-0.8.ebuild b/net-im/reaim/reaim-0.8.ebuild new file mode 100644 index 000000000000..516d31ceef3c --- /dev/null +++ b/net-im/reaim/reaim-0.8.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/reaim/reaim-0.8.ebuild,v 1.1 2004/06/15 19:06:27 squinky86 Exp $ + +DESCRIPTION="AIM transport proxy over NAT firewalls" +HOMEPAGE="http://reaim.sourceforge.net/" +SRC_URI="mirror://sourceforge/reaim/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND=">=sys-apps/sed-4" +RDEPEND="net-firewall/iptables" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i -e 's:-g -Wall:${CFLAGS} -g -Wall:g' Makefile +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + insinto /usr/sbin + insopts -o root -g root -m 0750 ; doins reaim + + doman reaim.8 + dodoc html/* + + exeinto /etc/init.d + newexe ${FILESDIR}/reaim reaim +} + +pkg_postinst() { + einfo "In order to use reaim, run the rc script in /etc/init.d." + einfo + einfo "To start:" + einfo " /etc/init.d/reaim start" + einfo "To stop:" + einfo " /etc/init.d/reaim stop" + einfo + einfo "To have reaim start at each system startup, run the following:" + einfo " rc-update add reaim default" +} |