pkgsrc/www/trac/Makefile

65 lines
1.8 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.49 2010/06/16 17:31:33 jmmv Exp $
#
DISTNAME= Trac-0.12
Updated www/trac to 0.11.1 Trac 0.11.1 (August 6, 2008) http://svn.edgewall.org/repos/trac/tags/trac-0.11.1 Trac 0.11.1 contains a number of bug fixes and minor enhancements. The following list contains only a few highlights: * Improved DB connection handling (new connection pool) * Better MySQL backend unicode support. "utf8" and "utf8_bin" is the recommended database charset and collation settings. * Fixes intermittent "constraint violation" and "invalid form token" error messages. * Fixes roadmap layout glitch in Firefox 3. * Safer default umask value for tracd (can be set using --umask option) * Better default PYTHON_EGG_CACHE value. The complete list of closed tickets can be found here: http://trac.edgewall.org/query?status=closed&milestone=0.11.1 Trac 0.11 'Genshi' (June 22, 2008) http://svn.edgewall.org/repos/trac/tags/trac-0.11 Trac 0.11 contains a great number of new features, improvements and bug fixes. The following list contains only a few highlights: * New template engine for generating content (Genshi) * New configurable workflow in the ticket subsystem * Finer-grained control of permissions * Support for Pygments as the default syntax highlighter * Improved repository browser ("blame" support, dynamic in-place expansion of folders) * Improved user preferences subsystem, among which the possibility for * any user to select their time zone and disable access keys * The WebAdmin plugin is now an integral part of Trac * Paging of timeline and query results. A more complete list of new features can be found in the RELEASE file. The complete list of closed tickets can be found here: http://trac.edgewall.org/query?status=closed&milestone=0.11
2008-09-12 12:18:11 +02:00
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/
Update to 0.9. Bump minimum versions of dependencies. Allow py-PgSQL or py-psycopg to satisfy the database dependency, in addition to sqlite. Install man pages to PKGMANDIR. Closes PR 31984. Upstream changelog: Trac 0.9 (Oct 31, 2005) http://svn.edgewall.com/repos/trac/tags/trac-0.9 * Support for a global trac.ini configuration file. * Changed logic for enabling plugins/components. * Improved support for handling repository subsets. * Fixes problems with Trac links when using multiple environments in the same Python interpreter. * Improvements to email notification layout and encoding. * Fixes for database locking with SQLite, in particular in a multi-threaded environment. * PostgreSQL compatibility fixes. * Fixed bugs: #804, #861, #927, #1044, #1051, #1123, #1153, #1169, #1239, #1344, #1463, #1562, #1881, #1886, #1895, #1909, #1921, #1930, #1983, #1988, #2019, #2051, #2061, #2229, #2106, #2107, #2116, #2120, #2124, #2129, #2135, #2136, #2138, #2140, #2144, #2164, #2166, #2170, #2172, #2191, #2192, #2196, #2201, #2202, #2203, #2208, #2215, #2218, #2223, #2230, #2232, #2239, #2240, #2241, #2243, #2251, Trac 0.9-beta2 (Sept 25, 2005) http://svn.edgewall.com/repos/trac/tags/trac-0.9b2 * Support for setuptools 0.6. * Allow insertion of a custom HTML snippet above the new ticket form to explain site-specific policies and/or guidelines. * Much improved Bugzilla import script. * Fixed a bug where deleting a wiki page version would sometimes delete the entire page. * Fixes for the rendering of diffs and patches. * Fixes for the Subversion authz support. * Fixed bugs: #2008, #2032, #2034, #1801, #1893, #1040, #2040, #1036, #1944, #1081, #1863, #2052, #2066, #2016, #2090, #1985, #2012, #2089, #2079, #1999, #2029, #2079, #1960, #2080, #2021, #2042, #2088, #1345, #2011, #2100, #2103, #2113, #2116, #2109 Trac 0.9-beta1 (Sept 5, 2005) http://svn.edgewall.com/repos/trac/tags/trac-0.9b1 Trac 0.9 contains a great number of new features, improvements and bug fixes. The following list contains only a few highlights: * License changed from GPL to modified BSD (See the file COPYING). * Improved modularity and extendibility (plugin support). * Support for both pysqlite 1.x and pysqlite 2.x. * Postgresql database support (with psycopg or pyPgSQL). * Repository subsets. Multiple Trac environments can share a single repository. * Version control abstraction layer making it possible to support other version control systems besides subversion in the future. * FastCGI frontend support. * Python version >= 2.3 is now required. The complete list of closed tickets can be found here: http://projects.edgewall.com/trac/query?status=closed&milestone=0.9
2005-11-04 00:04:29 +01:00
COMMENT= Subversion repository browser, wiki, and issue tracking system
LICENSE= modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= ${PYPKGPREFIX}-genshi>=0.5:../../www/py-genshi
Update to 0.9. Bump minimum versions of dependencies. Allow py-PgSQL or py-psycopg to satisfy the database dependency, in addition to sqlite. Install man pages to PKGMANDIR. Closes PR 31984. Upstream changelog: Trac 0.9 (Oct 31, 2005) http://svn.edgewall.com/repos/trac/tags/trac-0.9 * Support for a global trac.ini configuration file. * Changed logic for enabling plugins/components. * Improved support for handling repository subsets. * Fixes problems with Trac links when using multiple environments in the same Python interpreter. * Improvements to email notification layout and encoding. * Fixes for database locking with SQLite, in particular in a multi-threaded environment. * PostgreSQL compatibility fixes. * Fixed bugs: #804, #861, #927, #1044, #1051, #1123, #1153, #1169, #1239, #1344, #1463, #1562, #1881, #1886, #1895, #1909, #1921, #1930, #1983, #1988, #2019, #2051, #2061, #2229, #2106, #2107, #2116, #2120, #2124, #2129, #2135, #2136, #2138, #2140, #2144, #2164, #2166, #2170, #2172, #2191, #2192, #2196, #2201, #2202, #2203, #2208, #2215, #2218, #2223, #2230, #2232, #2239, #2240, #2241, #2243, #2251, Trac 0.9-beta2 (Sept 25, 2005) http://svn.edgewall.com/repos/trac/tags/trac-0.9b2 * Support for setuptools 0.6. * Allow insertion of a custom HTML snippet above the new ticket form to explain site-specific policies and/or guidelines. * Much improved Bugzilla import script. * Fixed a bug where deleting a wiki page version would sometimes delete the entire page. * Fixes for the rendering of diffs and patches. * Fixes for the Subversion authz support. * Fixed bugs: #2008, #2032, #2034, #1801, #1893, #1040, #2040, #1036, #1944, #1081, #1863, #2052, #2066, #2016, #2090, #1985, #2012, #2089, #2079, #1999, #2029, #2079, #1960, #2080, #2021, #2042, #2088, #1345, #2011, #2100, #2103, #2113, #2116, #2109 Trac 0.9-beta1 (Sept 5, 2005) http://svn.edgewall.com/repos/trac/tags/trac-0.9b1 Trac 0.9 contains a great number of new features, improvements and bug fixes. The following list contains only a few highlights: * License changed from GPL to modified BSD (See the file COPYING). * Improved modularity and extendibility (plugin support). * Support for both pysqlite 1.x and pysqlite 2.x. * Postgresql database support (with psycopg or pyPgSQL). * Repository subsets. Multiple Trac environments can share a single repository. * Version control abstraction layer making it possible to support other version control systems besides subversion in the future. * FastCGI frontend support. * Python version >= 2.3 is now required. The complete list of closed tickets can be found here: http://projects.edgewall.com/trac/query?status=closed&milestone=0.9
2005-11-04 00:04:29 +01:00
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
Updated www/trac to 0.11.1 Trac 0.11.1 (August 6, 2008) http://svn.edgewall.org/repos/trac/tags/trac-0.11.1 Trac 0.11.1 contains a number of bug fixes and minor enhancements. The following list contains only a few highlights: * Improved DB connection handling (new connection pool) * Better MySQL backend unicode support. "utf8" and "utf8_bin" is the recommended database charset and collation settings. * Fixes intermittent "constraint violation" and "invalid form token" error messages. * Fixes roadmap layout glitch in Firefox 3. * Safer default umask value for tracd (can be set using --umask option) * Better default PYTHON_EGG_CACHE value. The complete list of closed tickets can be found here: http://trac.edgewall.org/query?status=closed&milestone=0.11.1 Trac 0.11 'Genshi' (June 22, 2008) http://svn.edgewall.org/repos/trac/tags/trac-0.11 Trac 0.11 contains a great number of new features, improvements and bug fixes. The following list contains only a few highlights: * New template engine for generating content (Genshi) * New configurable workflow in the ticket subsystem * Finer-grained control of permissions * Support for Pygments as the default syntax highlighter * Improved repository browser ("blame" support, dynamic in-place expansion of folders) * Improved user preferences subsystem, among which the possibility for * any user to select their time zone and disable access keys * The WebAdmin plugin is now an integral part of Trac * Paging of timeline and query results. A more complete list of new features can be found in the RELEASE file. The complete list of closed tickets can be found here: http://trac.edgewall.org/query?status=closed&milestone=0.11
2008-09-12 12:18:11 +02:00
DEPENDS+= ${PYPKGPREFIX}-sqlite3>=0:../../databases/py-sqlite3
.endif
Updated www/trac to 0.11.1 Trac 0.11.1 (August 6, 2008) http://svn.edgewall.org/repos/trac/tags/trac-0.11.1 Trac 0.11.1 contains a number of bug fixes and minor enhancements. The following list contains only a few highlights: * Improved DB connection handling (new connection pool) * Better MySQL backend unicode support. "utf8" and "utf8_bin" is the recommended database charset and collation settings. * Fixes intermittent "constraint violation" and "invalid form token" error messages. * Fixes roadmap layout glitch in Firefox 3. * Safer default umask value for tracd (can be set using --umask option) * Better default PYTHON_EGG_CACHE value. The complete list of closed tickets can be found here: http://trac.edgewall.org/query?status=closed&milestone=0.11.1 Trac 0.11 'Genshi' (June 22, 2008) http://svn.edgewall.org/repos/trac/tags/trac-0.11 Trac 0.11 contains a great number of new features, improvements and bug fixes. The following list contains only a few highlights: * New template engine for generating content (Genshi) * New configurable workflow in the ticket subsystem * Finer-grained control of permissions * Support for Pygments as the default syntax highlighter * Improved repository browser ("blame" support, dynamic in-place expansion of folders) * Improved user preferences subsystem, among which the possibility for * any user to select their time zone and disable access keys * The WebAdmin plugin is now an integral part of Trac * Paging of timeline and query results. A more complete list of new features can be found in the RELEASE file. The complete list of closed tickets can be found here: http://trac.edgewall.org/query?status=closed&milestone=0.11
2008-09-12 12:18:11 +02:00
.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
Updated www/trac to 0.11.1 Trac 0.11.1 (August 6, 2008) http://svn.edgewall.org/repos/trac/tags/trac-0.11.1 Trac 0.11.1 contains a number of bug fixes and minor enhancements. The following list contains only a few highlights: * Improved DB connection handling (new connection pool) * Better MySQL backend unicode support. "utf8" and "utf8_bin" is the recommended database charset and collation settings. * Fixes intermittent "constraint violation" and "invalid form token" error messages. * Fixes roadmap layout glitch in Firefox 3. * Safer default umask value for tracd (can be set using --umask option) * Better default PYTHON_EGG_CACHE value. The complete list of closed tickets can be found here: http://trac.edgewall.org/query?status=closed&milestone=0.11.1 Trac 0.11 'Genshi' (June 22, 2008) http://svn.edgewall.org/repos/trac/tags/trac-0.11 Trac 0.11 contains a great number of new features, improvements and bug fixes. The following list contains only a few highlights: * New template engine for generating content (Genshi) * New configurable workflow in the ticket subsystem * Finer-grained control of permissions * Support for Pygments as the default syntax highlighter * Improved repository browser ("blame" support, dynamic in-place expansion of folders) * Improved user preferences subsystem, among which the possibility for * any user to select their time zone and disable access keys * The WebAdmin plugin is now an integral part of Trac * Paging of timeline and query results. A more complete list of new features can be found in the RELEASE file. The complete list of closed tickets can be found here: http://trac.edgewall.org/query?status=closed&milestone=0.11
2008-09-12 12:18:11 +02:00
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}
Updated www/trac to 0.11.1 Trac 0.11.1 (August 6, 2008) http://svn.edgewall.org/repos/trac/tags/trac-0.11.1 Trac 0.11.1 contains a number of bug fixes and minor enhancements. The following list contains only a few highlights: * Improved DB connection handling (new connection pool) * Better MySQL backend unicode support. "utf8" and "utf8_bin" is the recommended database charset and collation settings. * Fixes intermittent "constraint violation" and "invalid form token" error messages. * Fixes roadmap layout glitch in Firefox 3. * Safer default umask value for tracd (can be set using --umask option) * Better default PYTHON_EGG_CACHE value. The complete list of closed tickets can be found here: http://trac.edgewall.org/query?status=closed&milestone=0.11.1 Trac 0.11 'Genshi' (June 22, 2008) http://svn.edgewall.org/repos/trac/tags/trac-0.11 Trac 0.11 contains a great number of new features, improvements and bug fixes. The following list contains only a few highlights: * New template engine for generating content (Genshi) * New configurable workflow in the ticket subsystem * Finer-grained control of permissions * Support for Pygments as the default syntax highlighter * Improved repository browser ("blame" support, dynamic in-place expansion of folders) * Improved user preferences subsystem, among which the possibility for * any user to select their time zone and disable access keys * The WebAdmin plugin is now an integral part of Trac * Paging of timeline and query results. A more complete list of new features can be found in the RELEASE file. The complete list of closed tickets can be found here: http://trac.edgewall.org/query?status=closed&milestone=0.11
2008-09-12 12:18:11 +02:00
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"