pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/trac



Module Name:    pkgsrc
Committed By:   maya
Date:           Tue Jun 11 05:30:24 UTC 2019

Modified Files:
        pkgsrc/www/trac: Makefile PLIST distinfo options.mk

Log Message:
trac: update to 1.2.3

upgrade notes from 1.0 to 1.2.x:

Obsolete Plugins

Trac has added functionality equivalent to the following plugins:

    ​AdminEnumListPlugin
    ​DateFieldPlugin: see the time custom field type
    ​GroupBasedRedirectionPlugin: the default handler can set as a user preference.
    ​LinenoMacro: see WikiProcessors#AvailableProcessors
    ​NeverNotifyUpdaterPlugin: see notification subscribers
    ​QueryUiAssistPlugin: see TracQuery#Filters.
    ​TicketCreationStatusPlugin: see #NewWorkflowActions

The plugins should be removed when upgrading Trac to 1.2.

New workflow actions

The ticket creation step is controlled with a workflow action. The default workflow has create and create_and_assign actions. The create action will always be added when upgrading the database. The 
create_and_assign action will be added if the workflow has an assigned state. You may want to edit your workflow after upgrading the database to customize the actions available on the New Ticket page.
New permissions policy for read-only wiki pages

Since 1.1.2 the read-only attribute of wiki pages is enabled and enforced only when ReadonlyWikiPolicy is in the list of active permission policies. If [trac] permission_policy has the default value 
DefaultPermissionPolicy, LegacyAttachmentPolicy, then ReadonlyWikiPolicy should be automatically appended to the list when upgrading the environment:

[trac]
permission_policies = ReadonlyWikiPolicy,
 DefaultPermissionPolicy,
 LegacyAttachmentPolicy

If other permission policies are enabled, trac.ini will need to have ReadonlyWikiPolicy appended to the list of active permission_policies. See TracFineGrainedPermissions#ReadonlyWikiPolicy for 
additional details on the proper ordering.


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 pkgsrc/www/trac/Makefile
cvs rdiff -u -r1.27 -r1.28 pkgsrc/www/trac/PLIST
cvs rdiff -u -r1.45 -r1.46 pkgsrc/www/trac/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/trac/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/trac/Makefile
diff -u pkgsrc/www/trac/Makefile:1.85 pkgsrc/www/trac/Makefile:1.86
--- pkgsrc/www/trac/Makefile:1.85       Fri Apr 26 13:14:22 2019
+++ pkgsrc/www/trac/Makefile    Tue Jun 11 05:30:23 2019
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.85 2019/04/26 13:14:22 maya Exp $
+# $NetBSD: Makefile,v 1.86 2019/06/11 05:30:23 maya Exp $
 
-DISTNAME=      Trac-1.0.13
+DISTNAME=      Trac-1.2.3
 PKGNAME=       ${DISTNAME:tl}
-PKGREVISION=   1
 CATEGORIES=    devel www
 MASTER_SITES=  http://ftp.edgewall.org/pub/trac/
 
@@ -23,20 +22,17 @@ DEPENDS+=   ${PYPKGPREFIX}-genshi>=0.6:../
 
 USE_TOOLS+=    pax
 
