summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2005-12-19 01:39:23 +0000
committerSteve Arnold <nerdboy@gentoo.org>2005-12-19 01:39:23 +0000
commit761b59b0e8f1e9df3fa5c6a249b4325716c21132 (patch)
treecb3d494b31411c5ea83622ccd9a0861c948af332 /net-misc/hylafax
parentMarked ~amd64. (diff)
downloadhistorical-761b59b0e8f1e9df3fa5c6a249b4325716c21132.tar.gz
historical-761b59b0e8f1e9df3fa5c6a249b4325716c21132.tar.bz2
historical-761b59b0e8f1e9df3fa5c6a249b4325716c21132.zip
added latest release (closes bug 113781)
Package-Manager: portage-2.0.53
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.2.31
-rw-r--r--net-misc/hylafax/hylafax-4.2.3.ebuild130
4 files changed, 140 insertions, 2 deletions
diff --git a/net-misc/hylafax/ChangeLog b/net-misc/hylafax/ChangeLog
index 8f3629b79eea..2f5e00e3da1d 100644
--- a/net-misc/hylafax/ChangeLog
+++ b/net-misc/hylafax/ChangeLog
@@ -1,6 +1,11 @@
# 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.56 2005/11/28 00:50:56 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/ChangeLog,v 1.57 2005/12/19 01:39:23 nerdboy Exp $
+
+*hylafax-4.2.3 (19 Dec 2005)
+
+ 19 Dec 2005; Steve Arnold <nerdboy@gentoo.org> +hylafax-4.2.3.ebuild:
+ Added latest release (closes bug 113781). TMPDIR patch not applied.
28 Nov 2005; Steve Arnold <nerdboy@gentoo.org> hylafax-4.2.0-r3.ebuild,
hylafax-4.2.1-r2.ebuild, hylafax-4.2.2.ebuild:
diff --git a/net-misc/hylafax/Manifest b/net-misc/hylafax/Manifest
index be17fa74bb5b..d010efb97808 100644
--- a/net-misc/hylafax/Manifest
+++ b/net-misc/hylafax/Manifest
@@ -1,9 +1,10 @@
-MD5 a86911afe184269ba501b9538de7828e ChangeLog 11619
+MD5 fb3634389597d240d6db010b302c8bb0 ChangeLog 11793
MD5 fa83948864d83f34f54ce35f26b38ed6 files/99hylafax-4.2 75
MD5 eab749cee07de1984c9756e6eb886df0 files/configure-gcc-3.4.patch 696
MD5 61b6d16148a84723c2996b519a57d498 files/digest-hylafax-4.2.0-r3 66
MD5 e1c4b78af20d5e332db1aef29080caf7 files/digest-hylafax-4.2.1-r2 66
MD5 393322f25c85e29fe90c0d2cbe503833 files/digest-hylafax-4.2.2 66
+MD5 f9beb4e52eb7048b39f745a7a72b892c files/digest-hylafax-4.2.3 66
MD5 491e78765b433d7c11146120cf7e40f8 files/hylafax-4.2 3759
MD5 6c0efb14f66d112c7e11255ce1835079 files/hylafax-4.2-tmpdir.patch 3433
MD5 c4edcc178e6eeca8ec4680be0790e6da files/hylafax-4.2.0-fPIC.patch 1627
@@ -15,4 +16,5 @@ MD5 363ea0f56887928eb876bbe25223de85 files/hylafax-hostvuln.patch 2098
MD5 f1d61ffa610e7e848b5e0341aeafe491 hylafax-4.2.0-r3.ebuild 3557
MD5 c3e09fbe83d77ca2deb7c8d1a11b5ac5 hylafax-4.2.1-r2.ebuild 3883
MD5 277e28932397e218eaa1ed7962d87fe2 hylafax-4.2.2.ebuild 3844
+MD5 bad7b95bee6a7cf089e709d0e17ac81f hylafax-4.2.3.ebuild 3759
MD5 d82acf1bcf0f7f9e181d6a2821292f2e metadata.xml 435
diff --git a/net-misc/hylafax/files/digest-hylafax-4.2.3 b/net-misc/hylafax/files/digest-hylafax-4.2.3
new file mode 100644
index 000000000000..a65f4a513eac
--- /dev/null
+++ b/net-misc/hylafax/files/digest-hylafax-4.2.3
@@ -0,0 +1 @@
+MD5 e72f381a766c58c692afdf42326dc4e6 hylafax-4.2.3.tar.gz 1449095
diff --git a/net-misc/hylafax/hylafax-4.2.3.ebuild b/net-misc/hylafax/hylafax-4.2.3.ebuild
new file mode 100644
index 000000000000..3ec09cf73ae8
--- /dev/null
+++ b/net-misc/hylafax/hylafax-4.2.3.ebuild
@@ -0,0 +1,130 @@
+# 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.3.ebuild,v 1.1 2005/12/19 01:39:23 nerdboy Exp $
+
+inherit eutils multilib pam
+
+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="~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? ( virtual/pam )
+ mgetty? ( net-dialup/mgetty )"
+
+RDEPEND="${DEPEND}
+ media-libs/netpbm
+ net-mail/metamail"
+
+export CONFIG_PROTECT="${CONFIG_PROTECT} /var/spool/fax/etc"
+
+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
+ 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_EGETTY=/usr/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"
+ 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
+
+ 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
+}