diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2007-11-18 01:50:26 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2007-11-18 01:50:26 +0000 |
commit | fb608f02c049ce04c83e6c1cdae499ad29f5045a (patch) | |
tree | 045fcef3a6a799b2033802d9918a0bbdd3c5ee6d | |
parent | version bump, solving bug #195267. (diff) | |
download | historical-fb608f02c049ce04c83e6c1cdae499ad29f5045a.tar.gz historical-fb608f02c049ce04c83e6c1cdae499ad29f5045a.tar.bz2 historical-fb608f02c049ce04c83e6c1cdae499ad29f5045a.zip |
version bump, some cleanups.
Package-Manager: portage-2.1.3.19
-rw-r--r-- | net-misc/capi4hylafax/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/capi4hylafax/Manifest | 16 | ||||
-rw-r--r-- | net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.7.ebuild | 136 | ||||
-rw-r--r-- | net-misc/capi4hylafax/files/digest-capi4hylafax-01.03.00.99.300.7 | 6 |
4 files changed, 161 insertions, 5 deletions
diff --git a/net-misc/capi4hylafax/ChangeLog b/net-misc/capi4hylafax/ChangeLog index e0363672a083..a8bd235886f7 100644 --- a/net-misc/capi4hylafax/ChangeLog +++ b/net-misc/capi4hylafax/ChangeLog @@ -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.27 2007/02/10 23:25:54 sbriesen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/capi4hylafax/ChangeLog,v 1.28 2007/11/18 01:50:26 sbriesen Exp $ + +*capi4hylafax-01.03.00.99.300.7 (18 Nov 2007) + + 18 Nov 2007; Stefan Briesenick <sbriesen@gentoo.org> + +capi4hylafax-01.03.00.99.300.7.ebuild: + version bump, some cleanups. 10 Feb 2007; Stefan Briesenick <sbriesen@gentoo.org> capi4hylafax-01.03.00.99.300.3-r1.ebuild, diff --git a/net-misc/capi4hylafax/Manifest b/net-misc/capi4hylafax/Manifest index 4d4237f7eef6..72643a64a039 100644 --- a/net-misc/capi4hylafax/Manifest +++ b/net-misc/capi4hylafax/Manifest @@ -12,6 +12,7 @@ RMD160 a35cffbb92f0991f8c295ad079c4b80534681623 files/capi4hylafax.initd 1943 SHA256 376a564f9e78f79ce0baa0b59e0f3e29a481f9ccc32b3814a56433b7162e73c4 files/capi4hylafax.initd 1943 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-7.diff.gz 159998 RMD160 27c771edaffdfa307376f160f1f15b9abccb8ce1 SHA1 a8db8fbf82e52b4966877b2b470a83628d147e39 SHA256 29c4acb593382b95b48e84df2b18c23c5125ffbc9dada3c16165ce561782fe20 DIST capi4hylafax_01.03.00.99.svn.300.orig.tar.gz 533410 RMD160 163374cfcaa91909a5f70169203aa6c7df6a590d SHA1 a8b78e9edfb74df0317d5ee3bd28c66ee5b25ee0 SHA256 8c5433fda85d5f178382c0a4fbc07cf22fc22c448146a4b7a090bc6a0b1789c2 EBUILD capi4hylafax-01.03.00.99.300.3-r1.ebuild 4392 RMD160 8464ea445281ab9fcd8d2484d69e63684a34a6ad SHA1 743698208337cac6b9b6a307ab793000de8338c5 SHA256 637b6d27dab621c91d48effa0e2d59c45075a61683fa6cc64b20adba2355492c MD5 21b2debc01617c3f2d2216cb6a578424 capi4hylafax-01.03.00.99.300.3-r1.ebuild 4392 @@ -21,10 +22,14 @@ EBUILD capi4hylafax-01.03.00.99.300.4.ebuild 4338 RMD160 7e8eb78be0bb6eddeebdfcc MD5 df1d77ad7ac2d7bbb80274c2afb5f5d4 capi4hylafax-01.03.00.99.300.4.ebuild 4338 RMD160 7e8eb78be0bb6eddeebdfccf39503bbda43d1c93 capi4hylafax-01.03.00.99.300.4.ebuild 4338 SHA256 96a6db652283b8c69824ff381582e877dc63b60168ba3f7d8bed1bfd2b494242 capi4hylafax-01.03.00.99.300.4.ebuild 4338 -MISC ChangeLog 4456 RMD160 b7d01fd9352dbb7944571814fd1ca54c83d546a1 SHA1 a9fb097db34c1098f91af6f606260d8776099168 SHA256 a1ce667da7cad9ec4ff310e47b5d6e7b00060b6df4f070098788c6906a8d0997 -MD5 6afcf8fc54a03b69a7d10d00ad4750bd ChangeLog 4456 -RMD160 b7d01fd9352dbb7944571814fd1ca54c83d546a1 ChangeLog 4456 -SHA256 a1ce667da7cad9ec4ff310e47b5d6e7b00060b6df4f070098788c6906a8d0997 ChangeLog 4456 +EBUILD capi4hylafax-01.03.00.99.300.7.ebuild 4069 RMD160 972a2e4ae5476e4964ec1fa497d34e828b464cb5 SHA1 9219ffb3714599774dd7b3a40ed2ba9ea64e905d SHA256 34861e7ad906df67ffb1a0c67ccaeb93041b40e6377dd0a00338326dcb41dcab +MD5 da10fa01edd19eda1ee0595da31c7971 capi4hylafax-01.03.00.99.300.7.ebuild 4069 +RMD160 972a2e4ae5476e4964ec1fa497d34e828b464cb5 capi4hylafax-01.03.00.99.300.7.ebuild 4069 +SHA256 34861e7ad906df67ffb1a0c67ccaeb93041b40e6377dd0a00338326dcb41dcab capi4hylafax-01.03.00.99.300.7.ebuild 4069 +MISC ChangeLog 4632 RMD160 398374e3fdac5ba2faba6093a23ab5ea9efda342 SHA1 03063abc8504be08a5049b1e65db0d342b76fb8c SHA256 b7e6e580ee5f84ea6ba321a31e0a48c8cc6514176a3dec03ad39c8a1ce1a7b6b +MD5 3f0052bf698cf723f73c3902dc0f9069 ChangeLog 4632 +RMD160 398374e3fdac5ba2faba6093a23ab5ea9efda342 ChangeLog 4632 +SHA256 b7e6e580ee5f84ea6ba321a31e0a48c8cc6514176a3dec03ad39c8a1ce1a7b6b ChangeLog 4632 MISC metadata.xml 774 RMD160 83e385eab3e03dd6d86cd0b1f97fcb7bfe7c80f2 SHA1 88b9b9702ca14797953cc2db52a9e69e11db7718 SHA256 66c01472fce6921767f22c34c3ddf3c079e6bc5ea27e77373e70183e08f901f4 MD5 4b5e5de33ef080a46f770249b2683500 metadata.xml 774 RMD160 83e385eab3e03dd6d86cd0b1f97fcb7bfe7c80f2 metadata.xml 774 @@ -35,3 +40,6 @@ SHA256 a7206c242f27968ddd14af47873f27bf11f0ee0650f6fc5ad226f3d94d614063 files/di 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 +MD5 5d32fe3a5d5e34a2db6748f9509fb8fb files/digest-capi4hylafax-01.03.00.99.300.7 620 +RMD160 827a8ce06adb8a8d9efc4a36fa81dc2055178b0d files/digest-capi4hylafax-01.03.00.99.300.7 620 +SHA256 536edb4225cf86ac8308adb1bd2aa556e3c2e827ad4bc3a934f748b8cb40c567 files/digest-capi4hylafax-01.03.00.99.300.7 620 diff --git a/net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.7.ebuild b/net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.7.ebuild new file mode 100644 index 000000000000..0f49985db851 --- /dev/null +++ b/net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.7.ebuild @@ -0,0 +1,136 @@ +# 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.7.ebuild,v 1.1 2007/11/18 01:50:26 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="mirror://debian/pool/main/c/capi4hylafax/${MY_P}.orig.tar.gz + mirror://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="" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" + +DEPEND="net-dialup/capi4k-utils + app-shells/bash + 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 +} + +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 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() { + elog "To use capi4hylafax:" + elog "Make sure that your isdn/capi devices are owned by" + elog "the \"uucp\" user (see udev or devfsd config)." + elog "Modify ${FAX_SPOOL_DIR}/etc/config.faxCAPI" + elog "to suit your system." + + if [ -f "${FAX_SPOOL_DIR}/etc/config.faxCAPI" ]; then + elog + elog "If you're upgrading from a previous version" + elog "please check for new or changed options." + elog "A sample default config is installed as:" + elog "${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 + + elog + elog "You should also check special options in:" + elog "/etc/conf.d/${PN}" + elog + elog "If you want to use capi4hylafax together with" + elog "hylafax, then please emerge net-misc/hylafax" + elog + elog "Then append the following line to your hylafax" + elog "config file (${FAX_SPOOL_DIR}/etc/config):" + elog "SendFaxCmd: /usr/bin/c2faxsend" +} diff --git a/net-misc/capi4hylafax/files/digest-capi4hylafax-01.03.00.99.300.7 b/net-misc/capi4hylafax/files/digest-capi4hylafax-01.03.00.99.300.7 new file mode 100644 index 000000000000..d29a2dff88cf --- /dev/null +++ b/net-misc/capi4hylafax/files/digest-capi4hylafax-01.03.00.99.300.7 @@ -0,0 +1,6 @@ +MD5 61a8c77d0314521ad966b76df4134bbe capi4hylafax_01.03.00.99.svn.300-7.diff.gz 159998 +RMD160 27c771edaffdfa307376f160f1f15b9abccb8ce1 capi4hylafax_01.03.00.99.svn.300-7.diff.gz 159998 +SHA256 29c4acb593382b95b48e84df2b18c23c5125ffbc9dada3c16165ce561782fe20 capi4hylafax_01.03.00.99.svn.300-7.diff.gz 159998 +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 |