FreeBSD Bugzilla – Attachment 136977 Details for
Bug 182332
www/trac: installs packed eggs which makes them unusable for running services
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
trac-distutils.diff
trac-distutils.diff (text/x-patch), 7.71 KB, created by
R.Mahmatkhanov
on 2014-01-26 21:56:17 UTC
(
hide
)
Description:
trac-distutils.diff
Filename:
MIME Type:
Creator:
R.Mahmatkhanov
Created:
2014-01-26 21:56:17 UTC
Size:
7.71 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 341293) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= trac > PORTVERSION= 1.0.1 >+PORTREVISION= 1 > CATEGORIES= www devel python > MASTER_SITES= http://ftp.edgewall.com/pub/trac/ \ > ftp://ftp.edgewall.com/pub/trac/ >@@ -9,85 +10,52 @@ > DISTNAME= Trac-${PORTVERSION} > > MAINTAINER= clsung@FreeBSD.org >-COMMENT= An enhanced wiki and issue tracking system for software projects >+COMMENT= Enhanced wiki and issue tracking system for software projects > >-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Genshi>=0.6:${PORTSDIR}/textproc/py-genshi \ >- ${PYTHON_PKGNAMEPREFIX}Babel>=0.9.5:${PORTSDIR}/devel/py-babel >-RUN_DEPENDS:= ${BUILD_DEPENDS} >+LICENSE= BSD3CLAUSE > >-OPTIONS_DEFINE= SILVERCITY DOCUTILS PYGMENTS TZ PGSQL SVN >-OPTIONS_DEFAULT= SILVERCITY DOCUTILS PYGMENTS TZ SVN >+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=0.9.5:${PORTSDIR}/devel/py-babel \ >+ ${PYTHON_PKGNAMEPREFIX}Genshi>=0.6:${PORTSDIR}/textproc/py-genshi >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=0.9.5:${PORTSDIR}/devel/py-babel \ >+ ${PYTHON_PKGNAMEPREFIX}Genshi>=0.6:${PORTSDIR}/textproc/py-genshi >+ >+OPTIONS_DEFINE= SILVERCITY DOCUTILS PYGMENTS TZ SVN >+OPTIONS_DEFAULT= SILVERCITY DOCUTILS PYGMENTS TZ SVN SQLITE >+OPTIONS_RADIO= DATABASE >+OPTIONS_RADIO_DATABASE= PGSQL SQLITE > SILVERCITY_DESC= Silvercity for syntax highlighting > DOCUTILS_DESC= Allow additional text markup > PYGMENTS_DESC= Use generic syntax highlighter > TZ_DESC= Process Time Zones > >-CONFLICTS= ja-trac-[0-9]* >+SILVERCITY_RUN_DEPENDS= ${LOCALBASE}/bin/source2html.py:${PORTSDIR}/textproc/silvercity >+DOCUTILS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>0:${PORTSDIR}/textproc/py-docutils >+PYGMENTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>0:${PORTSDIR}/textproc/py-pygments >+TZ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz >+PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>0:${PORTSDIR}/databases/py-psycopg2 >+SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 >+SVN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}subversion>0:${PORTSDIR}/devel/py-subversion > >-USE_PYTHON= 2 >-USE_PYDISTUTILS= easy_install >-PYDISTUTILS_PKGNAME= Trac >-PYDISTUTILS_NOEGGINFO= yes >+CONFLICTS= ja-trac-[0-9]* >+PORTEXAMPLES= * >+PORTDATA= * > >-USE_RC_SUBR= tracd >-SUB_LIST= PYTHON_CMD=${PYTHON_CMD} >+USES= shebangfix >+SHEBANG_FILES= contrib/cgi-bin/trac.fcgi contrib/cgi-bin/trac.cgi \ >+ trac/tests/functional/better_twill.py trac/tests/functional/tester.py \ >+ trac/tests/functional/testenv.py trac/tests/functional/compat.py \ >+ trac/tests/functional/__init__.py contrib/emailfilter.py \ >+ contrib/checkwiki.py contrib/htpasswd.py >+USE_PYTHON= 2 >+USE_PYDISTUTILS= yes >+PYDISTUTILS_AUTOPLIST= yes >+USE_RC_SUBR= tracd > >-.include <bsd.port.options.mk> >- >-.if ${PORT_OPTIONS:MSILVERCITY} >-RUN_DEPENDS+= ${LOCALBASE}/bin/source2html.py:${PORTSDIR}/textproc/silvercity >-.endif >- >-.if ${PORT_OPTIONS:MDOCUTILS} >-RUN_DEPENDS+= ${LOCALBASE}/bin/rst2html:${PORTSDIR}/textproc/py-docutils >-.endif >- >-.if ${PORT_OPTIONS:MPYGMENTS} >-RUN_DEPENDS+= ${LOCALBASE}/bin/pygmentize:${PORTSDIR}/textproc/py-pygments >-.endif >- >-.if ${PORT_OPTIONS:MTZ} >-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz >-.endif >- >-.if ${PORT_OPTIONS:MPGSQL} >-RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psycopg2/__init__.py:${PORTSDIR}/databases/py-psycopg2 >-.else >-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 >-.endif >- >-.if ${PORT_OPTIONS:MSVN} >-RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/svn/__init__.py:${PORTSDIR}/devel/py-subversion >-.endif >- >-# This target is only meant to be used by the port maintainer. >-x-generate-plist: >- (${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \ >- | ${SED} -E \ >- 's,.*share/nls/.+$$,,g \ >- ;s,@dirrm share/man(/.*)?$$,,g \ >- ;s,${PYTHON_SITELIBDIR:S,^${PYTHONBASE}/,,},%%PYTHON_SITELIBDIR%%,g \ >- ;s,share/trac,%%DATADIR%%,g \ >- ;s,share/examples/trac,%%EXAMPLESDIR%%,g \ >- ;s,@dirrm (%%PYTHON_SITELIBDIR%%|${PYTHON_LIBDIR:S,${PYTHONBASE}/,,})$$,,g \ >- ' | ${TR} -s '\n') > temp-pkg-plist >- >-pre-install: >- @${REINPLACE_CMD} -i '' -e 's|/usr/bin/python|${PYTHON_CMD}|' ${WRKSRC}/contrib/cgi-bin/trac.fcgi \ >- ${WRKSRC}/contrib/cgi-bin/trac.cgi >- > post-install: > @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/sample-plugins >- @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/rpm >- @${INSTALL_DATA} ${WRKSRC}/contrib/rpm/* ${STAGEDIR}${EXAMPLESDIR}/rpm >- @${FIND} ${WRKSRC}/contrib -type f -maxdepth 1 -exec ${INSTALL_DATA} {} ${STAGEDIR}${EXAMPLESDIR}/ \; >-. for d in permissions workflow >- @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/sample-plugins/${d} >- @${INSTALL_DATA} ${WRKSRC}/sample-plugins/${d}/* ${STAGEDIR}${EXAMPLESDIR}/sample-plugins/${d}/ >- @${RM} -rf ${WRKSRC}/contrib/${d} >-. endfor >- @${INSTALL_DATA} ${WRKSRC}/sample-plugins/*.py ${STAGEDIR}${EXAMPLESDIR}/sample-plugins/ >+ ${FIND} ${WRKSRC}/contrib -type f -maxdepth 1 -exec ${INSTALL_DATA} {} ${STAGEDIR}${EXAMPLESDIR}/ \; >+ (cd ${WRKSRC}/sample-plugins && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/sample-plugins) > @${MKDIR} ${STAGEDIR}${DATADIR}/cgi-bin >- @${INSTALL_SCRIPT} ${WRKSRC}/contrib/cgi-bin/* ${STAGEDIR}${DATADIR}/cgi-bin >+ ${INSTALL_SCRIPT} ${WRKSRC}/contrib/cgi-bin/* ${STAGEDIR}${DATADIR}/cgi-bin > > .include <bsd.port.mk> >Index: pkg-descr >=================================================================== >--- pkg-descr (revision 341293) >+++ pkg-descr (working copy) >@@ -5,7 +5,7 @@ > > All aspects of Trac have been designed with one single goal, to simplify > tracking and communication of software issues, enhancements and monitoring >-overall progress. >+overall progress. > > What is Trac? > >@@ -16,6 +16,6 @@ > > At the core of Trac lies an integrated wiki and issue/bug database. Using > wiki markup, all objects managed by Trac can directly link to other >-issues/bug reports, code changesets, documentation and files. >+issues/bug reports, code changesets, documentation and files. > > WWW: http://trac.edgewall.org/ >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 341293) >+++ pkg-plist (working copy) >@@ -1,41 +0,0 @@ >-%%DATADIR%%/cgi-bin/trac.cgi >-%%DATADIR%%/cgi-bin/trac.fcgi >-%%EXAMPLESDIR%%/README >-%%EXAMPLESDIR%%/bugzilla2trac.py >-%%EXAMPLESDIR%%/checkwiki.py >-%%EXAMPLESDIR%%/emailfilter.py >-%%EXAMPLESDIR%%/htdigest.py >-%%EXAMPLESDIR%%/htpasswd.py >-%%EXAMPLESDIR%%/l10n_diff_index.py >-%%EXAMPLESDIR%%/l10n_reset_en_GB.py >-%%EXAMPLESDIR%%/l10n_revert_lineno_conflicts.py >-%%EXAMPLESDIR%%/migrateticketmodel.py >-%%EXAMPLESDIR%%/rpm/installscript >-%%EXAMPLESDIR%%/rpm/makerpm >-%%EXAMPLESDIR%%/sample-plugins/HelloWorld.py >-%%EXAMPLESDIR%%/sample-plugins/Timestamp.py >-%%EXAMPLESDIR%%/sample-plugins/milestone_to_version.py >-%%EXAMPLESDIR%%/sample-plugins/permissions/debug_perm.py >-%%EXAMPLESDIR%%/sample-plugins/permissions/public_wiki_policy.py >-%%EXAMPLESDIR%%/sample-plugins/permissions/vulnerability_tickets.py >-%%EXAMPLESDIR%%/sample-plugins/revision_links.py >-%%EXAMPLESDIR%%/sample-plugins/workflow/CodeReview.py >-%%EXAMPLESDIR%%/sample-plugins/workflow/DeleteTicket.py >-%%EXAMPLESDIR%%/sample-plugins/workflow/MilestoneOperation.py >-%%EXAMPLESDIR%%/sample-plugins/workflow/StatusFixer.py >-%%EXAMPLESDIR%%/sample-plugins/workflow/VoteOperation.py >-%%EXAMPLESDIR%%/sample-plugins/workflow/enterprise-review-workflow.ini >-%%EXAMPLESDIR%%/sourceforge2trac.py >-%%EXAMPLESDIR%%/trac-pre-commit-hook >-%%EXAMPLESDIR%%/trac-svn-hook >-%%EXAMPLESDIR%%/trac-svn-post-commit-hook.cmd >-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% >-bin/trac-admin >-bin/tracd >-@dirrm %%DATADIR%%/cgi-bin >-@dirrm %%DATADIR%% >-@dirrm %%EXAMPLESDIR%%/sample-plugins/workflow >-@dirrm %%EXAMPLESDIR%%/sample-plugins/permissions >-@dirrm %%EXAMPLESDIR%%/sample-plugins >-@dirrm %%EXAMPLESDIR%%/rpm >-@dirrm %%EXAMPLESDIR%%
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 182332
: 136977