# 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.40 2004/10/24 05:50:07 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/ChangeLog,v 1.41 2004/10/25 22:07:11 nerdboy Exp $
+
+ 25 Oct 2004; Steve Arnold <nerdboy@gentoo.org> -hylafax-4.1.8-r1.ebuild,
+ -hylafax-4.1.8-r2.ebuild, -hylafax-4.1.8-r3.ebuild, -hylafax-4.1.8.ebuild,
+ -hylafax-4.2.0.ebuild, -hylafax-4.2.0_rc2.ebuild:
+ removed out-dated ebuilds
*hylafax-4.2.0-r1 (23 Oct 2004)
-MD5 193e3e48322068c03e1d41b53f9d6a71 ChangeLog 8028
-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 993dbda50bbe5694c4b9e4f4916b6ad8 hylafax-4.1.8.ebuild 2176
+MD5 02d00c335e3a9324ba477d73bf5861e0 ChangeLog 8261
MD5 d82acf1bcf0f7f9e181d6a2821292f2e metadata.xml 435
MD5 93b89855f1349b94b334cbe94ceafd0f hylafax-4.1.8-r4.ebuild 3187
-MD5 e1c09d4ae9f16afec0050de46d762254 hylafax-4.2.0_rc2.ebuild 3518
-MD5 403a6aa03ec22b618e6d7efb78aa4893 hylafax-4.2.0.ebuild 3564
MD5 d0badb69f937593c9fb6dbec1bcb4269 hylafax-4.2.0-r1.ebuild 3470
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 bc084d075b601d42fbd417b97a45f1b2 files/hylafax 3757
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
MD5 fa83948864d83f34f54ce35f26b38ed6 files/99hylafax-4.2 75
MD5 491e78765b433d7c11146120cf7e40f8 files/hylafax-4.2 3759
-MD5 56c8a42db89b1c225f1fd074ae02050e files/digest-hylafax-4.2.0_rc2 69
MD5 6b124a5aade1c4eabe5fdde7a21e0689 files/hylafax-4.2.0-dso.patch 884
MD5 cfcafeadd916b8a9103b9b9110887916 files/hylafax-4.2.0-faxcron_uid.patch 527
-MD5 61b6d16148a84723c2996b519a57d498 files/digest-hylafax-4.2.0 66
MD5 6fd09a3cd0a1657591fc6c5c076cd462 files/hylafax-4.2.0-tiff_version.patch 1011
MD5 61b6d16148a84723c2996b519a57d498 files/digest-hylafax-4.2.0-r1 66
+++ /dev/null
-MD5 beaf55ad7935e3bcaa53a5ac093f61a8 hylafax-4.1.8.tar.gz 1285536
+++ /dev/null
-MD5 beaf55ad7935e3bcaa53a5ac093f61a8 hylafax-4.1.8.tar.gz 1285536
+++ /dev/null
-MD5 beaf55ad7935e3bcaa53a5ac093f61a8 hylafax-4.1.8.tar.gz 1285536
+++ /dev/null
-MD5 beaf55ad7935e3bcaa53a5ac093f61a8 hylafax-4.1.8.tar.gz 1285536
+++ /dev/null
-MD5 463726ed21cfdac730c5d6915e0840cf hylafax-4.2.0.tar.gz 1351870
+++ /dev/null
-MD5 8cb199c3bf95e71f4eee28665407f6ec hylafax-4.2.0rc2.tar.gz 1348806
+++ /dev/null
-# 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-r1.ebuild,v 1.7 2004/06/24 23:49:09 agriffis Exp $
-
-# This is basically unchanged from the one supplied by Stephane Loeuillet
-# to 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.
-
-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}"
-
-src_compile() {
- # 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."
-}
+++ /dev/null
-# 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-r2.ebuild,v 1.6 2004/06/24 23:49:09 agriffis 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}"
-
-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."
-}
+++ /dev/null
-# 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-r3.ebuild,v 1.3 2004/06/24 23:49:09 agriffis 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"
-
-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."
-}
+++ /dev/null
-# 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.ebuild,v 1.8 2004/07/15 02:53:55 agriffis Exp $
-
-# This is basically unchanged from the one supplied by Stephane Loeuillet
-# to 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.
-
-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}"
-
-src_compile() {
- # 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-PATH_DPSRIP=/var/spool/fax/bin/ps2fax \
- --with-PATH_IMPRIP=/usr/share/fax/psrip \
- --with-SYSVINIT=/etc/init.d \
- --with-INTERACTIVE=no \
- --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
-
- insinto /etc/init.d
- insopts -m 755
- doins ${FILESDIR}/hylafax
-
- dodoc COPYRIGHT README TODO VERSION
-
- dohtml -r html/
-}
+++ /dev/null
-# 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.2.0.ebuild,v 1.1 2004/08/30 00:03:32 nerdboy Exp $
-
-inherit eutils
-
-IUSE="faxonly jpeg pam"
-
-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="!faxonly? ( net-dialup/mgetty )
- >=sys-libs/zlib-1.1.4
- virtual/ghostscript
- >=media-libs/tiff-3.5.5
- jpeg? ( media-libs/jpeg )
- sys-apps/gawk
- pam? ( sys-libs/pam )"
-
-RDEPEND="${DEPEND}
- app-arch/sharutils"
-
-export CONFIG_PROTECT="${CONFIG_PROTECT} /var/spool/fax/etc"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-dso.patch
- epatch ${FILESDIR}/${P}-faxcron_uid.patch
-}
-
-src_compile() {
- local my_conf="
- --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-DIR_HTML=/usr/share/doc/${P}/html
- --with-DIR_CGI=${WORKDIR}
- --with-PATH_EGETTY=/bin/false
- --with-HTML=yes
- --with-PATH_DPSRIP=/var/spool/fax/bin/ps2fax
- --with-PATH_IMPRIP=\"\"
- --with-SYSVINIT=no
- --with-LIBTIFF=\"-ltiff -ljpeg -lz\"
- --with-OPTIMIZER=\"${CFLAGS}\""
-
- if [ -h /etc/localtime ]; then
- local continent=$(readlink /etc/localtime | cut -d / -f 5)
- if [ "${continent}" == "Europe" ]; then
- my_conf="${my_conf} --with-PAGESIZE=A4"
- fi
- fi
-
- use faxonly && my_conf="${my_conf} --with-PATH_GETTY=/bin/false
- --with-PATH_VGETTY=/bin/false"
- #--enable-pam isn't valid
- use pam || my_conf="${my_conf} $(use_enable pam)"
-
- # eval required for quoting in ${my_conf} to work properly, better way?
- eval ./configure --nointeractive ${my_conf} || die "./configure failed"
-
- emake -j1 || die "emake failed"
-}
-
-src_install() {
- dodir /usr/{bin,sbin} /usr/lib/fax /usr/share/man /var/spool /var/spool/recvq
- dodir /usr/share/doc/${P}/html
-
- 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 \
- HTMLDIR=${D}/usr/share/doc/${P}/html \
- install || die "make install failed"
-
- keepdir /var/spool/fax/{archive,client,etc,pollq,recvq,tmp}
- keepdir /var/spool/fax/{status,sendq,log,info,doneq,docq,dev}
-
- einfo "Adding env.d entry for Hylafax"
- insinto /etc/env.d
- newins ${FILESDIR}/99hylafax-4.2 99hylafax
-
- einfo "Adding init.d entry for Hylafax"
- insinto /etc/init.d
- insopts -m 755
- newins ${FILESDIR}/hylafax-4.2 hylafax
-
- dodoc COPYRIGHT README TODO VERSION
-}
-
-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 "must still build hylafax against tiff-3.5.7-r1 or better."
- echo
- 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."
- echo
- echo
- einfo "Hylafax now depends on sharutils instead of metamail for mime"
- einfo "handling, however, you can continue to use the latter if you"
- einfo "like. As always, file a bug if you have problems."
- echo
- einfo "Now run faxsetup and (if necessary) faxaddmodem."
- echo
-}
+++ /dev/null
-# 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.2.0_rc2.ebuild,v 1.1 2004/08/10 04:15:54 nerdboy Exp $
-
-# New modified 4.2 ebuild contributed by stan <stan@saticed.me.uk>
-# Gentoo bug: http://bugs.gentoo.org/show_bug.cgi?id=59766
-# Nice job, and thanks :)
-
-inherit eutils
-
-IUSE="faxonly jpeg pam"
-
-DESCRIPTION="Client-server fax package for class 1 and 2 fax modems."
-HOMEPAGE="http://www.hylafax.org"
-SRC_URI="ftp://ftp.hylafax.org/source/BETA/${P/_/}.tar.gz"
-
-SLOT="0"
-LICENSE="hylafax"
-KEYWORDS="~x86 ~sparc ~hppa ~alpha ~amd64 ~ppc"
-
-DEPEND="!faxonly? ( net-dialup/mgetty )
- >=sys-libs/zlib-1.1.4
- virtual/ghostscript
- >=media-libs/tiff-3.5.5
- jpeg? ( media-libs/jpeg )
- sys-apps/gawk
- pam? ( sys-libs/pam )"
-
-RDEPEND="${DEPEND}
- net-mail/metamail"
-
-export CONFIG_PROTECT="${CONFIG_PROTECT} /var/spool/fax/etc"
-
-S=${WORKDIR}/${P/_/}
-
-src_unpack() {
- unpack ${A}
- echo "\${OBJECTS}: GC++OPTS+=-fpic" >> ${S}/util/Makefile.LINUXdso
- echo "\${SERVER_OBJS}: GC++OPTS+=-fpic" >> ${S}/faxd/Makefile.LINUXdso
- echo "\${MODEM_OBJS}: GC++OPTS+=-fpic" >> ${S}/faxd/Makefile.LINUXdso
-}
-
-src_compile() {
- local my_conf="
- --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-DIR_HTML=/usr/share/doc/${P}/html
- --with-DIR_CGI=${WORKDIR}
- --with-PATH_EGETTY=/bin/false
- --with-HTML=yes
- --with-PATH_DPSRIP=/var/spool/fax/bin/ps2fax
- --with-PATH_IMPRIP=\"\"
- --with-SYSVINIT=no
- --with-LIBTIFF=\"-ltiff -ljpeg -lz\"
- --with-OPTIMIZER=\"${CFLAGS}\""
-
- if [ -h /etc/localtime ]; then
- local continent=$(readlink /etc/localtime | cut -d / -f 5)
- if [ "${continent}" == "Europe" ]; then
- my_conf="${my_conf} --with-PAGESIZE=A4"
- fi
- fi
-
- use faxonly && my_conf="${my_conf} --with-PATH_GETTY=/bin/false
- --with-PATH_VGETTY=/bin/false"
- #--enable-pam isn't valid
- use pam || my_conf="${my_conf} $(use_enable pam)"
-
- # no 'econf' here because custom configure script used
- eval ./configure --nointeractive ${my_conf} || die "./configure failed"
-
- emake -j1 || die "emake failed"
-}
-
-src_install() {
- dodir /usr/{bin,sbin} /usr/lib/fax /usr/share/man /var/spool
- dodir /usr/share/doc/${P}/html
-
- 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 \
- HTMLDIR=${D}/usr/share/doc/${P}/html \
- install || die "make install failed"
-
- keepdir /var/spool/fax/{archive,client,pollq,tmp}
-
- einfo "Adding env.d entry for Hylafax"
- insinto /etc/env.d
- newins ${FILESDIR}/99hylafax-4.2 hylafax
-
- einfo "Adding init.d entry for Hylafax"
- insinto /etc/init.d
- insopts -m 755
- newins ${FILESDIR}/hylafax-4.2 hylafax
-
- dodoc COPYRIGHT README TODO VERSION
-}
-
-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."
- echo
- einfo "Now run faxsetup"
- echo
-}