9cdfff13e1
Trac 0.11.2 (November 8, 2008) http://svn.edgewall.org/repos/trac/tags/trac-0.11.2 Trac 0.11.2 contains two security fixes and a couple of bug fixes. The following list contains only a few highlights: Bug fixes: * Fixes potential DOS vulnerability with certain wiki markup. Reported by Matt Murphy. * Improved HTML sanitizer filter to detect possible phishing attempts. Reported by Simon Willison. * MySQL db backend improvement (reconnect after idle timeout #4465) * TicketQuery speed improvements (#6436) * Fixes for RSS feeds (timeline entries no longer truncated #7316, no longer download some feeds under Firefox #3899) * Search now works for custom fields (#2530) * Same order for ticket fields for new and existing tickets (#7018) * Enforce fine-grained permission for "quickjump" search results (#7655) * E-mail obfuscation was not done in a few remaining places (#7688, #6532) * Uninstall of plugins from WebAdmin was not working - feature disabled for now * More robust pagination of results for reports and custom queries (#7424, #7544) * Support for newer version of pygments (#7622) * Documentation updated (#7603, #7205, #7318) Minor improvements: * Better support for Wiki page hierarchy (show path #2780, link to parent #2150) * Custom query allow to search in description and other text fields (#4824)
63 lines
1.8 KiB
Makefile
63 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.41 2008/11/11 18:24:09 gdt Exp $
|
|
#
|
|
|
|
DISTNAME= Trac-0.11.2
|
|
PKGNAME= ${DISTNAME:tl}
|
|
CATEGORIES= devel www
|
|
MASTER_SITES= http://ftp.edgewall.org/pub/trac/ \
|
|
ftp://ftp.edgewall.org/pub/trac/
|
|
|
|
MAINTAINER= gdt@NetBSD.org
|
|
HOMEPAGE= http://trac.edgewall.org/
|
|
COMMENT= Subversion repository browser, wiki, and issue tracking system
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-genshi>=0.5:../../www/py-genshi
|
|
DEPENDS+= ${PYPKGPREFIX}-subversion>=1.1.0:../../devel/py-subversion
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.trac
|
|
PKG_OPTIONS_REQUIRED_GROUPS= db
|
|
PKG_OPTIONS_GROUP.db= sqlite pgsql psycopg2
|
|
PKG_SUGGESTED_OPTIONS= sqlite
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PYDISTUTILSPKG= YES
|
|
PY_PATCHPLIST= YES
|
|
PYTHON_PATCH_SCRIPTS= cgi-bin/trac.* contrib/*.py contrib/*-hook
|
|
PYTHON_PATCH_SCRIPTS+= trac/tests/functional/*.py
|
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Msqlite)
|
|
.if defined(PYPACKAGE) && \
|
|
(${PYPACKAGE} == "python23" || ${PYPACKAGE} == "python24")
|
|
DEPENDS+= ${PYPKGPREFIX}-sqlite2>=2:../../databases/py-sqlite2
|
|
.else
|
|
DEPENDS+= ${PYPKGPREFIX}-sqlite3>=0:../../databases/py-sqlite3
|
|
.endif
|
|
.endif
|
|
.if !empty(PKG_OPTIONS:Mpgsql)
|
|
DEPENDS+= ${PYPKGPREFIX}-PgSQL>=2.4:../../databases/py-PgSQL
|
|
.endif
|
|
.if !empty(PKG_OPTIONS:Mpsycopg2)
|
|
DEPENDS+= ${PYPKGPREFIX}-psycopg2>=2:../../databases/py-psycopg2
|
|
.endif
|
|
# MySQL is sort of supported but not recommended by upstream and hence
|
|
# omitted.
|
|
|
|
EGDIR= ${PREFIX}/share/examples/trac
|
|
CGIBINDIR= ${PREFIX}/libexec/trac
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
|
|
${INSTALL_PROGRAM_DIR} ${DESTDIR}${CGIBINDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cgi-bin/trac.* ${DESTDIR}${CGIBINDIR}
|
|
cd ${WRKSRC}/contrib && pax -rwppm -s ',./rpm/.*$$,,' -s ',./rpm$$,,' \
|
|
. ${DESTDIR}${EGDIR}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|