diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2013-06-10 08:57:13 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2013-06-10 08:57:13 +0800 |
commit | d313b12c236510ddafba88c7a216fc0ba2dbdb1d (patch) | |
tree | a78fcd55e12bbb3f787977cb3436911489c99f18 | |
parent | 74785ad09537ac8741b84ebb7642194b28ca282e (diff) | |
download | freebsd-ports-gnome-d313b12c236510ddafba88c7a216fc0ba2dbdb1d.tar.gz freebsd-ports-gnome-d313b12c236510ddafba88c7a216fc0ba2dbdb1d.tar.zst freebsd-ports-gnome-d313b12c236510ddafba88c7a216fc0ba2dbdb1d.zip |
- Update to 1.0.1 [1]
- Updates to 0.12.4, 0.12.5 and 1.0.0 were submitted but
superceded by 1.0.1 [2][3][4]
PR: ports/177382 [1]
Submitted by: William Grzybowski <william88@gmail.com> [1]
Approved by: maintainer timeout (8 months)
PR: ports/173119 [2]
Submitted by: Gea-Suan Lin <gslin@gslin.org> [2]
PR: ports/175697 [3]
Submitted by: Dmitry <dmitry2006@yandex.ru> [3]
PR: ports/173393 [4]
Submitted by: Rustem Alimov <rustem.alimov@gmail.com> [4]
-rw-r--r-- | www/trac/Makefile | 30 | ||||
-rw-r--r-- | www/trac/distinfo | 4 | ||||
-rw-r--r-- | www/trac/files/patch-trac__util__daemon.py | 25 | ||||
-rw-r--r-- | www/trac/pkg-message | 8 | ||||
-rw-r--r-- | www/trac/pkg-plist | 42 |
5 files changed, 48 insertions, 61 deletions
diff --git a/www/trac/Makefile b/www/trac/Makefile index a32abe09ba28..09285ea90522 100644 --- a/www/trac/Makefile +++ b/www/trac/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= trac -PORTVERSION= 0.12.3 +PORTVERSION= 1.0.1 CATEGORIES= www devel python MASTER_SITES= http://ftp.edgewall.com/pub/trac/ \ ftp://ftp.edgewall.com/pub/trac/ @@ -11,10 +11,9 @@ DISTNAME= Trac-${PORTVERSION} MAINTAINER= clsung@FreeBSD.org COMMENT= An enhanced wiki and issue tracking system for software projects -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Genshi>=0.5:${PORTSDIR}/textproc/py-genshi \ - ${PYTHON_PKGNAMEPREFIX}Babel>=0.9:${PORTSDIR}/devel/py-babel -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Genshi>=0.5:${PORTSDIR}/textproc/py-genshi \ - ${PYTHON_PKGNAMEPREFIX}Babel>=0.9:${PORTSDIR}/devel/py-babel +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} OPTIONS_DEFINE= SILVERCITY DOCUTILS PYGMENTS TZ PGSQL SVN OPTIONS_DEFAULT= SILVERCITY DOCUTILS PYGMENTS TZ SVN @@ -25,7 +24,7 @@ TZ_DESC= Process Time Zones CONFLICTS= ja-trac-[0-9]* -USE_PYTHON= 2.5+ +USE_PYTHON= 2.7- USE_PYDISTUTILS= easy_install PYDISTUTILS_PKGNAME= Trac PYDISTUTILS_NOEGGINFO= yes @@ -74,19 +73,22 @@ x-generate-plist: ' | ${TR} -s '\n') > temp-pkg-plist pre-install: - @${REINPLACE_CMD} -i '' -e 's|/usr/bin/python|${PYTHON_CMD}|' ${WRKSRC}/cgi-bin/trac.fcgi \ - ${WRKSRC}/cgi-bin/trac.cgi + @${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} ${EXAMPLESDIR} -. for d in rpm workflow - @${MKDIR} ${EXAMPLESDIR}/${d} - @${INSTALL_DATA} ${WRKSRC}/contrib/${d}/* ${EXAMPLESDIR}/${d}/ + @${MKDIR} ${EXAMPLESDIR}/sample-plugins + @${MKDIR} ${EXAMPLESDIR}/rpm + @${INSTALL_DATA} ${WRKSRC}/contrib/rpm/* ${EXAMPLESDIR}/rpm + @${FIND} ${WRKSRC}/contrib -type f -maxdepth 1 -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/ \; +. for d in permissions workflow + @${MKDIR} ${EXAMPLESDIR}/sample-plugins/${d} + @${INSTALL_DATA} ${WRKSRC}/sample-plugins/${d}/* ${EXAMPLESDIR}/sample-plugins/${d}/ @${RM} -rf ${WRKSRC}/contrib/${d} . endfor - @${INSTALL_DATA} ${WRKSRC}/contrib/* ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/sample-plugins/*.py ${EXAMPLESDIR}/sample-plugins/ @${MKDIR} ${DATADIR}/cgi-bin - @${INSTALL_SCRIPT} ${WRKSRC}/cgi-bin/* ${DATADIR}/cgi-bin + @${INSTALL_SCRIPT} ${WRKSRC}/contrib/cgi-bin/* ${DATADIR}/cgi-bin @${ECHO_CMD} @${CAT} ${PKGMESSAGE} @${ECHO_CMD} diff --git a/www/trac/distinfo b/www/trac/distinfo index ed64371b59c0..1ab2a5e837da 100644 --- a/www/trac/distinfo +++ b/www/trac/distinfo @@ -1,2 +1,2 @@ -SHA256 (Trac-0.12.3.tar.gz) = 0eefacc5ebb91158ed7351b8f9b2eec7f45ce03b692bdc72a3c8061951174506 -SIZE (Trac-0.12.3.tar.gz) = 2239934 +SHA256 (Trac-1.0.1.tar.gz) = 9dd49065696a8d4dfcb1a1af81e51d6bd487f5a1e72b3325c1fe4ecb5c490adb +SIZE (Trac-1.0.1.tar.gz) = 3479896 diff --git a/www/trac/files/patch-trac__util__daemon.py b/www/trac/files/patch-trac__util__daemon.py deleted file mode 100644 index 2fa8e904f321..000000000000 --- a/www/trac/files/patch-trac__util__daemon.py +++ /dev/null @@ -1,25 +0,0 @@ -Revert r10799 which breaks tracd startup - -beta# /usr/local/etc/rc.d/tracd start -Starting tracd. -Error writing to pid file: IOError: [Errno 2] No such file or directory: '/var/db/trac/redports/tracd.pid' -/usr/local/etc/rc.d/tracd: WARNING: failed to start tracd - -See: http://trac.edgewall.org/changeset/10799/ ---- trac/util/daemon.py.orig 2012-02-06 21:53:52.000000000 +0100 -+++ trac/util/daemon.py 2012-02-07 10:38:32.414621956 +0100 -@@ -44,14 +44,6 @@ - if e.errno != errno.ESRCH: - raise - -- # The pid file must be writable -- try: -- fileobj = open(pidfile, 'r+') -- fileobj.close() -- except IOError, e: -- from trac.util.text import exception_to_unicode -- sys.exit('Error writing to pid file: %s' % exception_to_unicode(e)) -- - # Perform first fork - pid = os.fork() - if pid > 0: diff --git a/www/trac/pkg-message b/www/trac/pkg-message index eea709dd2534..1b37e393950e 100644 --- a/www/trac/pkg-message +++ b/www/trac/pkg-message @@ -1,12 +1,12 @@ ******************************************************************************* -From 0.11.x to 0.12.x +From 0.12.x to 1.0.x --------------------- You should be careful to check that the plugins you depend on have -been ported to 0.12, as they most probably won't work without adaptation -due to the numerous internal changes that occurred during 0.12 development. +been ported to 1.0.1, as they most probably won't work without adaptation +due to the numerous internal changes that occurred during 1.0.1 development. -See: http://trac.edgewall.org/wiki/TracDev/ApiChanges/0.12 +See: http://trac.edgewall.org/wiki/TracDev/ApiChanges/1.0 Consult the upgrade instructions at: diff --git a/www/trac/pkg-plist b/www/trac/pkg-plist index 46a73f26eef1..1aea64da30bf 100644 --- a/www/trac/pkg-plist +++ b/www/trac/pkg-plist @@ -1,31 +1,41 @@ -bin/trac-admin -bin/tracd %%DATADIR%%/cgi-bin/trac.cgi %%DATADIR%%/cgi-bin/trac.fcgi -@dirrm %%DATADIR%%/cgi-bin -@dirrm %%DATADIR%% -%%EXAMPLESDIR%%/rpm/installscript -%%EXAMPLESDIR%%/rpm/makerpm -%%EXAMPLESDIR%%/workflow/README -%%EXAMPLESDIR%%/workflow/enterprise-workflow.ini -%%EXAMPLESDIR%%/workflow/migrate_original_to_basic.py -%%EXAMPLESDIR%%/workflow/opensource-workflow.ini -%%EXAMPLESDIR%%/workflow/showworkflow -%%EXAMPLESDIR%%/workflow/simple-workflow.ini -%%EXAMPLESDIR%%/workflow/trivial-workflow.ini -%%EXAMPLESDIR%%/workflow/workflow_parser.py %%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 -@dirrm %%EXAMPLESDIR%%/workflow +%%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%% -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% |