summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2005-09-30 07:00:17 +0000
committerSteve Arnold <nerdboy@gentoo.org>2005-09-30 07:00:17 +0000
commit02f4fc7dd9e69bf177520f7a46f846fc1b8d80cc (patch)
treebb7d06e2a2f3cb748863361cf822c21f91759cbe /net-misc/hylafax
parentVersion bump. Correct RDEPEND. (diff)
downloadgentoo-2-02f4fc7dd9e69bf177520f7a46f846fc1b8d80cc.tar.gz
gentoo-2-02f4fc7dd9e69bf177520f7a46f846fc1b8d80cc.tar.bz2
gentoo-2-02f4fc7dd9e69bf177520f7a46f846fc1b8d80cc.zip
rev bumps to force update for bug 106882 and more cleanup
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-misc/hylafax')
-rw-r--r--net-misc/hylafax/ChangeLog12
-rw-r--r--net-misc/hylafax/Manifest14
-rw-r--r--net-misc/hylafax/files/99hylafax2
-rw-r--r--net-misc/hylafax/files/digest-hylafax-4.2.0-r31
-rw-r--r--net-misc/hylafax/files/digest-hylafax-4.2.1-r2 (renamed from net-misc/hylafax/files/digest-hylafax-4.2.1)0
-rw-r--r--net-misc/hylafax/files/hylafax159
-rw-r--r--net-misc/hylafax/files/hylafax-4.1.8-fPIC.patch67
-rw-r--r--net-misc/hylafax/files/hylafax-4.1.8-gcc-version.patch11
-rw-r--r--net-misc/hylafax/hylafax-4.2.0-r3.ebuild (renamed from net-misc/hylafax/hylafax-4.2.0-r2.ebuild)4
-rw-r--r--net-misc/hylafax/hylafax-4.2.1-r2.ebuild (renamed from net-misc/hylafax/hylafax-4.2.1-r1.ebuild)2
-rw-r--r--net-misc/hylafax/hylafax-4.2.1.ebuild118
11 files changed, 19 insertions, 371 deletions
diff --git a/net-misc/hylafax/ChangeLog b/net-misc/hylafax/ChangeLog
index 187011dfaeaa..efee8e5c6744 100644
--- a/net-misc/hylafax/ChangeLog
+++ b/net-misc/hylafax/ChangeLog
@@ -1,6 +1,16 @@
# 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.52 2005/09/28 05:30:24 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/ChangeLog,v 1.53 2005/09/30 07:00:17 nerdboy Exp $
+
+*hylafax-4.2.1-r2 (30 Sep 2005)
+*hylafax-4.2.0-r3 (30 Sep 2005)
+
+ 30 Sep 2005; Steve Arnold <nerdboy@gentoo.org>
+ -files/hylafax-4.1.8-fPIC.patch, -files/hylafax-4.1.8-gcc-version.patch,
+ -files/99hylafax, -files/hylafax, -hylafax-4.2.0-r2.ebuild,
+ +hylafax-4.2.0-r3.ebuild, -hylafax-4.2.1.ebuild, -hylafax-4.2.1-r1.ebuild,
+ +hylafax-4.2.1-r2.ebuild:
+ rev bumps to force update for bug 106882 and more cleanup
*hylafax-4.2.2 (28 Sep 2005)
diff --git a/net-misc/hylafax/Manifest b/net-misc/hylafax/Manifest
index 1ff73b4f20d7..3aebf82b887c 100644
--- a/net-misc/hylafax/Manifest
+++ b/net-misc/hylafax/Manifest
@@ -1,24 +1,18 @@
MD5 ac6c49f8c13ac40eb6b6501c2bd27830 ChangeLog 10821
-MD5 76a2b495055d6d7b10a8aa58c210c911 hylafax-4.2.0-r2.ebuild 3540
-MD5 082910ce61445532140501e30c29763f hylafax-4.2.1.ebuild 3356
-MD5 4d522c91b8ac9975b544f0d65d2738a5 hylafax-4.2.1-r1.ebuild 3866
+MD5 000639b5928b4e1059d751d34e08aa7e hylafax-4.2.0-r3.ebuild 3538
MD5 d82acf1bcf0f7f9e181d6a2821292f2e metadata.xml 435
+MD5 4d522c91b8ac9975b544f0d65d2738a5 hylafax-4.2.1-r2.ebuild 3866
MD5 21516d5d24d3ba17d8f1540c8c7f876f hylafax-4.2.2.ebuild 3825
-MD5 46bbae3c77d5651a20e606eb6228c159 files/99hylafax 62
MD5 eab749cee07de1984c9756e6eb886df0 files/configure-gcc-3.4.patch 696
-MD5 61b6d16148a84723c2996b519a57d498 files/digest-hylafax-4.2.0-r2 66
+MD5 61b6d16148a84723c2996b519a57d498 files/digest-hylafax-4.2.0-r3 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 e1c4b78af20d5e332db1aef29080caf7 files/digest-hylafax-4.2.1-r2 66
MD5 393322f25c85e29fe90c0d2cbe503833 files/digest-hylafax-4.2.2 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 6c0efb14f66d112c7e11255ce1835079 files/hylafax-4.2-tmpdir.patch 3433
-MD5 e1c4b78af20d5e332db1aef29080caf7 files/digest-hylafax-4.2.1-r1 66
MD5 0bf655709c9fc6c62ffc7d2a63340c90 files/hylafax-4.2.1-openpam.patch 1571
MD5 9cf5cada0895231b3d403f8791431102 files/hylafax-4.2.0-faxmail-charset.patch 473
diff --git a/net-misc/hylafax/files/99hylafax b/net-misc/hylafax/files/99hylafax
deleted file mode 100644
index abe153d011f5..000000000000
--- a/net-misc/hylafax/files/99hylafax
+++ /dev/null
@@ -1,2 +0,0 @@
-PATH="/var/spool/fax/bin"
-CONFIG_PROTECT="/var/spool/fax/etc"
diff --git a/net-misc/hylafax/files/digest-hylafax-4.2.0-r3 b/net-misc/hylafax/files/digest-hylafax-4.2.0-r3
new file mode 100644
index 000000000000..9de57e0107eb
--- /dev/null
+++ b/net-misc/hylafax/files/digest-hylafax-4.2.0-r3
@@ -0,0 +1 @@
+MD5 463726ed21cfdac730c5d6915e0840cf hylafax-4.2.0.tar.gz 1351870
diff --git a/net-misc/hylafax/files/digest-hylafax-4.2.1 b/net-misc/hylafax/files/digest-hylafax-4.2.1-r2
index 9a80e8b49781..9a80e8b49781 100644
--- a/net-misc/hylafax/files/digest-hylafax-4.2.1
+++ b/net-misc/hylafax/files/digest-hylafax-4.2.1-r2
diff --git a/net-misc/hylafax/files/hylafax b/net-misc/hylafax/files/hylafax
deleted file mode 100644
index 934300d6df4b..000000000000
--- a/net-misc/hylafax/files/hylafax
+++ /dev/null
@@ -1,159 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/files/hylafax,v 1.4 2004/07/15 00:00:15 agriffis Exp $
-
-depend() {
- need net
-}
-
-checkconfig() {
- SPOOL=/var/spool/fax
- if [ ! -f $SPOOL/etc/setup.cache ] ; then
- eerror "No $SPOOL/etc/setup.cache file exists! Use faxsetup(8C) !"
- fi
-
-}
-
-start() {
- ebegin "Starting HylaFAX Servers."
- SPOOL=/var/spool/fax
- checkconfig || return 1
-
- . $SPOOL/etc/setup.cache
-
- # Just in case these are not in setup.cache yet
- if [ -z "$HFAXD_SERVER" ]; then
- HFAXD_SERVER=yes
- fi
- if [ -z "$FAXQ_SERVER" ]; then
- FAXQ_SERVER=yes
- fi
- if [ -z "$HFAXD_OLD_PROTOCOL" ]; then
- HFAXD_OLD_PROTOCOL=no
- fi
- if [ -z "$HFAXD_SNPP_SERVER" ]; then
- HFAXD_SNPP_SERVER=no
- fi
-
- IS_ON=/etc/chkconfig # NB: chkconfig is IRIX- and Linux-specific
- FAXQ=$SBIN/faxq
- HFAXD=$LIBEXEC/hfaxd
- FAXQUIT=$SBIN/faxquit
- FAXPORT=hylafax # designated port for new protocol
- SNPPPORT=444 # official port for SNPP
-
- if test ! -x $IS_ON ; then
- IS_ON=true
- fi
-
- if $IS_ON verbose ; then
- ECHO=echo
- else # For a quiet startup and shutdown
- ECHO=:
- fi
-#
-# Figure out which brand of echo we have and define prompt
-# and printf shell functions accordingly. Note that we
-# assume that if the System V-style echo is not present,
-# then the BSD printf program is available. These functions
-# are defined here so that they can be tailored on a per-site,
-# etc. basis.
-#
- if [ `echo foo\\\c`@ = "foo@" ]; then
-# System V-style echo supports \r
-# and \c which is all that we need
- printf()
- {
- $ECHO "$*\\c"
- }
- elif [ "`echo -n foo`@" = "foo@" ]; then
-# BSD-style echo; use echo -n to get
-# a line without the trailing newline
- printf()
- {
- $ECHO -n "$*"
- }
- else
-# something else; do without
- printf()
- {
- $ECHO "$*"
- }
- fi
-
-#
-#
-# killall -SIGNAL process-name
-#
-# Emulate the necessary functionality of the
-# killall program
-#
- killall()
- {
-# NB: ps ax should give an error on System V, so we try it first!
- pid="`ps ax 2>/dev/null | $AWK \"\
- /[\/ (]$2[ )]/ {print \\$1;}
- /[\/ ]$2\$/ {print \\$1;}\"`"
- test "$pid" ||
- pid="`ps -e 2>/dev/null | $AWK \"/ $2[ ]*\$/ {print \\$1;}\"`"
- test "$pid" && kill $1 $pid; return
- }
-
- if $IS_ON fax && test -x $FAXQ; then
- if test $FAXQ_SERVER = yes ; then
- killall -15 faxq
- fi
- if test $HFAXD_SERVER = yes ; then
- killall -15 hfaxd
- fi
- printf "HylaFAX:"
- if test $FAXQ_SERVER = yes ; then
- $FAXQ; printf " faxq "
- fi
- if test $HFAXD_SERVER = yes ; then
- HFAXD_OPT="-i $FAXPORT"
-# HFAXD="$HFAXD -i $FAXPORT"
- HFAXMSG=" hfaxd"
- if [ $HFAXD_OLD_PROTOCOL = yes ]; then
- HFAXD_OPT="$HFAXD_OPT -o 4557"
-# HFAXD="$HFAXD -o 4557"
- HFAXMSG="$HFAXMSG (with old protocol"
- else
- HFAXMSG="$HFAXMSG (without old protocol"
- fi
- if [ $HFAXD_SNPP_SERVER = yes ]; then
- HFAXD_OPT="$HFAXD_OPT -s $SNPPPORT"
-# HFAXD="$HFAXD -s $SNPPPORT"
- HFAXMSG="$HFAXMSG & with SNPP support)"
- else
- HFAXMSG="$HFAXMSG & without SNPP support)"
- fi
-# $HFAXD ; printf "$HFAXMSG\n"
- echo $HFAXMSG
- echo $HFAXD $HFAXD_OPT
- /sbin/start-stop-daemon --start --quiet --exec $HFAXD -- $HFAXD_OPT
- fi
- if test $FAXQ_SERVER != yes -a $HFAXD_SERVER != yes ; then
- printf " not started (script disabled by configure)\n"
- fi
- $ECHO "."
- fi
- eend $?
-
-}
-
-stop() {
- ebegin "Stopping HylaFAX Servers."
- checkconfig || return 2
- . $SPOOL/etc/setup.cache
- FAXQUIT=$SBIN/faxquit
- HFAXD=$LIBEXEC/hfaxd
-
-# $ECHO "Stopping HylaFAX Servers."
- $FAXQUIT >/dev/null 2>&1
- /sbin/start-stop-daemon --stop --quiet --exec $HFAXD
- eend $?
-# killall -15 hfaxd
-
-}
diff --git a/net-misc/hylafax/files/hylafax-4.1.8-fPIC.patch b/net-misc/hylafax/files/hylafax-4.1.8-fPIC.patch
deleted file mode 100644
index edfa65f889a6..000000000000
--- a/net-misc/hylafax/files/hylafax-4.1.8-fPIC.patch
+++ /dev/null
@@ -1,67 +0,0 @@
---- hylafax-4.1.8/util/Makefile.in.orig 2004-04-19 20:08:17.819401240 +0200
-+++ hylafax-4.1.8/util/Makefile.in 2004-04-19 20:13:06.757475976 +0200
-@@ -100,6 +100,11 @@
-
- @MAKEINCLUDE@ @MAKELQUOTE@${COMMONRULES}@MAKERQUOTE@
-
-+.c++.o:
-+ ${C++F} -fPIC ${C++FILE} -c $<@MAKECXXOVERRIDE@
-+.c.o:
-+ ${CCF} -fPIC ${CCFILE} -c $<@MAKECXXOVERRIDE@
-+
- libfaxutil.a: ${OBJECTS}
- @rm -f $@;
- @echo "${AR} ${AROPTS} $@ ${OBJECTS}"; \
-@@ -143,6 +148,8 @@
- ${C++F} -c ${C++FILE} ${SRCDIR}/faxwatch.c++@MAKECXXOVERRIDE@
- faxwatch: faxwatch.o ${LIBS}
- ${C++F} -o $@ faxwatch.o ${LDFLAGS}
-+faxfetch.o: ${SRCDIR}/faxfetch.c++
-+ ${C++F} -c ${C++FILE} ${SRCDIR}/faxfetch.c++@MAKECXXOVERRIDE@
- faxfetch: faxfetch.o ${LIBS}
- ${C++F} -o $@ faxfetch.o ${LDFLAGS}
-
---- hylafax-4.1.8/regex/Makefile.in.orig 2004-04-19 20:14:16.780830808 +0200
-+++ hylafax-4.1.8/regex/Makefile.in 2004-04-19 20:14:59.114395128 +0200
-@@ -53,6 +53,9 @@
-
- @MAKEINCLUDE@ @MAKELQUOTE@${COMMONRULES}@MAKERQUOTE@
-
-+.c.o:
-+ ${CCF} -fPIC ${CCFILE} -c $<@MAKECXXOVERRIDE@
-+
- libregex.a: ${OBJECTS}
- @rm -f $@;
- ${AR} ${AROPTS} $@ ${OBJECTS}
---- hylafax-4.1.8/faxd/Makefile.in.orig 2004-04-19 20:32:15.018913704 +0200
-+++ hylafax-4.1.8/faxd/Makefile.in 2004-04-19 20:44:50.024135464 +0200
-@@ -158,6 +158,9 @@
-
- @MAKEINCLUDE@ @MAKELQUOTE@${COMMONRULES}@MAKERQUOTE@
-
-+.c++.o:
-+ ${C++F} -fPIC ${C++FILE} -c $<@MAKECXXOVERRIDE@
-+
- libfaxserver.a: ${SERVER_OBJS} ${MODEM_OBJS}
- ${AR} ${AROPTS} libfaxserver.a $?
- ${RANLIB} libfaxserver.a
-@@ -171,7 +174,18 @@
- mkhash: ${SRCDIR}/mkhash.c
- ${CCF} -o mkhash ${SRCDIR}/mkhash.c
-
--faxQueueApp.o FaxRecv.o:
-+#FAXQOBJS
-+DestControl.c++ DestInfo.c++ Job.c++ HylaClient.c++ Modem.c++ QLink.c++ Trigger.c++ TriggerRef.c++ faxQueueApp.c++:
-+ ${C++F} ${C++FILE} -c $@
-+
-+#FAXSENDOBJS, FAXGETTYOBJS
-+faxSendApp.c++ faxQCleanApp.c++ Getty.c++ Getty@GETTY@.c++ faxGettyApp.c++ pageSendApp.c++:
-+ ${C++F} ${C++FILE} -c $@
-+
-+#REST OBJS
-+tagtest.c++ cqtest.c++ choptest.c++ tsitest.c++ trigtest.c++:
-+ ${C++F} ${C++FILE} -c $@
-+
- incdepend: hash.h
-
- faxq: ${FAXQOBJS} libfaxserver.${DSO} ${LIBS}
diff --git a/net-misc/hylafax/files/hylafax-4.1.8-gcc-version.patch b/net-misc/hylafax/files/hylafax-4.1.8-gcc-version.patch
deleted file mode 100644
index 480a4c158aae..000000000000
--- a/net-misc/hylafax/files/hylafax-4.1.8-gcc-version.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig 2004-03-08 16:07:05.000000000 +0100
-+++ configure 2004-03-08 16:10:40.000000000 +0100
-@@ -777,7 +777,7 @@
- {
- app=$1; shift
- eval `$app -v 2>&1 | \
-- sed -n -e '/version/s/.* [a-z\-]*\([0-9]*\)\.\([0-9]*\).\([0-9]*\).*/GCCdist=\1;GCCmajor=\2;GCCminor=\3/p'`
-+ sed -n -e '/ersion/s/.* [a-z\-]*\([0-9]*\)\.\([0-9]*\).\([0-9]*\).*/GCCdist=\1;GCCmajor=\2;GCCminor=\3/p'`
- GCCversion="${GCCdist}.${GCCmajor}.${GCCminor}"; export GCCversion
- if [ ${GCCdist} -gt $1 ]; then
- return 0
diff --git a/net-misc/hylafax/hylafax-4.2.0-r2.ebuild b/net-misc/hylafax/hylafax-4.2.0-r3.ebuild
index 31b0a3236df5..3ec75e25ceba 100644
--- a/net-misc/hylafax/hylafax-4.2.0-r2.ebuild
+++ b/net-misc/hylafax/hylafax-4.2.0-r3.ebuild
@@ -1,6 +1,6 @@
# 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.0-r2.ebuild,v 1.4 2005/09/28 05:30:24 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/hylafax-4.2.0-r3.ebuild,v 1.1 2005/09/30 07:00:17 nerdboy Exp $
inherit eutils
@@ -12,7 +12,7 @@ SRC_URI="ftp://ftp.hylafax.org/source/${P}.tar.gz"
SLOT="0"
LICENSE="hylafax"
-KEYWORDS="x86 sparc hppa ~alpha amd64 ~ppc"
+KEYWORDS="x86 sparc hppa alpha amd64 ppc"
DEPEND="!faxonly? ( net-dialup/mgetty )
>=sys-libs/zlib-1.1.4
diff --git a/net-misc/hylafax/hylafax-4.2.1-r1.ebuild b/net-misc/hylafax/hylafax-4.2.1-r2.ebuild
index 2ae1e5d11bd7..d3f753d5af2e 100644
--- a/net-misc/hylafax/hylafax-4.2.1-r1.ebuild
+++ b/net-misc/hylafax/hylafax-4.2.1-r2.ebuild
@@ -1,6 +1,6 @@
# 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-r1.ebuild,v 1.4 2005/09/28 05:30:24 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/hylafax-4.2.1-r2.ebuild,v 1.1 2005/09/30 07:00:17 nerdboy Exp $
inherit eutils multilib pam
diff --git a/net-misc/hylafax/hylafax-4.2.1.ebuild b/net-misc/hylafax/hylafax-4.2.1.ebuild
deleted file mode 100644
index 3050c137a0a1..000000000000
--- a/net-misc/hylafax/hylafax-4.2.1.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# 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.3 2005/09/28 05:30:24 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_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/hylafax-4.2-tmpdir.patch
-}
-
-src_compile() {
- 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_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/$(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
-
- 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
-
- 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
-}