pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/trac trac: update to 1.2.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0e9440b294f6
branches:  trunk
changeset: 334991:0e9440b294f6
user:      maya <maya%pkgsrc.org@localhost>
date:      Tue Jun 11 05:30:23 2019 +0000

description:
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.

diffstat:

 www/trac/Makefile   |   12 +---
 www/trac/PLIST      |  105 +++++++++++++++++++++++++++++++++++----------------
 www/trac/distinfo   |   10 ++--
 www/trac/options.mk |    8 +-
 4 files changed, 84 insertions(+), 51 deletions(-)

diffs (truncated from 323 to 300 lines):

diff -r 8eda3f25a224 -r 0e9440b294f6 www/trac/Makefile
--- a/www/trac/Makefile Mon Jun 10 19:52:10 2019 +0000
+++ b/www/trac/Makefile Tue Jun 11 05:30:23 2019 +0000
@@ -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 @@
 
 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}
 
diff -r 8eda3f25a224 -r 0e9440b294f6 www/trac/PLIST
--- a/www/trac/PLIST    Mon Jun 10 19:52:10 2019 +0000
+++ b/www/trac/PLIST    Tue Jun 11 05:30:23 2019 +0000
@@ -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.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/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/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/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/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/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/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.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/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_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/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/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/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/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}/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/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_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
diff -r 8eda3f25a224 -r 0e9440b294f6 www/trac/distinfo
--- a/www/trac/distinfo Mon Jun 10 19:52:10 2019 +0000
+++ b/www/trac/distinfo Tue Jun 11 05:30:23 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index