diff options
author | Pacho Ramos <pacho@gentoo.org> | 2013-07-21 09:10:32 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2013-07-21 09:10:32 +0000 |
commit | 5263f908cfc76ecc0ee9f0eaba8ec072aad16953 (patch) | |
tree | 2f111b5ea19f14b57e258d91c2fe065c4dd12523 /net-misc/capi4hylafax | |
parent | Cleanup due #92799 (diff) | |
download | gentoo-2-5263f908cfc76ecc0ee9f0eaba8ec072aad16953.tar.gz gentoo-2-5263f908cfc76ecc0ee9f0eaba8ec072aad16953.tar.bz2 gentoo-2-5263f908cfc76ecc0ee9f0eaba8ec072aad16953.zip |
Cleanup due #92799
(Portage version: 2.1.12.13/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'net-misc/capi4hylafax')
-rw-r--r-- | net-misc/capi4hylafax/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.4.ebuild | 140 | ||||
-rw-r--r-- | net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.7.ebuild | 133 | ||||
-rw-r--r-- | net-misc/capi4hylafax/metadata.xml | 3 |
4 files changed, 7 insertions, 276 deletions
diff --git a/net-misc/capi4hylafax/ChangeLog b/net-misc/capi4hylafax/ChangeLog index 788ef6566b11..0a33c1255242 100644 --- a/net-misc/capi4hylafax/ChangeLog +++ b/net-misc/capi4hylafax/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/capi4hylafax # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/capi4hylafax/ChangeLog,v 1.31 2013/02/16 14:37:03 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/capi4hylafax/ChangeLog,v 1.32 2013/07/21 09:10:32 pacho Exp $ + + 21 Jul 2013; Pacho Ramos <pacho@gentoo.org> + -capi4hylafax-01.03.00.99.300.4.ebuild, + -capi4hylafax-01.03.00.99.300.7.ebuild, metadata.xml: + Cleanup due #92799 16 Feb 2013; Pacho Ramos <pacho@gentoo.org> metadata.xml: Clean per http://www.gossamer- 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 deleted file mode 100644 index e5e4acb5e6f8..000000000000 --- a/net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.4.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 1999-2011 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.4 2011/02/26 21:49:22 signals Exp $ - -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="unicode" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND="net-dialup/capi4k-utils - media-libs/tiff - virtual/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/capi4hylafax-01.03.00.99.300.7.ebuild b/net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.7.ebuild deleted file mode 100644 index 9243eda11b99..000000000000 --- a/net-misc/capi4hylafax/capi4hylafax-01.03.00.99.300.7.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2011 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.3 2011/02/26 21:49:22 signals Exp $ - -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 - virtual/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/metadata.xml b/net-misc/capi4hylafax/metadata.xml index f8a0d7fc06a1..ed4bdf3ce27c 100644 --- a/net-misc/capi4hylafax/metadata.xml +++ b/net-misc/capi4hylafax/metadata.xml @@ -2,8 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer> - <email>sbriesen@gentoo.org</email> - <name>Stefan Briesenick</name> + <email>maintainer-needed@gentoo.org</email> </maintainer> <longdescription lang="en"> capi4hylafax adds a faxcapi modem to the hylafax enviroment. So you can |