FreeBSD Bugzilla – Attachment 164128 Details for
Bug 205231
[patch] mail/dovecot2 FTS search - decode2text script / new option with new depends?
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
makefile-patch, adding options and post-patching decode2text.sh
makefile.patch (text/plain), 2.82 KB, created by
Andrej Ebert
on 2015-12-11 20:15:41 UTC
(
hide
)
Description:
makefile-patch, adding options and post-patching decode2text.sh
Filename:
MIME Type:
Creator:
Andrej Ebert
Created:
2015-12-11 20:15:41 UTC
Size:
2.82 KB
patch
obsolete
>--- Makefile.old 2015-12-10 05:08:56.000000000 +0100 >+++ Makefile 2015-12-11 21:14:29.498213460 +0100 >@@ -48,7 +48,7 @@ > > OPTIONS_GROUP= DB FTS > OPTIONS_GROUP_DB= CDB LDAP MYSQL PGSQL SQLITE >-OPTIONS_GROUP_FTS= ICU LUCENE SOLR TEXTCAT >+OPTIONS_GROUP_FTS= ICU LUCENE SOLR TEXTCAT CATDOC POPPLER-UTILS XPDF > > OPTIONS_SINGLE= GSSAPI > OPTIONS_SINGLE_GSSAPI= GSSAPI_NONE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT >@@ -60,17 +60,22 @@ > DB_DESC= Database support > CDB_DESC= CDB database support > >-FTS_DESC= Full text search plugins >-ICU_DESC= Use libicu for FTS unicode normalization >-LUCENE_DESC= CLucene FTS support >-SOLR_DESC= Solr FTS support >-TEXTCAT_DESC= Libtextcat FTS support >+FTS_DESC= Full text search plugins and options >+CATDOC_DESC= Use catdoc for MS Office documents decoding for FTS >+ICU_DESC= Use libicu for FTS unicode normalization >+LUCENE_DESC= CLucene FTS support >+SOLR_DESC= Solr FTS support >+TEXTCAT_DESC= Libtextcat FTS support >+POPPLER-UTILS_DESC= Use poppler-utils for pdf to text conversion for FTS >+XPDF_DESC= Use xpdf for pdf to text conversion for FTS > > GSSAPI_NONE_DESC= Build without GSSAPI support > GSSAPI_BASE_DESC= Use GSSAPI from base > GSSAPI_HEIMDAL_DESC= Use Heimdal GSSAPI from security/heimdal > GSSAPI_MIT_DESC= Use MIT GSSAPI from security/krb5 > >+CATDOC_RUN_DEPENDS= catdoc:${PORTSDIR}/textproc/catdoc >+ > CDB_CONFIGURE_WITH= cdb > CDB_LIB_DEPENDS= libcdb.so:${PORTSDIR}/databases/tinycdb > >@@ -105,6 +110,8 @@ > PGSQL_USES= pgsql > PGSQL_CONFIGURE_WITH= pgsql > >+POPPLER-UTILS_RUN_DEPENDS= pdftotext:${PORTSDIR}/graphics/poppler-utils >+ > SOLR_CONFIGURE_WITH= solr > SOLR_BUILD_DEPENDS= curl:${PORTSDIR}/ftp/curl > SOLR_LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 >@@ -120,6 +127,9 @@ > VPOPMAIL_BUILD_DEPENDS= ${LOCALBASE}/vpopmail/bin/vchkpw:${PORTSDIR}/mail/vpopmail > VPOPMAIL_CONFIGURE_WITH=vpopmail > >+XPDF_RUN_DEPENDS= xpdf:${PORTSDIR}/graphics/xpdf/ >+XPDF_PREVENTS= POPPLER-UTILS >+ > DOCS= AUTHORS COPYING COPYING.LGPL COPYING.MIT INSTALL NEWS TODO README > PORTDOCS= * > PORTEXAMPLES= * >@@ -149,6 +159,15 @@ > @${REINPLACE_CMD} -e '/^exampledir =/s|\$$(docdir)|${ETCDIR}|' \ > ${WRKSRC}/doc/example-config/Makefile.in \ > ${WRKSRC}/doc/example-config/conf.d/Makefile.in >+.if ${PORT_OPTIONS:MXPDF} >+ @${REINPLACE_CMD} -e 's|/usr/bin/pdftotext|${PREFIX}/lib/xpdf/pdftotext|g' ${WRKSRC}/src/plugins/fts/decode2text.sh >+ @${REINPLACE_CMD} -e 's|/usr/bin/catdoc|${PREFIX}/bin/catdoc|g' ${WRKSRC}/src/plugins/fts/decode2text.sh >+ @${REINPLACE_CMD} -e 's|/usr/bin/catppt|${PREFIX}/bin/catppt|g' ${WRKSRC}/src/plugins/fts/decode2text.sh >+ @${REINPLACE_CMD} -e 's|/usr/bin/xls2csv|${PREFIX}/bin/xls2csv|g' ${WRKSRC}/src/plugins/fts/decode2text.sh >+.else >+ @${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|g' ${WRKSRC}/src/plugins/fts/decode2text.sh >+.endif >+ > > post-install: > @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR}
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 205231
:
164089
|
164115
|
164122
|
164123
|
164126
| 164128