From e9aa8e25988b452f08be186298307b7fc4d71509 Mon Sep 17 00:00:00 2001 From: Michele Noberasco Date: Thu, 1 Dec 2005 14:40:52 +0000 Subject: Version bump, with patch to fix bug #110683. (Portage version: 2.0.51.22-r3) --- x11-plugins/wmpop3lb/ChangeLog | 9 +++-- x11-plugins/wmpop3lb/Manifest | 3 ++ .../wmpop3lb/files/digest-wmpop3lb-2.4.2-r1 | 1 + .../files/wmpop3lb-2.4.2-socket-close.patch | 22 +++++++++++++ x11-plugins/wmpop3lb/wmpop3lb-2.4.2-r1.ebuild | 38 ++++++++++++++++++++++ 5 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 x11-plugins/wmpop3lb/files/digest-wmpop3lb-2.4.2-r1 create mode 100644 x11-plugins/wmpop3lb/files/wmpop3lb-2.4.2-socket-close.patch create mode 100644 x11-plugins/wmpop3lb/wmpop3lb-2.4.2-r1.ebuild (limited to 'x11-plugins') diff --git a/x11-plugins/wmpop3lb/ChangeLog b/x11-plugins/wmpop3lb/ChangeLog index 5e1f69b01b68..39016063c847 100644 --- a/x11-plugins/wmpop3lb/ChangeLog +++ b/x11-plugins/wmpop3lb/ChangeLog @@ -1,7 +1,12 @@ # ChangeLog for x11-plugins/wmpop3lb -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpop3lb/ChangeLog,v 1.6 2004/06/28 21:30:32 agriffis Exp $ +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpop3lb/ChangeLog,v 1.7 2005/12/01 14:40:52 s4t4n Exp $ +*wmpop3lb-2.4.2-r1 (01 Dec 2005) + + 01 Dec 2005; Michele Noberasco wmpop3lb-2.4.2-r1.ebuild : + Version bump, with patch to fix bug #110683. + 28 Jun 2004; Aron Griffis wmpop3lb-2.4.2.ebuild: add sed-4 dep diff --git a/x11-plugins/wmpop3lb/Manifest b/x11-plugins/wmpop3lb/Manifest index c64567ab748d..a85e6916503e 100644 --- a/x11-plugins/wmpop3lb/Manifest +++ b/x11-plugins/wmpop3lb/Manifest @@ -1,4 +1,7 @@ +MD5 7239a874852ffac9ec66bb766406eab9 wmpop3lb-2.4.2-r1.ebuild 819 MD5 14866105c8a56b7ec5dbe3463b64b8c4 ChangeLog 593 MD5 62ba71d3b2fa785a4cbd5d47fdbd0eb6 metadata.xml 165 MD5 96aedd214395024e47b53cf23238f643 wmpop3lb-2.4.2.ebuild 738 +MD5 04298a683e583765f0071831ef43944f files/wmpop3lb-2.4.2-socket-close.patch 755 MD5 404dcd51efee01978f6bbb6c0c9b551a files/digest-wmpop3lb-2.4.2 64 +MD5 404dcd51efee01978f6bbb6c0c9b551a files/digest-wmpop3lb-2.4.2-r1 64 diff --git a/x11-plugins/wmpop3lb/files/digest-wmpop3lb-2.4.2-r1 b/x11-plugins/wmpop3lb/files/digest-wmpop3lb-2.4.2-r1 new file mode 100644 index 000000000000..be85defc4a7f --- /dev/null +++ b/x11-plugins/wmpop3lb/files/digest-wmpop3lb-2.4.2-r1 @@ -0,0 +1 @@ +MD5 40760d8963c25d58dea84679a390f1ac wmpop3lb2.4.2.tar.gz 37391 diff --git a/x11-plugins/wmpop3lb/files/wmpop3lb-2.4.2-socket-close.patch b/x11-plugins/wmpop3lb/files/wmpop3lb-2.4.2-socket-close.patch new file mode 100644 index 000000000000..d90befd22e2a --- /dev/null +++ b/x11-plugins/wmpop3lb/files/wmpop3lb-2.4.2-socket-close.patch @@ -0,0 +1,22 @@ +diff -Naur wmpop3lb2.4.2/wmpop3/Pop3Client.c wmpop3lb2.4.2-pathed/wmpop3/Pop3Client.c +--- wmpop3lb2.4.2/wmpop3/Pop3Client.c 2002-06-27 16:04:42.000000000 +0200 ++++ wmpop3lb2.4.2-pathed/wmpop3/Pop3Client.c 2005-10-28 13:14:44.000000000 +0300 +@@ -67,12 +67,18 @@ + pc->server.sin_family = AF_INET; + pc->hp = gethostbyname(serverName); + if( pc->hp == 0) ++ { ++ close(pc->s); + return -1; ++ } + memcpy( &(pc->server.sin_addr), pc->hp->h_addr, pc->hp->h_length); + pc->server.sin_port = htons(port); + if ( connect(pc->s, (struct sockaddr *)&(pc->server) + , sizeof(pc->server)) < 0 ) ++ { ++ close(pc->s); + return -1; ++ } + pc->connected = CONNECTED; + return 0; + } diff --git a/x11-plugins/wmpop3lb/wmpop3lb-2.4.2-r1.ebuild b/x11-plugins/wmpop3lb/wmpop3lb-2.4.2-r1.ebuild new file mode 100644 index 000000000000..541c2aa45f87 --- /dev/null +++ b/x11-plugins/wmpop3lb/wmpop3lb-2.4.2-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpop3lb/wmpop3lb-2.4.2-r1.ebuild,v 1.1 2005/12/01 14:40:52 s4t4n Exp $ + +inherit eutils + +IUSE="" + +MY_P=${PN}${PV} +S=${WORKDIR}/${MY_P} +DESCRIPTION="dockapp for checking up to 7 pop3 accounts" +HOMEPAGE="http://wmpop3lb.jourdain.org" +SRC_URI="http://lbj.free.fr/wmpop3/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" + +DEPEND="virtual/x11 + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} ; cd ${S}/wmpop3 + + sed -i -e "s:-g2 -D_DEBUG:${CFLAGS}:" Makefile + + #Fix bug #110683 + epatch ${FILESDIR}/${P}-socket-close.patch +} + +src_compile() { + emake -C wmpop3 || die "parallel make failed" +} + +src_install() { + dobin wmpop3/wmpop3lb + dodoc CHANGE_LOG README +} -- cgit v1.2.3-65-gdbad