version bump.
authorStefan Briesenick <sbriesen@gentoo.org>
Sat, 6 Jan 2007 21:14:07 +0000 (21:14 +0000)
committerStefan Briesenick <sbriesen@gentoo.org>
Sat, 6 Jan 2007 21:14:07 +0000 (21:14 +0000)
Package-Manager: portage-2.1.2_rc4-r5

net-misc/capi4hylafax/ChangeLog
net-misc/capi4hylafax/Manifest
net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.4.ebuild [new file with mode: 0644]
net-misc/capi4hylafax/files/digest-capi4hylafax-01.03.00.99.300.4 [new file with mode: 0644]

index c4095ec84b3e755179933fcc7d7d4d0e0b24713a..dfa4673c83d52116f9a7416cf07220f3deec0adc 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-misc/capi4hylafax
 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/capi4hylafax/ChangeLog,v 1.24 2007/01/04 16:33:29 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/capi4hylafax/ChangeLog,v 1.25 2007/01/06 21:14:07 sbriesen Exp $
+
+*capi4hylafax-01.03.00.99.300.4 (06 Jan 2007)
+
+  06 Jan 2007; Stefan Briesenick <sbriesen@gentoo.org>
+  +capi4hylafax-01.03.00.99.300.4.ebuild:
+  version bump.
 
   04 Jan 2007; Diego Pettenò <flameeyes@gentoo.org>
   capi4hylafax-01.03.00.99.300.3-r1.ebuild:
index 0c6cea944bfba5fa3f323012abcfd7b4bd40f95a..04bb73818bdf54bc201ff1a61a6219f984b58634 100644 (file)
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
 AUX capi4hylafax-01.03.00.99.300.3-recvdev.diff 973 RMD160 5fa7ae4b9a3f0684710cb42ad79ef6412d972f0b SHA1 dd18f9abc7ec3b6366f806d889e79fcf9744f0f4 SHA256 9f6d45c7de27846a0b233c8e706c4b360d56266b034dc17588ecf5dba2ee604d
 MD5 8d90d2de45e42bd3e8c5ad546ce98cb2 files/capi4hylafax-01.03.00.99.300.3-recvdev.diff 973
 RMD160 5fa7ae4b9a3f0684710cb42ad79ef6412d972f0b files/capi4hylafax-01.03.00.99.300.3-recvdev.diff 973
@@ -15,6 +12,7 @@ RMD160 a35cffbb92f0991f8c295ad079c4b80534681623 files/capi4hylafax.initd 1943
 SHA256 376a564f9e78f79ce0baa0b59e0f3e29a481f9ccc32b3814a56433b7162e73c4 files/capi4hylafax.initd 1943
 DIST capi4hylafax_01.03.00-3.diff.gz 57989 RMD160 463ebdd818471e2d0ca3eba371cffcb75aeb9298 SHA1 426fcbbeec69653c3509f743c34c2adf4e3c986d SHA256 c7a601cf062b04a858bb24186dc9ab84a0b922cd1eecc391899ee3aa24983238
 DIST capi4hylafax_01.03.00.99.svn.300-3.diff.gz 155360 RMD160 2001d97e99e938823d922d800ba85df74200f520 SHA1 bba7da85976121913bb6057038b964707b8abba1 SHA256 dec167255e2307d12b5093e11ddbb6b1f96d0ac94985643579cfd6b534313ed2
+DIST capi4hylafax_01.03.00.99.svn.300-4.diff.gz 155740 RMD160 f6ccab7bf3cbaf8819b022b9e5ed300f264a837f SHA1 4f5371113304e0ae111968f67751abb775ce9a2e SHA256 3c46439120eaa6bfaaad7597b683e618eb565148e7f960d2268713f92c13433b
 DIST capi4hylafax_01.03.00.99.svn.300.orig.tar.gz 533410 RMD160 163374cfcaa91909a5f70169203aa6c7df6a590d SHA1 a8b78e9edfb74df0317d5ee3bd28c66ee5b25ee0 SHA256 8c5433fda85d5f178382c0a4fbc07cf22fc22c448146a4b7a090bc6a0b1789c2
 DIST capi4hylafax_01.03.00.orig.tar.gz 715734 RMD160 11585d606b712fd287151c3013c06e3640049453 SHA1 b1d3d3a739d5b2f6e853c9caea65f08cb8579b33 SHA256 a27ccac87d60a1d61817844f8b83ff6ed08b885e6e1571cfdd241d7cd8e1d0cb
 EBUILD capi4hylafax-01.03.00.3.ebuild 4245 RMD160 1188697db5e4a1c9c01902c2ee23c1975782e373 SHA1 3eae23a6badac1786118daac63f7afdc7776c151 SHA256 a936ae0ece0de7b4c69d7283f8aaa6d4aff9b8dc59ac45850ed2a7bc57761dad
