diff options
author | Chuck Short <zul@gentoo.org> | 2004-03-06 13:40:27 +0000 |
---|---|---|
committer | Chuck Short <zul@gentoo.org> | 2004-03-06 13:40:27 +0000 |
commit | 124cb42b485f997e11a0e413b9d26953d45ddf41 (patch) | |
tree | 646b8f9ebca2007ddad3adae2916465a045c6903 | |
parent | Version bump, closes #42983. (diff) | |
download | historical-124cb42b485f997e11a0e413b9d26953d45ddf41.tar.gz historical-124cb42b485f997e11a0e413b9d26953d45ddf41.tar.bz2 historical-124cb42b485f997e11a0e413b9d26953d45ddf41.zip |
Version bump, closes #42983.
-rw-r--r-- | net-irc/echat/Manifest | 7 | ||||
-rw-r--r-- | net-irc/echat/echat-0.02-r1.ebuild | 4 | ||||
-rw-r--r-- | net-irc/echat/echat-0.04_beta1.ebuild | 53 | ||||
-rw-r--r-- | net-irc/echat/files/digest-echat-0.04_beta1 | 1 | ||||
-rw-r--r-- | net-irc/echat/files/echat-0.04_beta1-reuseaddr.patch | 11 |
5 files changed, 71 insertions, 5 deletions
diff --git a/net-irc/echat/Manifest b/net-irc/echat/Manifest index c77843de4bfb..6fba6b8f405a 100644 --- a/net-irc/echat/Manifest +++ b/net-irc/echat/Manifest @@ -1,6 +1,7 @@ -MD5 3412e9a94de69c7a256b1ce3dee926e7 echat-0.02-r1.ebuild 1150 -MD5 6c1c6fa28c68e2f74123b99520c662e3 echat-0.04_beta1.ebuild 1285 -MD5 0b50b25dd5e31b805d0d485c37677b9f ChangeLog 526 +MD5 97d42dbb4069857197a727c43193bf71 echat-0.02-r1.ebuild 1149 +MD5 9e825373c7d84f09813a957140dc78ed echat-0.04_beta1.ebuild 1285 +MD5 5880f62d7cf6f24cb96f706c4413e084 ChangeLog 894 MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160 MD5 5fa3227cc2576d01c8b99ee7f8c04796 files/digest-echat-0.02-r1 63 +MD5 8fff8efb34c084ead4f39fc1bba1729e files/echat-0.04_beta1-reuseaddr.patch 445 MD5 265e26e1a58e7d4f2494887261273cf8 files/digest-echat-0.04_beta1 67 diff --git a/net-irc/echat/echat-0.02-r1.ebuild b/net-irc/echat/echat-0.02-r1.ebuild index 48523d09d028..4b3515297e5d 100644 --- a/net-irc/echat/echat-0.02-r1.ebuild +++ b/net-irc/echat/echat-0.02-r1.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/echat/echat-0.02-r1.ebuild,v 1.2 2004/01/03 17:46:22 zul Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/echat/echat-0.02-r1.ebuild,v 1.3 2004/03/06 13:40:09 zul Exp $ DESCRIPTION="Console vypress chat clone for *nix like systems." HOMEPAGE="http://deep.perm.ru/echat/" SRC_URI="http://deep.perm.ru/files/echat/${P}f2.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="x86" IUSE="" DEPEND=">=sys-apps/sed-4 diff --git a/net-irc/echat/echat-0.04_beta1.ebuild b/net-irc/echat/echat-0.04_beta1.ebuild new file mode 100644 index 000000000000..9bf7f9d94d93 --- /dev/null +++ b/net-irc/echat/echat-0.04_beta1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/echat/echat-0.04_beta1.ebuild,v 1.1 2004/03/06 13:40:09 zul Exp $ + +DESCRIPTION="Console vypress chat clone for *nix like systems." +HOMEPAGE="http://deep.perm.ru/echat/" +SRC_URI="http://files.akl.lt/~x11/${P}.tar.gz + http://gsk.vtu.lt:8080/~arturaz/soft/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND=">=sys-apps/sed-4 + sys-libs/ncurses" +RDEPEND="sys-libs/ncurses" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/${P}-reuseaddr.patch +} + +src_compile() { + local lang + + # default is english + lang="-DEN" + [ "${LANG}" == "ru_RU" ] && lang="-DRU" + [ "${LANG}" == "tr" ] || [ "${LANG}" == "tr_TR" ] && lang="-DTU" + + sed -i \ + -e "s:PREFIX=/usr/local:PREFIX=/usr:g" \ + -e "s:CFLAGS=-Wall -g -O2:CFLAGS=-Wall -g ${CFLAGS}:g" \ + -e "s:DEFINES=-DFREEBSD -DCHARSET:DEFINES=-DLINUX ${lang} -DCHARSET -DPORTREUSE:g" \ + Makefile || die "Sed magic failed!" + + emake || die +} + +src_install() { + dobin echat || die + + cd ${S}/doc + mv .echatrc.sample dot.echatrc.sample + dodoc NEWS dot.echatrc.sample README* TODO + insinto /etc + newins dot.echatrc.sample echatrc + doman *.1 + exeinto /usr/bin/ + doexe ec +} diff --git a/net-irc/echat/files/digest-echat-0.04_beta1 b/net-irc/echat/files/digest-echat-0.04_beta1 new file mode 100644 index 000000000000..5aee6694d2cb --- /dev/null +++ b/net-irc/echat/files/digest-echat-0.04_beta1 @@ -0,0 +1 @@ +MD5 3c3b803f10e559b2a187846f15c1efac echat-0.04_beta1.tar.gz 56055 diff --git a/net-irc/echat/files/echat-0.04_beta1-reuseaddr.patch b/net-irc/echat/files/echat-0.04_beta1-reuseaddr.patch new file mode 100644 index 000000000000..ccb10758a821 --- /dev/null +++ b/net-irc/echat/files/echat-0.04_beta1-reuseaddr.patch @@ -0,0 +1,11 @@ +--- sock_udp.c.orig 2003-08-19 11:47:12.000000000 +0300 ++++ sock_udp.c 2004-02-13 15:08:51.000000000 +0200 +@@ -110,7 +110,7 @@ + exit(EXIT_FAILURE); + } + #ifdef PORTREUSE +- if (setsockopt(sfdcl, SOL_SOCKET, SO_REUSEPORT, &s, sizeof(s)) < 0) { ++ if (setsockopt(sfdcl, SOL_SOCKET, SO_REUSEADDR, &s, sizeof(s)) < 0) { + #ifdef DEBUG + fprintf(debug_file, "setsockopt(): %s\n", strerror(errno)); + fflush(debug_file); |