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
commit1a5cebea5e6162ee743c151f26e42f9521d7cbca (patch)
treef10e82e509ce4f087315962ad50bd6494003623a /net-misc/hylafax
parentMarked ~amd64. (diff)
downloadgentoo-2-1a5cebea5e6162ee743c151f26e42f9521d7cbca.tar.gz
gentoo-2-1a5cebea5e6162ee743c151f26e42f9521d7cbca.tar.bz2
gentoo-2-1a5cebea5e6162ee743c151f26e42f9521d7cbca.zip
added latest release (closes bug 113781)
(Portage version: 2.0.53)
Diffstat (limited to 'net-misc/hylafax')
-rw-r--r--net-misc/hylafax/ChangeLog7
-rw-r--r--net-misc/hylafax/Manifest2
-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, 139 insertions, 1 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..c818ef882663 100644
--- a/net-misc/hylafax/Manifest
+++ b/net-misc/hylafax/Manifest
@@ -4,6 +4,7 @@ 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 d65b7095758a057626dbf3f4bace21dc hylafax-4.2.3.ebuild 3762
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
+}