summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2005-02-18 06:50:22 +0000
committerSteve Arnold <nerdboy@gentoo.org>2005-02-18 06:50:22 +0000
commit7450852007be4d2b0499e06a4981736ff03534db (patch)
treebcef951059770d430c78ae39a7454a95b389d162 /net-misc
parentVersion bump. (diff)
downloadgentoo-2-7450852007be4d2b0499e06a4981736ff03534db.tar.gz
gentoo-2-7450852007be4d2b0499e06a4981736ff03534db.tar.bz2
gentoo-2-7450852007be4d2b0499e06a4981736ff03534db.zip
Version bump to address bugs 64291 and 80534
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/hylafax/ChangeLog9
-rw-r--r--net-misc/hylafax/Manifest28
-rw-r--r--net-misc/hylafax/files/digest-hylafax-4.2.11
-rw-r--r--net-misc/hylafax/hylafax-4.2.1.ebuild110
4 files changed, 129 insertions, 19 deletions
diff --git a/net-misc/hylafax/ChangeLog b/net-misc/hylafax/ChangeLog
index 913034f1e4c9..e64cdeee7b2a 100644
--- a/net-misc/hylafax/ChangeLog
+++ b/net-misc/hylafax/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/hylafax
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/ChangeLog,v 1.47 2005/01/11 15:34:23 kingtaco Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/ChangeLog,v 1.48 2005/02/18 06:50:22 nerdboy Exp $
+
+*hylafax-4.2.1 (17 Feb 2005)
+
+ 17 Feb 2005; Steve Arnold <nerdboy@gentoo.org> +hylafax-4.2.1.ebuild:
+ Version bump to address bugs 64291 and 80534; all previous patches
+ incorporated upstream. C++ make break on parallel makes, but it
+ builds fine with -j1 and a cool-running system...
*hylafax-4.2.0-r2 (11 Jan 2005)
diff --git a/net-misc/hylafax/Manifest b/net-misc/hylafax/Manifest
index ffb5163b0f74..0011a6af87e5 100644
--- a/net-misc/hylafax/Manifest
+++ b/net-misc/hylafax/Manifest
@@ -1,29 +1,21 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 d362969b00ccd5aa969ab61d1b85a1b8 ChangeLog 9461
+MD5 0df327db19a01eb5f2dae907a5d24aac hylafax-4.2.0-r2.ebuild 3351
+MD5 80337e0c2d627f8325cebcc5248af0fb hylafax-4.2.1.ebuild 3155
+MD5 d82acf1bcf0f7f9e181d6a2821292f2e metadata.xml 435
MD5 d83f32c1c30e2a8804a0f5524ed411d2 hylafax-4.1.8-r4.ebuild 3189
MD5 5f241443de8ec4140795d14470026faa hylafax-4.2.0-r1.ebuild 3355
-MD5 d82acf1bcf0f7f9e181d6a2821292f2e metadata.xml 435
-MD5 0df327db19a01eb5f2dae907a5d24aac hylafax-4.2.0-r2.ebuild 3351
-MD5 d362969b00ccd5aa969ab61d1b85a1b8 ChangeLog 9461
MD5 46bbae3c77d5651a20e606eb6228c159 files/99hylafax 62
-MD5 fa83948864d83f34f54ce35f26b38ed6 files/99hylafax-4.2 75
MD5 eab749cee07de1984c9756e6eb886df0 files/configure-gcc-3.4.patch 696
-MD5 5243f5e3321151d074643f652133fdfd files/digest-hylafax-4.1.8-r4 66
-MD5 61b6d16148a84723c2996b519a57d498 files/digest-hylafax-4.2.0-r1 66
+MD5 61b6d16148a84723c2996b519a57d498 files/digest-hylafax-4.2.0-r2 66
+MD5 c4edcc178e6eeca8ec4680be0790e6da files/hylafax-4.2.0-fPIC.patch 1627
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 363ea0f56887928eb876bbe25223de85 files/hylafax-hostvuln.patch 2098
+MD5 e1c4b78af20d5e332db1aef29080caf7 files/digest-hylafax-4.2.1 66
MD5 cfcafeadd916b8a9103b9b9110887916 files/hylafax-4.2.0-faxcron_uid.patch 527
MD5 6fd09a3cd0a1657591fc6c5c076cd462 files/hylafax-4.2.0-tiff_version.patch 1011
-MD5 61b6d16148a84723c2996b519a57d498 files/digest-hylafax-4.2.0-r2 66
-MD5 c4edcc178e6eeca8ec4680be0790e6da files/hylafax-4.2.0-fPIC.patch 1627
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFB4/IJ0K3RJaeXx6cRAoPcAJwN+gSqVK3kIn7iRGfDZ9vxNaFcNgCgzZz8
-5aBkZqn2MhEB/nAKijQhMWE=
-=oGKi
------END PGP SIGNATURE-----
+MD5 61b6d16148a84723c2996b519a57d498 files/digest-hylafax-4.2.0-r1 66
diff --git a/net-misc/hylafax/files/digest-hylafax-4.2.1 b/net-misc/hylafax/files/digest-hylafax-4.2.1
new file mode 100644
index 000000000000..9a80e8b49781
--- /dev/null
+++ b/net-misc/hylafax/files/digest-hylafax-4.2.1
@@ -0,0 +1 @@
+MD5 05430e41a279d0fff6d6e4b444440829 hylafax-4.2.1.tar.gz 1412035
diff --git a/net-misc/hylafax/hylafax-4.2.1.ebuild b/net-misc/hylafax/hylafax-4.2.1.ebuild
new file mode 100644
index 000000000000..7bdf8421784c
--- /dev/null
+++ b/net-misc/hylafax/hylafax-4.2.1.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/hylafax-4.2.1.ebuild,v 1.1 2005/02/18 06:50:22 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.7.0
+ 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"
+
+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}\"
+ --with-DSO=auto"
+
+ 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 "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
+}