diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2005-08-11 19:48:28 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2005-08-11 19:48:28 +0000 |
commit | e31e9db214e24497c006ef6614ff07b121ef028f (patch) | |
tree | b9889a5c6a769ec3c9b034a5f3e6e77bbd053f5e /net-misc/capi4hylafax | |
parent | Fixed bug 101532, a crash in qmail-remote when using authentication in smtpro... (diff) | |
download | gentoo-2-e31e9db214e24497c006ef6614ff07b121ef028f.tar.gz gentoo-2-e31e9db214e24497c006ef6614ff07b121ef028f.tar.bz2 gentoo-2-e31e9db214e24497c006ef6614ff07b121ef028f.zip |
bumping to new debian release.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-misc/capi4hylafax')
-rw-r--r-- | net-misc/capi4hylafax/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/capi4hylafax/Manifest | 6 | ||||
-rw-r--r-- | net-misc/capi4hylafax/capi4hylafax-01.02.03.13.ebuild | 108 | ||||
-rw-r--r-- | net-misc/capi4hylafax/files/digest-capi4hylafax-01.02.03.13 | 2 |
4 files changed, 121 insertions, 3 deletions
diff --git a/net-misc/capi4hylafax/ChangeLog b/net-misc/capi4hylafax/ChangeLog index a83090ce8d03..a9e8183a6377 100644 --- a/net-misc/capi4hylafax/ChangeLog +++ b/net-misc/capi4hylafax/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/capi4hylafax # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/capi4hylafax/ChangeLog,v 1.10 2005/06/19 12:21:53 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/capi4hylafax/ChangeLog,v 1.11 2005/08/11 19:48:28 sbriesen Exp $ + +*capi4hylafax-01.02.03.13 (11 Aug 2005) + + 11 Aug 2005; Stefan Briesenick <sbriesen@gentoo.org> + +capi4hylafax-01.02.03.13.ebuild: + bumping to new debian release. 19 Jun 2005; David Holm <dholm@gentoo.org> capi4hylafax-01.02.03.11.ebuild: diff --git a/net-misc/capi4hylafax/Manifest b/net-misc/capi4hylafax/Manifest index 6808e2d37cd4..0d5614dff3a7 100644 --- a/net-misc/capi4hylafax/Manifest +++ b/net-misc/capi4hylafax/Manifest @@ -1,7 +1,9 @@ +MD5 47c3661aacba1b0fe28c621e3e4a98cb capi4hylafax-01.02.03.13.ebuild 3101 +MD5 14228489378e44808b5ecffc3ad5ef7b capi4hylafax-01.02.03.ebuild 2623 MD5 aed1dfc87e4fdd0a9e6c13b92e043244 ChangeLog 1750 MD5 d6f473d9cfb90e50b96f35ea0fc748c4 metadata.xml 390 -MD5 14228489378e44808b5ecffc3ad5ef7b capi4hylafax-01.02.03.ebuild 2623 MD5 49f02a498ca351b1bc02bdbc5b4eb787 capi4hylafax-01.02.03.11.ebuild 2908 MD5 8faea3a1fc9f96eb051503848e502360 files/capi4hylafax 1088 -MD5 0b8d19fc4ec6d9aae318a26b151aa46d files/digest-capi4hylafax-01.02.03 154 MD5 73fe13d43a9fb6e02eb50f0951b224ee files/digest-capi4hylafax-01.02.03.11 155 +MD5 757537dac1b1d35bd5d164eebd62df5a files/digest-capi4hylafax-01.02.03.13 155 +MD5 0b8d19fc4ec6d9aae318a26b151aa46d files/digest-capi4hylafax-01.02.03 154 diff --git a/net-misc/capi4hylafax/capi4hylafax-01.02.03.13.ebuild b/net-misc/capi4hylafax/capi4hylafax-01.02.03.13.ebuild new file mode 100644 index 000000000000..6cea5817a370 --- /dev/null +++ b/net-misc/capi4hylafax/capi4hylafax-01.02.03.13.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/capi4hylafax/capi4hylafax-01.02.03.13.ebuild,v 1.1 2005/08/11 19:48:28 sbriesen Exp $ + +inherit eutils versionator + +MY_PV="$(get_version_component_range 1-3)" +MY_PP="$(get_version_component_range 4)" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="CAPI4HylaFAX - send/receive faxes via CAPI and AVM Fritz!Cards." +SRC_URI="http://ftp.debian.org/debian/pool/main/c/capi4hylafax/${MY_P/-/_}.orig.tar.gz + http://ftp.debian.org/debian/pool/main/c/capi4hylafax/${MY_P/-/_}-${MY_PP}.diff.gz" +HOMEPAGE="http://packages.qa.debian.org/c/capi4hylafax.html" + +S="${WORKDIR}/${MY_P}" + +IUSE="unicode" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~ppc ~x86" + +DEPEND="net-dialup/capi4k-utils + media-libs/tiff" + +RDEPEND="${DEPEND} + dev-util/dialog" + +src_unpack() { + unpack ${A} + mv "${S}.orig" "${S}" + cd "${S}" + + # apply debian patches + update configs + epatch "${WORKDIR}/${MY_P/-/_}-${MY_PP}.diff" + libtoolize --copy --force + + # fix location of fax spool + for i in * debian/* src/scripts/setupconffile; do + [ -f "${i}" ] && sed -i -e "s:/var/spool/hylafax:/var/spool/fax:" "${i}" + done + + # fix location of config file + sed -i -e "s:/etc/hylafax:/var/spool/fax/etc:" src/scripts/setupconffile + + # patch man pages + sed -i -e "s:/usr/share/doc/capi4hylafax/:/usr/share/doc/${PF}/html/:g" \ + -e "s:c2send:c2faxsend:g" -e "s:c2recv:c2faxrecv:g" \ + -e "s:CAPI4HYLAFAXCONFIG \"1\":C2FAXADDMODEM \"8\":g" \ + -e "s:capi4hylafaxconfig:c2faxaddmodem:g" debian/*.1 + cp -f debian/capi4hylafaxconfig.1 debian/c2faxaddmodem.8 + + # if specified, convert all relevant files from latin1 to UTF-8 + if useq unicode; then + for i in config.faxCAPI; do + einfo "Converting ${i} to UTF-8" + iconv -f latin1 -t utf8 -o "${i}~" "${i}" && mv -f "${i}~" "${i}" || rm -f "${i}~" + done + fi + +} + +src_compile() { + econf --with-hylafax-spooldir=/var/spool/fax || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + + # install setup script + newsbin src/scripts/setupconffile c2faxaddmodem + + # install sample config + insinto /var/spool/fax/etc + doins config.faxCAPI + + # install docs + dodoc AUTHORS ChangeLog Readme_src + newdoc debian/changelog ChangeLog.debian + dohtml README.html LIESMICH.html + + # install man pages + doman debian/c2fax*.[18] + + # install examples + docinto examples + dodoc debian/faxsend sample_* fritz_pic.tif GenerateFileMail.pl + + # finally install init-script + doinitd "${FILESDIR}/capi4hylafax" +} + +pkg_postinst() { + einfo "To use CAPI4HylaFAX:" + einfo "Make sure that your isdn/capi devices are owned by" + einfo "the \"uucp\" user (see udev or devfsd config)." + einfo "Modify /var/spool/fax/etc/config.faxCAPI" + einfo "to suit your system." + einfo + einfo "If you want to use capi4hylafax together with" + einfo "hylafax, then please emerge net-misc/hylafax" + einfo + einfo "Then append the following line to your hylafax" + einfo "config file (/var/spool/fax/etc/config):" + einfo "SendFaxCmd: /usr/bin/c2faxsend" +} diff --git a/net-misc/capi4hylafax/files/digest-capi4hylafax-01.02.03.13 b/net-misc/capi4hylafax/files/digest-capi4hylafax-01.02.03.13 new file mode 100644 index 000000000000..3053530740a9 --- /dev/null +++ b/net-misc/capi4hylafax/files/digest-capi4hylafax-01.02.03.13 @@ -0,0 +1,2 @@ +MD5 8236290d6b880ee7d5e2fe970648ad6f capi4hylafax_01.02.03.orig.tar.gz 400508 +MD5 e1a3bbb669e6b95ddb015dad1ce2f027 capi4hylafax_01.02.03-13.diff.gz 235643 |