summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2004-07-05 03:04:05 +0000
committerSteve Arnold <nerdboy@gentoo.org>2004-07-05 03:04:05 +0000
commit0210a2513d560e956764e153c9f46d73878c42e0 (patch)
treee57a78948dac29b508fa4a4ffa75fc363f2d5ca0 /net-misc/hylafax
parentinitial commit (Manifest recommit) (diff)
downloadgentoo-2-0210a2513d560e956764e153c9f46d73878c42e0.tar.gz
gentoo-2-0210a2513d560e956764e153c9f46d73878c42e0.tar.bz2
gentoo-2-0210a2513d560e956764e153c9f46d73878c42e0.zip
updated to fix bug #55962
Diffstat (limited to 'net-misc/hylafax')
-rw-r--r--net-misc/hylafax/ChangeLog8
-rw-r--r--net-misc/hylafax/Manifest13
-rw-r--r--net-misc/hylafax/files/99hylafax2
-rw-r--r--net-misc/hylafax/files/digest-hylafax-4.1.8-r41
-rw-r--r--net-misc/hylafax/files/hylafax4
-rw-r--r--net-misc/hylafax/hylafax-4.1.8-r4.ebuild112
6 files changed, 132 insertions, 8 deletions
diff --git a/net-misc/hylafax/ChangeLog b/net-misc/hylafax/ChangeLog
index ff9138037374..49e1566e98a1 100644
--- a/net-misc/hylafax/ChangeLog
+++ b/net-misc/hylafax/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/hylafax
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/ChangeLog,v 1.33 2004/06/24 23:49:09 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/ChangeLog,v 1.34 2004/07/05 03:04:05 nerdboy Exp $
+
+*hylafax-4.1.8-r4 (04 Jul 2004)
+
+ 04 Jul 2004; Steve Arnold <nerdboy@gentoo.org> +files/99hylafax,
+ +hylafax-4.1.8-r4.ebuild:
+ added updated ebuild with env.d entry to fix bug #55962
09 May 2004; David Holm <dholm@gentoo.org> hylafax-4.1.8-r3.ebuild:
Added to ~ppc.
diff --git a/net-misc/hylafax/Manifest b/net-misc/hylafax/Manifest
index d95938bd70db..cd71f03bcf3a 100644
--- a/net-misc/hylafax/Manifest
+++ b/net-misc/hylafax/Manifest
@@ -1,13 +1,16 @@
-MD5 d6924a605e66bd7e7694b715aa8afb79 hylafax-4.1.8-r3.ebuild 3020
+MD5 185b19030ac9d711269c43a6b691a610 ChangeLog 6897
+MD5 5bc6512c151e6dfd52edef7a54ae2ce5 hylafax-4.1.8-r1.ebuild 2867
MD5 a9f1947fcf266c9a40835a277a8fff44 hylafax-4.1.8-r2.ebuild 2996
+MD5 d6924a605e66bd7e7694b715aa8afb79 hylafax-4.1.8-r3.ebuild 3020
MD5 bcf318d9f52dfd35fb6e2a685ec5a36e hylafax-4.1.8.ebuild 2194
-MD5 6feb9e9bff7d519b930d503a79ca8a8f ChangeLog 6710
MD5 d82acf1bcf0f7f9e181d6a2821292f2e metadata.xml 435
-MD5 5bc6512c151e6dfd52edef7a54ae2ce5 hylafax-4.1.8-r1.ebuild 2867
+MD5 c53880ca732925383f6573b577861d76 hylafax-4.1.8-r4.ebuild 3136
+MD5 46bbae3c77d5651a20e606eb6228c159 files/99hylafax 62
+MD5 5243f5e3321151d074643f652133fdfd files/digest-hylafax-4.1.8 66
MD5 5243f5e3321151d074643f652133fdfd files/digest-hylafax-4.1.8-r1 66
MD5 5243f5e3321151d074643f652133fdfd files/digest-hylafax-4.1.8-r2 66
MD5 5243f5e3321151d074643f652133fdfd files/digest-hylafax-4.1.8-r3 66
-MD5 5243f5e3321151d074643f652133fdfd files/digest-hylafax-4.1.8 66
-MD5 379ddcfa7e72aaed7f30281cbb70bd8b files/hylafax 3764
+MD5 bc37b12edf87bf4f6ba2e778009631d3 files/hylafax 3764
MD5 5f2f2e3fe04414f953d4010d32261318 files/hylafax-4.1.8-fPIC.patch 2086
MD5 ad3b0e7082e6e71ee6ba940ce1b6b071 files/hylafax-4.1.8-gcc-version.patch 520
+MD5 5243f5e3321151d074643f652133fdfd files/digest-hylafax-4.1.8-r4 66
diff --git a/net-misc/hylafax/files/99hylafax b/net-misc/hylafax/files/99hylafax
new file mode 100644
index 000000000000..abe153d011f5
--- /dev/null
+++ b/net-misc/hylafax/files/99hylafax
@@ -0,0 +1,2 @@
+PATH="/var/spool/fax/bin"
+CONFIG_PROTECT="/var/spool/fax/etc"
diff --git a/net-misc/hylafax/files/digest-hylafax-4.1.8-r4 b/net-misc/hylafax/files/digest-hylafax-4.1.8-r4
new file mode 100644
index 000000000000..6a11a8f26ec5
--- /dev/null
+++ b/net-misc/hylafax/files/digest-hylafax-4.1.8-r4
@@ -0,0 +1 @@
+MD5 beaf55ad7935e3bcaa53a5ac093f61a8 hylafax-4.1.8.tar.gz 1285536
diff --git a/net-misc/hylafax/files/hylafax b/net-misc/hylafax/files/hylafax
index 080f4355880e..55cdb0baadd1 100644
--- a/net-misc/hylafax/files/hylafax
+++ b/net-misc/hylafax/files/hylafax
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# 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/files/hylafax,v 1.2 2003/11/01 05:10:09 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/files/hylafax,v 1.3 2004/07/05 03:04:05 nerdboy Exp $
depend() {
need net
diff --git a/net-misc/hylafax/hylafax-4.1.8-r4.ebuild b/net-misc/hylafax/hylafax-4.1.8-r4.ebuild
new file mode 100644
index 000000000000..e56d1c90197f
--- /dev/null
+++ b/net-misc/hylafax/hylafax-4.1.8-r4.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/hylafax-4.1.8-r4.ebuild,v 1.1 2004/07/05 03:04:05 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 ~ppc"
+
+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"
+
+export CONFIG_PROTECT="${CONFIG_PROTECT} /var/spool/fax/etc"
+
+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,etc,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
+
+ einfo "Adding env.d entry for Hylafax"
+ dodir /etc/env.d
+ insinto /etc/env.d
+ doins ${FILESDIR}/99hylafax
+
+ keepdir /var/spool/fax/{archive,client,etc,pollq,recvq,tmp}
+ keepdir /var/spool/fax/{status,sendq,recvq,log,info,doneq,docq,dev}
+
+ einfo "Adding init.d entry for Hylafax"
+ 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."
+}