@@ -29,10 +27,14 @@ EBUILD capi4hylafax-01.03.00.99.300.3.ebuild 4300 RMD160 5ff05fed75f26b05c2447e1
 MD5 658d972e91f45d48eb0897d9399aa68e capi4hylafax-01.03.00.99.300.3.ebuild 4300
 RMD160 5ff05fed75f26b05c2447e1065990f178255c610 capi4hylafax-01.03.00.99.300.3.ebuild 4300
 SHA256 85cffefca4212882a90c2fe1ac588582d79b5dbf24be0ee986447d2225855160 capi4hylafax-01.03.00.99.300.3.ebuild 4300
-MISC ChangeLog 3962 RMD160 2329ca646e3f612cc0d2c4bda495a55c763b713d SHA1 985d7dd69977b7e2b321685554fd3945dc186b82 SHA256 6f3d031197c88ba08591803c0d18cdbfbec5ef2c730d4c34e228a1220f164014
-MD5 e72d012d3cf2c4317a26730852f240b0 ChangeLog 3962
-RMD160 2329ca646e3f612cc0d2c4bda495a55c763b713d ChangeLog 3962
-SHA256 6f3d031197c88ba08591803c0d18cdbfbec5ef2c730d4c34e228a1220f164014 ChangeLog 3962
+EBUILD capi4hylafax-01.03.00.99.300.4.ebuild 4364 RMD160 acb52a3716afc850664e3322695583c5807949a7 SHA1 f912b1bd9db3ca3a3dca10419c345b9872411dd8 SHA256 2b45991c428317595e1b65ab2150b0ea6a38ccecef138dfbc2482b04c8c914c5
+MD5 adf54099234e3797420ff1c6c14169e1 capi4hylafax-01.03.00.99.300.4.ebuild 4364
+RMD160 acb52a3716afc850664e3322695583c5807949a7 capi4hylafax-01.03.00.99.300.4.ebuild 4364
+SHA256 2b45991c428317595e1b65ab2150b0ea6a38ccecef138dfbc2482b04c8c914c5 capi4hylafax-01.03.00.99.300.4.ebuild 4364
+MISC ChangeLog 4122 RMD160 61a428bdda50624327f85496d89e7e5702d39e8f SHA1 61c968aaad203a5d094dcf47155b8ecbefa6faa4 SHA256 fa1f84b1acc597f3d6ef0e95efd4e410d23ae1c94416fbf2d6d3ac0cc12faacb
+MD5 2bebfd76825e44a5cc531cf991c75658 ChangeLog 4122
+RMD160 61a428bdda50624327f85496d89e7e5702d39e8f ChangeLog 4122
+SHA256 fa1f84b1acc597f3d6ef0e95efd4e410d23ae1c94416fbf2d6d3ac0cc12faacb ChangeLog 4122
 MISC metadata.xml 774 RMD160 83e385eab3e03dd6d86cd0b1f97fcb7bfe7c80f2 SHA1 88b9b9702ca14797953cc2db52a9e69e11db7718 SHA256 66c01472fce6921767f22c34c3ddf3c079e6bc5ea27e77373e70183e08f901f4
 MD5 4b5e5de33ef080a46f770249b2683500 metadata.xml 774
 RMD160 83e385eab3e03dd6d86cd0b1f97fcb7bfe7c80f2 metadata.xml 774
