summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2010-05-23 17:47:48 +0000
committerSteve Arnold <nerdboy@gentoo.org>2010-05-23 17:47:48 +0000
commitcac42822752901115c0fe2f88818a4edc35a5cc8 (patch)
tree2177109877b98b238e1828c6101b67c0a2d0c580 /net-misc/hylafax
parentstable amd64, bug 306605 (diff)
downloadhistorical-cac42822752901115c0fe2f88818a4edc35a5cc8.tar.gz
historical-cac42822752901115c0fe2f88818a4edc35a5cc8.tar.bz2
historical-cac42822752901115c0fe2f88818a4edc35a5cc8.zip
Forcing tiff-3 for most recent (stable) versions per bug 319715.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'net-misc/hylafax')
-rw-r--r--net-misc/hylafax/ChangeLog10
-rw-r--r--net-misc/hylafax/Manifest16
-rw-r--r--net-misc/hylafax/hylafax-4.2.5.ebuild149
-rw-r--r--net-misc/hylafax/hylafax-4.3.0.ebuild153
-rw-r--r--net-misc/hylafax/hylafax-4.3.1.ebuild183
-rw-r--r--net-misc/hylafax/hylafax-4.3.7.ebuild183
-rw-r--r--net-misc/hylafax/hylafax-4.4.4-r2.ebuild6
-rw-r--r--net-misc/hylafax/hylafax-6.0.3.ebuild6
-rw-r--r--net-misc/hylafax/metadata.xml1
9 files changed, 18 insertions, 689 deletions
diff --git a/net-misc/hylafax/ChangeLog b/net-misc/hylafax/ChangeLog
index f9a47170bbd5..1a0151017a9b 100644
--- a/net-misc/hylafax/ChangeLog
+++ b/net-misc/hylafax/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/hylafax
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/ChangeLog,v 1.102 2009/12/29 17:43:20 armin76 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/ChangeLog,v 1.103 2010/05/23 17:47:48 nerdboy Exp $
+
+ 23 May 2010; Steve Arnold <nerdboy@gentoo.org> hylafax-4.4.4-r2.ebuild,
+ hylafax-6.0.3.ebuild, -hylafax-4.2.5.ebuild, -hylafax-4.3.0.ebuild,
+ -hylafax-4.3.1.ebuild, -hylafax-4.3.7.ebuild:
+ Forcing tiff-3 for most recent (stable) versions per bug 319715. Also
+ cleaned up stale versions.
29 Dec 2009; Raúl Porcel <armin76@gentoo.org> hylafax-6.0.3.ebuild:
sparc stable wrt #290525
diff --git a/net-misc/hylafax/Manifest b/net-misc/hylafax/Manifest
index aaf51c5ecc8c..40c4b39069b3 100644
--- a/net-misc/hylafax/Manifest
+++ b/net-misc/hylafax/Manifest
@@ -7,17 +7,9 @@ AUX hylafax.conf 573 RMD160 095aabd5a883aef16f0b130d6a8ff5067fb89f70 SHA1 23502c
AUX hylafax.cron 90 RMD160 f878c323b324ba0300e9fce3b503f6b6c5aae23a SHA1 433b6214047b8d6af2e9f4896abd73ecab3c1d9c SHA256 6cf311f1c43cfc69e3f9de459fb05d660738269dbcc937c699eff44a5e5ab343
AUX hylafax.init 3139 RMD160 ea6a2b0f6a203477f3081bec5be0dfb10b722d5b SHA1 8407f7a9088fdbbaf31f551d12041d65282be9d8 SHA256 2bd5f1b523a216eca5570e8786b410a158bcf95d35030e45c21eb3128853496e
AUX hylafax.modules 39 RMD160 77d909fe5f26df2613dcc8a13b3b8091cecccf84 SHA1 21a05b08d720df828a7116ee26ddce95545e747a SHA256 4910721097093285757ea09cc9bd31cd35ea4ec58ef58a041c50a25f8cfc7a67
-DIST hylafax-4.2.5.tar.gz 1450958 RMD160 aef5e7a8ff32bafa43b5efc431b9fd8c334ddb3a SHA1 b3bfd492dcb85e8aa1ddff9e6dcec3c31e00fccc SHA256 0a5f7c52ee377fed60281d97681f50ae23062348e139f7fcc215957df9e69eb7
-DIST hylafax-4.3.0.tar.gz 1468136 RMD160 29c62721e4895848b325f4f3a7b7e7782e275aa8 SHA1 cf0634c410996be1bf2fd34d83ad2dba45d69138 SHA256 a50512bfe6ae60573084dadfb5a629de78db30d19ac59ad6750bd621e138817c
-DIST hylafax-4.3.1.tar.gz 1498444 RMD160 1a29d43a05793ec4185c96ca16698268ae3f7c9b SHA1 9b42872912f2b75949423b76ab5f1b5e2caef869 SHA256 b777c0d8f1f858f3c86f91f9ae4fde9246646ac9e753154b969cb7c3a49947ab
-DIST hylafax-4.3.7.tar.gz 1469003 RMD160 ce86b6caf25c2d034bc9568f3350dfa34e737d7b SHA1 9a337b31f0aa12373e4150d601a8d6af7dd3bcc3 SHA256 4dd699aa90de45bdb2ac4e1c0b1666b9dc6bb8c234b1415a0c30e1beb52c82f9
DIST hylafax-4.4.4.tar.gz 1188551 RMD160 598258ad6cbca5344efb9f3fa0dcc29a43ae7c4b SHA1 6a866765e48c4c851b4fdc45c7145d0bf18b2143 SHA256 6c059a39efea9b5d8d24004dc4775ae114026813ea3b6ca4e377d4f29c8eb569
DIST hylafax-6.0.3.tar.gz 1297582 RMD160 1b9efedf78f1eba6dd2baa8e596c94978e0c6841 SHA1 ae1e7bc1f687aa23f45bb987d34c8100e683b42e SHA256 ddfdefbdc41da9d5b36c909a59df73750a61fa7e8940746cf6a277d1318e1f12
-EBUILD hylafax-4.2.5.ebuild 4362 RMD160 fcfe666819178e55b31ace0fe1db2372aab466a5 SHA1 ce5df6456b39d9d986881c2c77012b5ae7019c97 SHA256 82313a08d06f936d203af236e7e9a4d456b756d4287f536ce37f92d51365107d
-EBUILD hylafax-4.3.0.ebuild 4574 RMD160 39a44bdee9c8e0e24a6f2c2b5de4271e24ab07e4 SHA1 76c5c42054e36392f9f6e58e93e4ed6ab19914d3 SHA256 9bb92f3cc86093c90250bba6f822cea1e478a9375805dbd8334b7666bcba4962
-EBUILD hylafax-4.3.1.ebuild 5586 RMD160 7c3cd04d4edff9629635c0baa15a35b3512a4fe8 SHA1 452e9b77eb75108c84c748266e73d1d40b426516 SHA256 5376b3fd20defc0a11aa41bd1465189069b8f4d66b1b0fae37cfdae5f3f84307
-EBUILD hylafax-4.3.7.ebuild 5576 RMD160 0fb51c6a6aa53b70d3612aef9a1c594db2a56ce7 SHA1 ae3d88b1e55307e3ca7830a9c038e554c95f696c SHA256 b6bb7b6f2265af7c23368c2be648852ec5cac125480beadc416ca95366334643
-EBUILD hylafax-4.4.4-r2.ebuild 5166 RMD160 9cf50e3d4b7400f7a798db1890bdeb37f5ad2b6a SHA1 683c1f6847fc7e168776f6ca7f9ab663262349dd SHA256 bc8d10a944ccad6a2650b6b7024c0fe0715b78ff92a70f014d2ac79a060d7545
-EBUILD hylafax-6.0.3.ebuild 5403 RMD160 fa0c32a2cf6c3d0c96513ff6cc787f737cbbff31 SHA1 c375bfe12847d988fb6fc25d64fdda7feb83bf7d SHA256 7e2bde74af4a1709fb8f34d8fb988699924d93415e8aa401f7a2cc32acc1cf5d
-MISC ChangeLog 20796 RMD160 259b243eab8cee2b7bf2d24931cdd7b655331be2 SHA1 9f8ab1629d1b31c9522ece92fc434d2e1724666c SHA256 ef9ca64254d835f2753af39da0dbc59312df2c7ccc1932e6588fb4f8b491d2fe
-MISC metadata.xml 891 RMD160 41e3283571a1e5c8e5d1f1b70775112518e26919 SHA1 86f8807fce2cd0778417ee94f60d5cbae0b1d6b6 SHA256 31d4e6822bcf14a6664834df99d98a88f382b5fb3eddfd2995a2e06ba79f23a8
+EBUILD hylafax-4.4.4-r2.ebuild 5168 RMD160 cfc2fdb4f3b85705b9400229d34226162752cd40 SHA1 9766f09d90546ef121e5035c097ece4033d97a22 SHA256 7d469bc75f0cf4b381a2ebef392a70fb0e67c6237af1c4201452c91e63e0359e
+EBUILD hylafax-6.0.3.ebuild 5401 RMD160 0dfb38f6e56b333f0b229f75de2c3d866dd1e736 SHA1 6a614373e92904e68e09af9429869b3c4543956f SHA256 5cc64a168273ed7713463e43858b90a79e5da4775fe0f48c3b2a081388f6d8bb
+MISC ChangeLog 21090 RMD160 e2e0d3bee89ab31d60569f09a58a329086f37c76 SHA1 9a638143f6daa42dd006c7b5c5ad08707c6900f4 SHA256 f0b2dca96ce5187900bef0090e9cac69e6a7d66ab5837f41b655a1764a5491f3
+MISC metadata.xml 832 RMD160 818410cccc463884434c8d450655076e37c8b97b SHA1 054d36b578b67b2cf513c36e00ca19326da0b73a SHA256 92c1795c6d749ddd6fde13292cf8ec0426ed981a3ca93ba898cc801a75867eef
diff --git a/net-misc/hylafax/hylafax-4.2.5.ebuild b/net-misc/hylafax/hylafax-4.2.5.ebuild
deleted file mode 100644
index fb46357d824f..000000000000
--- a/net-misc/hylafax/hylafax-4.2.5.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/hylafax-4.2.5.ebuild,v 1.12 2009/12/26 17:41:57 pva Exp $
-
-inherit eutils multilib pam flag-o-matic toolchain-funcs
-
-IUSE="faxonly jpeg pam mgetty"
-
-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="amd64 hppa ppc sparc x86"
-
-DEPEND="!faxonly? ( net-dialup/mgetty )
- >=sys-libs/zlib-1.1.4
- app-text/ghostscript-gpl
- >=media-libs/tiff-3.7.0
- jpeg? ( media-libs/jpeg )
- media-libs/jbigkit
- sys-apps/gawk
- pam? ( virtual/pam )
- mgetty? ( net-dialup/mgetty )"
-
-RDEPEND="${DEPEND}
- media-libs/netpbm
- net-mail/metamail
- !net-dialup/sendpage"
-
-export CONFIG_PROTECT="${CONFIG_PROTECT} /var/spool/fax/etc"
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
- epatch "${FILESDIR}/${P}-tiff_version.patch"
-}
-
-src_compile() {
- if use mgetty; then
- if use faxonly; then
- eerror "You cannot set both faxonly and mgetty, \
- please remove one." && die "invalid use flags"
- fi
-# # proposed hylafax change for bug #195467
-# if ! built_with_use net-dialup/mgetty nofax; then
-# eerror "You need to rebuild the mgetty package with \
-# USE=nofax." && die "rebuild mgetty first"
-# fi
- fi
-
- # Hylafax doesn't play nice with gcc-3.4 and SSP (bug #74457)
- # so drop the flags until a better solution comes along
- [ $(gcc-major-version) -eq 3 ] && [ $(gcc-minor-version) -ge 4 ] \
- && filter-flags -fstack-protector -fstack-protector-all
-
- local my_conf="
- --with-DIR_BIN=/usr/bin
- --with-DIR_SBIN=/usr/sbin
- --with-DIR_LIB=/usr/$(get_libdir)
- --with-DIR_LIBEXEC=/usr/sbin
- --with-DIR_LIBDATA=/usr/$(get_libdir)/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-HTML=yes
- --with-PATH_DPSRIP=/var/spool/fax/bin/ps2fax
- --with-PATH_IMPRIP=\"\"
- --with-SYSVINIT=no
- --with-LIBTIFF=\"-ltiff -ljpeg -lz\"
- --with-OPTIMIZER=\"${CFLAGS}\"
- --with-DSO=auto"
-
- if use mgetty; then
- my_conf="${my_conf} \
- --with-PATH_GETTY=/sbin/mgetty \
- --with-PATH_EGETTY=/sbin/mgetty \
- --with-PATH_VGETTY=/usr/sbin/vgetty"
- else
- my_conf="${my_conf} \
- --with-PATH_EGETTY=/bin/false \
- --with-PATH_VGETTY=/bin/false"
- fi
-
- 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/$(get_libdir)/fax /usr/share/man /var/spool /var/spool/recvq
- fowners uucp:uucp /var/spool/fax
- fperms 0600 /var/spool/fax
- dodir /usr/share/doc/${P}/html /usr/$(get_libdir)
-
- make \
- BIN=${D}/usr/bin \
- SBIN=${D}/usr/sbin \
- LIBDIR=${D}/usr/$(get_libdir) \
- LIB=${D}/usr/$(get_libdir) \
- LIBEXEC=${D}/usr/sbin \
- LIBDATA=${D}/usr/$(get_libdir)/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"
- newenvd "${FILESDIR}/99hylafax-4.2" 99hylafax
-
- einfo "Adding init.d entry for Hylafax"
- newinitd "${FILESDIR}/hylafax-4.2" hylafax
-
- pamd_mimic_system hylafax auth account session
-
- dodoc COPYRIGHT README TODO VERSION
-}
-
-pkg_postinst() {
- ewarn "New Hylafax tiff support requires at least tiff-3.7.0 now,"
- ewarn "but hopefully this libtiff silliness is now fixed."
- ewarn "If you have trouble building this brittle C++ code,"
- ewarn "try disabling distcc and setting MAKEOPTS to -j1."
- echo
- einfo "Hylafax is back to depending on metamail for mime handling."
- echo
- einfo "Now run faxsetup and (if necessary) faxaddmodem."
- echo
-}
diff --git a/net-misc/hylafax/hylafax-4.3.0.ebuild b/net-misc/hylafax/hylafax-4.3.0.ebuild
deleted file mode 100644
index 5565811728c4..000000000000
--- a/net-misc/hylafax/hylafax-4.3.0.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/hylafax-4.3.0.ebuild,v 1.13 2009/12/26 17:41:57 pva Exp $
-
-inherit eutils multilib pam flag-o-matic toolchain-funcs
-
-IUSE="faxonly jbig pam mgetty html"
-
-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="amd64 hppa ppc sparc x86"
-
-DEPEND="!faxonly? ( net-dialup/mgetty )
- >=sys-libs/zlib-1.1.4
- app-text/ghostscript-gpl
- >=media-libs/tiff-3.8.2
- media-libs/jpeg
- jbig? ( media-libs/jbigkit )
- sys-apps/gawk
- pam? ( virtual/pam )
- mgetty? ( net-dialup/mgetty )"
-
-RDEPEND="${DEPEND}
- net-mail/metamail
- !net-dialup/sendpage"
-
-export CONFIG_PROTECT="${CONFIG_PROTECT} /var/spool/fax/etc /usr/lib/fax"
-
-src_compile() {
- if use faxonly; then
- if use mgetty; then
- eerror "You cannot set both faxonly and mgetty, please remove one." && die "invalid use flags"
- fi
- fi
- if use jbig; then
- einfo "Checking for tiff compiled with jbig support..."
- if built_with_use media-libs/tiff jbig; then
- einfo "Found jbig support; continuing..."
- else
- ewarn "Tiff (media-libs/tiff) must be compiled with jbig support."
- einfo "Please re-emerge tiff with the jbig USE flag or disable it."
- die "Tiff not merged with jbig USE flag"
- fi
- fi
-
- # Hylafax doesn't play nice with gcc-3.4 and SSP (bug #74457)
- # so drop the flags until a better solution comes along
- [ $(gcc-major-version) -eq 3 ] && [ $(gcc-minor-version) -ge 4 ] \
- && filter-flags -fstack-protector -fstack-protector-all
-
- epatch "${FILESDIR}/gentoo-gcc-version.patch" || die "epatch failed"
-
- local my_conf="
- --with-DIR_BIN=/usr/bin
- --with-DIR_SBIN=/usr/sbin
- --with-DIR_LIB=/usr/$(get_libdir)
- --with-DIR_LIBEXEC=/usr/sbin
- --with-DIR_LIBDATA=/usr/$(get_libdir)/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_DPSRIP=/var/spool/fax/bin/ps2fax
- --with-PATH_IMPRIP=\"\"
- --with-SYSVINIT=no
- --with-REGEX=yes
- --with-LIBTIFF=\"-ltiff -ljpeg -lz\"
- --with-OPTIMIZER=\"${CFLAGS}\"
- --with-DSO=auto"
-
- if use html; then
- my_conf="${my_conf} --with-HTML=yes"
- else
- my_conf="${my_conf} --with-HTML=no"
- fi
-
- if use mgetty; then
- my_conf="${my_conf} \
- --with-PATH_GETTY=/sbin/mgetty \
- --with-PATH_EGETTY=/sbin/mgetty \
- --with-PATH_VGETTY=/usr/sbin/vgetty"
- else
- my_conf="${my_conf} \
- --with-PATH_EGETTY=/bin/false \
- --with-PATH_VGETTY=/bin/false"
- fi
-
- 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/$(get_libdir)/fax /usr/share/man
- dodir /var/spool /var/spool/recvq
- fowners uucp:uucp /var/spool/fax
- fperms 0600 /var/spool/fax
- dodir /usr/share/doc/${P}/html
-
- make \
- BIN=${D}/usr/bin \
- SBIN=${D}/usr/sbin \
- LIBDIR=${D}/usr/$(get_libdir) \
- LIB=${D}/usr/$(get_libdir) \
- LIBEXEC=${D}/usr/sbin \
- LIBDATA=${D}/usr/$(get_libdir)/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"
- newenvd "${FILESDIR}/99hylafax-4.2" 99hylafax
-
- einfo "Adding init.d entry for Hylafax"
- newinitd "${FILESDIR}/hylafax-4.2" hylafax
-
- use pam && pamd_mimic_system hylafax auth account session
-
- dodoc CHANGES CONTRIBUTORS COPYRIGHT README TODO
-}
-
-pkg_postinst() {
- ewarn "Hylafax tiff support requires at least tiff-3.8.2 now, which"
- ewarn "is the latest stable version with all required updates."
- echo
- einfo "We're also back to depending on metamail for mime handling."
- einfo "See the docs and man pages for detailed configuration info."
- echo
- einfo "Now run faxsetup and (if necessary) faxaddmodem."
- echo
-}
diff --git a/net-misc/hylafax/hylafax-4.3.1.ebuild b/net-misc/hylafax/hylafax-4.3.1.ebuild
deleted file mode 100644
index be9aad785ac4..000000000000
--- a/net-misc/hylafax/hylafax-4.3.1.ebuild
+++ /dev/null
@@ -1,183 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/hylafax-4.3.1.ebuild,v 1.11 2009/12/26 17:41:57 pva Exp $
-
-inherit eutils multilib pam flag-o-matic toolchain-funcs
-
-IUSE="jbig pam mgetty html"
-
-DESCRIPTION="Enterprise 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 ~amd64 ~ppc"
-
-DEPEND=">=sys-libs/zlib-1.1.4
- app-text/ghostscript-gpl
- >=media-libs/tiff-3.8.2
- media-libs/jpeg
- jbig? ( media-libs/jbigkit )
- sys-apps/gawk
- pam? ( virtual/pam )
- mgetty? ( net-dialup/mgetty )"
-
-RDEPEND="${DEPEND}
- net-mail/metamail
- !net-dialup/sendpage"
-
-export CONFIG_PROTECT="${CONFIG_PROTECT} /var/spool/fax/etc /usr/lib/fax"
-
-pkg_setup() {
- if use mgetty; then
- if built_with_use net-dialup/mgetty fax; then
- eerror "net-dialup/mgetty must be installed without USE=fax"
- die "merge net-dialup/mgetty without USE=fax"
- fi
- fi
-
- if use jbig; then
- einfo "Checking for tiff compiled with jbig support..."
- if built_with_use media-libs/tiff jbig; then
- einfo "Found jbig support; continuing..."
- else
- ewarn "Tiff (media-libs/tiff) must be compiled with jbig support."
- einfo "Please re-emerge tiff with the jbig USE flag or disable it."
- die "Tiff not merged with jbig USE flag"
- fi
- fi
-}
-
-src_compile() {
- # gcc standard C++ header changes
- if [ $(gcc-major-version) -eq 4 ] && [ $(gcc-minor-version) -ge 3 ] ; then
- sed -i -e 's:"new.h":<new>:g' configure util/Types.h || die "sed failed"
- sed -i -e 's:"iostream.h":<iostream>\n using namespace std;:g' \
- configure || die "sed failed"
- fi
-
- # Hylafax doesn't play nice with gcc-3.4 and SSP (bug #74457)
- # so drop the flags until a better solution comes along
- [ $(gcc-major-version) -eq 3 ] && [ $(gcc-minor-version) -ge 4 ] \
- && filter-flags -fstack-protector -fstack-protector-all
-
- epatch "${FILESDIR}/gentoo-gcc-version.patch" || die "epatch failed"
-
- local my_conf="
- --with-DIR_BIN=/usr/bin
- --with-DIR_SBIN=/usr/sbin
- --with-DIR_LIB=/usr/$(get_libdir)
- --with-DIR_LIBEXEC=/usr/sbin
- --with-DIR_LIBDATA=/usr/$(get_libdir)/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_DPSRIP=/var/spool/fax/bin/ps2fax
- --with-PATH_IMPRIP=\"\"
- --with-SYSVINIT=no
- --with-REGEX=yes
- --with-LIBTIFF=\"-ltiff -ljpeg -lz\"
- --with-OPTIMIZER=\"${CFLAGS}\"
- --with-DSO=auto"
-
- if use html; then
- my_conf="${my_conf} --with-HTML=yes"
- else
- my_conf="${my_conf} --with-HTML=no"
- fi
-
- if use mgetty; then
- my_conf="${my_conf} \
- --with-PATH_GETTY=/sbin/mgetty \
- --with-PATH_EGETTY=/sbin/mgetty \
- --with-PATH_VGETTY=/usr/sbin/vgetty"
- else
- my_conf="${my_conf} \
- --with-PATH_GETTY=/bin/false \
- --with-PATH_EGETTY=/bin/false \
- --with-PATH_VGETTY=/bin/false"
- fi
-
- 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
-
- #--enable-pam isn't valid
- use pam || my_conf="${my_conf} $(use_enable pam)"
-
- myconf="CC=$(tc-getCC) CXX=$(tc-getCXX) ${my_conf}"
-
- # 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/$(get_libdir)/fax /usr/share/man
- dodir /var/spool /var/spool/recvq
- fowners uucp:uucp /var/spool/fax
- fperms 0600 /var/spool/fax
- dodir /usr/share/doc/${P}/html
-
- make \
- BIN=${D}/usr/bin \
- SBIN=${D}/usr/sbin \
- LIBDIR=${D}/usr/$(get_libdir) \
- LIB=${D}/usr/$(get_libdir) \
- LIBEXEC=${D}/usr/sbin \
- LIBDATA=${D}/usr/$(get_libdir)/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}
-
- dosed "s:hostname:hostname -f:g" \
- /var/spool/fax/bin/{faxrcvd,pollrcvd} || die "dosed failed"
-
- einfo "Adding env.d entry for Hylafax"
- newenvd "${FILESDIR}/99hylafax-4.2" 99hylafax
-
- einfo "Adding init.d entry for Hylafax"
- newinitd "${FILESDIR}/hylafax-4.2" hylafax
-
- use pam && pamd_mimic_system hylafax auth account session
-
- dodoc CHANGES CONTRIBUTORS COPYRIGHT README TODO
-}
-
-pkg_postinst() {
- elog
- elog "The faxonly USE flag has been removed; since Hylafax does not"
- elog "require mgetty, and certain fax files conflict, you must build"
- elog "mgetty without fax support if you wish to use them both. You"
- elog "may want to add both to package.use so any future updates are"
- elog "correctly built:"
- elog
- elog " net-dialup/mgetty -fax"
- elog " net-misc/hylafax [-mgetty|mgetty]"
- elog
- elog "There are additional files included in the hylafax/files dir."
- elog
- elog "Note 1: hylafax.cron is provided for vixie-cron users and"
- elog "should be placed in /etc/cron.d. Use as-is or adapt it to"
- elog "your system config."
- elog
- elog "Note 2: if you need to use hylafax with iptables, then you"
- elog "need to specify the port and use ip_conntrack_ftp as shown"
- elog "in the included example modules file."
- elog
- elog "See the docs and man pages for detailed configuration info."
- elog
- elog "Now run faxsetup and (if necessary) faxaddmodem."
- elog
-}
diff --git a/net-misc/hylafax/hylafax-4.3.7.ebuild b/net-misc/hylafax/hylafax-4.3.7.ebuild
deleted file mode 100644
index d8f5c027693a..000000000000
--- a/net-misc/hylafax/hylafax-4.3.7.ebuild
+++ /dev/null
@@ -1,183 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/hylafax-4.3.7.ebuild,v 1.3 2009/12/26 17:41:57 pva Exp $
-
-inherit eutils multilib pam flag-o-matic toolchain-funcs
-
-DESCRIPTION="Enterprise 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 ~amd64 ~ppc"
-
-IUSE="jbig pam mgetty html"
-
-DEPEND=">=sys-libs/zlib-1.1.4
- app-text/ghostscript-gpl
- >=media-libs/tiff-3.8.2
- media-libs/jpeg
- jbig? ( media-libs/jbigkit )
- sys-apps/gawk
- pam? ( virtual/pam )
- mgetty? ( net-dialup/mgetty )"
-
-RDEPEND="${DEPEND}
- net-mail/metamail
- !net-dialup/sendpage"
-
-export CONFIG_PROTECT="${CONFIG_PROTECT} /var/spool/fax/etc /usr/lib/fax"
-
-pkg_setup() {
- if use mgetty; then
- if built_with_use net-dialup/mgetty fax; then
- eerror "net-dialup/mgetty must be installed without USE=fax"
- die "merge net-dialup/mgetty without USE=fax"
- fi
- fi
-
- if use jbig; then
- einfo "Checking for tiff compiled with jbig support..."
- if built_with_use media-libs/tiff jbig; then
- einfo "Found jbig support; continuing..."
- else
- ewarn "Tiff (media-libs/tiff) must be compiled with jbig support."
- einfo "Please re-emerge tiff with the jbig USE flag or disable it."
- die "Tiff not merged with jbig USE flag"
- fi
- fi
-}
-
-src_compile() {
- # gcc standard C++ header changes
- if [ $(gcc-major-version) -eq 4 ] && [ $(gcc-minor-version) -ge 3 ] ; then
- sed -i -e 's:"new.h":<new>:g' configure util/Types.h || die "sed failed"
- sed -i -e 's:"iostream.h":<iostream>\n using namespace std;:g' \
- configure || die "sed failed"
- fi
-
- # Hylafax doesn't play nice with gcc-3.4 and SSP (bug #74457)
- # so drop the flags until a better solution comes along
- [ $(gcc-major-version) -eq 3 ] && [ $(gcc-minor-version) -ge 4 ] \
- && filter-flags -fstack-protector -fstack-protector-all
-
-# epatch "${FILESDIR}/gentoo-gcc-version.patch" || die "epatch failed"
-
- local my_conf="
- --with-DIR_BIN=/usr/bin
- --with-DIR_SBIN=/usr/sbin
- --with-DIR_LIB=/usr/$(get_libdir)
- --with-DIR_LIBEXEC=/usr/sbin
- --with-DIR_LIBDATA=/var/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_DPSRIP=/var/spool/fax/bin/ps2fax
- --with-PATH_IMPRIP=\"\"
- --with-SYSVINIT=no
- --with-REGEX=yes
- --with-LIBTIFF=\"-ltiff -ljpeg -lz\"
- --with-OPTIMIZER=\"${CFLAGS}\"
- --with-DSO=auto"
-
- if use html; then
- my_conf="${my_conf} --with-HTML=yes"
- else
- my_conf="${my_conf} --with-HTML=no"
- fi
-
- if use mgetty; then
- my_conf="${my_conf} \
- --with-PATH_GETTY=/sbin/mgetty \
- --with-PATH_EGETTY=/sbin/mgetty \
- --with-PATH_VGETTY=/usr/sbin/vgetty"
- else
- my_conf="${my_conf} \
- --with-PATH_GETTY=/bin/false \
- --with-PATH_EGETTY=/bin/false \
- --with-PATH_VGETTY=/bin/false"
- fi
-
- 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
-
- #--enable-pam isn't valid
- use pam || my_conf="${my_conf} $(use_enable pam)"
-
- myconf="CC=$(tc-getCC) CXX=$(tc-getCXX) ${my_conf}"
-
- # 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/$(get_libdir)/fax /usr/share/man
- dodir /var/spool /var/spool/recvq
- fowners uucp:uucp /var/spool/fax
- fperms 0600 /var/spool/fax
- dodir /usr/share/doc/${P}/html
-
- make \
- BIN=${D}/usr/bin \
- SBIN=${D}/usr/sbin \
- LIBDIR=${D}/usr/$(get_libdir) \
- LIB=${D}/usr/$(get_libdir) \
- LIBEXEC=${D}/usr/sbin \
- LIBDATA=${D}/usr/$(get_libdir)/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}
-
- dosed "s:hostname:hostname -f:g" \
- /var/spool/fax/bin/{faxrcvd,pollrcvd} || die "dosed failed"
-
- einfo "Adding env.d entry for Hylafax"
- newenvd "${FILESDIR}/99hylafax-4.2" 99hylafax
-
- einfo "Adding init.d entry for Hylafax"
- newinitd "${FILESDIR}/hylafax-4.2" hylafax
-
- use pam && pamd_mimic_system hylafax auth account session
-
- dodoc CHANGES CONTRIBUTORS COPYRIGHT README TODO
-}
-
-pkg_postinst() {
- elog
- elog "The faxonly USE flag has been removed; since Hylafax does not"
- elog "require mgetty, and certain fax files conflict, you must build"
- elog "mgetty without fax support if you wish to use them both. You"
- elog "may want to add both to package.use so any future updates are"
- elog "correctly built:"
- elog
- elog " net-dialup/mgetty -fax"
- elog " net-misc/hylafax [-mgetty|mgetty]"
- elog
- elog "There are additional files included in the hylafax/files dir."
- elog
- elog "Note 1: hylafax.cron is provided for vixie-cron users and"
- elog "should be placed in /etc/cron.d. Use as-is or adapt it to"
- elog "your system config."
- elog
- elog "Note 2: if you need to use hylafax with iptables, then you"
- elog "need to specify the port and use ip_conntrack_ftp as shown"
- elog "in the included example modules file."
- elog
- elog "See the docs and man pages for detailed configuration info."
- elog
- elog "Now run faxsetup and (if necessary) faxaddmodem."
- elog
-}
diff --git a/net-misc/hylafax/hylafax-4.4.4-r2.ebuild b/net-misc/hylafax/hylafax-4.4.4-r2.ebuild
index cbb66d1588ef..cc96d8a97804 100644
--- a/net-misc/hylafax/hylafax-4.4.4-r2.ebuild
+++ b/net-misc/hylafax/hylafax-4.4.4-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/hylafax-4.4.4-r2.ebuild,v 1.7 2009/12/26 17:41:57 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/hylafax-4.4.4-r2.ebuild,v 1.8 2010/05/23 17:47:48 nerdboy Exp $
EAPI="2"
@@ -18,7 +18,7 @@ IUSE="jbig pam mgetty html"
DEPEND=">=sys-libs/zlib-1.1.4
app-text/ghostscript-gpl
- >=media-libs/tiff-3.8.2[jbig?]
+ =media-libs/tiff-3.9*[jbig?]
media-libs/jpeg
jbig? ( media-libs/jbigkit )
sys-apps/gawk
diff --git a/net-misc/hylafax/hylafax-6.0.3.ebuild b/net-misc/hylafax/hylafax-6.0.3.ebuild
index 1c1fb37ab99b..381845d06f8a 100644
--- a/net-misc/hylafax/hylafax-6.0.3.ebuild
+++ b/net-misc/hylafax/hylafax-6.0.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/hylafax-6.0.3.ebuild,v 1.6 2009/12/29 17:43:20 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/hylafax-6.0.3.ebuild,v 1.7 2010/05/23 17:47:48 nerdboy Exp $
EAPI="2"
@@ -18,7 +18,7 @@ IUSE="jbig pam mgetty html"
DEPEND=">=sys-libs/zlib-1.1.4
app-text/ghostscript-gpl
- >=media-libs/tiff-3.9.1[jbig?]
+ =media-libs/tiff-3.9*[jbig?]
media-libs/jpeg
jbig? ( media-libs/jbigkit )
sys-apps/gawk
diff --git a/net-misc/hylafax/metadata.xml b/net-misc/hylafax/metadata.xml
index 9b8845990a79..77de9fd5e83b 100644
--- a/net-misc/hylafax/metadata.xml
+++ b/net-misc/hylafax/metadata.xml
@@ -13,7 +13,6 @@ HylaFAX(tm) はメールゲートウェイ、ページング、マルチプラ
クライアント/サーバ・FAX・システムです。
</longdescription>
<use>
- <flag name="faxonly">Don't depend on mgetty-fax</flag>
<flag name="html">Adds HTML documentation</flag>
<flag name="mgetty">Adds support for mgetty and vgetty</flag>
</use>