Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 104267 Details for
Bug 158445
Update: mail-filter/spamassassin-fuzzyocr-3.5.0_rc1 & app-text/gocr-0.43
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
spamassassin-fuzzyocr-3.5.0_rc1.ebuild
spamassassin-fuzzyocr-3.5.0_rc1.ebuild (text/plain), 1.89 KB, created by
Jacob Lindberg
on 2006-12-18 03:55:21 UTC
(
hide
)
Description:
spamassassin-fuzzyocr-3.5.0_rc1.ebuild
Filename:
MIME Type:
Creator:
Jacob Lindberg
Created:
2006-12-18 03:55:21 UTC
Size:
1.89 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: > >inherit perl-module > >MY_P="fuzzyocr-${PV/_/-}" >DESCRIPTION="SpamAssassin plugin for performing Optical Character Recognition (OCR) on attached images" >HOMEPAGE="http://fuzzyocr.own-hero.net/" >SRC_URI="http://users.own-hero.net/~decoder/fuzzyocr/${MY_P}.tar.gz" >LICENSE="Apache-2.0" >SLOT="0" >KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" >IUSE="" >DEPEND="dev-lang/perl > >=mail-filter/spamassassin-3.0.0" >RDEPEND="${DEPEND} > media-libs/netpbm > media-gfx/imagemagick > media-libs/giflib > app-text/gocr > dev-perl/String-Approx > virtual/perl-Digest-MD5 > dev-perl/MLDBM-Sync" > >S="${WORKDIR}/FuzzyOcr-${PV/_/-}" > ># Patch the package as recommended on the website / jni >src_unpack() { > unpack ${A} > cd ${S} > epatch "${FILESDIR}"/patchset2.patch >} > >src_install() { > # called to get ${VENDOR_LIB} > perlinfo > > local plugin_dir=${VENDOR_LIB}/Mail/SpamAssassin/Plugin > > insinto ${plugin_dir} > doins FuzzyOcr.pm > > insinto /etc/mail/spamassassin/ > > # Replace location of .pm file in config > sed -ie "s:FuzzyOcr.pm:${plugin_dir}/FuzzyOcr.pm:" FuzzyOcr.cf > > # disable logging > sed -ie "s:^#focr_verbose 1:focr_verbose 0.0:" FuzzyOcr.cf > > # if we're using spamassassin < 3.1.4 we need to set this variable > if has_version '<mail-filter/spamassassin-3.1.4'; then > sed -ie "s:^#focr_pre314 0.0:focr_pre314 1:" FuzzyOcr.cf > fi > > doins FuzzyOcr.cf > doins FuzzyOcr.words > doins FuzzyOcr.scansets > doins FuzzyOcr.preps > insinto /etc/mail/spamassassin/FuzzyOcr > doins FuzzyOcr/* > > docinto samples > dodoc samples/* >} > > >pkg_postinst() { > einfo "You need to restart spamassassin (as root) before this plugin will work:" > einfo "/etc/init.d/spamd restart" > echo > ewarn "To avoid segfaulting and heavy loading from app-text/gocr, be sure to run at least" > ewarn "0.43" > echo > einfo "$ emerge \">=app-text/gocr-0.43\"" > echo > echo >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 158445
:
104267
|
104268
|
104269
|
104270
|
104274
|
104275
|
104276
|
104727
|
104771
|
104773
|
104774
|
104776
|
104778
|
104779
|
104790
|
104837
|
104838
|
104839
|
105149
|
105150
|
105151
|
105396
|
105398
|
105399
|
105400
|
108421
|
108904
|
108944
|
109385
|
119839