@@ -46,10 +48,6 @@ SHA256 a7206c242f27968ddd14af47873f27bf11f0ee0650f6fc5ad226f3d94d614063 files/di
 MD5 b7807a0504c56f47662001df6d78932f files/digest-capi4hylafax-01.03.00.99.300.3-r1 620
 RMD160 9083681d7c0d440fa49ceba5c4d7378b3bd37df8 files/digest-capi4hylafax-01.03.00.99.300.3-r1 620
 SHA256 a7206c242f27968ddd14af47873f27bf11f0ee0650f6fc5ad226f3d94d614063 files/digest-capi4hylafax-01.03.00.99.300.3-r1 620
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
-
-iD8DBQFFnSxgAiZjviIA2XgRAq3iAKDEY6D3lPsY6EjO/pJFxONCCmo4dQCgkcP9
-ddGTh+j37XW9DHnk6lZi/4I=
-=DrP9
------END PGP SIGNATURE-----
+MD5 cdc7188c18142087ebfc1bc711815af2 files/digest-capi4hylafax-01.03.00.99.300.4 620
+RMD160 f0f036623362fd84570e892f0f4f24b310d55719 files/digest-capi4hylafax-01.03.00.99.300.4 620
+SHA256 9372a6aad14f8be555d43e1cde75cb004974d5f4719e611923e36ec73673ef03 files/digest-capi4hylafax-01.03.00.99.300.4 620
diff --git a/net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.4.ebuild b/net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.4.ebuild
new file mode 100644 (file)
index 0000000..906ec6a
--- /dev/null
@@ -0,0 +1,143 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.4.ebuild,v 1.1 2007/01/06 21:14:07 sbriesen Exp $
+
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="latest"
+
+inherit eutils versionator autotools
+
+FAX_SPOOL_DIR="/var/spool/fax"
+
+MY_PV1="$(get_version_component_range 1-4)"
+MY_PV2="$(get_version_component_range 5)"
+MY_PV3="$(get_version_component_range 6)"
+MY_P="${PN}_${MY_PV1}.svn.${MY_PV2}"
+
+DESCRIPTION="capi4hylafax adds a faxcapi modem to the hylafax enviroment."
+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_PV3}.diff.gz"
+HOMEPAGE="http://packages.qa.debian.org/c/capi4hylafax.html"
+
+S="${WORKDIR}/${PN}-svn"
+
+IUSE="unicode"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="net-dialup/capi4k-utils
+       media-libs/tiff
+       media-libs/jpeg
+       sys-libs/zlib"
+
+RDEPEND="${DEPEND}
+       dev-util/dialog"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+
+       # apply debian patches + update configs
+       epatch "${WORKDIR}/${MY_P}-${MY_PV3}.diff"
+
+       # update autotools
+       eautoreconf
+
+       # fix location of fax spool
+       for i in config.faxCAPI Readme_src src/defaults.h.in debian/*.1; do
+               [ -f "${i}" ] && sed -i -e "s:/var/spool/hylafax:${FAX_SPOOL_DIR}:g" "${i}"
+       done
+
+       # fix location of fax config
+       sed -i -e "s:/etc/hylafax:${FAX_SPOOL_DIR}/etc:g" setupconffile
+
+       # fix name and location of logfile
+       sed -i -e "s:/var/spool/fax/log/capi4hylafax:/var/log/${PN}.log:" config.faxCAPI
+       sed -i -e "s:/tmp/capifax.log:/var/log/${PN}.log:" src/defaults.h.in config.faxCAPI
+
+       # 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 use 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="${FAX_SPOOL_DIR}" || die "econf failed"
+       emake || die "emake failed"
+}
+
+src_install() {
+       keepdir "${FAX_SPOOL_DIR}"/{etc,recvq,pollq,log,status}
+       fowners uucp:uucp "${FAX_SPOOL_DIR}" "${FAX_SPOOL_DIR}"/{etc,recvq,pollq,log,status}
+       fperms 0700 "${FAX_SPOOL_DIR}"
+
+       make DESTDIR="${D}" install || die "make install failed"
+
+       # install setup script
+       newsbin setupconffile c2faxaddmodem
+
+       # install sample config
+       insinto "${FAX_SPOOL_DIR}/etc"
+       newins config.faxCAPI config.faxCAPI.default
+
+       # 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
+       insinto /usr/share/doc/${PF}/examples
+       doins sample_faxrcvd faxrcvd config.faxCAPI fritz_pic.tif GenerateFileMail.pl
+       newins sample_AVMC4_config.faxCAPI config.faxCAPI_AVMC4
+       newins debian/faxsend sample_faxsend
+
+       # finally install init-script + config
+       newinitd "${FILESDIR}/${PN}.initd" ${PN}
+       newconfd "${FILESDIR}/${PN}.confd" ${PN}
+}
+
+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 ${FAX_SPOOL_DIR}/etc/config.faxCAPI"
+       einfo "to suit your system."
+
+       if [ -f "${FAX_SPOOL_DIR}/etc/config.faxCAPI" ]; then
+               einfo
+               einfo "If you're upgrading from a previous version"
+               einfo "please check for new or changed options."
+               einfo "A sample default config is installed as:"
+               einfo "${FAX_SPOOL_DIR}/etc/config.faxCAPI.default"
+       else
+               # install default config
+               cp -f "${FAX_SPOOL_DIR}/etc/config.faxCAPI.default" \
+                       "${FAX_SPOOL_DIR}/etc/config.faxCAPI"
+       fi
+
+       einfo
+       einfo "You should also check special options in:"
+       einfo "/etc/conf.d/${PN}"
+       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 (${FAX_SPOOL_DIR}/etc/config):"
+       einfo "SendFaxCmd:             /usr/bin/c2faxsend"
+}
diff --git a/net-misc/capi4hylafax/files/digest-capi4hylafax-01.03.00.99.300.4 b/net-misc/capi4hylafax/files/digest-capi4hylafax-01.03.00.99.300.4
new file mode 100644 (file)
index 0000000..6cad946
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 b7132c6470c23fb4ccf0a3734a52a3b3 capi4hylafax_01.03.00.99.svn.300-4.diff.gz 155740
+RMD160 f6ccab7bf3cbaf8819b022b9e5ed300f264a837f capi4hylafax_01.03.00.99.svn.300-4.diff.gz 155740
+SHA256 3c46439120eaa6bfaaad7597b683e618eb565148e7f960d2268713f92c13433b capi4hylafax_01.03.00.99.svn.300-4.diff.gz 155740
+MD5 af2610c5219e89ef9dc47eead30276b4 capi4hylafax_01.03.00.99.svn.300.orig.tar.gz 533410
+RMD160 163374cfcaa91909a5f70169203aa6c7df6a590d capi4hylafax_01.03.00.99.svn.300.orig.tar.gz 533410
+SHA256 8c5433fda85d5f178382c0a4fbc07cf22fc22c448146a4b7a090bc6a0b1789c2 capi4hylafax_01.03.00.99.svn.300.orig.tar.gz 533410