-# The Trac 1.0 series does not support python 3.
-PYTHON_VERSIONS_INCOMPATIBLE=   36 37
+# The Trac 1.2 series does not support python 3.
+PYTHON_VERSIONS_INCOMPATIBLE=  36 37
 
 REPLACE_PYTHON=        contrib/cgi-bin/trac.* contrib/*.py contrib/*-hook
 REPLACE_PYTHON+=       trac/tests/functional/*.py
 .include "../../lang/python/application.mk"
 
 EGDIR=         ${PREFIX}/share/examples/trac
-CGIBINDIR=     ${PREFIX}/libexec/trac
 
 post-install:
        ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
-       ${INSTALL_PROGRAM_DIR} ${DESTDIR}${CGIBINDIR}
-       ${INSTALL_SCRIPT} ${WRKSRC}/contrib/cgi-bin/trac.* ${DESTDIR}${CGIBINDIR}
        cd ${WRKSRC}/contrib && pax -rwppm -s ',./rpm/.*$$,,' -s ',./rpm$$,,' \
                . ${DESTDIR}${EGDIR}
 

Index: pkgsrc/www/trac/PLIST
diff -u pkgsrc/www/trac/PLIST:1.27 pkgsrc/www/trac/PLIST:1.28
--- pkgsrc/www/trac/PLIST:1.27  Tue Jul  5 15:57:44 2016
+++ pkgsrc/www/trac/PLIST       Tue Jun 11 05:30:23 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.27 2016/07/05 15:57:44 gdt Exp $
+@comment $NetBSD: PLIST,v 1.28 2019/06/11 05:30:23 maya Exp $
 bin/trac-admin
 bin/tracd
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@@ -25,13 +25,9 @@ ${PYSITELIB}/trac/admin/console.pyc
 ${PYSITELIB}/trac/admin/console.pyo
 ${PYSITELIB}/trac/admin/templates/admin.html
 ${PYSITELIB}/trac/admin/templates/admin_basics.html
-${PYSITELIB}/trac/admin/templates/admin_legacy.html
 ${PYSITELIB}/trac/admin/templates/admin_logging.html
 ${PYSITELIB}/trac/admin/templates/admin_perms.html
 ${PYSITELIB}/trac/admin/templates/admin_plugins.html
-${PYSITELIB}/trac/admin/templates/deploy_trac.cgi
-${PYSITELIB}/trac/admin/templates/deploy_trac.fcgi
-${PYSITELIB}/trac/admin/templates/deploy_trac.wsgi
 ${PYSITELIB}/trac/admin/web_ui.py
 ${PYSITELIB}/trac/admin/web_ui.pyc
 ${PYSITELIB}/trac/admin/web_ui.pyo
@@ -87,7 +83,6 @@ ${PYSITELIB}/trac/htdocs/batchmodify.png
 ${PYSITELIB}/trac/htdocs/changeset.png
 ${PYSITELIB}/trac/htdocs/closedticket.png
 ${PYSITELIB}/trac/htdocs/collapsed.png
-${PYSITELIB}/trac/htdocs/css/about.css
 ${PYSITELIB}/trac/htdocs/css/admin.css
 ${PYSITELIB}/trac/htdocs/css/browser.css
 ${PYSITELIB}/trac/htdocs/css/changeset.css
@@ -144,6 +139,7 @@ ${PYSITELIB}/trac/htdocs/guide/original-
 ${PYSITELIB}/trac/htdocs/ics.png
 ${PYSITELIB}/trac/htdocs/imggrid.png
 ${PYSITELIB}/trac/htdocs/inreply.png
+${PYSITELIB}/trac/htdocs/js/admin_enums.js
 ${PYSITELIB}/trac/htdocs/js/auto_preview.js
 ${PYSITELIB}/trac/htdocs/js/babel.js
 ${PYSITELIB}/trac/htdocs/js/blame.js
@@ -159,7 +155,6 @@ ${PYSITELIB}/trac/htdocs/js/keyboard_nav
 ${PYSITELIB}/trac/htdocs/js/log_graph.js
 ${PYSITELIB}/trac/htdocs/js/messages/ca.js
 ${PYSITELIB}/trac/htdocs/js/messages/da.js
-${PYSITELIB}/trac/htdocs/js/messages/de.js
 ${PYSITELIB}/trac/htdocs/js/messages/en_GB.js
 ${PYSITELIB}/trac/htdocs/js/messages/en_US.js
 ${PYSITELIB}/trac/htdocs/js/messages/eo.js
@@ -189,7 +184,6 @@ ${PYSITELIB}/trac/htdocs/js/noconflict.j
 ${PYSITELIB}/trac/htdocs/js/query.js
 ${PYSITELIB}/trac/htdocs/js/resizer.js
 ${PYSITELIB}/trac/htdocs/js/search.js
-${PYSITELIB}/trac/htdocs/js/suggest.js
 ${PYSITELIB}/trac/htdocs/js/threaded_comments.js
 ${PYSITELIB}/trac/htdocs/js/timeline_multirepos.js
 ${PYSITELIB}/trac/htdocs/js/trac.js
@@ -216,8 +210,6 @@ ${PYSITELIB}/trac/locale/ca/LC_MESSAGES/
 ${PYSITELIB}/trac/locale/cs/LC_MESSAGES/messages.mo
 ${PYSITELIB}/trac/locale/cs/LC_MESSAGES/tracini.mo
 ${PYSITELIB}/trac/locale/da/LC_MESSAGES/messages.mo
-${PYSITELIB}/trac/locale/de/LC_MESSAGES/messages.mo
-${PYSITELIB}/trac/locale/de/LC_MESSAGES/tracini.mo
 ${PYSITELIB}/trac/locale/el/LC_MESSAGES/messages.mo
 ${PYSITELIB}/trac/locale/el/LC_MESSAGES/tracini.mo
 ${PYSITELIB}/trac/locale/en_GB/LC_MESSAGES/messages.mo
@@ -295,12 +287,29 @@ ${PYSITELIB}/trac/mimeview/pygments.pyo
 ${PYSITELIB}/trac/mimeview/rst.py
 ${PYSITELIB}/trac/mimeview/rst.pyc
 ${PYSITELIB}/trac/mimeview/rst.pyo
+${PYSITELIB}/trac/mimeview/templates/prefs_pygments.html
 ${PYSITELIB}/trac/mimeview/txtl.py
 ${PYSITELIB}/trac/mimeview/txtl.pyc
 ${PYSITELIB}/trac/mimeview/txtl.pyo
-${PYSITELIB}/trac/notification.py
-${PYSITELIB}/trac/notification.pyc
-${PYSITELIB}/trac/notification.pyo
+${PYSITELIB}/trac/notification/__init__.py
+${PYSITELIB}/trac/notification/__init__.pyc
+${PYSITELIB}/trac/notification/__init__.pyo
+${PYSITELIB}/trac/notification/api.py
+${PYSITELIB}/trac/notification/api.pyc
+${PYSITELIB}/trac/notification/api.pyo
+${PYSITELIB}/trac/notification/compat.py
+${PYSITELIB}/trac/notification/compat.pyc
+${PYSITELIB}/trac/notification/compat.pyo
+${PYSITELIB}/trac/notification/mail.py
+${PYSITELIB}/trac/notification/mail.pyc
+${PYSITELIB}/trac/notification/mail.pyo
+${PYSITELIB}/trac/notification/model.py
+${PYSITELIB}/trac/notification/model.pyc
+${PYSITELIB}/trac/notification/model.pyo
+${PYSITELIB}/trac/notification/prefs.py
+${PYSITELIB}/trac/notification/prefs.pyc
+${PYSITELIB}/trac/notification/prefs.pyo
+${PYSITELIB}/trac/notification/templates/prefs_notification.html
 ${PYSITELIB}/trac/perm.py
 ${PYSITELIB}/trac/perm.pyc
 ${PYSITELIB}/trac/perm.pyo
@@ -312,11 +321,9 @@ ${PYSITELIB}/trac/prefs/api.pyc
 ${PYSITELIB}/trac/prefs/api.pyo
 ${PYSITELIB}/trac/prefs/templates/prefs.html
 ${PYSITELIB}/trac/prefs/templates/prefs_advanced.html
-${PYSITELIB}/trac/prefs/templates/prefs_datetime.html
 ${PYSITELIB}/trac/prefs/templates/prefs_general.html
 ${PYSITELIB}/trac/prefs/templates/prefs_keybindings.html
-${PYSITELIB}/trac/prefs/templates/prefs_language.html
-${PYSITELIB}/trac/prefs/templates/prefs_pygments.html
+${PYSITELIB}/trac/prefs/templates/prefs_localization.html
 ${PYSITELIB}/trac/prefs/templates/prefs_userinterface.html
 ${PYSITELIB}/trac/prefs/web_ui.py
 ${PYSITELIB}/trac/prefs/web_ui.pyc
@@ -343,13 +350,12 @@ ${PYSITELIB}/trac/templates/author_or_cr
 ${PYSITELIB}/trac/templates/diff_div.html
 ${PYSITELIB}/trac/templates/diff_options.html
 ${PYSITELIB}/trac/templates/diff_view.html
+${PYSITELIB}/trac/templates/environment_info.html
 ${PYSITELIB}/trac/templates/error.html
 ${PYSITELIB}/trac/templates/history_view.html
 ${PYSITELIB}/trac/templates/index.html
 ${PYSITELIB}/trac/templates/layout.html
 ${PYSITELIB}/trac/templates/list_of_attachments.html
-${PYSITELIB}/trac/templates/macros.html
-${PYSITELIB}/trac/templates/macros.rss
 ${PYSITELIB}/trac/templates/page_index.html
 ${PYSITELIB}/trac/templates/preview_file.html
 ${PYSITELIB}/trac/templates/progress_bar.html
@@ -396,6 +402,7 @@ ${PYSITELIB}/trac/ticket/templates/batch
 ${PYSITELIB}/trac/ticket/templates/batch_ticket_notify_email.txt
 ${PYSITELIB}/trac/ticket/templates/milestone_delete.html
 ${PYSITELIB}/trac/ticket/templates/milestone_edit.html
+${PYSITELIB}/trac/ticket/templates/milestone_edit_form.html
 ${PYSITELIB}/trac/ticket/templates/milestone_view.html
 ${PYSITELIB}/trac/ticket/templates/query.html
 ${PYSITELIB}/trac/ticket/templates/query.rss
@@ -413,6 +420,7 @@ ${PYSITELIB}/trac/ticket/templates/ticke
 ${PYSITELIB}/trac/ticket/templates/ticket_change.html
 ${PYSITELIB}/trac/ticket/templates/ticket_notify_email.txt
 ${PYSITELIB}/trac/ticket/templates/ticket_preview.html
+${PYSITELIB}/trac/ticket/templates/ticket_workflow.html
 ${PYSITELIB}/trac/ticket/web_ui.py
 ${PYSITELIB}/trac/ticket/web_ui.pyc
 ${PYSITELIB}/trac/ticket/web_ui.pyo
@@ -495,9 +503,45 @@ ${PYSITELIB}/trac/upgrades/db29.pyo
 ${PYSITELIB}/trac/upgrades/db3.py
 ${PYSITELIB}/trac/upgrades/db3.pyc
 ${PYSITELIB}/trac/upgrades/db3.pyo
+${PYSITELIB}/trac/upgrades/db30.py
+${PYSITELIB}/trac/upgrades/db30.pyc
+${PYSITELIB}/trac/upgrades/db30.pyo
+${PYSITELIB}/trac/upgrades/db31.py
+${PYSITELIB}/trac/upgrades/db31.pyc
+${PYSITELIB}/trac/upgrades/db31.pyo
+${PYSITELIB}/trac/upgrades/db32.py
+${PYSITELIB}/trac/upgrades/db32.pyc
+${PYSITELIB}/trac/upgrades/db32.pyo
+${PYSITELIB}/trac/upgrades/db33.py
+${PYSITELIB}/trac/upgrades/db33.pyc
+${PYSITELIB}/trac/upgrades/db33.pyo
+${PYSITELIB}/trac/upgrades/db34.py
+${PYSITELIB}/trac/upgrades/db34.pyc
+${PYSITELIB}/trac/upgrades/db34.pyo
+${PYSITELIB}/trac/upgrades/db35.py
+${PYSITELIB}/trac/upgrades/db35.pyc
+${PYSITELIB}/trac/upgrades/db35.pyo
+${PYSITELIB}/trac/upgrades/db36.py
+${PYSITELIB}/trac/upgrades/db36.pyc
+${PYSITELIB}/trac/upgrades/db36.pyo
+${PYSITELIB}/trac/upgrades/db37.py
+${PYSITELIB}/trac/upgrades/db37.pyc
+${PYSITELIB}/trac/upgrades/db37.pyo
+${PYSITELIB}/trac/upgrades/db38.py
+${PYSITELIB}/trac/upgrades/db38.pyc
+${PYSITELIB}/trac/upgrades/db38.pyo
+${PYSITELIB}/trac/upgrades/db39.py
+${PYSITELIB}/trac/upgrades/db39.pyc
+${PYSITELIB}/trac/upgrades/db39.pyo
 ${PYSITELIB}/trac/upgrades/db4.py
 ${PYSITELIB}/trac/upgrades/db4.pyc
 ${PYSITELIB}/trac/upgrades/db4.pyo
+${PYSITELIB}/trac/upgrades/db40.py
+${PYSITELIB}/trac/upgrades/db40.pyc
+${PYSITELIB}/trac/upgrades/db40.pyo
+${PYSITELIB}/trac/upgrades/db41.py
+${PYSITELIB}/trac/upgrades/db41.pyc
+${PYSITELIB}/trac/upgrades/db41.pyo
 ${PYSITELIB}/trac/upgrades/db5.py
 ${PYSITELIB}/trac/upgrades/db5.pyc
 ${PYSITELIB}/trac/upgrades/db5.pyo
@@ -633,6 +677,9 @@ ${PYSITELIB}/trac/web/session.pyo
 ${PYSITELIB}/trac/web/standalone.py
 ${PYSITELIB}/trac/web/standalone.pyc
 ${PYSITELIB}/trac/web/standalone.pyo
+${PYSITELIB}/trac/web/templates/deploy_trac.cgi
+${PYSITELIB}/trac/web/templates/deploy_trac.fcgi
+${PYSITELIB}/trac/web/templates/deploy_trac.wsgi
 ${PYSITELIB}/trac/web/wsgi.py
 ${PYSITELIB}/trac/web/wsgi.pyc
 ${PYSITELIB}/trac/web/wsgi.pyo
@@ -726,10 +773,14 @@ ${PYSITELIB}/trac/wiki/parser.pyo
 ${PYSITELIB}/trac/wiki/templates/wiki_delete.html
 ${PYSITELIB}/trac/wiki/templates/wiki_diff.html
 ${PYSITELIB}/trac/wiki/templates/wiki_edit.html
+${PYSITELIB}/trac/wiki/templates/wiki_edit_comment.html
 ${PYSITELIB}/trac/wiki/templates/wiki_edit_form.html
 ${PYSITELIB}/trac/wiki/templates/wiki_page_path.html
 ${PYSITELIB}/trac/wiki/templates/wiki_rename.html
 ${PYSITELIB}/trac/wiki/templates/wiki_view.html
+${PYSITELIB}/trac/wiki/test.py
+${PYSITELIB}/trac/wiki/test.pyc
+${PYSITELIB}/trac/wiki/test.pyo
 ${PYSITELIB}/trac/wiki/web_api.py
 ${PYSITELIB}/trac/wiki/web_api.pyc
 ${PYSITELIB}/trac/wiki/web_api.pyo
@@ -739,18 +790,6 @@ ${PYSITELIB}/trac/wiki/web_ui.pyo
 ${PYSITELIB}/tracopt/__init__.py
 ${PYSITELIB}/tracopt/__init__.pyc
 ${PYSITELIB}/tracopt/__init__.pyo
-${PYSITELIB}/tracopt/mimeview/__init__.py
-${PYSITELIB}/tracopt/mimeview/__init__.pyc
-${PYSITELIB}/tracopt/mimeview/__init__.pyo
-${PYSITELIB}/tracopt/mimeview/enscript.py
-${PYSITELIB}/tracopt/mimeview/enscript.pyc
-${PYSITELIB}/tracopt/mimeview/enscript.pyo
-${PYSITELIB}/tracopt/mimeview/php.py
-${PYSITELIB}/tracopt/mimeview/php.pyc
-${PYSITELIB}/tracopt/mimeview/php.pyo
-${PYSITELIB}/tracopt/mimeview/silvercity.py
-${PYSITELIB}/tracopt/mimeview/silvercity.pyc
-${PYSITELIB}/tracopt/mimeview/silvercity.pyo
 ${PYSITELIB}/tracopt/perm/__init__.py
 ${PYSITELIB}/tracopt/perm/__init__.pyc
 ${PYSITELIB}/tracopt/perm/__init__.pyo
@@ -794,13 +833,10 @@ ${PYSITELIB}/tracopt/versioncontrol/svn/
 ${PYSITELIB}/tracopt/versioncontrol/svn/svn_prop.py
 ${PYSITELIB}/tracopt/versioncontrol/svn/svn_prop.pyc
 ${PYSITELIB}/tracopt/versioncontrol/svn/svn_prop.pyo
-libexec/trac/trac.cgi
-libexec/trac/trac.fcgi
 share/examples/trac/README
 share/examples/trac/appveyor.ps1
 share/examples/trac/bugzilla2trac.py
-share/examples/trac/cgi-bin/trac.cgi
-share/examples/trac/cgi-bin/trac.fcgi
+share/examples/trac/checksum.py
 share/examples/trac/checkwiki.py
 share/examples/trac/emailfilter.py
 share/examples/trac/htdigest.py
@@ -809,6 +845,7 @@ share/examples/trac/l10n_diff_index.py
 share/examples/trac/l10n_reset_en_GB.py
 share/examples/trac/l10n_revert_lineno_conflicts.py
 share/examples/trac/make_status.py
+share/examples/trac/merge_catalog.py
 share/examples/trac/migrateticketmodel.py
 share/examples/trac/sourceforge2trac.py
 share/examples/trac/trac-pre-commit-hook

Index: pkgsrc/www/trac/distinfo
diff -u pkgsrc/www/trac/distinfo:1.45 pkgsrc/www/trac/distinfo:1.46
--- pkgsrc/www/trac/distinfo:1.45       Sun Sep 11 15:17:44 2016
+++ pkgsrc/www/trac/distinfo    Tue Jun 11 05:30:23 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.45 2016/09/11 15:17:44 gdt Exp $
+$NetBSD: distinfo,v 1.46 2019/06/11 05:30:23 maya Exp $
 
-SHA1 (Trac-1.0.13.tar.gz) = 3157f38233c80fe76246e8a30584ca0efac89e51
-RMD160 (Trac-1.0.13.tar.gz) = ba87f668548b67a3df6abd08b75c19fe85423786
-SHA512 (Trac-1.0.13.tar.gz) = b4b2066482bdd6ba16183f2021bc069d1054177462726de1d844a28eccdc0b32405a0c510143f6ff84caaebebc571114e81cc0acc679ce94f8046b49d6854c1e
-Size (Trac-1.0.13.tar.gz) = 3671741 bytes
+SHA1 (Trac-1.2.3.tar.gz) = b426e8af41adef1d82709e23b771e24dbff8a0b2
+RMD160 (Trac-1.2.3.tar.gz) = 2d11d3a371142b17dce5c510e5056755b4607558
+SHA512 (Trac-1.2.3.tar.gz) = 988aa8c42f4f2e9b657b9fd9070328dc123f56954645def1e17ccffc6ec6da9d2a898ec58dae3045478df0e3c8f7b946dc723b46aec10627b31169eda0a08bad
+Size (Trac-1.2.3.tar.gz) = 6297767 bytes

Index: pkgsrc/www/trac/options.mk
diff -u pkgsrc/www/trac/options.mk:1.3 pkgsrc/www/trac/options.mk:1.4
--- pkgsrc/www/trac/options.mk:1.3      Sun Sep 11 23:31:22 2016
+++ pkgsrc/www/trac/options.mk  Tue Jun 11 05:30:23 2019
@@ -1,9 +1,9 @@
-# $NetBSD: options.mk,v 1.3 2016/09/11 23:31:22 gdt Exp $
+# $NetBSD: options.mk,v 1.4 2019/06/11 05:30:23 maya Exp $
 
-PKG_OPTIONS_VAR=       PKG_OPTIONS.trac
+PKG_OPTIONS_VAR=               PKG_OPTIONS.trac
 PKG_OPTIONS_REQUIRED_GROUPS=   db
-PKG_OPTIONS_GROUP.db=  sqlite psycopg2
-PKG_SUGGESTED_OPTIONS= sqlite
+PKG_OPTIONS_GROUP.db=          sqlite psycopg2
+PKG_SUGGESTED_OPTIONS=         sqlite
 
 .include "../../mk/bsd.options.mk"
 



Home | Main Index | Thread Index | Old Index