summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Shepherd <masterdriverz@gentoo.org>2007-11-04 14:40:27 +0000
committerCharlie Shepherd <masterdriverz@gentoo.org>2007-11-04 14:40:27 +0000
commit864684764ec83bb14854843b575a5857f214bb3f (patch)
treeb2b057bb377ac2d3049bb02038343b99d24d70cd /net-misc/efax
parentStable on amd64 wrt bug #197186 (diff)
downloadgentoo-2-864684764ec83bb14854843b575a5857f214bb3f.tar.gz
gentoo-2-864684764ec83bb14854843b575a5857f214bb3f.tar.bz2
gentoo-2-864684764ec83bb14854843b575a5857f214bb3f.zip
Fix some QA problems in the ebuild and add a patch by Keef Aragon to fix bug 141235
(Portage version: 2.1.3.16)
Diffstat (limited to 'net-misc/efax')
-rw-r--r--net-misc/efax/ChangeLog9
-rw-r--r--net-misc/efax/efax-0.9a-r1.ebuild27
-rw-r--r--net-misc/efax/files/digest-efax-0.9a-r13
-rw-r--r--net-misc/efax/files/efax-0.9a-segfault.patch32
4 files changed, 70 insertions, 1 deletions
diff --git a/net-misc/efax/ChangeLog b/net-misc/efax/ChangeLog
index 2b787db00f20..a449eba96a6a 100644
--- a/net-misc/efax/ChangeLog
+++ b/net-misc/efax/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/efax
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/efax/ChangeLog,v 1.6 2007/05/14 19:45:45 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/efax/ChangeLog,v 1.7 2007/11/04 14:40:26 masterdriverz Exp $
+
+*efax-0.9a-r1 (04 Nov 2007)
+
+ 04 Nov 2007; Charlie Shepherd <masterdriverz@gentoo.org>
+ +files/efax-0.9a-segfault.patch, +efax-0.9a-r1.ebuild:
+ Fix some QA problems in the ebuild and add a patch by Keef Aragon to fix bug
+ 141235
14 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
add <herd>no-herd</herd>
diff --git a/net-misc/efax/efax-0.9a-r1.ebuild b/net-misc/efax/efax-0.9a-r1.ebuild
new file mode 100644
index 000000000000..2d92ad417a83
--- /dev/null
+++ b/net-misc/efax/efax-0.9a-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/efax/efax-0.9a-r1.ebuild,v 1.1 2007/11/04 14:40:26 masterdriverz Exp $
+
+inherit eutils
+
+S="${WORKDIR}/${P}-001114"
+DESCRIPTION="A simple fax program for single-user systems"
+SRC_URI="http://www.cce.com/efax/download/${P}-001114.tar.gz"
+HOMEPAGE="http://www.cce.com/efax/"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+SLOT="0"
+LICENSE="GPL-2"
+
+src_unpack () {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e "s:CFLAGS=:CFLAGS=${CFLAGS}:" Makefile
+ epatch "${FILESDIR}/${P}-segfault.patch"
+}
+
+src_install () {
+ dobin efax efix fax
+ doman efax.1 efix.1 fax.1
+ dodoc README
+}
diff --git a/net-misc/efax/files/digest-efax-0.9a-r1 b/net-misc/efax/files/digest-efax-0.9a-r1
new file mode 100644
index 000000000000..ae0b80385aef
--- /dev/null
+++ b/net-misc/efax/files/digest-efax-0.9a-r1
@@ -0,0 +1,3 @@
+MD5 28abef47d9700eb1c20bf5770565aa7d efax-0.9a-001114.tar.gz 97402
+RMD160 5235799c98243b3d0e597b7b7aecae7d5954fb79 efax-0.9a-001114.tar.gz 97402
+SHA256 46abddf13f7565ea0c9d85b92845cdb32fb265c47cfc84c972e11a0219cda8ea efax-0.9a-001114.tar.gz 97402
diff --git a/net-misc/efax/files/efax-0.9a-segfault.patch b/net-misc/efax/files/efax-0.9a-segfault.patch
new file mode 100644
index 000000000000..f01287025d38
--- /dev/null
+++ b/net-misc/efax/files/efax-0.9a-segfault.patch
@@ -0,0 +1,32 @@
+diff -ur efax-0.9a-001114/efaxmsg.c efax-0.9a-001114/efaxmsg.c
+--- efax-0.9a-001114/efaxmsg.c 1999-03-20 04:38:20.000000000 +0000
++++ efax-0.9a-001114/efaxmsg.c 2007-11-04 14:04:22.000000000 +0000
+@@ -99,7 +99,6 @@
+ char *p ;
+
+ va_list ap ;
+- va_start ( ap, fmt ) ;
+
+ if ( ! init ) {
+ logfile[0] = stderr ;
+@@ -141,18 +140,17 @@
+ " ",
+ logfile[i] ) ;
+ }
++ va_start ( ap, fmt ) ;
+ vfprintf( logfile[i], p, ap ) ;
++ va_end ( ap ) ;
+ if ( flags & S ) fprintf ( logfile[i], " %s", strerror ( errno ) ) ;
+ if ( ! ( flags & NOLF ) ) fputs ( "\n", logfile[i] ) ;
+ atcol1[i] = flags & NOLF ? 0 : 1 ;
+ if ( ! ( flags & NOFLSH ) ) fflush ( logfile[i] ) ;
+-
+ }
+
+ }
+
+- va_end ( ap ) ;
+-
+ return err ;
+ }
+