summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2004-05-08 17:18:12 +0000
committerSteve Arnold <nerdboy@gentoo.org>2004-05-08 17:18:12 +0000
commit262d72c4f6719a0d91b0b149144f88cea049baee (patch)
tree5945571fd567b1151a2afda9695c53e22f0d0cf1 /net-misc/hylafax
parentAdded to ~ppc (Manifest recommit) (diff)
downloadgentoo-2-262d72c4f6719a0d91b0b149144f88cea049baee.tar.gz
gentoo-2-262d72c4f6719a0d91b0b149144f88cea049baee.tar.bz2
gentoo-2-262d72c4f6719a0d91b0b149144f88cea049baee.zip
added rdepend for metamail to fix bug 50143
Diffstat (limited to 'net-misc/hylafax')
-rw-r--r--net-misc/hylafax/ChangeLog7
-rw-r--r--net-misc/hylafax/Manifest4
-rw-r--r--net-misc/hylafax/files/digest-hylafax-4.1.8-r31
-rw-r--r--net-misc/hylafax/hylafax-4.1.8-r3.ebuild104
4 files changed, 114 insertions, 2 deletions
diff --git a/net-misc/hylafax/ChangeLog b/net-misc/hylafax/ChangeLog
index ffe65f463e7b..5263535a95b0 100644
--- a/net-misc/hylafax/ChangeLog
+++ b/net-misc/hylafax/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/hylafax
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/ChangeLog,v 1.30 2004/04/26 08:28:38 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/ChangeLog,v 1.31 2004/05/08 17:18:12 nerdboy Exp $
+
+*hylafax-4.1.8-r3 (06 May 2004)
+
+ 06 May 2004; Steve Arnold <nerdboy@gentoo.org> hylafax-4.1.8-r3.ebuild:
+ added metamail depend, left it x86 since -r2 was heavily exercised
26 Apr 2004; Steve Arnold <nerdboy@gentoo.org> hylafax-4.1.8-r2.ebuild:
put back ~sparc (sorry, got carried away there)
diff --git a/net-misc/hylafax/Manifest b/net-misc/hylafax/Manifest
index 065eef3d6774..01fe918aa402 100644
--- a/net-misc/hylafax/Manifest
+++ b/net-misc/hylafax/Manifest
@@ -1,7 +1,8 @@
-MD5 a442e1d0bf9788f37e666ef8c1185581 ChangeLog 6453
+MD5 833c41f0b920260c36708ec6d4502a45 ChangeLog 6630
MD5 d49225cc3a77e40502a483638963692d hylafax-4.1.8-r1.ebuild 2875
MD5 d82acf1bcf0f7f9e181d6a2821292f2e metadata.xml 435
MD5 240524b633946e0e0aaf530fc6ecf121 hylafax-4.1.8-r2.ebuild 3004
+MD5 830f32c354f22120d95710ed50e6e3fa hylafax-4.1.8-r3.ebuild 3023
MD5 70d3cff20cc103d931a254e1f878d2e6 hylafax-4.1.8.ebuild 2204
MD5 44bdb0490811a12b11a1bb69433ea7a4 files/hylafax 3765
MD5 5243f5e3321151d074643f652133fdfd files/digest-hylafax-4.1.8-r1 66
@@ -9,3 +10,4 @@ MD5 ad3b0e7082e6e71ee6ba940ce1b6b071 files/hylafax-4.1.8-gcc-version.patch 520
MD5 5243f5e3321151d074643f652133fdfd files/digest-hylafax-4.1.8-r2 66
MD5 5f2f2e3fe04414f953d4010d32261318 files/hylafax-4.1.8-fPIC.patch 2086
MD5 5243f5e3321151d074643f652133fdfd files/digest-hylafax-4.1.8 66
+MD5 5243f5e3321151d074643f652133fdfd files/digest-hylafax-4.1.8-r3 66
diff --git a/net-misc/hylafax/files/digest-hylafax-4.1.8-r3 b/net-misc/hylafax/files/digest-hylafax-4.1.8-r3
new file mode 100644
index 000000000000..6a11a8f26ec5
--- /dev/null
+++ b/net-misc/hylafax/files/digest-hylafax-4.1.8-r3
@@ -0,0 +1 @@
+MD5 beaf55ad7935e3bcaa53a5ac093f61a8 hylafax-4.1.8.tar.gz 1285536
diff --git a/net-misc/hylafax/hylafax-4.1.8-r3.ebuild b/net-misc/hylafax/hylafax-4.1.8-r3.ebuild
new file mode 100644
index 000000000000..1dfda3288aca
--- /dev/null
+++ b/net-misc/hylafax/hylafax-4.1.8-r3.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/hylafax-4.1.8-r3.ebuild,v 1.1 2004/05/08 17:18:12 nerdboy Exp $
+
+# This was originally contributed by Stephane Loeuillet, via
+# Gentoo bug: http://bugs.gentoo.org/show_bug.cgi?id=28574
+# Nice job, and thanks :)
+# Now with autoreconf for new gcc, and a new gentoo init script.
+
+inherit eutils
+
+IUSE="jpeg"
+
+DESCRIPTION="Client-server fax package for class 1 and 2 fax modems."
+HOMEPAGE="http://www.hylafax.org"
+SRC_URI="ftp://ftp.hylafax.org/source/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="hylafax"
+KEYWORDS="x86 ~sparc ~hppa ~alpha ~amd64"
+
+DEPEND="net-dialup/mgetty
+ >=sys-libs/zlib-1.1.4
+ virtual/ghostscript
+ >=media-libs/tiff-3.5.5
+ jpeg? ( media-libs/jpeg )
+ sys-apps/gawk"
+
+RDEPEND="${DEPEND}
+ net-mail/metamail"
+
+src_compile() {
+ epatch ${FILESDIR}/${P}-gcc-version.patch
+ case ${ARCH} in
+ "alpha"|"amd64")
+ epatch ${FILESDIR}/${P}-fPIC.patch
+ ;;
+ esac
+ # no 'econf' here because does not support standard --prefix option (prehistoric autoconf v1.92 used !!!)
+ autoreconf -f
+ ./configure \
+ --with-DIR_BIN=/usr/bin \
+ --with-DIR_SBIN=/usr/sbin \
+ --with-DIR_LIB=/usr/lib \
+ --with-DIR_LIBEXEC=/usr/sbin \
+ --with-DIR_LIBDATA=/usr/lib/fax \
+ --with-DIR_LOCKS=/var/lock \
+ --with-DIR_MAN=/usr/share/man \
+ --with-DIR_SPOOL=/var/spool/fax \
+ --with-AFM=no \
+ --with-AWK=/usr/bin/gawk \
+ --with-PATH_VGETTY=/sbin/vgetty \
+ --with-PATH_GETTY=/sbin/agetty \
+ --with-HTML=no \
+ --with-PS=auto \
+ --with-PATH_GSRIP=/usr/bin/gs \
+ --with-PATH_DPSRIP=/var/spool/fax/bin/ps2fax \
+ --with-PATH_IMPRIP=/usr/share/fax/psrip \
+ --with-SYSVINIT=/etc/init.d \
+ --with-INTERACTIVE=no \
+ --with-LIBTIFF="-ltiff -ljpeg -lz" \
+ --with-OPTIMIZER="${CFLAGS}" || die
+ # no 'emake' for the same reason (might use an old automake version)
+ make || die
+}
+
+src_install() {
+
+ dodir /usr/{bin,sbin} /usr/lib/fax /usr/share/man \
+ /var/spool/fax/{archive,client,pollq,recvq,tmp}
+ chown -R uucp:uucp ${D}/var/spool/fax
+
+ make \
+ BIN=${D}/usr/bin \
+ SBIN=${D}/usr/sbin \
+ LIBDIR=${D}/usr/lib \
+ LIB=${D}/usr/lib \
+ LIBEXEC=${D}/usr/sbin \
+ LIBDATA=${D}/usr/lib/fax \
+ MAN=${D}/usr/share/man \
+ SPOOL=${D}/var/spool/fax \
+ install || die
+
+ keepdir /var/spool/fax/{archive,client,pollq,recvq,tmp}
+ keepdir /var/spool/fax/{status,sendq,recvq,log,info,doneq,docq,dev}
+
+ insinto /etc/init.d
+ insopts -m 755
+ doins ${FILESDIR}/hylafax
+
+ dodoc COPYRIGHT README TODO VERSION
+
+ dohtml -r html/
+ keepdir /usr/share/doc/${P}
+}
+
+pkg_postinst() {
+ ewarn "Proper fax2tiff support now requires libtiff 3.5.5 until there"
+ ewarn "is an upstream fix for bug #48077. You must use this version"
+ ewarn "of fax2tiff if you need conversion of G3 files, however, you"
+ ewarn "you must still build hylafax against tiff-3.5.7-r1 or better."
+ ewarn "I repeat: do not try to build hylafax or anything else against"
+ ewarn "tiff-3.5.5 because it won't work. You've been warned."
+}